ESP32-CAM and Rain Sensor

Hi everybody I have an ESP32-CAM and I want to get data from a rain sensor (analogRead) but I can´t use it while using wifi. Trouble!
I thought using a ADS1115 would solve my problems but I can't find a way to make it talk with ESP.
Can anybody give me some some tips about how to read the rain sensor (https://pt.aliexpress.com/item/32656104046.html?spm=a2g0o.productlist.0.0.5c806ba7Lh1HUW&algo_pvid=86f0dd00-806b-471a-9f7f-3edb4c3ba34f&algo_exp_id=86f0dd00-806b-471a-9f7f-3edb4c3ba34f-3&pdp_ext_f={"sku_id"%3A"12000027173943073"}&pdp_pi=-1%3B1.44%3B-1%3B-1%40salePrice%3BBRL%3Bsearch-mainSearch) or communicate with the ADS1115 and get the data from the extended ports?

abish7643/ESP32Cam-I2CSensors: Use TwoWire to Create Custom I2C Bus on an AI-Thinker ESP32Cam & Interface I2C Sensors (BME280). (github.com) an example of using I2C and the ESP32cam.

I don't see the point in using an ADS1115 for a sensor like that.
Just use an analogue pin of the ESP32 and be done with it.
Make sure you can easily replace the sensor, because they corrode fast.
Leo..

Thanks for answering, I can´t use analogs from ESP32-CAM because they are busy with the camera and Wifi.
The posts I found in a lot of foruns explains it or maybe I can't do it right.
This is why I need to expand with ADS.

I can´t make it work with ADS, maybe (more likely) a limitation of my skills.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.