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

Arduino Nano-Based Battery-Powered Weather Station with Servo Control

View and Edit Project In Cirkit DesignerImage of Arduino Nano-Based Battery-Powered Weather Station with Servo Control

Circuit Documentation

Summary

This circuit involves an Arduino Nano microcontroller interfacing with various sensors and actuators, including two Tower Pro SG90 servos, a photocell (LDR), a rain sensor, and a 7805 voltage regulator. The circuit is powered by a 18650 Li-Ion battery and includes a rocker switch for power control. The Arduino Nano reads data from the sensors and controls the servos based on the sensor inputs.

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. Tower Pro SG90 servo

    • Description: A micro servo motor used for precise control of angular position.
    • Pins: Signal, +5V, GND
  3. Photocell (LDR)

    • Description: A light-dependent resistor that changes its resistance based on the light intensity.
    • Pins: pin 0, pin 1
  4. Resistor

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

    • Description: A voltage regulator that outputs a stable 5V.
    • Pins: Vin, Gnd, Vout
  6. RAIN SENSOR

    • Description: A sensor used to detect the presence of rain.
    • Pins: AO, DO, GRD, VCC
  7. 18650 Li-Ion

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

    • Description: A switch used to control the power supply.
    • Pins: 1, 2

Wiring Details

Arduino Nano

Tower Pro SG90 servo

Photocell (LDR)

Resistor

7805

RAIN SENSOR

18650 Li-Ion

Rocker Switch

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:

}

Additional Documentation (documentation.txt)