Hello
I have found some problem of MCP23017 i actually do loop kick ON/OFF pin from 0-16.
But sometime MCP are just stop responding BUT MCU still looping also i do scan I2C after finish each loop it still found.
Do you know how to fix this ?
PS. in my PCB i have 3 i2c devices on board (ADS1115, MCP23017 ,LCD_I2C Display)
Regards,
Puchong V
MCP23017 not respond
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: MCP23017 not respond
Post a photo of your setup showing all connections.
- optixpro
- Posts: 9
- Joined: Sat Apr 04, 2015 7:44 am
Re: MCP23017 not respond
adafruit_support_carter wrote:Post a photo of your setup showing all connections.
http://tronixstuff.com/wp-content/uploa ... chemss.jpg
Here is how i connect the wire
Output from it we used to kick(signal active Low/High) to Relay Module that all.
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: MCP23017 not respond
Post a photo of your actual setup. This doesn't show how the other I2C devices are being tied in or other possible issues.
- optixpro
- Posts: 9
- Joined: Sat Apr 04, 2015 7:44 am
Re: MCP23017 not respond
adafruit_support_carter wrote:Post a photo of your actual setup. This doesn't show how the other I2C devices are being tied in or other possible issues.
https://ibb.co/kWvcSa
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: MCP23017 not respond
In-lining image for reference:
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: MCP23017 not respond
Try removing the ADS1115 and LCD_I2C Display from the circuit and running the stand alone I2C scanner sketch:
https://playground.arduino.cc/Main/I2cScanner
https://playground.arduino.cc/Main/I2cScanner
- optixpro
- Posts: 9
- Joined: Sat Apr 04, 2015 7:44 am
Re: MCP23017 not respond
Hello Admin
Here again i have going to used I/O Extender but i still have a question about MCP23017 is it reliable ? Because i found many people their have issue with not responding problem.
We used MCP for expanding output for Switch on/off Relay for Motor that can get effect by noise from magnetic field. Also running 2-3 I2C device (LCD,Sensor,ADS Input Extender)
It's possible that we got problem from used to many I2C ?
Here again i have going to used I/O Extender but i still have a question about MCP23017 is it reliable ? Because i found many people their have issue with not responding problem.
We used MCP for expanding output for Switch on/off Relay for Motor that can get effect by noise from magnetic field. Also running 2-3 I2C device (LCD,Sensor,ADS Input Extender)
It's possible that we got problem from used to many I2C ?
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: MCP23017 not respond
It's really hard to say without seeing your actual hardware setup. Magnetic field and other electrical disturbance can affect anything, depending on severity and nature of interference. I2c should easily be able to handle 2-3 devices on the bus.
Please be positive and constructive with your questions and comments.