Comments on: ESP32 with TDS Sensor (Water Quality Sensor) https://randomnerdtutorials.com/esp32-tds-water-quality-sensor/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 19 Jun 2024 23:59:09 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: faizyu https://randomnerdtutorials.com/esp32-tds-water-quality-sensor/#comment-928219 Wed, 19 Jun 2024 23:59:09 +0000 https://randomnerdtutorials.com/?p=109306#comment-928219 In reply to Baraneeswar.

I have the same problem, in my case i want to connect this sensor to blynk or web server. The problem seem to be from wifi, I too haven’t found a way to solve this issue.

]]>
By: abhishek kumar https://randomnerdtutorials.com/esp32-tds-water-quality-sensor/#comment-906773 Wed, 17 Apr 2024 08:34:50 +0000 https://randomnerdtutorials.com/?p=109306#comment-906773 In reply to Michael McCallum.

hlo bro i wwant code in micropython

]]>
By: Baraneeswar https://randomnerdtutorials.com/esp32-tds-water-quality-sensor/#comment-881915 Thu, 04 Jan 2024 10:27:00 +0000 https://randomnerdtutorials.com/?p=109306#comment-881915 How can I connect this sensor to firebase? when i try it’s showing 0 constantly. But in serial monitor it works just fine.

]]>
By: umer ahmed https://randomnerdtutorials.com/esp32-tds-water-quality-sensor/#comment-879757 Mon, 25 Dec 2023 08:51:52 +0000 https://randomnerdtutorials.com/?p=109306#comment-879757 Hello
when i put the probe in water its shows me 89 reading but when i put it outside and clean it and before dipping into water it is showing 2417 reading how to calibrate it thanks.
regards
Umer Ahmed

]]>
By: Johnmerry https://randomnerdtutorials.com/esp32-tds-water-quality-sensor/#comment-862881 Thu, 28 Sep 2023 12:46:04 +0000 https://randomnerdtutorials.com/?p=109306#comment-862881 Hi, can i change the TDS value from ppm to EC value like (microS/cm). If yes, what are the equation or constants i need to take note of?

]]>
By: Edson https://randomnerdtutorials.com/esp32-tds-water-quality-sensor/#comment-800600 Fri, 02 Dec 2022 15:06:52 +0000 https://randomnerdtutorials.com/?p=109306#comment-800600 In reply to Sara Santos.

Since April, now 2 Dec. What about?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-tds-water-quality-sensor/#comment-756213 Tue, 07 Jun 2022 17:10:25 +0000 https://randomnerdtutorials.com/?p=109306#comment-756213 In reply to F G Marshall.

Great!
Thanks for sharing your experience with the sensor.
REgards,
Sara

]]>
By: F G Marshall https://randomnerdtutorials.com/esp32-tds-water-quality-sensor/#comment-756030 Mon, 06 Jun 2022 19:48:16 +0000 https://randomnerdtutorials.com/?p=109306#comment-756030 Odd – there should be a hash symbol in front of the second version.

]]>
By: F G Marshall https://randomnerdtutorials.com/esp32-tds-water-quality-sensor/#comment-756029 Mon, 06 Jun 2022 19:47:00 +0000 https://randomnerdtutorials.com/?p=109306#comment-756029 sudo /home/pi/hydro/ADS1115/testADS1115_P1_oneoff.py
should be

sudo /home/pi/hydro/ADS1115/testADS1115_P1_oneoff.py

Please edit for me if accepted.

]]>
By: F G Marshall https://randomnerdtutorials.com/esp32-tds-water-quality-sensor/#comment-756028 Mon, 06 Jun 2022 19:44:12 +0000 https://randomnerdtutorials.com/?p=109306#comment-756028 This short test code works on my Raspberry Pi

#!/usr/bin/python3

sudo /home/pi/hydro/ADS1115/testADS1115_P1_oneoff.py

import time
import board
import busio
import adafruit_ads1x15.ads1115 as ADS
from adafruit_ads1x15.analog_in import AnalogIn

Create the I2C bus

i2c = busio.I2C(board.SCL, board.SDA)

Create the ADC object using the I2C bus

ads = ADS.ADS1115(i2c)

Create single-ended input on channel 1 (of 0 1 2 3)

chan = AnalogIn(ads, ADS.P1)
print(“{:>5}\t{:>5}”.format(‘raw’, ‘v’))
print(“{:>5}\t{:>5.3f}”.format(chan.value, chan.voltage))

save to ramdisk for use by my Blassic basic code . . .

(Python 3 is too complex to remember if you only write a few lines per year!)

with open(“/var/www/html/ramdisk/ADSP1.txt”,”w”) as fs:

fs.write(str(chan.voltage))

output –
pi@hydro:~ $ sudo /home/pi/hydro/ADS1115/testADS1115_P1_oneoff.py
raw v
8098 1.012
And that means about 2000 for my 1 gram per litre table salt “standard”

]]>