The new Raspberry Pi B Model B+ is here - Pick one up in the store and check our detailed guide!

ADS1015 12-Bit ADC input range

by parmstrong on Fri Feb 15, 2013 5:24 pm

I need to know the analog input range for an ADS1015 12-Bit ADC
Sample code suggests this is bipolar and approx. +/- 6 V.
parmstrong
 
Posts: 1
Joined: Fri Feb 15, 2013 5:11 pm

Re: ADS1015 12-Bit ADC input range

by Zener on Fri Feb 15, 2013 8:18 pm

You need to consult the data sheet. It has to do with the vref which could be internal or external. To some extent it depends on the schematic and the settings. There is a max specified also of course.
Zener
 
Posts: 2453
Joined: Sat Feb 21, 2009 1:38 am

Re: ADS1015 12-Bit ADC input range

by adafruit_support_bill on Sat Feb 16, 2013 6:20 am

The library uses the 6.144v measurement range by default (although the max input should not exceed 5v). And there are single-ended and bipolar options.
The chip has a programmable gain with measurement ranges as small as 0,.256v. The constants for selecting these ranges are defined in the .h file.
https://github.com/adafruit/Adafruit_ADS1X15
User avatar
adafruit_support_bill
 
Posts: 27992
Joined: Sat Feb 07, 2009 9:11 am