Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

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

Image of TDS Sensor Board Design 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!
Image of ESP32-Based TDS Meter for Water Quality Monitoring: 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.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

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

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

Solutions and Tips for Troubleshooting

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.