Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller, an HC-SR04 Ultrasonic Sensor, and multiple Micro servo 9G motors. The Arduino UNO serves as the central controller, interfacing with the ultrasonic sensor to measure distance and controlling the servos based on the sensor's readings.
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
HC-SR04 Ultrasonic Sensor
- Description: A sensor used to measure distance by using ultrasonic waves.
- Pins: VCC, TRIG, ECHO, GND
Micro servo 9G
- Description: A small servo motor used for precise control of angular position.
- Pins: GND, +5V, PWM
Comment
- Description: Placeholder for comments in the circuit.
- Pins: None
Wiring Details
Arduino UNO
- 5V: Connected to +5V of all Micro servo 9G motors and VCC of the HC-SR04 Ultrasonic Sensor.
- GND: Connected to GND of all Micro servo 9G motors and GND of the HC-SR04 Ultrasonic Sensor.
- D11: Connected to PWM of one Micro servo 9G motor.
- D10: Connected to PWM of another Micro servo 9G motor.
- D9: Connected to TRIG of the HC-SR04 Ultrasonic Sensor.
- D8: Connected to ECHO of the HC-SR04 Ultrasonic Sensor.
- D7: Connected to PWM of another Micro servo 9G motor.
- D6: Connected to PWM of another Micro servo 9G motor.
- D5: Connected to PWM of another Micro servo 9G motor.
- D3: Connected to PWM of another Micro servo 9G motor.
HC-SR04 Ultrasonic Sensor
- VCC: Connected to 5V of the Arduino UNO.
- GND: Connected to GND of the Arduino UNO.
- TRIG: Connected to D9 of the Arduino UNO.
- ECHO: Connected to D8 of the Arduino UNO.
Micro servo 9G
- GND: Connected to GND of the Arduino UNO.
- +5V: Connected to 5V of the Arduino UNO.
- PWM:
- One servo connected to D11 of the Arduino UNO.
- One servo connected to D10 of the Arduino UNO.
- One servo connected to D7 of the Arduino UNO.
- One servo connected to D6 of the Arduino UNO.
- One servo connected to D5 of the Arduino UNO.
- One servo connected to D3 of the Arduino UNO.
Documented Code
sketch.ino
void setup() {
}
void loop() {
}
documentation.txt