Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bluetooth RC Car with ESP32-CAM and Obstacle Avoidance

This project consists of a Bluetooth-controlled car that incorporates real-time video streaming and a safety system to avoid collisions.

📝 Description

The goal was to create a robotic vehicle controlled remotely via a mobile app. The car is equipped with two ultrasonic sensors (one front and one rear) that detect obstacles and automatically stop the car if it gets too close to an object, preventing crashes.

Additionally, an ESP32-CAM was integrated using the "CameraWebServer" example code from the Arduino IDE to stream real-time video of what the car sees.

🛠️ Hardware Used

  • Microcontroller: ESP32-CAM (for control and video streaming).
  • Motors: 2 DC Motors with gearboxes.
  • Motor Driver: H-Bridge (L298N or similar) for direction and speed control (PWM).
  • Sensors: 2 Ultrasonic Sensors (HC-SR04), located at the front and back.
  • Chassis: 3D printed design.
  • Wheel: 1 Caster wheel at the front for omnidirectional movement.
  • Power Source: Batteries (specify if possible, e.g., Li-Ion 18650).

📱 Software and Applications

Remote Control

  • Android: The "Arduino RC Car/Tank" app available on Google Play was used.
  • iOS: Control was achieved using "Bluethooth for Arduino", sending simple commands (e.g., "F" to move forward).

Firmware

  • ESP32-CAM: Code based on the CameraWebServer example from the ESP32 library in Arduino IDE.
  • Car Logic: Custom code to receive Bluetooth commands, read ultrasonic sensors, and control the motors.

🚀 Features

  1. Manual Control: Movement in all directions controlled from a smartphone.
  2. Video Streaming: Real-time viewing via WiFi using the ESP32-CAM.
  3. Emergency Stop: The car automatically stops if the ultrasonic sensors detect an object at close range (front or rear).

📂 3D Files

The chassis design was 3D printed. The printing files (STL) and original design files (SolidWorks) can be found in the 3D_Models folder.

📸 Gallery (Media)

Photos and videos of the car in operation.

Photos

Front View Front view of the car with the ultrasonic sensor and camera.

Upper View Upper view showing the wheels and electronics.

Videos

Demo Operation Demo GIF of the car moving and braking automatically.


Project created by Christian Rodrigues and Rodrigo Maria

About

Bluetooth-controlled RC car with ESP32-CAM video streaming, ultrasonic obstacle avoidance, and omnidirectional movement

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages