Hi, We're designing an A/D converter using ADS1115 in a single-ended config, and we multiplex the analog informations before converting them by ADS1115.
A microcontroller is the master of the I2C bus, and there's a D/A in the same I2C bus. (A/D and D/A are slaves).
In the ADS1115 we have the Config register as follows:
- master sends a start bit;
- master sends 0x90 (Add pin is at GND);
- Master sends 0x01;
- master sends 0xC1;
- MAster send 0x83;
- Master sends a stop bit. (By thi moment, all bytes are acnowledged by ADS1115.
To read the Conversion register, we are proeeding as follows:
- Master sends a atart bit;
- Then sends a 0x90;
- Then sends 0x00
- Then a stop bit followed by a nes start bit;
- Then sends 0x91;
- ADS sends 0xC3;
- ADS sends a value between 0x00 and 0x64 (according to the analog value).
The problem is that this 0xC3 sent by ADS1115 is fixed, independent of the analog value. So we get bad resolution.
We tested different configurations and ICs.
Could you help us on this issue? If you have an example code for this Converter, could you send by email: douglas@dsrsolucoes.com.br ? It'll be very useful.
We have 6 equipments to deliver in January, 5th. So, if you could help us before Christmas, it'll be very nice!
Regards, Merry Christmas!
Douglas