Page 1 of 1

16 relays controlled by esp32 and mcp23017

Posted: Sun Jan 12, 2020 10:46 am
by Alberto1970
  1. [Codebox=text file=Untitled.txt]
[/Codebox]
Good morning everybody i am looking for help.
I have esp32 + MCP 23017 IO connected to 8 + 8 relays modules 5 v. After few hours i lose relays.
I am powering everything with a 5 v 10 amp supply. Esp32 powered on the usb plug or from vcc and gnd pins do not make any difference because in both options I lose relays. When I lose relays, IO led is on.
Thanks
A

Re: 16 relays controlled by esp32 and mcp23017

Posted: Mon Jan 13, 2020 5:52 pm
by chegewara
What do you mean by lose relays? Do you see smoke or just its state is not kept?

Re: 16 relays controlled by esp32 and mcp23017

Posted: Tue Jan 14, 2020 2:57 pm
by martinayotte
Do you have some MOSFETs or any kind of drivers, such as ULN2803, between MCP23017 and the relays ?
Because MCP23017 output can't provide enough current (max 25mA) to drive relay's coils directly ...