Arduino UNO Controlled Bluetooth Robot with Dual DC Motors and L298N Driver
View and Edit Project In Cirkit Designer
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
5Vconnected to HC-05VCCGNDconnected to HC-05GND, L298NGND, and 12V battery-Vinconnected to L298N5VD5connected to L298NIN4D4connected to L298NIN3D3connected to L298NIN2D2connected to L298NIN1D1connected to HC-05RXDD0connected to HC-05TXD
L298N DC Motor Driver
GNDconnected to 12V battery-and Arduino UNOGND5Vconnected to Arduino UNOVinIN1connected to Arduino UNOD2IN2connected to Arduino UNOD3IN3connected to Arduino UNOD4IN4connected to Arduino UNOD5OUT1connected to Motor AmarilloGNDOUT2connected to Motor AmarillovccOUT3connected to Motor AmarilloGNDOUT4connected to Motor Amarillovcc12Vconnected to 12V battery+
Motor Amarillo Motorreductor Hobby
GNDconnected to L298NOUT1andOUT3vccconnected to L298NOUT2andOUT4
Battery 12V
+connected to L298N12V-connected to L298NGNDand Arduino UNOGND
HC-05 Bluetooth Module
VCCconnected to Arduino UNO5VGNDconnected to Arduino UNOGNDTXDconnected to Arduino UNOD0RXDconnected to Arduino UNOD1
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()andloop()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.