I am using the ADS1114 ADC chip to measure voltages on a PCB, I have set up the chip with 5V VDD, address pin to GND, and using the AIN0 input. i have set the Voltage to measure to 1.715V and measured with a Multimeter that this is correct.
then following the quick start guide I write:
Write to Config register: – First byte: 0b10010000 (first 7-bit I 2C address followed by a low R/W bit) – Second byte: 0b00000001 (points to Config register) – Third byte: 0b10000000 (MSB of the Config register to be written) – Fourth byte: 0b10000011 (LSB of the Config register to be written) 2. Write to Address Pointer register: – First byte: 0b10010000 (first 7-bit I 2C address followed by a low R/W bit) – Second byte: 0b00000000 (points to Conversion register) 3. Read Conversion register: – First byte: 0b10010001 (first 7-bit I 2C address followed by a high R/W bit) – Second byte: the ADS111x response with the MSB of the Conversion register – Third byte: the ADS111x response with the LSB of the Conversion register.
i have not connected AIN1 to GND it is not connected to anything could this be an issue?
the value I get from the conversion register is 0x17A4 which I calculate to be 1.13475V, I seem to be doing something wrong could you help me with this?
calculation: 6052/2^15 * 6.144 = 1.13475
thanks