smartcitizen-kit-21 icon indicating copy to clipboard operation
smartcitizen-kit-21 copied to clipboard

ADS1115 Library doesn't support 4A address

Open oscgonfer opened this issue 1 year ago • 0 comments

The Texas ADS1115 16 bit ADC is currently used in the SC ASB. The ADC has 4 different addresses, depending on how we connect the ADDR pin:

image

After testing with different boards (see below) setting the 4A address by connecting ADDR to SDA, the data transmission is not effective and we only get nulls. This could be linked to the SDA/SCL timing listed above, but we are currently not sure about it. The hardware tested included our ASB, a Seeed version and the Adafruit version) and we did so with our forked implementation, which comes from Adafruits but is quite a few commits behind.

Currently, it is uncertain that the issue comes from the SDA/SCL or not, and we should assess if we want to merge adafruit's main into our fork.

oscgonfer avatar Jul 27 '23 14:07 oscgonfer