IO Pi Plus bus pins #01 and #09 register activity but other pins dont
The IO Pi Plus is a 32 channel MCP23017 GPIO expander for the Raspberry Pi
07/09/2015
Posted by:
nathanxl
It has 2x IO Pi Plus shields and an ADC Pi Plus shield.
When the pins are crossed with 5v from the Pi or an external battery pack it is registered correctly and I can see this activity in processing.
However the problem Ive encountered is that when using my sensors/circuits to the pins (The sensors/circuits give 5v hi/lo state gates) only pins #01 and #09 on the IO pi register any activity. The other pins dont register anything... I am correctly connecting common ground between everything.
What is happening here, what am I doing wrong and please help?
Thankyou
07/09/2015
Posted by:
andrew
What type of sensors are you trying to connect to the IO Pi? Some sensors may need to have a pull-down or pull-up resistor attached to the input so it changes state correctly.
Are you using our Python library to read from the pins and if so are you using the ReadPin or ReadPort function to read the status of the pins?
07/09/2015
Posted by:
nathanxl
Can you explain what the possible issues could be that result only pins 01 and 09 registering the inputs while the others dont?
07/09/2015
Posted by:
andrew
We have a sample python script demo_ioread which shows how to set all of the pins on a port as inputs. It may be worth running this script to see if it shows the correct values on your sensors.
One other thing to look at is if the opamp is oscillating once a second you will need to make sure the inputs are being read several times a second to ensure that the changes in state are recorded.
07/09/2015
Posted by:
davo
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.