Arduino UNO Bluetooth-Controlled Robotic System with Motor Drivers and Servo
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 motors, a Bluetooth module, a servo, a motor driver, a battery, and an Arduino UNO microcontroller. The circuit is designed to control motors and a servo using the Arduino UNO, with additional control via a Bluetooth module.
Component List
Motor amarillo motorreductor hobby
- Pins: vcc, GND
- Description: A hobby motor with a gearbox for reduced speed and increased torque.
HC-05 Bluetooth Module
- Pins: Key, VCC, TXD, RXD, State, GND
- Description: A Bluetooth module used for wireless communication.
Servo (Wokwi Compatible)
- Pins: GND, V+, PWM
- Description: A servo motor compatible with Wokwi for precise angular control.
L298N DC motor driver
- 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
- Description: A dual H-Bridge motor driver for controlling DC motors.
Battery
- Pins: -, +
- Description: A power source for the circuit.
Arduino UNO
- 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
- Description: A microcontroller board based on the ATmega328P.
Wiring Details
Motor amarillo motorreductor hobby
Motor 1:
- vcc connected to L298N DC motor driver OUT1
- GND connected to L298N DC motor driver OUT1
Motor 2:
- vcc connected to L298N DC motor driver OUT2
- GND connected to L298N DC motor driver OUT2
Motor 3:
- vcc connected to L298N DC motor driver OUT3
- GND connected to L298N DC motor driver OUT3
Motor 4:
- vcc connected to L298N DC motor driver OUT4
- GND connected to L298N DC motor driver OUT4
HC-05 Bluetooth Module
- VCC connected to Arduino UNO 5V
- GND connected to Arduino UNO GND
- RXD connected to Arduino UNO D3
- TXD connected to Arduino UNO D2
Servo (Wokwi Compatible)
- V+ connected to Arduino UNO 5V
- GND connected to Arduino UNO GND
- PWM connected to Arduino UNO D11
L298N DC motor driver
- GND connected to Arduino UNO GND
- 5V connected to Arduino UNO Vin
- ENA connected to Arduino UNO D10
- ENB connected to Arduino UNO D9
- IN1 connected to Arduino UNO D4
- IN2 connected to Arduino UNO D5
- IN3 connected to Arduino UNO D6
- IN4 connected to Arduino UNO D7
- 12V connected to Battery +
Battery
-
- connected to Arduino UNO GND
-
- connected to L298N DC motor driver 12V
Arduino UNO
- 5V connected to Servo (Wokwi Compatible) V+
- GND connected to Servo (Wokwi Compatible) GND
- Vin connected to L298N DC motor driver 5V
- D11 connected to Servo (Wokwi Compatible) PWM
- D10 connected to L298N DC motor driver ENA
- D9 connected to L298N DC motor driver ENB
- D7 connected to L298N DC motor driver IN4
- D6 connected to L298N DC motor driver IN3
- D5 connected to L298N DC motor driver IN2
- D4 connected to L298N DC motor driver IN1
- D3 connected to HC-05 Bluetooth Module RXD
- D2 connected to HC-05 Bluetooth Module TXD
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.