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

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

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Automated Plant Watering System with Soil Moisture Sensor and 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 also includes an LCD display for visual feedback, an active buzzer for alerts, and multiple LEDs for status indication. The circuit is controlled by an Arduino UNO microcontroller.

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. Soil Moisture Module

    • Description: Module to measure soil moisture levels.
    • Pins: positive, negative, Analog, Digital, Ground, VCC
  3. 16x2 I2C LCD

    • Description: LCD display with I2C interface.
    • Pins: GND, VCC, SDA, SCL
  4. Relay module 5v-30v

    • Description: Relay module to control high voltage devices.
    • Pins: common contact, normally open, normally closed, trigger, V-, V+
  5. Active Buzzer Module

    • Description: Buzzer for audio alerts.
    • Pins: GND, I/O, VCC
  6. Water Pump

    • Description: Pump to water plants.
    • Pins: positive, negative
  7. Soil Moisture Sensor

    • Description: Sensor to detect soil moisture.
    • Pins: VCC, GND, SIG
  8. 9V Battery

    • Description: Power source.
    • Pins: -, +
  9. Photocell (LDR)

    • Description: Light-dependent resistor.
    • Pins: pin 0, pin 1
  10. LED: Two Pin (red)

    • Description: Red LED for status indication.
    • Pins: cathode, anode
  11. Resistor

    • Description: Resistor with 10k Ohms resistance.
    • Pins: pin1, pin2
  12. LED: Two Pin (green)

    • Description: Green LED for status indication.
    • Pins: cathode, anode
  13. LED: Two Pin (yellow)

    • Description: Yellow LED for status indication.
    • Pins: cathode, anode

Wiring Details

Arduino UNO

Soil Moisture Module

16x2 I2C LCD

Relay module 5v-30v

Active Buzzer Module

Water Pump

Photocell (LDR)

LEDs

Resistor

Code Documentation

Arduino UNO Code

void setup() {
  Serial.begin(9600);
  Serial.println("Setup complete");
}

void loop() {
  Serial.println("Loop running");
  delay(1000);
}

This code initializes the serial communication at a baud rate of 9600 in the setup() function and prints "Setup complete" to the serial monitor. In the loop() function, it continuously prints "Loop running" every second.