Adafruit - THE MUSICAL - is here! Get a musical tour of Becky's favorite tools around the Adafruit factory (video) and subscribe!

Problem with ADS1115
Moderators: adafruit_support_bill, adafruit

Problem with ADS1115

by nordam on Mon Jan 14, 2013 5: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 10:29 am

Re: Problem with ADS1115

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

Hmmm. We had a similar problem in the Arduino library a while ago. Try changing line 129 of 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: 32589
Joined: Sat Feb 07, 2009 10:11 am

Re: Problem with ADS1115

by ktownsend on Tue Jan 22, 2013 1: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: 378
Joined: Thu Nov 05, 2009 2:18 am