Page 1 of 1
ESP32 and ADS111x Analog to Digital converter fail
Posted: Wed Jul 10, 2024 3:29 pm
by stefan.erni
Hi to All
With ESP32 and ADS111x I get a fail.
And there is a pin RDY/ALRT but I just have a QWII connector with SDA and SCL.
https://www.adafruit.com/product/1085

- 2024-07-10_16-28-22.PNG (866.84 KiB) Viewed 6697 times
Re: ESP32 and ADS111x Analog to Digital converter fail
Posted: Tue Jul 16, 2024 7:57 am
by stefan.erni
Hi Ben
At the moment I cannot compile with the ESP32 when I insert the ADS1115.
If you have to change something anyway
Could you also add the read/write registers on this opportunity?

- 2024-07-16_08-43-29.PNG (33.72 KiB) Viewed 5716 times
I have found a couple of other boards and will also test the Grove board with the screws
https://www.digikey.ch/de/products/det ... /12340170

- 2024-07-16_08-32-31.PNG (549.4 KiB) Viewed 5716 times
https://www.digikey.ch/de/products/det ... 3/9356341

- 2024-07-16_08-35-59.PNG (211.05 KiB) Viewed 5716 times
https://www.digikey.ch/de/products/deta ... 5/21720386

- 2024-07-16_08-40-57.PNG (995.4 KiB) Viewed 5716 times
Re: ESP32 and ADS111x Analog to Digital converter fail
Posted: Tue Jul 16, 2024 10:17 am
by BenR
Hello,
Many thanks for letting us know, I've solved the problem for you and also updated the source code here on the wiki if you need to do a further edit to the component.
https://www.flowcode.co.uk/wiki/index.p ... log_Input)
I couldn't expose the read/write register macros as the component isn't organised like this at the moment.
Re: ESP32 and ADS111x Analog to Digital converter fail
Posted: Tue Jul 16, 2024 11:21 am
by stefan.erni
Hi Ben
Perfect! It's working fine? Thank you.
But..... I have to choose a pin for RDY/ALRT.
If I choose unconnected it's give a pop up warning and it's compiling but not working in hardware
This is my Testprogram:

- 2024-07-16_12-12-45.PNG (69.87 KiB) Viewed 5701 times
and the nice result, I set it to gnd and later to 3.3Volt and show it in a terminal App

- 2024-07-16_12-10-06.PNG (158.62 KiB) Viewed 5701 times