Description
Digital-UART-TDS-Sensor-Module
TDS and Temperature Sensor Module designed by UGE Electronics Arduino Example Code
- Integrated high-precision oscillator, analog-to-digital conversion, and floating-point operation unit.
- Patented conductivity-to-TDS conversion and temperature correction algorithms.
- Single-channel TDS detection with automatic temperature correction over a wide range.
- Bipolar drive to prevent probe polarization.
- TDS Measurement Range: 0-3000 ppm, with a measurement error of <2% F.S.
- Water Temperature Measurement Range: 0-100°C, with an accuracy of ±0.5°C.
- Power Supply Voltage: 5V (Power ripple <20mV)
- Operating Current: <3mA
- Communication: UART with a baud rate of 9600 bps, 8 data bits, no parity, and 1 stop bit.
Application Scenarios:
- Various water purifiers including reverse osmosis systems.
- Commercial and household water dispensers.
- Pet water dispensers.
- Smart water cups.
- Tap water quality detection.
Usage Notes:
- The TDS sensor can work without a temperature detection NTC, but the TDS detection will not have temperature correction.
- The resistance value of R2 should match the NTC resistance value of the TDS probe used.
- Default NTC parameters are 10KΩ at room temperature and a B value of 3435.
Sample Communication Commands:
- Detection Command:
A0 00 00 00 00 A0
- Returns TDS value and temperature.
- Baseline Calibration:
A6 00 00 00 00 A6
- To be used with the probe immersed in pure water at 25°C ± 5°C.
- Set NTC Room Temperature Resistance:
A3 00 01 86 A0 CA
- Set NTC B Value:
A5 0F 0A 00 00 BE
These commands are used to interact with the chip and retrieve measurement data or perform calibration operations, for the full command please check our Arduino code
Getting Started with Digital UART TDS Sensor Module
This guide will help you set up and use the Digital TDS Sensor Module with Arduino.
What is a TDS Sensor?
TDS (Total Dissolved Solids) sensors measure the concentration of dissolved solids in water, indicating water quality. This module communicates via UART, making it easy to integrate into any microcontroller.
Hardware Connections
| TDS Sensor Module |
Arduino (Uno/Nano) |
| VCC (5V) |
5V |
| GND |
GND |
| TX |
D2 (SoftwareSerial RX) |
| RX |
D3 (SoftwareSerial TX) |
Note: The sensor communicates using 9600 baud UART.
Arduino Code
This code initializes the TDS sensor, calibrates it, and prints real-time TDS & temperature values to the Serial Monitor.

🔍 Expected Output
After uploading, open the Serial Monitor (9600 baud) and you should see:
Higher TDS = More dissolved solids in water.
Summary
- Connect the module via UART
- Upload the provided code
- Read real-time TDS & temperature in Serial Monitor
- Use the module for water quality monitoring projects
Reviews
There are no reviews yet.