4 relays board dont work after esp8266 reboot

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

How do you power the whole thing ? I think you have not enough amp on your power supply :frowning:

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

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

Thank Richie :slight_smile: You have right. D8 was a problem pin :slight_smile:

A site worth bookmarking. They have an esp32 page too.

1 Like