Bluetooth and Wi-Fi Controlled Robotic Car with Vietduino Uno and ESP32 CAM
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes a Vietduino Uno USB-B microcontroller, an L298N DC motor driver, two DC motors, an HC-05 Bluetooth module, an ESP32 CAM, and a battery. The circuit is designed to control the DC motors via the motor driver, with additional functionalities provided by the Bluetooth module and the ESP32 CAM.
Component List
Vietduino Uno USB-B
- Description: A microcontroller board based on the ATmega328P.
- Pins: AREF, GND, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 3V3, 5V, RESET, VIN, A0, A1, A2, A3, A4, A5
L298N DC Motor Driver
- Description: A dual H-Bridge motor driver that allows control of two DC motors.
- 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
DC Motor (x2)
- Description: Standard DC motors.
- Pins: pin 1, pin 2
HC-05 Bluetooth Module
- Description: A Bluetooth module used for wireless communication.
- Pins: Key, VCC, GND, TXD, RXD, State
ESP32 CAM
- Description: A camera module based on the ESP32 chip.
- Pins: 5V, GND, GPIO12, GPIO13, GPIO15, GPIO14, GPIO2, GPIO4, 3.3V, GPIO16, GPIO0, 3.3V / 5V / P_OUT, GPIO3 / RX, GPIO1 / TX
Battery
- Description: Power source for the circuit.
- Pins: -, +
Wiring Details
Vietduino Uno USB-B
- VIN is connected to 5V of the L298N DC motor driver, VCC of the HC-05 Bluetooth module, and 5V of the ESP32 CAM.
- GND is connected to GND of the L298N DC motor driver, GND of the ESP32 CAM, and GND of the HC-05 Bluetooth module.
- Pin 7 is connected to IN2 of the L298N DC motor driver.
- Pin 6 is connected to IN1 of the L298N DC motor driver.
- Pin 5 is connected to IN3 of the L298N DC motor driver.
- Pin 4 is connected to IN4 of the L298N DC motor driver.
- Pin 3 is connected to RXD of the HC-05 Bluetooth module.
- Pin 2 is connected to TXD of the HC-05 Bluetooth module.
- Pin 1 is connected to GPIO1 / TX of the ESP32 CAM.
- Pin 0 is connected to GPIO3 / RX of the ESP32 CAM.
L298N DC Motor Driver
- 5V is connected to VIN of the Vietduino Uno USB-B, VCC of the HC-05 Bluetooth module, and 5V of the ESP32 CAM.
- GND is connected to GND of the Vietduino Uno USB-B, GND of the ESP32 CAM, and GND of the battery.
- IN2 is connected to Pin 7 of the Vietduino Uno USB-B.
- IN1 is connected to Pin 6 of the Vietduino Uno USB-B.
- IN3 is connected to Pin 5 of the Vietduino Uno USB-B.
- IN4 is connected to Pin 4 of the Vietduino Uno USB-B.
- OUT1 is connected to pin 2 of the first DC motor.
- OUT2 is connected to pin 1 of the first DC motor.
- OUT3 is connected to pin 2 of the second DC motor.
- OUT4 is connected to pin 1 of the second DC motor.
- 12V is connected to + of the battery.
DC Motor (1)
- pin 2 is connected to OUT1 of the L298N DC motor driver.
- pin 1 is connected to OUT2 of the L298N DC motor driver.
DC Motor (2)
- pin 2 is connected to OUT3 of the L298N DC motor driver.
- pin 1 is connected to OUT4 of the L298N DC motor driver.
HC-05 Bluetooth Module
- VCC is connected to 5V of the L298N DC motor driver.
- GND is connected to GND of the Vietduino Uno USB-B.
- RXD is connected to Pin 3 of the Vietduino Uno USB-B.
- TXD is connected to Pin 2 of the Vietduino Uno USB-B.
ESP32 CAM
- 5V is connected to 5V of the L298N DC motor driver.
- GND is connected to GND of the Vietduino Uno USB-B.
- GPIO1 / TX is connected to Pin 1 of the Vietduino Uno USB-B.
- GPIO3 / RX is connected to Pin 0 of the Vietduino Uno USB-B.
Battery
- - is connected to GND of the L298N DC motor driver.
- + is connected to 12V of the L298N DC motor driver.
Code
No code is provided for this circuit.