-->
Page 1 of 2

ESP8266 node mcu +relay power up from the same source

PostPosted: Sun Feb 06, 2022 1:19 pm
by atux_null
i have a few modules spread around in the house that each esp8266 node mcu controls a single relay board 5v. Each relay controls a lamp of 220v. For each of the devices i have 2 power sources:
-one for the board
-one for the relay

i would like to get rid of the extra power source for the board and use a single power source to power up both. Could someone advice on how to wire and what other modification do i need for this task please?

Re: ESP8266 node mcu +relay power up from the same source

PostPosted: Sun Feb 06, 2022 3:37 pm
by Bonzo
The Vin can be used to power the board from 5V.

Re: ESP8266 node mcu +relay power up from the same source

PostPosted: Mon Feb 07, 2022 4:52 am
by atux_null
Cpuld you show me a sketch/diagram, so i could get hold on what to do, please

Re: ESP8266 node mcu +relay power up from the same source

PostPosted: Mon Feb 07, 2022 9:29 am
by rpiloverbd
If your power source gives 5V, then you can connect the relay board's VCC to Vin of the ESP8266. Here is an article that may help you: https://randomnerdtutorials.com/esp8266 ... eb-server/