Community Forum Share your projects and post your questions

Register or Sign In

Having trouble reading voltage data through ADC

31 Views - Created 21 days ago

21 days ago

Posted by:
albertju

Users Avatar

Hi i am running the demo_readvoltage.py program on my raspberry pi, but i am unable to read any values when I connect a power supply to it. Any reason why I might not be reading any data? Also, I would like to know the pinout for the ADC Pi.

20 days ago

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

Hi

If the demo program is running correctly but only returning 0V then try checking your connections to the ADC inputs and make sure you have a common ground connected between your power supply and the Raspberry Pi.

You can find the pinout and schematic for the ADC Pi on our ADC Pi product page.  On the 40 pin GPIO header the only pins that are needed are 3.3V (pin 1), 5V (pin 2), SDA (pin 3), SCL (pin 5) and GND (pin 6).

AB Electronics UK Tech Support

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.