This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RE: ADS1015 Measurement

Other Parts Discussed in Thread: ADS1015

Follow up question. We are working with the ADS1015, and we can set the gain to plus/minus some voltage, which subsequently correlates to temperature. Let's assume our sensor has a range of -40 to +125 C. Voltage given in millivolts.

Two questions:

  1. I can set gain to a nominal range of, say, +/- 4096.
  2. Does that mean that -4096 represents -40 C? And +4096 represents +125 C? (or, rather, nominal neg/pos voltage of the temp itself...)
  3. ... for instance, we can set "blinders" on the ADC with +/- 1024 and it will not see beyond that maximum dynamic range, where ambient temp registers as ~1800.

Meaning, do we need to comprehend sign in the calculation? Or are we always measuring in the positive range? Currently I am assuming unsigned short, but this is probably incorrect.

Thank you...

  • Hi Michael,

    I split your post from the previous thread because of two reasons.  One the topic changed, and two the post was 9 months old.

    The ADS1015 does not measure temperature, it measures a voltage relative to the range specified in the Config register.  Your temperature sensor will most likely have an output voltage relative to a specific temperature.  It will not directly relate to a code value.  If you tell me the sensor you are using I can better help in giving the formula for conversion.  Also share how the sensor is connected the the ADS1015.

    Best regards,

    Bob B