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

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

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

Introduction

The TDS Sensor Board by SQRobot is an electronic device designed to measure the Total Dissolved Solids (TDS) in a liquid, providing an indication of the purity or the concentration of dissolved ions in water. This sensor is widely used in applications such as water quality testing, hydroponics, aquariums, and environmental monitoring.

Explore Projects Built with TDS Sensor Board

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 Board  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 Water Quality Monitoring System with DS18B20 and Turbidity Sensor
Image of Copy of AquaSense: A project utilizing TDS Sensor Board  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
ESP32-Based TDS Meter for Water Quality Monitoring
Image of test: A project utilizing TDS Sensor Board  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 DS18B20, TDS, PH, and DO Sensors
Image of MWA: A project utilizing TDS Sensor Board  in a practical application
This circuit is a sensor monitoring system using an ESP32 microcontroller to read data from various sensors including a DS18B20 temperature sensor, a TDS sensor, a DO sensor, and a PH meter. The data is displayed on an LCD screen, and a relay controls a pilot lamp based on the sensor readings.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with TDS Sensor Board

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 Board  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 Copy of AquaSense: A project utilizing TDS Sensor Board  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 test: A project utilizing TDS Sensor Board  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 MWA: A project utilizing TDS Sensor Board  in a practical application
ESP32-Based Environmental Monitoring System with DS18B20, TDS, PH, and DO Sensors
This circuit is a sensor monitoring system using an ESP32 microcontroller to read data from various sensors including a DS18B20 temperature sensor, a TDS sensor, a DO sensor, and a PH meter. The data is displayed on an LCD screen, and a relay controls a pilot lamp based on the sensor readings.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Water quality testing for drinking water
  • Monitoring nutrient levels in hydroponics
  • Assessing saltwater concentration in aquariums
  • Environmental water testing in rivers, lakes, and oceans
  • Industrial water analysis in wastewater treatment facilities

Technical Specifications

Key Technical Details

  • Operating Voltage: 3.3V to 5.5V
  • Output Voltage: 0V to 2.3V
  • 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 Pin Name Description
1 VCC Power supply (3.3V to 5.5V)
2 GND Ground
3 AOUT Analog output voltage
4 TEMP Temperature sensor output (optional use)

Usage Instructions

How to Use the Component 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 on your microcontroller (e.g., Arduino UNO).
  4. (Optional) Connect the TEMP pin to another analog input if temperature compensation is required.

Important Considerations and Best Practices

  • Ensure that the sensor is properly calibrated before use.
  • Avoid submerging the electronic components of the sensor board in water.
  • Use a waterproof probe for the sensor when immersing it in the liquid.
  • Keep the sensor clean and free from contaminants to maintain accuracy.
  • Implement temperature compensation for more precise TDS measurements.

Example Code for Arduino UNO

// TDS Sensor Board example code for Arduino UNO
const int TDS_PIN = A0; // Analog input pin connected to TDS Sensor Board

void setup() {
  Serial.begin(9600); // Start serial communication at 9600 baud rate
}

void loop() {
  int tdsValue = analogRead(TDS_PIN); // Read the TDS value
  float voltage = tdsValue * (5.0 / 1024.0); // Convert the analog reading to voltage
  float tdsPPM = (voltage / 2.3) * 1000; // Convert voltage to TDS in ppm
  Serial.print("TDS Value: ");
  Serial.print(tdsPPM);
  Serial.println(" ppm");
  delay(1000); // Wait for a second before reading again
}

Troubleshooting and FAQs

Common Issues Users Might Face

  • Inaccurate Readings: Ensure the sensor is calibrated correctly. If the readings are still off, check for any buildup on the sensor probe and clean it.
  • No Output Voltage: Verify that the sensor is connected properly and that the power supply is within the specified voltage range.
  • Temperature Fluctuations: If the TDS readings are affected by temperature, use the TEMP pin to measure the temperature and adjust the readings accordingly.

Solutions and Tips for Troubleshooting

  • Calibration: Perform a two-point calibration using standard solutions with known TDS values.
  • Cleaning: Use distilled water to clean the sensor probe gently. Avoid using any chemicals or abrasive materials.
  • Temperature Compensation: Implement a temperature compensation algorithm in your code to adjust the TDS readings based on the temperature data from the TEMP pin.

FAQs

Q: Can the TDS Sensor Board be used in saltwater? A: Yes, but ensure that the measurement range of the sensor covers the expected TDS levels in saltwater.

Q: How often should the sensor be calibrated? A: Calibration frequency depends on usage, but it is generally recommended to calibrate the sensor every month or after any significant change in water quality.

Q: Is the sensor waterproof? A: The sensor probe is waterproof, but the electronic components on the board should not be submerged in water.

Q: Can the sensor measure the hardness of water? A: Indirectly, yes. TDS levels can give an indication of water hardness, but for precise measurements, a dedicated water hardness test is recommended.

For further assistance or technical support, please contact SQRobot customer service.