Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO Controlled Bluetooth Robotic Vehicle with L298N Motor Driver

Image of Arduino UNO Controlled Bluetooth Robotic Vehicle with L298N Motor Driver

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

  • 5V connected to HC-05 Bluetooth Module VCC and L298N DC motor driver 5V
  • GND connected to Buck Converter OUT- and HC-05 Bluetooth Module GND
  • Vin connected to Buck Converter OUT+
  • D13 connected to L298N DC motor driver IN1
  • D12 connected to L298N DC motor driver IN2
  • D11 connected to L298N DC motor driver IN3
  • D10 connected to L298N DC motor driver IN4
  • D1 (TX) connected to HC-05 Bluetooth Module TXD
  • D0 (RX) connected to HC-05 Bluetooth Module RXD

L298N DC Motor Driver

  • OUT1 and OUT2 connected to one pair of MRB Planetary gearbox motor + and -
  • OUT3 and OUT4 connected to another pair of MRB Planetary gearbox motor + and -
  • 12V and GND connected 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

  • VCC connected to Arduino UNO 5V
  • GND connected to Arduino UNO GND
  • TXD connected to Arduino UNO D1
  • RXD connected to Arduino UNO D0

12V Battery (mini)

  • + connected to Buck Converter IN+ and L298N DC motor driver 12V
  • - connected to Buck Converter IN- and L298N DC motor driver GND

Buck Converter

  • IN+ and IN- connected to 12V Battery + and -
  • OUT+ connected to Arduino UNO Vin
  • OUT- connected to Arduino UNO GND

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.