Chat freely about anything...

User avatar
By rudy
#66052 But where is the relay current coming from? If from the batteries then you have a problem if the relay is on for a significant time. You didn't say how you are using the relay or what you are switching on.
User avatar
By faramon
#66053 i have two projects on wifi, one is with nodemcu and relay. Nodemcu is on the main electricity within proper 220 to 5 v microusb. Relay is on 5volts on nodemcu. This is wall socket. And second project would be motion sensor that works within nodemcu that is powered by baterry holder with microusb. This part is the problem because i think that battery holder will empty the batteries very soon if nodemcu with motion sensor or dht22 is every minute live on wifi because i read the temp or motion with mqtt on lua on nodemcu
User avatar
By schufti
#66071 if you had done at least a little recherche in the forum on topic low-power, battery, deep-sleep etc. you should allready know that nodemcu (not esp in general) is absolutely incompatible with battery and low power.