Skip to content

Circuit-Digest/measuring-turbidity-of-water-using-arduino-and-turbidity-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Measuring Turbidity of Water using Arduino and Turbidity Sensor

Arduino Badge Language Badge Component Badge Project Badge


📘 Tutorial Link

🔗 Measuring Turbidity of Water using Arduino and Turbidity Sensor


📂 Project Type

🔗 Arduino Project


🖼️ Main Project Image

Measuring Turbidity of Water using Arduino and Turbidity Sensor


🚀 Features

  • Real-time measurement of water turbidity.
  • LCD display for live turbidity percentage.
  • RGB LED indication for Clear, Cloudy, and Dirty water.
  • Analog sensor output directly compatible with Arduino.
  • Extendable with IoT or additional water quality sensors.

🛠️ Hardware Requirements

Component Quantity Purpose
Turbidity Sensor Module 1 Main sensing element
Arduino Uno / Nano 1 Microcontroller
16×2 I2C LCD Display 1 Data visualization
RGB LED (Common Cathode) 1 Status indication
Breadboard 1 Circuit prototyping
Jumper Wires 10–15 Connections
Resistors (220Ω) 3 LED current limiting

⚙️ How It Works (Step by Step)

  1. The turbidity sensor shines light through the water sample using an IR LED.
  2. A photodiode/receiver detects the intensity of transmitted light.
  3. Cloudy water scatters the light, reducing intensity → higher turbidity.
  4. The sensor outputs an analog voltage proportional to water clarity.
  5. Arduino reads this voltage on pin A0 and maps it to a 0–100% turbidity scale.
  6. Results are displayed on the 16×2 I2C LCD and indicated with the RGB LED:
    • Green → Clear water
    • Blue → Cloudy water
    • Red → Dirty water

🔌 Circuit Connection

Arduino Turbidity Circuit Diagram

Module / Pin Arduino Pin
Turbidity Sensor VCC 5V
Turbidity Sensor GND GND
Turbidity Sensor OUT A0
I2C LCD SDA A4
I2C LCD SCL A5
RGB LED (Red) D5
RGB LED (Green) D3
RGB LED (Blue) D4

🧠 Troubleshooting

Issue Possible Cause Solution
LCD not displaying values Wrong I2C address Scan and update LCD address
Sensor always reads 0% Probe not submerged / loose wiring Check water sample & wiring
Wrong LED indication Incorrect pin mapping in code Verify pin connections in sketch
Unstable readings Electrical noise / loose wires Use shorter wires & proper GND

📱 Applications

  • Drinking water quality testing.
  • Industrial wastewater monitoring.
  • Environmental water pollution detection.
  • Educational water science experiments.

🔮 Future Enhancements

  • Add pH, TDS, and temperature sensors for complete water quality analysis.
  • IoT integration with ESP8266/ESP32 for remote monitoring.
  • Data logging to cloud or SD card.
  • Calibration with standard turbidity solutions for higher accuracy.

🧪 Technical Specifications

Parameter Value Notes
Operating Voltage 5V DC Arduino compatible
Current Consumption ≤ 30mA Low power
Output Type Analog (0–5V) Direct to Arduino
Detection Range 0–4000 NTU Typical water range
Response Time < 500ms Fast measurement
Operating Temperature -30°C to 80°C Wide range

🔗 Links


⭐ Support

For technical questions, visit the CircuitDigest Forums.
Explore more projects at CircuitDigest.


🔖 Keywords

Arduino Turbidity Sensor Water Quality Measurement Arduino Project IoT Water Monitoring NTU Measurement Arduino UNO Turbidity Meter

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages