mcp23017 is not working properly

man9495
Posts: 5
Joined: Tue Jun 01, 2021 11:11 am

mcp23017 is not working properly

Postby man9495 » Wed Nov 03, 2021 8:54 am

Hi Folks!!
Hope you all are doing well!!!

I am using GPIO extender(mcp23017) with esp32. With that GPIO extender, I have attached some relays to it.

Functionality:- Whenever the hardware gets interrupt, relay with respect to that interrupt turned on.

Issue:-But in between sometimes, automatically all the relays get turned on even without any interrupt.
Even in the software, all the relays will never get turned on at same time. But still sometimes in between all the relays gets turned on without any interrupt.

Library used:- https://github.com/adafruit/Adafruit-MC ... no-Library

Components using:-
1) esp32 devkit
2) esp-idf 4.0.1

Thanks in advance! :) :)

username
Posts: 534
Joined: Thu May 03, 2018 1:18 pm

Re: mcp23017 is not working properly

Postby username » Fri Nov 05, 2021 5:02 am

Do you have a schematic of how you wired your relays to the mcp23017 ?
Sounds like the mcp23017 might be resetting.

Bourri
Posts: 1
Joined: Tue Apr 18, 2023 1:13 am

Re: mcp23017 is not working properly

Postby Bourri » Tue Apr 18, 2023 1:17 am

Hello,
I am having the exact same issue with the esp32 and mcp23017, after some commands, it becomes irresponsive and sometimes, all the relays related to it activate at the same time, which i find a very strange behaviour,

I changed all the hardware with a new one, nothing has changed.

Did you find the issue ?

Thank you in advance

Who is online

Users browsing this forum: No registered users and 120 guests