IO Pi Plus bus pins #01 and #09 register activity but other pins dont
3625 Views - Created 05/10/2015
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?
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?
Can you explain what the possible issues could be that result only pins 01 and 09 registering the inputs while the others dont?
We have a sample python script https://github.com/abelectronicsuk/ABElectronics_Python_Libraries/blob/master/IOPi/demos/demo_ioread.py 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.
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.