Hello Forum,
please help me, I have problems with the following:
I anstalled a tds sensor to an esp32 board analog pin and see, that the ppm value isn’t correct shown and see that the value of the sensor isn’t 0 if the sensor is not attached to the board. Can anyone help me to fix the issue?
My esp configuration is:
sensor:
- platform: adc
pin: GPIO39
name: "Aquarium tds"
update_interval: 10s
unit_of_measurement: "ppm"
icon: "mdi:water-percent"
filters:
- lambda: return ((133.42*x*x*x - 255.86*x*x + 857.39*x)*0.5)*3.3;
Hardware:
Raspberry pi4 - 4 gb
ESP32 Wemos controller
Analog TDS Sensor - Water Conductivity Analog Tds Sensor Module Tester Waterproof Probe Liquid Detection Water Quality Monitoring For Arduino 3.3v - Sensors - AliExpress
Software:
- Home Assistant OS
- ESPHome