Smart Water Parameter Project

I decided to make  smart water parameter test kit solution that will test the important elements / chemical in a saltwater – freshwater aquarium. This will save a lot of money to the hobbyist, student, and to the medical side.

I Already found the all in one probe for this project.

This can able to measure the following: pH, dissolved oxygen (DO), oxidation-reduction potential (ORP), conductivity (salinity), turbidity, temperature and dissolved ions (Fluoride (Fluoride (F–), Calcium (Ca2+), Nitrate (NO3–), Chloride (Cl–), Iodide (I–), Cupric (Cu2+), Bromide (Br–), Silver (Ag+), Fluoroborate (BF4–), Ammonia (NH4), Lithium (Li+), Magnesium (Mg2+), Nitrite (NO2-), Perchlorate (ClO4), Potassium (K+), Sodium (Na+)

Now let start with the programming ….

Sample Code:

#include <WaspSensorSW.h>

Temperature Sensor

//Temperature Sensor
{
float valuePT1000 = 0.0;
Water.ON();
// A few milliseconds for power supply stabilization
delay(10);
// Reading of the ORP sensor
value_temperature = TemperatureSensor.readTemperature();
// Print of the results
USB.print(F(\"Temperature (celsius degrees): \"));
USB.println(value_temperature);
// Delay to not heat the PT1000
delay(1000);
}

Conductivity / Salinity Sensor

{
// Reading of the Conductivity sensor
cond = ConductivitySensor.readConductivity();
// Print of the results
USB.print(F(\"Conductivity Output Resistance: \"));
USB.print(cond);
// Conversion from resistance into ms/cm
calculated = ConductivitySensor.conductivityConversion(value_cond);
// Print of the results
USB.print(F(\" Conductivity of the solution (uS/cm): \"));
USB.println(value_calculated);
}

pH Sensor

{
// Read the pH sensor
value_pH = pHSensor.readpH();
// Read the temperature sensor
value_temp = temperatureSensor.readTemperature();
// Print the output values
USB.print(F(\"pH value: \"));
USB.print(value_pH);
USB.print(F(\"volts | \"));
USB.print(F(\" temperature: \"));
USB.print(value_temp);
USB.print(F(\"degrees | \"));
// Convert the value read with the information obtained in calibration
value_pH_calculated = pHSensor.pHConversion(value_pH,value_temp);
USB.print(F(\" pH Estimated: \"));
USB.println(value_pH_calculated);
}
Sensor Module that we’re going to connect to our Arduino/ Raspberry Pi

Leave a Reply

Your email address will not be published. Required fields are marked *