@@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
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?
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;
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
How are you getting more than 1000ppm? The sensor is specified at max 1000ppm or did i miss there something?
Excellent project
you are a champ
How did you manage to raise the sensor range more than 1000ppm??
؟؟؟؟!!!!
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??
great project. may I know what is the code for the programming
Because I think the formula for temperature coefficient factor is : Changes of EC between two temperature / (EC1(EC value at temperature T1)*(T2-T1))
Great project. What about adding sensors for measuring the acidity of the water and the chlorine content ?
It's a nice idea. I will add these sensors too.
@@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
@@muhdzahid6205 I have done it check playlist. I have made several videos on pH sensor
What do you use in creating the series scheme??
hi did you measure the tds and ec values from the same ds sensor ?
What is the largest ppm the sensor can measure?
where did the constant value (133.42, 255.86 and 857.39) come from?
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;
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?
This is the main issue, these are need to be cleaned and re-calibrated. The expensive ones work for months.
@@ElectroniClinic Could you tell me which are the expensive ones you mention?
@@ElectroniClinic hoe to calibrate sir
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;
What software you use for drawing your circuit? Fritzing?
What is the max ppm value of the tds sensor?
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));
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
Baiya code for tds
dear, code is available on website. Check link in the description.