Maker Pro
Maker Pro

ADS1113 ADC only shows first byte

I am programming an ADS1113. This is the simplest of the ADD111x series with only 1 channel and without a PGA, comparator etc. It is a 16 bit ADC requiring two one-byte reads to retrieve the output.
The device is configured with 2 bytes. Most of these bits are zero for this series . I have tried a few combinations of single and continuous read.

I am applying 0->3.3V to the input channel. I am able to display voltage from the high order byte . However I always get 0x00 for the low order.

I stripped down a very simple Arduino code to test and I attach it here.
Also the datasheet is at: https://www.ti.com/lit/ds/symlink/ads1113.pdf?ts=1650106901012

Any ideas appreciated
thanks
Fritz
 

Attachments

  • ADS_reader_rev7.ino
    2.2 KB · Views: 3
Just an update-I got in the lab and after some troubleshooting found that the wrong amplifier resistor was being used to feed the ADC hence producing a very small voltage. I consider this case closed.


Sorry for any confusion

Fritz
 
Top