Powering devices

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
crazynight
Normal user
Posts: 14
Joined: 23 Oct 2018, 09:04

Powering devices

#1 Post by crazynight » 11 Dec 2018, 13:15

My home automation project is moving forward, at the moment I have each room with its own nodemcu or memos d1, which given the number of inputs each has it seems a little overkill.

For example I am thinking the 3 I have upstairs could be replaced with just one unit in the loft with A hc-sr501 motion sensor and DS18B20 run to each room.

Can a nodemcu or wemos provide enough power for 6 devices?
Am I looking at this wrong and should keep each room on its own for reasons I don't know?
I guess I could power the sensors directly with 3.3v from a 240v PSU thus avoiding the issue of the power regulator on the wemos / nodemcu.

Any help and guidance would be greatly appreciated.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Powering devices

#2 Post by grovkillen » 11 Dec 2018, 13:21

Generally I tend to advice to have more units and not long cables.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Powering devices

#3 Post by Shardan » 11 Dec 2018, 13:38

Agree with Grovkillen.

Avoid long cables for sensors. Cabling is always a nice antenna for interferences.
Devices will get unreliable and faults are difficult to find and fix.

I won't use 3,3V from an external power supply either.
The WeMOS D1 Mini has a very small regulator that can't give much power for sensors...
Use nodeMCU's instead, their voltage regulator can do much more.

Rule of Thumb:
Always keep voltage regulation as near as possible to the ESP-Chip itself!

Even a power cable can catch interferences from outside. Even worse it reliably will
produce voltage loss. The ESP does not take up much current - in average! It can
easily take > 200 mA for short moments, when sending to WiFi for example. With
most power supply wirings this is enough for running into problems.

It might be possilbe to use small "HiLink Power Modules" like this:
https://de.aliexpress.com/item/Kostenlo ... 865aa0d6-1
and place it really near to the ESP with very short cables instead.

I'd prefer a 5V power supply so I have enough voltage for a small relay if needed and
use a nodeMCU or a bare ESP with an external voltage regulator (AM1117-3.3 or LF-33 for example) as near to the ESP as possible.
Regards
Shardan

Post Reply

Who is online

Users browsing this forum: No registered users and 83 guests