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

Arduino UNO Controlled Bluetooth Robot with Dual DC Motors and L298N Driver

Image of Arduino UNO Controlled Bluetooth Robot with Dual DC Motors and L298N Driver

Circuit Documentation

Summary

This circuit is designed to control two DC motors using an Arduino UNO microcontroller and an L298N DC motor driver. It also includes a Bluetooth module (HC-05) for potential wireless communication. The motors are powered by a 12V battery, which also supplies power to the L298N motor driver. The Arduino UNO is interfaced with the motor driver and the Bluetooth module to control the motors and communicate with external devices.

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 dual H-bridge motor driver capable of driving two DC motors or one stepper motor.
  • It has 2A per channel and 4A max current capability.

Motor Amarillo Motorreductor Hobby (x2)

  • A yellow hobby gear motor that operates on a voltage range suitable for interfacing with the L298N motor driver.

Battery 12V

  • A 12-volt battery that provides power to the motor driver and motors.

HC-05 Bluetooth Module

  • A Bluetooth module for wireless communication, which can be interfaced with the Arduino for remote control.

Comments

  • There are several comment components listed, which are likely placeholders or notes for the circuit designer.

Wiring Details

Arduino UNO

  • 5V connected to HC-05 VCC
  • GND connected to HC-05 GND, L298N GND, and 12V battery -
  • Vin connected to L298N 5V
  • D5 connected to L298N IN4
  • D4 connected to L298N IN3
  • D3 connected to L298N IN2
  • D2 connected to L298N IN1
  • D1 connected to HC-05 RXD
  • D0 connected to HC-05 TXD

L298N DC Motor Driver

  • GND connected to 12V battery - and Arduino UNO GND
  • 5V connected to Arduino UNO Vin
  • IN1 connected to Arduino UNO D2
  • IN2 connected to Arduino UNO D3
  • IN3 connected to Arduino UNO D4
  • IN4 connected to Arduino UNO D5
  • OUT1 connected to Motor Amarillo GND
  • OUT2 connected to Motor Amarillo vcc
  • OUT3 connected to Motor Amarillo GND
  • OUT4 connected to Motor Amarillo vcc
  • 12V connected to 12V battery +

Motor Amarillo Motorreductor Hobby

  • GND connected to L298N OUT1 and OUT3
  • vcc connected to L298N OUT2 and OUT4

Battery 12V

  • + connected to L298N 12V
  • - connected to L298N GND and Arduino UNO GND

HC-05 Bluetooth Module

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

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 Notes

  • The code provided for the Arduino UNO is a template with empty setup() and loop() functions. Actual implementation code for controlling the motors and interfacing with the HC-05 Bluetooth module needs to be written.
  • There is an additional empty text file named "documentation.txt" which might be intended for further notes or instructions related to the code.