Arduino UNO Controlled Robotic Arm with Servo Motors and Bluetooth Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes various components such as servos, a gear motor, a rocker switch, an HC-05 Bluetooth module, an L298N motor driver, an XL4015 step-down converter, a 12V relay, an LED, a ceramic capacitor, an Arduino UNO, and a 2000mAh battery. The circuit is designed to control multiple servos and motors, with power regulation and communication capabilities.
Component List
Servo
- Description: A servo motor used for precise control of angular position.
- Pins: gnd, vcc, pulse
Hobby Gearmotor with 48:1 gearbox
- Description: A gear motor with a 48:1 gearbox for high torque applications.
- Pins: pin 1, pin 2
Rocker Switch (SPST)
- Description: A single-pole single-throw (SPST) rocker switch used to control the power supply.
- Pins: 1, 2
HC-05 Bluetooth Module
- Description: A Bluetooth module used for wireless communication.
- Pins: EN, VCC, GND, TXD, RXD, STATE
L298N DC Motor Driver
- Description: A motor driver used to control the speed and direction of DC motors.
- Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
XL4015 Step-Down Bulk Converter
- Description: A step-down converter used to regulate voltage.
- Pins: input -, input +, output +, output -
12V Relay
- Description: A relay used to control high voltage devices.
- Pins: +, -, C, NC, NO
LED: Two Pin (Red)
- Description: A red LED used for indication.
- Pins: cathode, anode
Ceramic Capacitor
- Description: A capacitor used for filtering and stabilization.
- Pins: pin0, pin1
- Properties: Capacitance: 1e-7 Farads
Arduino UNO
- Description: A microcontroller board used for controlling the circuit.
- 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
2000mAh Battery
- Description: A battery used to power the circuit.
- Pins: VCC, GND
Wiring Details
Servo
- gnd: Connected to GND of XL4015 step-down bulk converter
- vcc: Connected to NC of 12V Relay
- pulse:
- Servo 1: Connected to D11 of Arduino UNO
- Servo 2: Connected to D10 of Arduino UNO
- Servo 3: Connected to D9 of Arduino UNO
Hobby Gearmotor with 48:1 gearbox
- pin 1:
- Motor 1: Connected to OUT2 of L298N DC motor driver
- Motor 2: Connected to OUT3 of L298N DC motor driver
- pin 2:
- Motor 1: Connected to OUT1 of L298N DC motor driver
- Motor 2: Connected to OUT4 of L298N DC motor driver
Rocker Switch (SPST)
- 1: Connected to GND of 2000mAh Battery
- 2: Connected to 12V of L298N DC motor driver
HC-05 Bluetooth Module
- EN: Not connected
- VCC: Connected to 5V of Arduino UNO
- GND: Connected to GND of XL4015 step-down bulk converter
- TXD: Connected to D1 of Arduino UNO
- RXD: Connected to D0 of Arduino UNO
- STATE: Not connected
L298N DC Motor Driver
- OUT1: Connected to pin 2 of Hobby Gearmotor 1
- OUT2: Connected to pin 1 of Hobby Gearmotor 1
- 12V: Connected to pin 2 of Rocker Switch (SPST)
- GND: Connected to GND of XL4015 step-down bulk converter
- 5V: Not connected
- OUT3: Connected to pin 1 of Hobby Gearmotor 2
- OUT4: Connected to pin 2 of Hobby Gearmotor 2
- ENA: Connected to D5 of Arduino UNO
- IN1: Connected to D2 of Arduino UNO
- IN2: Connected to D3 of Arduino UNO
- IN3: Connected to D4 of Arduino UNO
- IN4: Connected to D7 of Arduino UNO
- ENB: Connected to D6 of Arduino UNO
XL4015 Step-Down Bulk Converter
- input -: Connected to VCC of 2000mAh Battery
- input +: Connected to GND of 2000mAh Battery
- output +: Connected to C and - of 12V Relay
- output -: Connected to NO of 12V Relay
12V Relay
- +: Connected to D13 of Arduino UNO
- -: Connected to C and output + of XL4015 step-down bulk converter
- C: Connected to output + of XL4015 step-down bulk converter
- NC: Connected to vcc of Servo
- NO: Connected to output - of XL4015 step-down bulk converter
LED: Two Pin (Red)
- cathode: Connected to C and - of 12V Relay
- anode: Connected to NC of 12V Relay
Ceramic Capacitor
- pin0: Connected to C and - of 12V Relay
- pin1: Connected to NC of 12V Relay
Arduino UNO
- GND: Connected to GND of XL4015 step-down bulk converter
- 5V: Connected to VCC of HC-05 Bluetooth Module
- D13: Connected to + of 12V Relay
- D11: Connected to pulse of Servo 1
- D10: Connected to pulse of Servo 2
- D9: Connected to pulse of Servo 3
- D7: Connected to IN4 of L298N DC motor driver
- D6: Connected to ENB of L298N DC motor driver
- D5: Connected to ENA of L298N DC motor driver
- D4: Connected to IN3 of L298N DC motor driver
- D3: Connected to IN2 of L298N DC motor driver
- D2: Connected to IN1 of L298N DC motor driver
- D1: Connected to TXD of HC-05 Bluetooth Module
- D0: Connected to RXD of HC-05 Bluetooth Module
2000mAh Battery
- VCC: Connected to input - of XL4015 step-down bulk converter
- GND: Connected to input + of XL4015 step-down bulk converter
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 document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and documented code. Each component is described, and its connections are detailed to ensure proper assembly and functionality of the circuit.