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

Arduino UNO Based Automated Plant Watering System with Soil Moisture Sensing and LCD Feedback

Image of Arduino UNO Based Automated Plant Watering System with Soil Moisture Sensing and LCD Feedback

Circuit Documentation

Summary

This circuit integrates various components with an Arduino UNO microcontroller to perform a range of functions, including soil moisture measurement, distance sensing, servo motor control, and data display on an LCD. The Arduino UNO serves as the central processing unit, interfacing with a soil moisture module and probe, an HC-SR04 ultrasonic sensor, a servo motor, and an LCD display with I2C communication.

Component List

Arduino UNO

  • Microcontroller board based on the ATmega328P
  • Features digital I/O pins, analog input pins, and power supply pins
  • Utilized for controlling and interfacing with other components in the circuit

Soil Moisture Module

  • Sensor module for detecting the moisture level in soil
  • Provides both analog and digital outputs

YL-69 Sonda

  • Probe that works in conjunction with the Soil Moisture Module to detect soil moisture levels

HC-SR04 Ultrasonic Sensor

  • Sensor for measuring distance via ultrasonic waves
  • Features separate trigger and echo pins

Servo

  • An electromechanical device that can rotate to a specified position
  • Controlled by a pulse-width modulated (PWM) signal

LCD Display 16x4 I2C

  • Alphanumeric liquid crystal display with 16 characters by 4 lines
  • Uses I2C communication for displaying data

Wiring Details

Arduino UNO

  • 5V and GND pins provide power to the Soil Moisture Module, LCD Display, Servo, and HC-SR04 Ultrasonic Sensor
  • A0 pin connected to the analog output of the Soil Moisture Module
  • A4 (SDA) and A5 (SCL) pins connected to the I2C data and clock lines of the LCD Display
  • D10 pin connected to the ECHO pin of the HC-SR04 Ultrasonic Sensor
  • D9 pin connected to the TRIG pin of the HC-SR04 Ultrasonic Sensor
  • D6 pin provides PWM signal to the Servo

Soil Moisture Module

  • VCC and Ground pins connected to 5V and GND on the Arduino UNO
  • Analog pin connected to A0 on the Arduino UNO
  • positive and negative pins connected to the corresponding + and - pins on the YL-69 Sonda

YL-69 Sonda

  • + and - pins connected to positive and negative on the Soil Moisture Module

HC-SR04 Ultrasonic Sensor

  • VCC and GND pins connected to 5V and GND on the Arduino UNO
  • ECHO pin connected to D10 on the Arduino UNO
  • TRIG pin connected to D9 on the Arduino UNO

Servo

  • vcc and gnd pins connected to 5V and GND on the Arduino UNO
  • pulse pin connected to D6 on the Arduino UNO

LCD Display 16x4 I2C

  • VCC and GND pins connected to 5V and GND on the Arduino UNO
  • SDA and SCL pins connected to A4 (SDA) and A5 (SCL) on the Arduino UNO

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:

}

Note: The provided code is a template and does not include specific functionality. It should be populated with the necessary setup and loop code to control the connected components.