Toggle Nav

Interfacing TSD-10 Thermometrics Turbidity Sensor Module with Arduino

Table of Contents

TSD-10 Thermometrics Turbidity Sensor Features

The TSD-10 turbidity sensor measures the turbidity using optics and light passing through the liquid. This sensor has an analog output and requires an ADC converter. It is used in washing machines to measure the density of water turbidity. By using an optical transistor and optical diodes, it measures the amount of light coming from the source of the light to the light receiver, in order to calculate water turbidity. This sensor has a waterproof body.


You need 4.7K Ohm and 470 Ohm resistors in order to set up this module.

You can download the datasheet of this module here.

TSD-10 Sensor Pinout

This sensor has 3 pins:

  • 5V: Module power supply – 5 V
  • GND: Ground
  • OUT: Analog output

You can see pinout of this sensor in the image below.

Required Materials

Hardware Components

Arduino UNO R3 × 1
TSD-10 Thermometrics Turbidity Sensor × 1
470 Ohm resistor × 1
4.7K Ohm resistor × 1
Male to Male jumper wire × 1

Software Apps

Arduino IDE

Interfacing TSD-10 Sensor with Arduino

Step 1: Circuit

The following circuit shows how you should connect Arduino to TSD-10  module. Connect wires accordingly.

Step 2: Code

Upload the following code to your Arduino.

  modified on Sep 28, 2020
  Modified by MohammedDamirchi from Arduino Examples

// the setup routine runs once when you press reset:
void setup() {
  // initialize serial communication at 9600 bits per second:

// the loop routine runs over and over again forever:
void loop() {
  // read the input on analog pin 0:
  int sensorValue = analogRead(A0);
  // print out the value you read:

After uploading the code, you will see this image.

Liked What you see?

Get updates and learn from the best

More To Explore

Leave a Reply

Your email address will not be published. Required fields are marked *