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

Arduino-Controlled Automated Water Quality Monitoring and Pump Management System

Image of Arduino-Controlled Automated Water Quality Monitoring and Pump Management System

Circuit Documentation

Summary

This circuit is designed to interface an Arduino 101 microcontroller with various sensors and actuators for monitoring and controlling an environment. The circuit includes temperature sensing (DS18B20), pH level measurement (PH Meter), Total Dissolved Solids (TDS) measurement (TDS Sensor Module), and an LCD I2C Display for output. It also controls multiple water pumps through a 4-channel relay module, which is powered by a 5V battery. The Arduino 101 serves as the central processing unit, reading sensor data and controlling the water pumps based on predefined conditions.

Component List

Arduino 101

  • Microcontroller board based on the Intel Curie
  • Provides I/O pins for interfacing with sensors, actuators, and displays

DS18B20

  • Digital temperature sensor
  • Provides temperature readings in a digital format

LCD I2C Display

  • Alphanumeric liquid crystal display
  • Uses I2C communication for displaying information

PH Meter

  • Sensor for measuring the pH level of a solution
  • Outputs an analog signal corresponding to the pH level

TDS Sensor Module

  • Sensor for measuring Total Dissolved Solids in water
  • Outputs an analog signal corresponding to the TDS level

Water Pump

  • Electric pump for moving water
  • Controlled by the relay module

Relay 4 Channel 5v

  • 4-channel relay module for controlling high power devices
  • Each channel can be controlled independently

5v Battery

  • Power source for the relay module and other 5V components

Wiring Details

Arduino 101

  • A5/SCL connected to LCD I2C Display SCL
  • A4/SDA connected to LCD I2C Display SDA
  • A0 connected to PH Meter Signal
  • A1 connected to TDS Sensor Module TDS A
  • A2 connected to DS18B20 signal
  • D11 PWM/MOSI connected to Relay 4 Channel 5v IN1
  • D10 PWM/SS connected to Relay 4 Channel 5v IN2
  • D9 PWM connected to Relay 4 Channel 5v IN3
  • D8 connected to Relay 4 Channel 5v IN4
  • GND connected to common ground net
  • VIN connected to 5v battery positive and Relay 4 Channel 5v VCC

DS18B20

  • signal connected to Arduino 101 A2
  • GND connected to common ground net
  • vcc connected to 5v power net

LCD I2C Display

  • GND connected to common ground net
  • VCC connected to 5v power net
  • SDA connected to Arduino 101 A4/SDA
  • SCL connected to Arduino 101 A5/SCL

PH Meter

  • Signal connected to Arduino 101 A0
  • VCC connected to 5v power net
  • GND connected to common ground net

TDS Sensor Module

  • TDS Negative connected to common ground net
  • TDS Positive connected to 5v power net
  • TDS A connected to Arduino 101 A1

Water Pump

  • positive connected to Relay 4 Channel 5v NOx (where x is the channel number 1-4)
  • negative connected to common ground net

Relay 4 Channel 5v

  • GND connected to common ground net
  • IN1 to IN4 connected to Arduino 101 D11 to D8
  • VCC connected to 5v power net
  • COM1 to COM4 connected to 5v power net
  • NO1 to NO4 connected to respective water pump positive

5v Battery

  • positive connected to 5v power net
  • negative connected to common ground net

Documented Code

No code was provided for the microcontrollers in the circuit. The expected code should handle reading sensor data from the analog pins, processing the data, and controlling the relay module to turn the water pumps on or off based on the sensor readings. Additionally, the code should handle communication with the LCD I2C Display to output the sensor data or system status messages.


Please note that the actual implementation of the code would be necessary to provide a complete documentation of the system's functionality. The code would typically include initialization of the I2C communication, analog pin setup, main control loop with sensor reading and pump control logic, and functions for displaying data on the LCD.