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

Arduino Nano-Based Smart Irrigation System with Soil Moisture and Light Sensors

View and Edit Project In Cirkit DesignerImage of Arduino Nano-Based Smart Irrigation System with Soil Moisture and Light Sensors

Circuit Documentation

Summary

This circuit involves an Arduino Nano microcontroller interfacing with various sensors and actuators, including photocells (LDRs), resistors, servos, a water pump, a soil moisture sensor, a buck converter, and a motor driver. The circuit is designed to read sensor data and control actuators accordingly.

Component List

  1. Arduino Nano

    • Description: A small, complete, and breadboard-friendly board based on the ATmega328P.
    • Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
  2. Photocell (LDR)

    • Description: A light-dependent resistor used to detect light levels.
    • Pins: pin 0, pin 1
  3. Resistor

    • Description: A 10k Ohm resistor used to limit current.
    • Pins: pin1, pin2
    • Properties: Resistance: 10k Ohms
  4. GND

    • Description: Ground connection.
    • Pins: GND
  5. Servo

    • Description: A servo motor used for precise control of angular position.
    • Pins: gnd, vcc, pulse
  6. Buck Converter

    • Description: A DC-DC converter used to step down voltage.
    • Pins: IN+, IN-, OUT+, OUT-
  7. Water Pump

    • Description: A small water pump used for liquid transfer.
    • Pins: +, -
  8. TP5100

    • Description: A battery charging module.
    • Pins: B-, B+, IN-, IN+
  9. Soil Moisture Sensor

    • Description: A sensor used to measure the moisture level in the soil.
    • Pins: VCC, GND, SIG
  10. 18650 Li-Ion

    • Description: A rechargeable lithium-ion battery.
    • Pins: Positive, Negative
  11. DC Mini Metal Gear Motor

    • Description: A small DC motor with metal gears.
    • Pins: IN1, IN2
  12. L293D Motor Driver

    • Description: A motor driver IC used to control motors.
    • Pins: pin 1, pin 2, pin 10, pin 9, pin 12, pin 11, pin 5, pin 6, pin 7, pin 8, pin 3, pin 4

Wiring Details

Arduino Nano

Photocell (LDR)

Resistor

Servo

Buck Converter

Water Pump

Soil Moisture Sensor

DC Mini Metal Gear Motor

L293D Motor Driver

GND

Documented Code

Arduino Nano Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Documentation (documentation.txt)

This documentation provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and the code used in the microcontroller.