Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, two Tower Pro SG90 servos, and an IR sensor. The Arduino UNO serves as the central control unit, interfacing with the servos and the IR sensor to perform various tasks. The servos are connected to the Arduino to receive control signals, while the IR sensor provides input to the Arduino.
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
Tower Pro SG90 Servo (1)
- Description: A small and lightweight servo motor.
- Pins: Signal, +5V, GND
Tower Pro SG90 Servo (2)
- Description: A small and lightweight servo motor.
- Pins: Signal, +5V, GND
IR Sensor
- Description: An infrared sensor used for detecting objects.
- Pins: out, gnd, vcc
Wiring Details
Arduino UNO
- 5V: Connected to +5V of both Tower Pro SG90 servos and vcc of the IR sensor.
- GND: Connected to GND of both Tower Pro SG90 servos and gnd of the IR sensor.
- D9: Connected to Signal of Tower Pro SG90 servo (1).
- D8: Connected to Signal of Tower Pro SG90 servo (2).
- D5: Connected to out of the IR sensor.
Tower Pro SG90 Servo (1)
- Signal: Connected to D9 of the Arduino UNO.
- +5V: Connected to 5V of the Arduino UNO.
- GND: Connected to GND of the Arduino UNO.
Tower Pro SG90 Servo (2)
- Signal: Connected to D8 of the Arduino UNO.
- +5V: Connected to 5V of the Arduino UNO.
- GND: Connected to GND of the Arduino UNO.
IR Sensor
- out: Connected to D5 of the Arduino UNO.
- gnd: Connected to GND of the Arduino UNO.
- vcc: Connected to 5V of the Arduino UNO.
Code Documentation
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:
}
documentation.txt
This document provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and documented code.
