Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.

Conversion delay
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Conversion delay

by Imsmooth on Thu Feb 27, 2014 10:17 pm

For the ads1015 and 1115 the conversion delays are


This is from the library code which I am studying so I understand the operations properly.

Where in the Texas instrument PDF is this mentioned?
Posts: 15
Joined: Tue Feb 25, 2014 8:16 pm

Re: Conversion delay

by adafruit_support_mike on Fri Feb 28, 2014 12:40 am

Those are derived values.

The ADS1x15 family of ADCs have an ALERT/READY pin that generates a pulse when each conversion is complete, but using that consumes a microcontroller pin and an interrupt service routine. Instead of using that, we wrote the library to wait for a fixed amount of time for the conversion to finish.

The ADS1015's maximum sampling rate is 3ksps, so a 1ms delay (corresponding to a rate of 1ksps) strikes a balance between simplicity and guaranteed success of getting a conversion. The ADS1115 can do 860sps, and our default delay takes the rate to 125sps.
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.

Posts: 62315
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.