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

Bluetooth-Controlled Arduino Nano Robot with L298N Motor Driver

Image of Bluetooth-Controlled Arduino Nano Robot with L298N Motor Driver

Circuit Documentation

Summary

This circuit is designed to control multiple DC motors via an L298N motor driver module, with an Arduino Nano serving as the central microcontroller. The system is powered by a series of two 18650 Li-ion batteries and includes an HC-05 Bluetooth module for wireless communication. The Arduino Nano receives commands, presumably over Bluetooth, and drives the motors accordingly through the motor driver.

Component List

Arduino Nano

  • Microcontroller board based on the ATmega328P
  • It has a variety of digital and analog I/O pins.

DC Motors

  • Four identical DC motors are used in the circuit.
  • Each motor has two pins: pin 1 and pin 2 for connecting to the motor driver.

18650 Li-ion Battery x 2

  • Two 18650 Li-ion batteries provide the power source for the circuit.
  • The batteries have a positive (+) and negative (-) terminal.

L298N DC Motor Driver

  • A module capable of driving up to four DC motors.
  • It has pins for motor outputs, power supply, and control inputs from the Arduino.

HC-05 Bluetooth Module

  • A wireless communication module that allows for Bluetooth connectivity.
  • It has pins for power, ground, transmit (TXD), receive (RXD), and state indication.

Wiring Details

Arduino Nano

  • D1/TX connected to HC-05 Bluetooth Module RXD
  • D0/RX connected to HC-05 Bluetooth Module TXD
  • D2 to D5 connected to L298N DC motor driver IN1 to IN4
  • D9, D10 connected to L298N DC motor driver ENA, ENB
  • VIN connected to the positive terminal of the 18650 Li-ion Battery x 2
  • GND connected to the common ground net
  • 5V connected to HC-05 Bluetooth Module VCC

DC Motors

  • Motor 1 and Motor 2 pin 1 connected to L298N DC motor driver OUT4, OUT3
  • Motor 1 and Motor 2 pin 2 connected to L298N DC motor driver OUT3, OUT4
  • Motor 3 and Motor 4 pin 1 connected to L298N DC motor driver OUT2, OUT1
  • Motor 3 and Motor 4 pin 2 connected to L298N DC motor driver OUT1, OUT2

18650 Li-ion Battery x 2

  • + connected to L298N DC motor driver 12V and Arduino Nano VIN
  • - connected to the common ground net

L298N DC Motor Driver

  • IN1 to IN4 connected to Arduino Nano D2 to D5
  • ENA, ENB connected to Arduino Nano D9, D10
  • OUT1 to OUT4 connected to the respective DC Motor pins
  • 12V connected to the positive terminal of the 18650 Li-ion Battery x 2
  • GND connected to the common ground net

HC-05 Bluetooth Module

  • RXD connected to Arduino Nano D1/TX
  • TXD connected to Arduino Nano D0/RX
  • GND connected to the common ground net
  • VCC connected to Arduino Nano 5V

Documented Code

Arduino Nano - sketch.ino

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Arduino Nano - documentation.txt

(No additional documentation provided)

This concludes the documentation for the given circuit. The code provided is a template and does not contain any functional logic to control the motors or communicate with the Bluetooth module. Additional programming will be required to implement the desired functionality.