ESP8266 with TDS Sensor or EC Sensor or Electrical Conductivity Sensor for Water Quality Monitoring

  Переглядів 18,176

Electronic Clinic

Electronic Clinic

Рік тому

Altium Designer:
www.altium.com/yt/electronicl...
Altium 365:
www.altium.com/altium-365
Octopart, components search engine:
octopart.com/
Download Circuit diagram and programming:
www.electroniclinic.com/tds-s...
Subscribe to my New UKposts Channel, if you want to watch my videos in Hindi/Urdu
/ @letsgetstartedd
DFrobot TDS meter official product page:
www.dfrobot.com/product-1662....
Related Videos:
Blynk V2.0 with ESP32:
• Blynk 2.0 Getting Star...
Blynk V2.0 with ESP8266 Nodemcu:
• Blynk 2.0 and ESP8266 ...
Support me on Patreon and get access to hundreds of projects:
/ electroniclinic
Project Description:
********************
I have made several videos on the DFRobot TDS or EC Sensor or Electrical Conductivity Sensor. I have used it with Arduino for water quality monitoring and I explained in detail what is TDS or total dissolved solids and I also explained what is EC or Electrical Conductivity, and how to calculate the TDS and EC values.
I have also used the same TDS or EC sensor along with a pH sensor and DS18B20 Waterproof digital temperature sensor for building a Hydroponics system.
I have also used the same TDS sensor in an IoT based water quality monitoring system using ESP32 WiFi + Bluetooth module and the Blynk application.
Now, you might be thinking, if I have already used this sensor in some basic and advanced-level projects then why am I making this video? Well there are some reasons
1. I have never used this TDS sensor with ESP8266. And moreover, lots of guys have been asking me if they can use this sensor with the Nodemcu ESP8266 instead of using ESP32. So, today I will be using Nodemcu ESP8266 WiFi module.
2. The 2nd reason I am making this video is that the older version of the Blynk or Blynk legacy is now closed for new user registrations and its going to be completely shutdown on December 31, 2022 and you will no longer be able to use the older version of the Blynk application. So, in this video, I will be using the new Blynk 2.0. If you are a beginner and you have never used the Blynk application then I highly recommend you should watch my getting started video on the new Blynk 2.0. I will add a link in the description.
3. Previously, I used 16x2 LCD while this time I will be using this I2C supported SSD1306 Oled display Module.
Anyway, after watching this video, you will be able to use your EC or TDS sensor with the Nodemcu ESP8266 WiFi module along with the DS18b20 waterproof temperature sensor and the new Blynk V2.0.
********************
Amazon Purchase links:
*****************
DFRobot Gravity TDS Sensor
amzn.to/3EL2VY1
Nodemcu ESP8266 WiFi module
amzn.to/3AsMpJN
DS18B20 waterproof temperature sensor
amzn.to/3tP0dKB
SSD1306 Oled Display Module
amzn.to/3TSP7yT
Other must-have Tools and Components:
Arduino Uno, Nano, Mega, Micro "All types of Arduino Boards":
amzn.to/3fk5OTi
Top Arduino Sensors:
amzn.to/3vZbnfM
Super Starter kit for Beginners
amzn.to/3cq56C5
Top Oscilloscopes
amzn.to/3ctF3d8
Variable Supply:
amzn.to/2PEAqE7
Digital Multimeter:
amzn.to/2QGRPg1
Top Soldering iron kits: "best"
amzn.to/39nqDtb
Top Portable drill machines:
amzn.to/3suQMh7
Jumper Wires:
amzn.to/2NYPEDA
3D printers:
amzn.to/3ruG1dt
CNC Machines:
amzn.to/3cuZWVv
Electronics Accessories:
amzn.to/3sueV7z
Hardware Tools:
amzn.to/3m9UhaN
DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for your support!
****************
For more Projects and tutorials visit my Websites
Electronic Clinic:
www.electroniclinic.com/
Programming Digest:
programmingdigest.com/
Follow me on Instagram:
/ electroniclinic
Follow my Facebook Page Electronic Clinic:
web. profile.php?...
Follow my Facebook Group, Arduino Projects:
/ 190031841821771
Email:
stu_engineering@yahoo.com
About the Electronic Clinic:
Electronic Clinic helps the students and other professionals to learn electronics, designing, and programming. Electronic Clinic has tutorials on Arduino, Arduino Nano, Raspberry PI, image processing, gsm based projects, Bluetooth based projects, esp8266 projects, Nodemcu projects, robotics, desktop application designing and programming, PLC, SCADA, RC Planes, Electronics, Power Generation, HMI, and much more. Check my Playlists.
#esp8266project #TDSorEC #altiumdesigner

КОМЕНТАРІ: 24
@electronic7979
@electronic7979 Рік тому
Excellent project
@dj_pop7048
@dj_pop7048 Рік тому
What software you use for drawing your circuit? Fritzing?
@abdelrazekshamma3643
@abdelrazekshamma3643 9 місяців тому
hi did you measure the tds and ec values from the same ds sensor ?
@siskahandayani6773
@siskahandayani6773 9 місяців тому
What do you use in creating the series scheme??
@theriverkid5775
@theriverkid5775 7 місяців тому
great project. may I know what is the code for the programming
@aldiprasetyo4766
@aldiprasetyo4766 Рік тому
can I calculate ppm in the range of 1200 - 1800 using this tds sensor?? if not, what sensor should I use to calculate the ppm with that range??
@ardhyocha2942
@ardhyocha2942 Рік тому
What is the max ppm value of the tds sensor?
@theriverkid5775
@theriverkid5775 7 місяців тому
Because I think the formula for temperature coefficient factor is : Changes of EC between two temperature / (EC1(EC value at temperature T1)*(T2-T1))
@theriverkid5775
@theriverkid5775 7 місяців тому
where did the constant value (133.42, 255.86 and 857.39) come from?
@guitarquynhon
@guitarquynhon 6 місяців тому
What is the largest ppm the sensor can measure?
@theriverkid5775
@theriverkid5775 7 місяців тому
Electrical Conductivity (EC) and Total Dissolved Solids (TDS) are related but not the same thing. EC measures the ability of a solution to conduct electricity, primarily due to the presence of ions, while TDS represents the total concentration of all inorganic and organic substances in a liquid, typically measured in parts per million (ppm). Then why use( pin::tds_sensor ) in the coding: float rawEc = analogRead(pin::tds_sensor) * device::aref / 1024.0;
@PhG1961
@PhG1961 Рік тому
Great project. What about adding sensors for measuring the acidity of the water and the chlorine content ?
@ElectroniClinic
@ElectroniClinic Рік тому
It's a nice idea. I will add these sensors too.
@muhdzahid6205
@muhdzahid6205 Рік тому
@@ElectroniClinic can you do a video of the adding pH sensor to this project including the code and schematic diagram. it will be really useful for everyone watching to edit the previous code and the schematic diagram
@ElectroniClinic
@ElectroniClinic Рік тому
@@muhdzahid6205 I have done it check playlist. I have made several videos on pH sensor
@theriverkid5775
@theriverkid5775 7 місяців тому
where did this equation come from? sensor::tds = (133.42 * pow(sensor::ec, 3) - 255.86 * sensor::ec * sensor::ec + 857.39 * sensor::ec) * 0.5;
@jonasnazareno5493
@jonasnazareno5493 3 місяці тому
in this part of the code i change 1024 to 4095 and used it on esp32 what else shoud i change in the code in formula inorder for me to have a more accurate reading can anyone please help? float rawEc = analogRead(pin::tds_sensor) * device::aref / 1024.0; // read the analog value more stable by the median filtering algorithm, and convert to voltage value float temperatureCoefficient = 1.0 + 0.02 * (sensor::waterTemp - 25.0); // temperature compensation formula: fFinalResult(25^C) = fFinalResult(current)/(1.0+0.02*(fTP-25.0)); sensor::ec = (rawEc / temperatureCoefficient) * sensor::ecCalibration; // temperature and calibration compensation sensor::tds = (133.42 * pow(sensor::ec, 3) - 255.86 * sensor::ec * sensor::ec + 857.39 * sensor::ec) * 0.5; //convert voltage value to tds value
@jesusmanuelllaiquiflorez3124
@jesusmanuelllaiquiflorez3124 9 місяців тому
Excellent work, I would like to know if you performed the tests with the probe constantly submerged in the liquid. I have carried out some tests with the "TDS meter v1.0" module, with the probe constantly submerged in the liquid, and after a period of time, the values begin to drop, after which it begins to send inconsistent values. To get correct measurements again, you have to wash the probe in distilled water and clean it. Is it possible that the module I have is defective?
@ElectroniClinic
@ElectroniClinic 9 місяців тому
This is the main issue, these are need to be cleaned and re-calibrated. The expensive ones work for months.
@jesusmanuelllaiquiflorez3124
@jesusmanuelllaiquiflorez3124 9 місяців тому
@@ElectroniClinic Could you tell me which are the expensive ones you mention?
@appusweety5800
@appusweety5800 Місяць тому
​@@ElectroniClinic hoe to calibrate sir
@theriverkid5775
@theriverkid5775 7 місяців тому
Is this formula correct? float temperatureCoefficient = 1.0 + 0.02 * (sensor::waterTemp - 25.0); // temperature compensation formula: fFinalResult(25^C) = fFinalResult(current)/(1.0+0.02*(fTP-25.0));
@venkatgambhir9913
@venkatgambhir9913 Рік тому
Baiya code for tds
@ElectroniClinic
@ElectroniClinic Рік тому
dear, code is available on website. Check link in the description.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 509 тис.
McDonald’s MCNUGGET PURSE?! #shorts
00:11
Lauren Godwin
Переглядів 27 млн
одни дома // EVA mash @TweetvilleCartoon
01:00
EVA mash
Переглядів 4,4 млн
КАК ГЛОТАЮТ ШПАГУ?😳
00:33
Masomka
Переглядів 2,1 млн
Повістки у Києві: «Яке право вони мають забирати всіх мужиків?» #війна #мобілізація #військові
00:41
Слідство.Інфо | Розслідування, репортажі, викриття
Переглядів 1,6 млн
EC Probes - How they work, and how to build one.
17:02
Jim Conner
Переглядів 36 тис.
Decrypt a Mifare Classic 1K
6:12
Tech Security Tools
Переглядів 6 тис.
Wireless Water Level Indicator using LoRa and ESP32 | TTGO LoRa32
12:08
Electronic Clinic
Переглядів 36 тис.
inventor aw - This Device is very helpful ,, you can make at home
6:47
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Переглядів 201 тис.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Переглядів 246 тис.
Offline Voice Recognition Sensor
8:40
Mellow_Labs
Переглядів 13 тис.
Start from 0 at any point on the T1 Digital Tape Measure
0:14
REEKON Tools
Переглядів 25 млн
СМАРТФОНЫ HTC ВЕРНУЛИСЬ В 2024! Шок для Apple, Samsung и Xiaomi...
11:51
Thebox - о технике и гаджетах
Переглядів 32 тис.
Первые продажи Ryzen на Ozon и первый возврат! 😱
13:17
Герасимов Live
Переглядів 32 тис.
The PA042 SAMSUNG S24 Ultra phone cage turns your phone into a pro camera!
0:24