pidiman
(Jakub Demeter)
November 23, 2020, 4:57pm
1
Hello coders
I have 4 channel relays controlled by esp8266 and esphome.
Everything works great until the esp8266 is restarted.
LED 1(in1) lights up on the relay board and esp8266 stops working.
When I disconnect the relay board from esp8266 and reset esp8266 and then connect the relay board, everything works again.
Some help ? I have 4 ch relays board with opto.
Thanks a lot
vincen
(Vincèn)
November 23, 2020, 5:20pm
2
How do you power the whole thing ? I think you have not enough amp on your power supply
pidiman
(Jakub Demeter)
November 23, 2020, 6:09pm
3
Esp8266 and relays board are powered by 5v 17amp power supply…
Esp8266 by pin Vin and Ground and relay board also powered by + and - pins to 5v 17amp power supply
2 things:
I have had a board lock up because of a bad connected LED, when it tried to turn on everything froze.
There are boot mode control pins, if you are connecting one of the relay module it may cause boot failure, even though it boots after flashing when plugged into usb
pidiman
(Jakub Demeter)
November 23, 2020, 6:36pm
5
And which pins are ok? I used d5, d6, d7, d8
D8 is a boot pin, as are D3 and D4, try D1 or D2 instead of D8
pidiman
(Jakub Demeter)
November 23, 2020, 6:59pm
7
Thank Richie You have right. D8 was a problem pin
nickrout
(Nick Rout)
November 24, 2020, 3:30am
8
A site worth bookmarking. They have an esp32 page too.
1 Like