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

How to Use TDS: Examples, Pinouts, and Specs

Image of TDS
Cirkit Designer LogoDesign with TDS in Cirkit Designer

Introduction

  • A Total Dissolved Solids (TDS) meter measures the concentration of dissolved solids in water, providing an indication of water quality and purity. It is widely used in water filtration systems, aquariums, hydroponics, and environmental monitoring.
  • Common applications include testing drinking water quality, monitoring water in aquaculture, and ensuring proper nutrient levels in hydroponic systems.

Explore Projects Built with TDS

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 TDS Meter for Water Quality Monitoring
Image of test: A project utilizing TDS 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 Environmental Monitoring System with Wi-Fi Connectivity
Image of Smart_city: A project utilizing TDS 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
Arduino UNO-Based TDS Sensor with I2C LCD Display for Water Quality Monitoring
Image of TDS AKKI: A project utilizing TDS in a practical application
This circuit uses an Arduino UNO to read data from a TDS (Total Dissolved Solids) sensor and display the TDS value and water quality information on a 16x2 I2C LCD screen. The Arduino reads the analog signal from the TDS sensor, converts it to a TDS value, and then displays the value along with a corresponding water quality message on the LCD.
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 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

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 test: A project utilizing TDS 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 Smart_city: A project utilizing TDS 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 TDS AKKI: A project utilizing TDS in a practical application
Arduino UNO-Based TDS Sensor with I2C LCD Display for Water Quality Monitoring
This circuit uses an Arduino UNO to read data from a TDS (Total Dissolved Solids) sensor and display the TDS value and water quality information on a 16x2 I2C LCD screen. The Arduino reads the analog signal from the TDS sensor, converts it to a TDS value, and then displays the value along with a corresponding water quality message on the LCD.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of AquaSense: A project utilizing TDS 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

Technical Specifications

  • Measurement Range: 0 - 1000 ppm (parts per million) or higher, depending on the model
  • Accuracy: ±2% of the reading
  • Operating Voltage: 3.3V - 5V DC
  • Output Signal: Analog voltage (proportional to TDS value)
  • Temperature Compensation: Built-in (for some models)
  • Operating Temperature: 0°C - 60°C

Pin Configuration and Descriptions

Pin Name Description
VCC Power supply input (3.3V - 5V DC)
GND Ground connection
AOUT Analog output signal, provides a voltage proportional to the TDS measurement

Usage Instructions

How to Use the TDS Meter in a Circuit

  1. Connect the TDS Meter to a Microcontroller:

    • Connect the VCC pin to the 5V or 3.3V power supply of your microcontroller.
    • Connect the GND pin to the ground of your microcontroller.
    • Connect the AOUT pin to an analog input pin on your microcontroller (e.g., A0 on an Arduino UNO).
  2. Place the TDS Probe in Water:

    • Submerge the TDS probe in the water sample. Ensure the probe is fully immersed but avoid submerging the connector.
  3. Read the Analog Signal:

    • The analog output voltage from the AOUT pin corresponds to the TDS value. Use the microcontroller's ADC (Analog-to-Digital Converter) to read this voltage and calculate the TDS value.

Important Considerations and Best Practices

  • Calibration: Calibrate the TDS meter using a standard solution to ensure accurate readings.
  • Temperature Compensation: If your TDS meter does not have built-in temperature compensation, account for temperature variations manually in your calculations.
  • Avoid Contamination: Clean the probe after each use to prevent contamination and ensure accurate readings.
  • Power Supply: Use a stable power supply to avoid fluctuations in the analog output signal.

Example Code for Arduino UNO

// Example code to read TDS value using an Arduino UNO
// Connect the TDS meter's AOUT pin to A0 on the Arduino UNO

const int TDS_PIN = A0; // Analog pin connected to TDS meter
const float VREF = 5.0; // Reference voltage of Arduino UNO (5V)
const int ADC_RESOLUTION = 1024; // 10-bit ADC resolution

void setup() {
  Serial.begin(9600); // Initialize serial communication
}

void loop() {
  int analogValue = analogRead(TDS_PIN); // Read analog value from TDS meter
  float voltage = (analogValue / float(ADC_RESOLUTION)) * VREF; 
  // Convert ADC value to voltage
  
  float tdsValue = (voltage / VREF) * 1000; 
  // Convert voltage to TDS value (assuming 0-1000 ppm range)

  Serial.print("TDS Value: ");
  Serial.print(tdsValue);
  Serial.println(" ppm"); // Print TDS value in ppm

  delay(1000); // Wait for 1 second before next reading
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Inaccurate Readings:

    • Cause: The TDS meter is not calibrated.
    • Solution: Calibrate the meter using a standard TDS solution.
  2. Fluctuating Output:

    • Cause: Unstable power supply or electrical noise.
    • Solution: Use a regulated power supply and ensure proper grounding.
  3. No Output Signal:

    • Cause: Incorrect wiring or damaged probe.
    • Solution: Verify connections and check the probe for physical damage.
  4. Temperature-Related Errors:

    • Cause: Water temperature affects TDS readings.
    • Solution: Use a TDS meter with built-in temperature compensation or manually adjust for temperature.

FAQs

  • Q: Can the TDS meter be used with liquids other than water?
    A: TDS meters are designed for water-based solutions. Using them with other liquids may damage the probe or produce inaccurate readings.

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

  • Q: What is the lifespan of a TDS probe?
    A: The lifespan varies based on usage and maintenance. Proper cleaning and storage can extend the probe's life to several years.

  • Q: Can I use the TDS meter in hot water?
    A: Most TDS meters operate within 0°C - 60°C. Avoid using the probe in water outside this range to prevent damage.