16 relays controlled by esp32 and mcp23017

Alberto1970
Posts: 1
Joined: Fri Jan 10, 2020 10:53 pm

16 relays controlled by esp32 and mcp23017

Postby Alberto1970 » Sun Jan 12, 2020 10:46 am

  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

chegewara
Posts: 2238
Joined: Wed Jun 14, 2017 9:00 pm

Re: 16 relays controlled by esp32 and mcp23017

Postby chegewara » Mon Jan 13, 2020 5:52 pm

What do you mean by lose relays? Do you see smoke or just its state is not kept?

User avatar
martinayotte
Posts: 141
Joined: Fri Nov 13, 2015 4:27 pm

Re: 16 relays controlled by esp32 and mcp23017

Postby martinayotte » Tue Jan 14, 2020 2:57 pm

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 ...

Who is online

Users browsing this forum: Bing [Bot] and 154 guests