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

A TDS (Total Dissolved Solids) sensor measures the concentration of dissolved solids in a liquid, typically expressed in parts per million (ppm). These dissolved solids include minerals, salts, and organic compounds. TDS sensors are widely used in water quality monitoring, aquariums, hydroponics, and water purification systems to ensure the liquid meets specific quality standards.

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
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
Arduino UNO-Based Water Quality Monitoring System with TDS Sensor and SIM900A SMS Alerts
Image of WaterQuality: A project utilizing TDs sensor in a practical application
This circuit is a water quality monitoring system using an Arduino Uno, which reads TDS values from a TDS sensor and displays the results on a 16x2 I2C LCD. A green LED indicates good water quality, while a SIM900A module sends an SMS alert if the water quality is poor.
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 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
Image of WaterQuality: A project utilizing TDs sensor in a practical application
Arduino UNO-Based Water Quality Monitoring System with TDS Sensor and SIM900A SMS Alerts
This circuit is a water quality monitoring system using an Arduino Uno, which reads TDS values from a TDS sensor and displays the results on a 16x2 I2C LCD. A green LED indicates good water quality, while a SIM900A module sends an SMS alert if the water quality is poor.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Water quality monitoring in residential, industrial, and agricultural settings
  • Aquariums and fish tanks to maintain optimal water conditions
  • Hydroponics and gardening to monitor nutrient levels
  • Water purification systems to ensure proper filtration
  • Environmental testing and research

Technical Specifications

Parameter Value/Description
Operating Voltage 3.3V - 5.0V
Operating Current 3-6 mA
Measurement Range 0 - 1000 ppm (standard)
Accuracy ±10% of the reading
Output Signal Analog voltage (0-2.3V typical)
Temperature Range 0°C - 60°C
Probe Material Stainless steel
Cable Length Typically 1 meter

Pin Configuration

Pin Name Description
VCC Power supply input (3.3V - 5.0V)
GND Ground connection
AOUT Analog output signal proportional to TDS value

Usage Instructions

Connecting the TDS Sensor

  1. Power Supply: Connect the VCC pin of the TDS sensor to a 3.3V or 5.0V power source.
  2. Ground: Connect the GND pin to the ground of your circuit.
  3. Analog Output: Connect the AOUT pin to an analog input pin on your microcontroller (e.g., Arduino).

Example Circuit

Below is an example of how to connect the TDS sensor to an Arduino UNO:

  • VCC → 5V pin on Arduino
  • GND → GND pin on Arduino
  • AOUT → A0 pin on Arduino

Sample Arduino Code

// TDS Sensor Example Code
// This code reads the analog signal from the TDS sensor and converts it to ppm.
// Ensure the sensor is properly calibrated for accurate readings.

#define TDS_PIN A0  // Analog pin connected to the TDS sensor
#define VREF 5.0    // Reference voltage of the Arduino (5V for most boards)
#define ADC_RES 1024 // ADC resolution (10-bit for Arduino UNO)

void setup() {
  Serial.begin(9600); // Initialize serial communication
  pinMode(TDS_PIN, INPUT); // Set TDS pin as input
}

void loop() {
  int analogValue = analogRead(TDS_PIN); // Read analog value from sensor
  float voltage = (analogValue / float(ADC_RES)) * VREF; // Convert to voltage
  float tdsValue = (voltage / 2.3) * 1000; // Convert voltage to TDS (ppm)
  
  // Print the TDS value to the Serial Monitor
  Serial.print("TDS Value: ");
  Serial.print(tdsValue);
  Serial.println(" ppm");
  
  delay(1000); // Wait 1 second before the next reading
}

Important Considerations

  • Calibration: The TDS sensor must be calibrated using a known TDS solution for accurate measurements.
  • Temperature Compensation: TDS readings can vary with temperature. Use a temperature sensor for compensation if precise readings are required.
  • Immersion Depth: Ensure the probe is fully submerged in the liquid but avoid immersing the entire sensor module.
  • Avoid Corrosion: Clean the probe regularly to prevent buildup of contaminants that can affect accuracy.

Troubleshooting and FAQs

Common Issues

  1. Inaccurate Readings

    • Cause: The sensor is not calibrated.
    • Solution: Calibrate the sensor using a standard TDS solution.
  2. No Output Signal

    • Cause: Incorrect wiring or insufficient power supply.
    • Solution: Verify all connections and ensure the power supply matches the sensor's requirements.
  3. Fluctuating Readings

    • Cause: Electrical noise or unstable liquid conditions.
    • Solution: Use proper shielding for wires and ensure the liquid is stable during measurement.
  4. Sensor Not Responding

    • Cause: Probe contamination or damage.
    • Solution: Clean the probe with distilled water and inspect for physical damage.

FAQs

Q: Can the TDS sensor measure salinity?
A: While TDS sensors can provide an indirect measurement of salinity, they are not specifically designed for this purpose. Use a dedicated salinity sensor for precise measurements.

Q: How often should I calibrate the TDS sensor?
A: Calibration frequency depends on usage. For critical applications, calibrate before each use. For general use, calibrate monthly or as needed.

Q: Can I use the TDS sensor in hot liquids?
A: The sensor is rated for temperatures up to 60°C. Avoid using it in liquids exceeding this temperature to prevent damage.

Q: Is the TDS sensor waterproof?
A: The probe is waterproof, but the main sensor module is not. Ensure the module remains dry during operation.