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

Bluetooth-Controlled Dual DC Motor Driver with Arduino Nano

Image of Bluetooth-Controlled Dual DC Motor Driver with Arduino Nano

Circuit Documentation

Summary

This circuit is designed to control two DC motors using an Arduino Nano microcontroller and a Drv8833 motor driver. The Arduino Nano is interfaced with an HC-05 Bluetooth module for wireless communication. A 12V battery powers the system, with a buck converter stepping down the voltage to a level suitable for the Arduino Nano and the Drv8833. The motors are connected to the Drv8833, which allows for their speed and direction to be controlled by the Arduino Nano.

Component List

Arduino Nano

  • Microcontroller board based on the ATmega328P
  • It has a variety of digital and analog I/O pins.
  • Used as the main controller for the circuit.

DC Motor (x2)

  • Electric motor that runs on direct current (DC) electricity.
  • Controlled by the Drv8833 motor driver.

Drv8833

  • Motor driver capable of driving two DC motors.
  • It receives control signals from the Arduino Nano.

Battery 12V

  • Provides the power source for the circuit.
  • 12V battery connected to the buck converter.

Buck Converter

  • Steps down the voltage from the 12V battery to a lower voltage suitable for the Arduino Nano and Drv8833.

HC-05 Bluetooth Module

  • Wireless communication module that enables Bluetooth connectivity.
  • Interfaces with the Arduino Nano for remote control.

Wiring Details

Arduino Nano

  • D1/TX connected to TXD on HC-05 for Bluetooth communication.
  • D0/RX connected to RXD on HC-05 for Bluetooth communication.
  • GND connected to GND on HC-05 and GND on Drv8833.
  • D5 connected to IN4 on Drv8833 for motor control.
  • D6 connected to IN3 on Drv8833 for motor control.
  • D9 connected to IN2 on Drv8833 for motor control.
  • D10 connected to IN1 on Drv8833 for motor control.
  • VIN connected to OUT+ on Buck Converter for power.
  • 5V connected to VCC on HC-05 for power.

DC Motor #1

  • pin 1 connected to OUT3 on Drv8833.
  • pin 2 connected to OUT4 on Drv8833.

DC Motor #2

  • pin 1 connected to OUT2 on Drv8833.
  • pin 2 connected to OUT1 on Drv8833.

Drv8833

  • VCC connected to OUT+ on Buck Converter for power.
  • GND connected to OUT- on Buck Converter for ground.

Buck Converter

  • IN+ connected to + on 12V Battery.
  • IN- connected to - on 12V Battery.
  • OUT+ and OUT- provide power to the Arduino Nano and Drv8833.

HC-05 Bluetooth Module

  • TXD connected to D1/TX on Arduino Nano for Bluetooth communication.
  • RXD connected to D0/RX on Arduino Nano for Bluetooth communication.
  • GND connected to GND on Arduino Nano for ground.
  • VCC connected to 5V on Arduino Nano for power.

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:

}

Note: The provided code is a template and does not contain any functional code for controlling the motors or interfacing with the HC-05 Bluetooth module. The user is expected to fill in the setup and loop functions with the necessary code to implement the desired functionality.