Arduino UNO Controlled Bluetooth Robotic Vehicle with L298N Motor Driver
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit is designed to control a set of MRB Planetary gearbox motors using an Arduino UNO microcontroller and an L298N DC motor driver. The system is powered by a 12V battery, with a buck converter stepping down the voltage to power the Arduino UNO. The HC-05 Bluetooth Module is included for wireless communication, likely for remote control purposes.
Component List
Arduino UNO
- Microcontroller board based on the ATmega328P
- It has 14 digital input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header, and a reset button.
L298N DC Motor Driver
- A module that can control up to two DC motors with individual speed and direction control, perfect for driving wheels or other bidirectional projects.
MRB Planetary Gearbox Motor
- A high-torque DC motor with a gearbox for increased torque. Multiple instances of this component are used in the circuit.
HC-05 Bluetooth Module
- A wireless communication module that allows for serial communication over Bluetooth. It is used to receive commands from a remote device like a smartphone or computer.
12V Battery (mini)
- A compact power source providing the necessary voltage for the motor driver and, through a buck converter, the Arduino UNO.
Buck Converter
- A DC-DC converter that steps down voltage from a higher voltage battery to a lower voltage needed by the microcontroller and other components.
Wiring Details
Arduino UNO
5Vconnected to HC-05 Bluetooth ModuleVCCand L298N DC motor driver5VGNDconnected to Buck ConverterOUT-and HC-05 Bluetooth ModuleGNDVinconnected to Buck ConverterOUT+D13connected to L298N DC motor driverIN1D12connected to L298N DC motor driverIN2D11connected to L298N DC motor driverIN3D10connected to L298N DC motor driverIN4D1(TX) connected to HC-05 Bluetooth ModuleTXDD0(RX) connected to HC-05 Bluetooth ModuleRXD
L298N DC Motor Driver
OUT1andOUT2connected to one pair of MRB Planetary gearbox motor+and-OUT3andOUT4connected to another pair of MRB Planetary gearbox motor+and-12VandGNDconnected to 12V Battery+and-
MRB Planetary Gearbox Motor
- Multiple instances, each connected to the L298N DC motor driver's output channels.
HC-05 Bluetooth Module
VCCconnected to Arduino UNO5VGNDconnected to Arduino UNOGNDTXDconnected to Arduino UNOD1RXDconnected to Arduino UNOD0
12V Battery (mini)
+connected to Buck ConverterIN+and L298N DC motor driver12V-connected to Buck ConverterIN-and L298N DC motor driverGND
Buck Converter
IN+andIN-connected to 12V Battery+and-OUT+connected to Arduino UNOVinOUT-connected to Arduino UNOGND
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:
}
Note: The code provided is a template and does not contain any functional code to control the motors or communicate with the Bluetooth module. This will need to be implemented based on the specific requirements of the project.