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, motors, a motor driver, a rocker switch, and a battery mount. The circuit is designed to control motors via Bluetooth communication using the Arduino UNO as the central microcontroller.
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 used for wireless communication.
- Pins: Key, VCC, GND, TXD, RXD, State
Motor and Wheels
- Description: A motor with attached wheels for movement.
- Pins: vcc, GND
Motor amarillo motorreductor hobby
- Description: A hobby motor with a gearbox.
- Pins: vcc, 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
Rocker Switch
- Description: A switch to control the power supply.
- Pins: output, input
4 x AAA Battery Mount
- Description: A battery holder for four AAA batteries.
- Pins: -, +
Wiring Details
Arduino UNO
- Vin: Connected to L298N DC Motor Driver (5V)
- GND: Connected to Rocker Switch (output)
- 5V: Connected to HC-05 Bluetooth Module (VCC)
- D0: Connected to HC-05 Bluetooth Module (TXD)
- D1: Connected to HC-05 Bluetooth Module (RXD)
HC-05 Bluetooth Module
- VCC: Connected to Arduino UNO (5V)
- GND: Connected to Motor amarillo motorreductor hobby (GND), motor and wheels (GND), L298N DC Motor Driver (OUT2)
- TXD: Connected to Arduino UNO (D0)
- RXD: Connected to Arduino UNO (D1)
Motor and Wheels
- vcc: Connected to Motor amarillo motorreductor hobby (vcc), L298N DC Motor Driver (OUT1)
- GND: Connected to Motor amarillo motorreductor hobby (GND), L298N DC Motor Driver (OUT2)
Motor amarillo motorreductor hobby
- vcc: Connected to Motor and Wheels (vcc), L298N DC Motor Driver (OUT1)
- GND: Connected to Motor and Wheels (GND), L298N DC Motor Driver (OUT2)
L298N DC Motor Driver
- OUT1: Connected to Motor and Wheels (vcc), Motor amarillo motorreductor hobby (vcc)
- OUT2: Connected to Motor and Wheels (GND), Motor amarillo motorreductor hobby (GND)
- 12V: Connected to Rocker Switch (output)
- GND: Connected to 4 x AAA Battery Mount (-)
- 5V: Connected to Arduino UNO (Vin)
- OUT3: Connected to Motor and Wheels (GND), Motor amarillo motorreductor hobby (GND)
- OUT4: Connected to Motor and Wheels (vcc), Motor amarillo motorreductor hobby (vcc)
Rocker Switch
- output: Connected to Arduino UNO (GND), L298N DC Motor Driver (12V)
- input: Connected to 4 x AAA Battery Mount (+)
4 x AAA Battery Mount
- -: Connected to L298N DC Motor Driver (GND)
- +: Connected to Rocker Switch (input)
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 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.