Arduino UNO Based Water Quality Monitoring System with I2C LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question is designed around an Arduino UNO microcontroller and includes a variety of sensors and a display. The sensors include a DHT11 temperature and humidity sensor, a turbidity module for measuring the clarity of liquid, and a TDS (Total Dissolved Solids) sensor module for assessing water quality. The display is an I2C LCD 16x2 screen for outputting sensor readings and other information. The circuit is powered by the Arduino UNO's 5V output, and the sensors and display are interfaced with the Arduino through various digital and analog pins.
Component List
Arduino UNO
- Microcontroller board based on the ATmega328P
- It has 14 digital input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button.
I2C LCD 16x2 Screen
- A 16x2 character LCD display that uses the I2C communication protocol.
- It requires four connections: SCL and SDA for data, and VCC and GND for power.
DHT11
- A basic, ultra low-cost digital temperature and humidity sensor.
- It uses a capacitive humidity sensor and a thermistor to measure the surrounding air and outputs a digital signal on the data pin.
Turbidity Module
- A sensor for measuring the turbidity (cloudiness) of water.
- It outputs an analog signal that can be read by the Arduino's analog input.
TDS Sensor Module
- A sensor for measuring the total dissolved solids in water, which indicates water quality.
- It outputs an analog signal that can be read by the Arduino's analog input.
Wiring Details
Arduino UNO
- 5V supplies power to the Turbidity Module, TDS Sensor Module, DHT11, and I2C LCD 16x2 Screen.
- GND is connected to the ground pins of the Turbidity Module, TDS Sensor Module, DHT11, and I2C LCD 16x2 Screen.
- A0 is connected to the TDS Sensor Module's TDS Positive pin.
- A1 is connected to the Turbidity Module's OUT pin.
- A4 (SDA) is connected to the I2C LCD 16x2 Screen's SDA pin.
- A5 (SCL) is connected to the I2C LCD 16x2 Screen's SCL pin.
- D2 is connected to the DHT11's out pin.
I2C LCD 16x2 Screen
- SDA connected to Arduino UNO's A4 pin.
- SCL connected to Arduino UNO's A5 pin.
- VCC (5V) connected to Arduino UNO's 5V pin.
- GND connected to Arduino UNO's GND pin.
DHT11
- + connected to Arduino UNO's 5V pin.
- out connected to Arduino UNO's D2 pin.
- - connected to Arduino UNO's GND pin.
Turbidity Module
- VCC connected to Arduino UNO's 5V pin.
- GND connected to Arduino UNO's GND pin.
- OUT connected to Arduino UNO's A1 pin.
TDS Sensor Module
- TDS Negative connected to Arduino UNO's 5V pin.
- TDS Positive connected to Arduino UNO's A0 pin.
- TDS A connected to Arduino UNO's GND pin.
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Note: The provided code is a template and does not include specific functionality. It should be expanded to initialize the connected components and handle data acquisition and display.