Arduino Nano-Based Robotic Arm with MPU6050 and Multiple Servos
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino Nano microcontroller, an MPU6050 sensor, multiple Micro servo 9G motors, a buzzer, and a rocker switch. The circuit is designed to interface these components with the Arduino Nano, allowing for control and data acquisition.
Component List
Arduino Nano
- Description: A small, complete, and breadboard-friendly board based on the ATmega328P.
- Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
MPU6050
- Description: A 6-axis motion tracking device that combines a 3-axis gyroscope and a 3-axis accelerometer.
- Pins: vcc, gnd, scl, sda, xda, xcl, AD0, int, 3.3v
Micro servo 9G
- Description: A small and lightweight servo motor commonly used in RC models and robotics.
- Pins: GND, +5V, PWM
Buzzer
- Description: An audio signaling device that produces sound.
- Pins: PIN, GND
Rocker Switch
- Description: A switch that can be toggled between an on and off state.
- Pins: 1, 2
Wiring Details
Arduino Nano
- D4: Connected to PIN of the Buzzer
- D7: Connected to 1 of the Rocker Switch
- D8: Connected to PWM of a Micro servo 9G
- D9: Connected to PWM of another Micro servo 9G
- D10: Connected to PWM of another Micro servo 9G
- D11/MOSI: Connected to PWM of another Micro servo 9G
- GND: Connected to GND of all Micro servo 9G motors, Buzzer, and MPU6050
- 5V: Connected to +5V of all Micro servo 9G motors, 2 of the Rocker Switch, and vcc of MPU6050
- A5: Connected to scl of MPU6050
- A4: Connected to sda of MPU6050
MPU6050
- vcc: Connected to 5V of Arduino Nano
- gnd: Connected to GND of Arduino Nano
- scl: Connected to A5 of Arduino Nano
- sda: Connected to A4 of Arduino Nano
Micro servo 9G
- GND: Connected to GND of Arduino Nano
- +5V: Connected to 5V of Arduino Nano
- PWM: Connected to:
- D8 of Arduino Nano
- D9 of Arduino Nano
- D10 of Arduino Nano
- D11/MOSI of Arduino Nano
Buzzer
- PIN: Connected to D4 of Arduino Nano
- GND: Connected to GND of Arduino Nano
Rocker Switch
- 1: Connected to D7 of Arduino Nano
- 2: Connected to 5V of Arduino Nano
Documented Code
Arduino Nano 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 document provides a comprehensive overview of the circuit, including the components used, their wiring details, and the code for the Arduino Nano.