Introduction
The Analog Turbidity Sensor is used to measure the turbidity or cloudiness of water. It is widely employed in water quality monitoring systems, aquariums, and environmental projects. The sensor provides an analog output corresponding to the water's turbidity level.
Features
- Measures water turbidity from 0 to 1000 NTU.
- Analog output for easy integration with microcontrollers.
- Compact design with a waterproof sensor probe.
- Low power consumption.
Pinout
Pin | Description |
---|---|
VCC | Power Supply (5V) |
GND | Ground |
AOUT | Analog Output Signal |
DOUT | Digital Output Signal (Adjustable Threshold) |
Working Principle
The turbidity sensor works by measuring the amount of light scattered by suspended particles in water. The sensor has an LED that emits light, and a photodiode detects the scattered light. The intensity of the scattered light corresponds to the water's turbidity, and this data is output as an analog voltage.
Arduino Example Code
const int sensorPin = A0; // Analog pin connected to the turbidity sensor int sensorValue = 0; void setup() { Serial.begin(9600); pinMode(sensorPin, INPUT); Serial.println("Turbidity Sensor Initialized"); } void loop() { sensorValue = analogRead(sensorPin); float voltage = (sensorValue / 1023.0) * 5.0; // Convert ADC value to voltage Serial.print("Turbidity Voltage: "); Serial.print(voltage); Serial.println(" V"); delay(1000); // 1 second delay }
Sensor Image
