IOError: [Errno 5] Input/ouput error
The IO Pi Plus is a 32 channel MCP23017 GPIO expander for the Raspberry Pi
05/01/2017
Posted by:
kevin
05/01/2017
Posted by:
andrew
Can you try running the command
sudo i2cdetect -y 1
This should display a list of i2c devices on the bus. If the IO Pi is connected correctly you should see two devices listed on addresses 0x20 and 0x21. If the two addresses are appearing then it is probably a software configuration problem in which case it may be worth setting up a fresh install of raspbian Linux on a spare SD card and going through the I2C tutorial again on the fresh version to check that there isn't an issue with your current Linux install.
If you don't see any devices listed then can you try measuring the 5V and GND pins on the IO Pi next to the power jumper to make sure the power is getting to the board?
Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.