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

Arduino UNO Solar-Powered Light-Tracking System with Servo Motors

View and Edit Project In Cirkit DesignerImage of Arduino UNO Solar-Powered Light-Tracking System with Servo Motors

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with multiple components including resistors, photocells (LDRs), micro servos, a solar panel, a Li-ion battery, a rocker switch, and an LED. The circuit is designed to read light levels using photocells, control servos, and manage power using a solar panel and battery.

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. Resistor

    • Description: 200 Ohms resistor.
    • Pins: pin1, pin2
  3. Photocell (LDR)

    • Description: Light-dependent resistor.
    • Pins: pin 0, pin 1
  4. Micro servo 9G

    • Description: Small servo motor.
    • Pins: GND, +5V, PWM
  5. Qwiic Cable - Breadboard Jumper (4-pin)

    • Description: 4-pin jumper cable.
    • Pins: GND, 3.3V, SDA, SCL
  6. Solar panel

    • Description: Solar panel for power generation.
    • Pins: +, -
  7. Li-ion battery 18650-2000mAh 3.7V 7.4WH

    • Description: Rechargeable lithium-ion battery.
    • Pins: +, -
  8. Rocker Switch

    • Description: On/Off switch.
    • Pins: 1, 2
  9. LED: Two Pin (green)

    • Description: Green LED.
    • Pins: cathode, anode

Wiring Details

Arduino UNO

Resistors

Photocells (LDRs)

Micro servos

Qwiic Cables

Solar panel

Li-ion battery

Rocker Switch

LED: Two Pin (green)

Documented Code

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 where you initialize your components, and the loop() function is where you place the main code that runs repeatedly.