Due to server issues & outages with Endicia - There is no USPS / Postal service orders at this time - Read more.

Problem with ADS1115
Moderators: adafruit_support_bill, adafruit

Problem with ADS1115

by nordam on Mon Jan 14, 2013 4:23 pm


I have a problem with my recently arrived ADS1115 4 channel ADC. I hooked it up to my Raspberry Pi, and I manage to run the example code from the Adafruit Python library, but three of the four channels always show the same value (that is, the value fluctuates a little, as I would expect, but the voltage on the three channels are always equal to each other).

My first thought was that I had made a mistake in soldering, connecting the three pins, but I checked with a multimeter and I couldn't find a problem. Also, the voltage readings only change when one of the three seemingly identical pins are connected, ignoring anything connected to the two others.

Any clues as to what might be wrong?
Posts: 1
Joined: Sat Dec 01, 2012 9:29 am

Re: Problem with ADS1115

by adafruit_support_bill on Mon Jan 14, 2013 4:46 pm

Hmmm. We had a similar problem in the Arduino library a while ago. Try changing line 129 of Adafruit_ADS1x15.py from:

Code: Select all | TOGGLE FULL SIZE
    # Wait for the ADC conversion to complete

Code: Select all | TOGGLE FULL SIZE
    # Wait for the ADC conversion to complete
User avatar
Posts: 29578
Joined: Sat Feb 07, 2009 9:11 am

Re: Problem with ADS1115

by ktownsend on Tue Jan 22, 2013 12:19 pm

This has been fixed in the latest version of the library, which now sets the delay depending on the chip used (ADS1015 or ADS1115, which the slower 1115 needing the extra delay).
User avatar
Posts: 340
Joined: Thu Nov 05, 2009 1:18 am