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

Arduino Nano-Based Battery-Powered Automatic Plant Watering System

View and Edit Project In Cirkit DesignerImage of Arduino Nano-Based Battery-Powered Automatic Plant Watering System

Circuit Documentation

Summary

This circuit is designed to control a water pump based on soil moisture levels. It uses an Arduino Nano to read data from a soil moisture sensor and activate a relay module to power the water pump. The circuit is powered by a 18650 Li-Ion battery and includes a rocker switch for manual control.

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. 1 Channel 5V Relay Module

    • Description: A relay module that allows the Arduino to control high voltage devices.
    • Pins: VCC+, VCC- (GND), IN, N.O., COM, N.C.
  3. SparkFun Soil Moisture Sensor

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

    • Description: A rechargeable lithium-ion battery.
    • Pins: Positive, Negative
  5. Rocker Switch

    • Description: A switch used to manually control the power to the circuit.
    • Pins: 1, 2
  6. Water Pump

    • Description: A small water pump used to irrigate plants.
    • Pins: VCC, GND

Wiring Details

Arduino Nano

1 Channel 5V Relay Module

SparkFun Soil Moisture Sensor

18650 Li-Ion

Rocker Switch

Water Pump

Documented Code

sketch.ino

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

}

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

}

documentation.txt

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