My project will be using the ADS1115 with four single-ended sensors needing 5Vref and interfacing with an ESP32 running at 3v3. Would it work to connect the I2C pullups to 3v3 between the two?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
My project will be using the ADS1115 with four single-ended sensors needing 5Vref and interfacing with an ESP32 running at 3v3. Would it work to connect the I2C pullups to 3v3 between the two?
Hello,
I am not sure what you mean by "between the two"
But the power supply, which determines the analog full scale is independent of the digital voltage. Thus you can use a 5V VDD and use a 3.3V pull up for the I2C communications.
Regards
Cynthia
Steve,
I'd like to point out something from the datasheet. In the electrical characteristics table, you'll find the digital pin levels for the I2C:
For an input, to guarantee the input to be registered as a high, the level is 0.7*VDD. For a 5V supply this is 3.5V, so tying the pull-ups to 3.3V, you don't guarantee communications. With this specification there's probably some margin, and I would guess that it would likely work, but it's not a certainty.
I would check to see if the microcontroller has digital inputs that are tolerant to 5V, that way, you could tie the pull-ups to the 5V supply instead of the 3.3V supply.
If that's not the case, you may need to use some sort of I2C voltage level translator.
Joseph Wu