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

Arduino UNO-Based Automated Irrigation and Ventilation System with IR Sensors and LCD Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Automated Irrigation and Ventilation System with IR Sensors and LCD Display

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with multiple IR sensors, a 20x4 I2C LCD, an 8-channel relay module, DC motors, water pumps, and fans. The Arduino UNO reads inputs from the IR sensors and controls the relay module, which in turn controls the DC motors, water pumps, and fans. The LCD displays relevant 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. IR Sensor

    • Description: Infrared sensor for object detection.
    • Pins: out, gnd, vcc
  3. LCD 20x4 I2C

    • Description: 20x4 character LCD with I2C interface.
    • Pins: GND, 5v, SCA, SCL
  4. 5V 8-Channel Relay

    • Description: Relay module for controlling high-power devices.
    • Pins: GND, IN1, IN2, IN3, IN4, IN5, IN6, IN7, IN8, VCC, NC, C, NO
  5. DC Motor

    • Description: Direct current motor.
    • Pins: pin 1, pin 2
  6. Water Pump 12V

    • Description: 12V water pump.
    • Pins: +, -
  7. Fan

    • Description: Cooling fan.
    • Pins: GND, 5V
  8. 5V Battery

    • Description: Power supply.
    • Pins: positive, negative

Wiring Details

Arduino UNO

IR Sensor

LCD 20x4 I2C

5V 8-Channel Relay

DC Motor

Water Pump 12V

Fan

5V 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 used to initialize any settings or configurations, and the loop() function contains the main logic that runs repeatedly. Currently, both functions are empty and need to be filled with the appropriate logic for the circuit's operation.