ADS1115 I2c Read trouble
Posted: Tue Aug 19, 2025 6:18 am
Hello.
I have a question.
I'm reading nine analog values using three ADS1115s.
The ADS1115 inputs are connected correctly and the voltage output is accurate.
I'm reading them using I2C, but the values aren't being written to the correct variables.
I've tried reading them using both the voltage and raw options.
The values are read into different variables. The values are read from different variables, but they're correct.
Is there a way to fix this?
I'm reading the values via SPI, as shown in the attached project.
It's too complicated. I tried modifying it as you suggested.
This also doesn't read the values correctly.
The current method reads the values correctly.
Is there an easier way to handle this?
Thank you.
I have a question.
I'm reading nine analog values using three ADS1115s.
The ADS1115 inputs are connected correctly and the voltage output is accurate.
I'm reading them using I2C, but the values aren't being written to the correct variables.
I've tried reading them using both the voltage and raw options.
The values are read into different variables. The values are read from different variables, but they're correct.
Is there a way to fix this?
I'm reading the values via SPI, as shown in the attached project.
It's too complicated. I tried modifying it as you suggested.
This also doesn't read the values correctly.
The current method reads the values correctly.
Is there an easier way to handle this?
Thank you.