Using a TDS Sensor Board: Calibration, ADC Readings and Meaningful Water Data
A water-sensing project becomes more useful when its display says what was measured, how it was calibrated and what the result cannot tell you. A number labelled “ppm” can look precise while depending on an assumed conversion factor, an incorrect ADC reference or a sample temperature that was never recorded.
The PMD Way water quality sensor collection includes an analogue TDS sensor board and probe. It can form part of an educational logger or comparative measurement project. The important first step is to treat its TDS result as a conductivity-based estimate, not as a universal cleanliness score.
Understand the difference between conductivity and TDS
Electrical conductivity describes how readily a sample conducts current. Dissolved ions contribute to it, but the relationship to total dissolved solids depends on the sample's composition and temperature. A conductivity instrument estimates TDS using a conversion relationship; it does not weigh the dissolved material.
The Australian Drinking Water Guidelines' TDS explanation describes conductivity conversion alongside other measurement methods and notes that the conversion factor depends on local circumstances. Two instruments using different factors can report different TDS values for the same conductivity.
For example, applying factors of 0.50 and 0.64 to an illustrative conductivity of 400 µS/cm gives estimates of 200 and 256 mg/L. Neither arithmetic result identifies which substances are present. Save the factor or conversion method with your data so later comparisons remain meaningful.
Do not use the result as a drinking-water verdict
A higher estimated TDS value does not automatically mean a sample is dangerous, and a low value does not prove it is safe. This measurement does not identify specific chemical contaminants or establish the absence of pathogens.
The guidelines on drinking-water quality monitoring describe assessment across relevant microbial and chemical characteristics. An electronics project should therefore display “estimated TDS” or “relative conductivity trend”, not an unsupported safe/unsafe drinking-water indicator.
Check electrical compatibility before connecting the ADC
The PMD Way listing specifies a 3.5–5 V board supply and a nominal analogue output range of 0–2.3 V. Confirm these details for the supplied revision and verify the connector labels. A 3.3 V supply is below that stated supply range; a familiar-looking board from another manufacturer may have different specifications.
Compare the sensor output with both the ADC's measurement range and its permitted pin voltage. These are different limits. An ADC configured with a reference below the maximum sensor output may saturate before the sensor reaches full scale, even when the input pin remains within its electrical rating.
For a non-isolated analogue interface, the signal needs the reference connection specified by the board documentation. Keep the electronics and connectors dry, immerse only the designated probe section, and use a suitable low-voltage supply. Do not assume the probe cable, connector and board share the same immersion rating.
Log voltage before attempting a ppm conversion
Start by recording raw ADC counts and the configured reference. Arduino's analogue input documentation explains conversion to digital readings; the resolution and reference depend on the particular board and configuration.
For an ideal 10-bit ADC with a 5.00 V reference, one code step is approximately 5.00/1024, or 4.88 mV. Using 3.30 V in the voltage calculation when the actual reference is 5.00 V introduces a large scaling error. Printing extra decimal places will not correct it.
Compare the logged voltage with a suitable meter at a few stable sample conditions. Then obtain the sensor's matching transfer function and calibration procedure. Do not copy a polynomial from a visually similar module and assume it describes this board. Until the relationship is verified, voltage trends are more honest than invented ppm readings.
Use standards and control sample handling
Select the calibration solution and procedure supported by the actual probe and electronics. A pH buffer is not automatically a conductivity standard, and household salt mixed by eye is not a traceable calibration solution.
Hanna Instruments' conductivity troubleshooting guide explains how contamination, inappropriate standards, trapped bubbles and temperature can affect measurements. Use fresh portions of the specified standard, avoid returning used liquid to the stock bottle, and follow the probe's cleaning and immersion instructions.
Allow the measurement to stabilise under consistent conditions. Keep a separate check solution when practical, so a successful repeat of the calibration point is not your only evidence. Record the standard value, its stated reference temperature, the sample temperature and the calibration date.
Distinguish resolution, repeatability and accuracy
The product listing gives a 0–1000 ppm measurement range and an accuracy statement of ±10% full scale at 25 °C. If applied to that full-scale range, 10% corresponds to 100 ppm, not 10% of each displayed reading. Confirm the specification and its conditions before relying on it for a particular decision.
A steady display demonstrates short-term repeatability, not necessarily accuracy. Averaging can reduce some random noise, but it cannot remove a wrong reference voltage, incorrect conversion factor or contaminated calibration standard.
| Field | Purpose |
|---|---|
| Sample identifier and time | Distinguish different samples and repeat measurements |
| Raw ADC count and sensor voltage | Preserve evidence before the conversion calculation |
| Sample temperature | Explain changes and support the approved compensation method |
| Calibration and conversion version | Keep results comparable after software changes |
| Estimated TDS and validity flag | Separate a valid estimate from overload or missing data |
Design a comparison the sensor can support
A useful classroom exercise is to measure the same prepared sample repeatedly, changing only one controlled factor such as temperature within the equipment's permitted range. Compare raw voltage, any documented temperature compensation and the final estimate. This reveals whether a changing display comes from sample conditions or software.
Flag out-of-range and disconnected-probe conditions instead of converting every ADC value into a plausible number. Keep the original readings when updating calibration or firmware. A well-documented trend with stated limits is more valuable than a colourful “water purity” gauge whose scale has no defensible meaning.