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

Arduino UNO-Based Automated Soil Moisture Monitoring and Watering System with LCD Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Automated Soil Moisture Monitoring and Watering System with LCD Display

Circuit Documentation

Summary

This circuit is designed to monitor soil moisture levels and control a water pump based on the moisture readings. It uses an Arduino UNO microcontroller to read data from a soil moisture sensor and display the information on an LCD screen. Additionally, a relay is used to control the water pump, which is powered by a battery.

Component List

  1. Arduino UNO

    • Description: A 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. SparkFun Soil Moisture Sensor

    • Description: A sensor used to measure the moisture content in the soil.
    • Pins: VCC, GND, SIG
  3. 12V SINGLE CHANNEL RELAY

    • Description: A relay module used to control high voltage devices like a water pump.
    • Pins: NC, COM, NO, IN, GND, VCC
  4. Water Pump

    • Description: A pump used to water plants.
    • Pins: positive, negative
  5. LCD screen 16x2 I2C

    • Description: A 16x2 character LCD display with I2C interface.
    • Pins: SCL, SDA, VCC, GND
  6. Battery

    • Description: A power source for the water pump.
    • Pins: -, +

Wiring Details

Arduino UNO

SparkFun Soil Moisture Sensor

12V SINGLE CHANNEL RELAY

Water Pump

LCD screen 16x2 I2C

Battery

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 you place the main logic that runs repeatedly. In this circuit, you would typically add code to read the soil moisture sensor, display the readings on the LCD, and control the relay to turn the water pump on or off based on the moisture levels.