Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO Controlled Water Quality Monitoring System with Relay-Operated Pump

Image of Arduino UNO Controlled Water Quality Monitoring System with Relay-Operated Pump

Circuit Documentation

Summary

This circuit is designed to interface various sensors and a relay module with an Arduino UNO microcontroller. The sensors include a DHT11 temperature and humidity sensor, a PH Meter for measuring the acidity of a solution, and a Turbidity Module for assessing water clarity. A relay module is used to control a 12V water pump, powered by a 12V battery. The Arduino UNO serves as the central processing unit, reading sensor data and controlling the relay based on programmed logic.

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.

Relay Module 5V-30V

  • An electrically operated switch that allows you to turn on or off a circuit using voltage and/or current much higher than a microcontroller can handle.
  • It has a trigger pin, common contact, normally open, and normally closed contact.

Water Pump 12V

  • A pump that operates on 12V DC, used for moving water or other fluids.

Battery 12V

  • A 12V DC power source used to power the water pump.

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.

PH Meter

  • An electronic device used for measuring the pH (acidity or alkalinity) of a liquid.

Turbidity Module

  • A sensor for measuring water clarity, with an output that can be read by a microcontroller.

Wiring Details

Arduino UNO

  • 3.3V connected to DHT11 VCC
  • 5V connected to Turbidity Module VCC, PH Meter VCC, and Relay Module V+
  • GND connected to DHT11 GND, PH Meter GND, Turbidity Module GND, and Relay Module V-
  • A1 connected to PH Meter Signal
  • A2 connected to Turbidity Module OUT
  • D6 connected to DHT11 DATA
  • D7 connected to Relay Module trigger

Relay Module 5V-30V

  • V+ connected to Arduino UNO 5V
  • V- connected to Arduino UNO GND
  • trigger connected to Arduino UNO D7
  • common contact connected to Battery 12V +
  • normally closed connected to Water Pump 12V +

Water Pump 12V

  • + connected to Relay Module normally closed
  • - connected to Battery 12V -

Battery 12V

  • + connected to Relay Module common contact
  • - connected to Water Pump 12V -

DHT11

  • VCC connected to Arduino UNO 3.3V
  • GND connected to Arduino UNO GND
  • DATA connected to Arduino UNO D6

PH Meter

  • Signal connected to Arduino UNO A1
  • VCC connected to Arduino UNO 5V
  • GND connected to Arduino UNO GND

Turbidity Module

  • OUT connected to Arduino UNO A2
  • VCC connected to Arduino UNO 5V
  • GND connected to Arduino UNO GND

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:

}

Additional Documentation (documentation.txt)

No additional documentation provided in the code input.