Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, a resistor, a photocell (LDR), and a micro servo 9G. The Arduino UNO reads the light intensity from the photocell and controls the micro servo based on the input.
Component List
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
Resistor
- Description: A passive electrical component that implements electrical resistance as a circuit element.
- Pins: pin1, pin2
- Properties:
- Resistance: 1500 Ohms
Photocell (LDR)
- Description: A light-dependent resistor that changes its resistance based on the light intensity.
- Pins: pin 0, pin 1
Micro servo 9G
- Description: A small servo motor used for precise control of angular position.
- Pins: GND, +5V, PWM
Wiring Details
Arduino UNO
- 5V: Connected to Resistor (pin1) and Micro servo 9G (+5V)
- GND: Connected to Photocell (pin 0) and Micro servo 9G (GND)
- A0: Connected to Resistor (pin2) and Photocell (pin 1)
- D9: Connected to Micro servo 9G (PWM)
Resistor
- pin1: Connected to Arduino UNO (5V) and Micro servo 9G (+5V)
- pin2: Connected to Photocell (pin 1) and Arduino UNO (A0)
Photocell (LDR)
- pin 0: Connected to Arduino UNO (GND)
- pin 1: Connected to Resistor (pin2) and Arduino UNO (A0)
Micro servo 9G
- GND: Connected to Arduino UNO (GND)
- +5V: Connected to Resistor (pin1) and Arduino UNO (5V)
- PWM: Connected to Arduino UNO (D9)
Documented Code
Arduino UNO 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)
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the Arduino UNO.
