Arduino UNO Bluetooth-Controlled Robotic Car with L298N Motor Driver
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO, an HC-05 Bluetooth Module, an L298N DC motor driver, a 9V Battery, a 4xAA battery pack, and four motors with reducers. The circuit is designed to control the motors using the Arduino and Bluetooth module, with power supplied by the batteries.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Pins: Key, VCC, TXD, RXD, State, GND
L298N DC Motor Driver
- Description: A dual H-Bridge motor driver.
- Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
9V Battery
- Description: A standard 9V battery.
- Pins: -, +
4xAA Battery Pack
- Description: A battery pack holding four AA batteries.
- Pins: POS, NEG
Motor with Reducer
- Description: A motor with a gear reducer.
- Pins: 3 - 6 VCC, GND
Wiring Details
Arduino UNO
- 5V connected to VCC of HC-05 Bluetooth Module
- GND connected to GND of HC-05 Bluetooth Module
- Vin connected to + of 9V Battery
- GND connected to - of 9V Battery
- D11 connected to IN1 of L298N DC Motor Driver
- D10 connected to IN2 of L298N DC Motor Driver
- D9 connected to IN3 of L298N DC Motor Driver
- D8 connected to IN4 of L298N DC Motor Driver
- D3 connected to RXD of HC-05 Bluetooth Module
- D2 connected to TXD of HC-05 Bluetooth Module
HC-05 Bluetooth Module
- VCC connected to 5V of Arduino UNO
- GND connected to GND of Arduino UNO
- RXD connected to D3 of Arduino UNO
- TXD connected to D2 of Arduino UNO
L298N DC Motor Driver
- IN1 connected to D11 of Arduino UNO
- IN2 connected to D10 of Arduino UNO
- IN3 connected to D9 of Arduino UNO
- IN4 connected to D8 of Arduino UNO
- OUT1 connected to 3 - 6 VCC of two Motors with Reducers
- OUT2 connected to GND of two Motors with Reducers
- OUT3 connected to GND of two Motors with Reducers
- OUT4 connected to 3 - 6 VCC of two Motors with Reducers
- 12V connected to POS of 4xAA Battery Pack
- GND connected to NEG of 4xAA Battery Pack
9V Battery
- + connected to Vin of Arduino UNO
- - connected to GND of Arduino UNO
4xAA Battery Pack
- POS connected to 12V of L298N DC Motor Driver
- NEG connected to GND of L298N DC Motor Driver
Motor with Reducer
- 3 - 6 VCC of two motors connected to OUT1 of L298N DC Motor Driver
- GND of two motors connected to OUT2 of L298N DC Motor Driver
- GND of two motors connected to OUT3 of L298N DC Motor Driver
- 3 - 6 VCC of two motors connected to OUT4 of L298N DC Motor Driver
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:
}
Documentation (documentation.txt)
This document provides a comprehensive overview of the circuit, including the components used, their connections, and the code running on the Arduino UNO.