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

Arduino UNO Light-Sensitive Servo Control with LED Indicator

View and Edit Project In Cirkit DesignerImage of Arduino UNO Light-Sensitive Servo Control with LED Indicator

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller, a servo motor, an LED, a photocell (LDR), and two resistors. The Arduino UNO controls the servo motor and reads the photocell's resistance to adjust the LED's brightness. The circuit is powered by the Arduino's 5V supply.

Component List

  1. Arduino UNO

    • Description: A 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. Servo

    • Description: A small motor with a feedback mechanism for precise control.
    • Pins: GND, VCC, PWM
  3. LED: Two Pin (white)

    • Description: A white LED with two pins.
    • Pins: cathode, anode
  4. Resistor (330 Ohms)

    • Description: A resistor with a resistance of 330 Ohms.
    • Pins: pin1, pin2
  5. Photocell (LDR)

    • Description: A light-dependent resistor that changes resistance based on light intensity.
    • Pins: pin 0, pin 1
  6. Resistor (1500 Ohms)

    • Description: A resistor with a resistance of 1500 Ohms.
    • Pins: pin1, pin2

Wiring Details

Arduino UNO

Servo

LED: Two Pin (white)

Resistor (330 Ohms)

Photocell (LDR)

Resistor (1500 Ohms)

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