Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO-Based Automated Water Quality Monitoring and Pump Control System

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Automated Water Quality Monitoring and Pump Control System

Circuit Documentation

Summary

This circuit is designed to monitor water quality and control a water pump based on sensor inputs. It utilizes an Arduino UNO microcontroller to interface with various sensors and a water pump. The sensors include a water sensor, a TDS (Total Dissolved Solids) sensor, and a water level float switch sensor. The circuit also includes a 16x2 I2C LCD for displaying information.

Component List

  1. Arduino UNO

    • Description: Microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  2. Water Sensor

    • Description: Sensor to detect the presence of water.
    • Pins: Signal, VCC, GND
  3. Water Pump

    • Description: Pump to move water.
    • Pins: +, -
  4. TDS Sensor (for water quality)

    • Description: Sensor to measure the total dissolved solids in water.
    • Pins: gnd, v, analog pin
  5. Mosfet

    • Description: Transistor used to switch the water pump.
    • Pins: Gate, Drain, Source
  6. Water Level Float Switch Sensor

    • Description: Sensor to detect the water level.
    • Pins: Wire2, Wire1
  7. Resistor (200 Ohms)

    • Description: Resistor with a resistance of 200 Ohms.
    • Pins: pin1, pin2
  8. 16x2 I2C LCD

    • Description: LCD display with I2C interface.
    • Pins: GND, VCC, SDA, SCL

Wiring Details

Arduino UNO

Water Sensor

Water Pump

TDS Sensor (for water quality)

Mosfet

Water Level Float Switch Sensor

Resistor (200 Ohms)

16x2 I2C LCD

Code Documentation

Arduino UNO Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the Arduino UNO. The setup function is where you initialize your components and settings, and the loop function is where the main logic of your program will run repeatedly.