Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use TDS Sensor: Examples, Pinouts, and Specs

Image of TDS Sensor
Cirkit Designer LogoDesign with TDS Sensor in Cirkit Designer

Introduction

The TDS (Total Dissolved Solids) Sensor by Seeed is an electronic device designed to measure the concentration of dissolved solids in water. This sensor operates by measuring the conductivity of the water, which correlates to the TDS level expressed in parts per million (ppm). TDS sensors are commonly used in water quality testing, hydroponics, aquaculture, and environmental monitoring.

Explore Projects Built with TDS Sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-Based Environmental Monitoring System with Wi-Fi Connectivity
Image of Smart_city: A project utilizing TDS Sensor in a practical application
This circuit is an environmental monitoring system using an ESP32 microcontroller to collect data from various sensors, including temperature, humidity, air quality, pH, and TDS sensors. The collected data is displayed on an OLED screen, sent to ThingSpeak for remote monitoring, and email alerts are sent if critical thresholds are exceeded.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based TDS Meter for Water Quality Monitoring
Image of test: A project utilizing TDS Sensor in a practical application
This circuit connects a TDS (Total Dissolved Solids) sensor to an ESP32 microcontroller. The TDS sensor's power is supplied by the ESP32's 3.3V and ground pins, and its analog output is connected to GPIO 35 of the ESP32 for measurement. The purpose of this circuit is to enable the ESP32 to read the TDS level of a solution, which is commonly used in water quality testing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Leonardo-Based pH and TDS Sensor with OLED Display
Image of Exhibition Arduino- 2: A project utilizing TDS Sensor in a practical application
This circuit is designed to measure pH and TDS (Total Dissolved Solids) levels in a solution using a pH sensor and a TDS sensor, respectively, interfaced with an Arduino Leonardo. The measured data is then displayed on a 0.96" OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Water Quality Monitoring System with DS18B20 and Turbidity Sensor
Image of Copy of AquaSense: A project utilizing TDS Sensor in a practical application
This circuit is a water quality monitoring system that uses an ESP32 microcontroller to measure TDS, pH, temperature, and turbidity of water. The system includes sensors for each parameter and a start switch, with data being displayed on a 16x2 I2C LCD and logged via serial communication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with TDS Sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Smart_city: A project utilizing TDS Sensor in a practical application
ESP32-Based Environmental Monitoring System with Wi-Fi Connectivity
This circuit is an environmental monitoring system using an ESP32 microcontroller to collect data from various sensors, including temperature, humidity, air quality, pH, and TDS sensors. The collected data is displayed on an OLED screen, sent to ThingSpeak for remote monitoring, and email alerts are sent if critical thresholds are exceeded.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of test: A project utilizing TDS Sensor in a practical application
ESP32-Based TDS Meter for Water Quality Monitoring
This circuit connects a TDS (Total Dissolved Solids) sensor to an ESP32 microcontroller. The TDS sensor's power is supplied by the ESP32's 3.3V and ground pins, and its analog output is connected to GPIO 35 of the ESP32 for measurement. The purpose of this circuit is to enable the ESP32 to read the TDS level of a solution, which is commonly used in water quality testing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Exhibition Arduino- 2: A project utilizing TDS Sensor in a practical application
Arduino Leonardo-Based pH and TDS Sensor with OLED Display
This circuit is designed to measure pH and TDS (Total Dissolved Solids) levels in a solution using a pH sensor and a TDS sensor, respectively, interfaced with an Arduino Leonardo. The measured data is then displayed on a 0.96" OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of AquaSense: A project utilizing TDS Sensor in a practical application
ESP32-Based Water Quality Monitoring System with DS18B20 and Turbidity Sensor
This circuit is a water quality monitoring system that uses an ESP32 microcontroller to measure TDS, pH, temperature, and turbidity of water. The system includes sensors for each parameter and a start switch, with data being displayed on a 16x2 I2C LCD and logged via serial communication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Water quality testing for drinking water
  • Monitoring nutrient concentrations in hydroponics
  • Aquaculture water condition monitoring
  • Environmental water analysis
  • Swimming pool and spa maintenance

Technical Specifications

Key Technical Details

  • Operating Voltage: 3.3V to 5.5V
  • Output Voltage: 0 to 2.3V
  • TDS Measurement Range: 0 to 1000 ppm
  • Accuracy: ±10% F.S. (Full Scale)
  • Operating Temperature: 0°C to 50°C

Pin Configuration and Descriptions

Pin Number Name Description
1 VCC Power supply (3.3V to 5.5V)
2 GND Ground connection
3 AOUT Analog output voltage
4 NC Not connected

Usage Instructions

How to Use the TDS Sensor in a Circuit

  1. Connect the VCC pin to a 3.3V or 5V power supply.
  2. Connect the GND pin to the ground of the power supply.
  3. Connect the AOUT pin to an analog input pin on your microcontroller (e.g., Arduino UNO).

Important Considerations and Best Practices

  • Ensure that the sensor is properly calibrated before use.
  • Avoid touching the sensor electrodes to prevent contamination and inaccurate readings.
  • Use a stable power supply to prevent fluctuations in readings.
  • Keep the sensor at a consistent temperature to maintain accuracy.

Example Code for Arduino UNO

// TDS Sensor Example Code for Arduino UNO
const int TdsSensorPin = A0; // Analog input pin that the sensor is attached to
const float Vref = 5.0;      // Analog reference voltage(Volt) of the ADC
const float TdsFactor = 0.5; // TDS factor

void setup() {
  Serial.begin(9600);
}

void loop() {
  int analogValue = analogRead(TdsSensorPin);
  float voltage = analogValue * Vref / 1024.0; // Convert analog reading to voltage
  float tdsValue = (133.42 * voltage * voltage * voltage - 255.86 * voltage * voltage + 857.39 * voltage) * TdsFactor; // Convert voltage to TDS value
  Serial.print("TDS Value: ");
  Serial.print(tdsValue);
  Serial.println(" ppm");
  delay(1000);
}

Troubleshooting and FAQs

Common Issues Users Might Face

  • Inaccurate Readings: Ensure the sensor is calibrated correctly. Avoid any electrical noise or interference.
  • No Readings: Check all connections and ensure the sensor is powered correctly.
  • Fluctuating Readings: Stabilize the power supply and avoid touching the electrodes during measurement.

Solutions and Tips for Troubleshooting

  • Calibration: Perform a calibration using a standard solution with a known TDS value.
  • Connections: Double-check wiring and soldering for any loose connections.
  • Interference: Keep the sensor away from high interference devices such as motors or high current wires.

FAQs

Q: Can the TDS sensor be used in saltwater? A: Yes, but the measurement range and accuracy may vary depending on the salt concentration.

Q: How often should the sensor be calibrated? A: Calibration frequency depends on usage, but typically once every month is recommended.

Q: Is the sensor waterproof? A: The sensor probe is waterproof, but the electronic components are not. Keep the board dry.

Q: What is the lifespan of the TDS sensor? A: With proper maintenance and calibration, the TDS sensor can last several years.

Q: Can the sensor measure the TDS of hot water? A: The sensor is rated for use up to 50°C. Measuring hot water may damage the sensor or produce inaccurate readings.