Circuit Documentation
Summary
This document provides a detailed overview of a circuit consisting of multiple motors, servos, and an Arduino UNO microcontroller. The circuit is designed to control the motors and servos using the Arduino UNO. The document includes a component list, wiring details, and the embedded code used in the microcontroller.
Component List
Motor
- Description: A standard DC motor.
- Pins:
- Negative
- Positive
Micro Servo 9G
- Description: A small servo motor used for precise control of angular position.
- Pins:
- GND
- +5V
- PWM
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
MG996R
- Description: A high-torque servo motor.
- Pins:
- GND
- VCC
- SIG
Wiring Details
Motor
- Negative Pin: Connected to GND of Arduino UNO, GND of Micro Servo 9G, and GND of MG996R.
- Positive Pin:
- Motor 1: Connected to D6 of Arduino UNO.
- Motor 2: Connected to D5 of Arduino UNO.
- Motor 3: Connected to D7 of Arduino UNO.
- Motor 4: Connected to D8 of Arduino UNO.
Micro Servo 9G
- GND Pin: Connected to GND of Arduino UNO and GND of motors.
- +5V Pin: Connected to 5V of Arduino UNO and VCC of MG996R.
- PWM Pin:
- Servo 1: Connected to D9 of Arduino UNO.
- Servo 2: Connected to D10 of Arduino UNO.
Arduino UNO
- GND Pin: Connected to GND of motors, Micro Servo 9G, and MG996R.
- 5V Pin: Connected to +5V of Micro Servo 9G and VCC of MG996R.
- D2 Pin: Connected to SIG of MG996R.
- D3 Pin: Connected to SIG of MG996R.
- D4 Pin: Connected to SIG of MG996R.
- D5 Pin: Connected to positive pin of Motor 2.
- D6 Pin: Connected to positive pin of Motor 1.
- D7 Pin: Connected to positive pin of Motor 3.
- D8 Pin: Connected to positive pin of Motor 4.
- D9 Pin: Connected to PWM of Micro Servo 9G.
- D10 Pin: Connected to PWM of Micro Servo 9G.
MG996R
- GND Pin: Connected to GND of Arduino UNO and GND of motors.
- VCC Pin: Connected to 5V of Arduino UNO and +5V of Micro Servo 9G.
- SIG Pin:
- Servo 1: Connected to D2 of Arduino UNO.
- Servo 2: Connected to D3 of Arduino UNO.
- Servo 3: Connected to D4 of Arduino UNO.
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:
}
Documentation (documentation.txt)
This document provides a comprehensive overview of the circuit, including the components used, their wiring details, and the embedded code for the Arduino UNO.
