https://github.com/debanshu2005/bluetooth_rc_car
This repository consists of the code and the components needed to make a simple Bluetooth controlled car using an ESP32.
https://github.com/debanshu2005/bluetooth_rc_car
bluetooth car embedded-c esp32 remote-control
Last synced: 24 days ago
JSON representation
This repository consists of the code and the components needed to make a simple Bluetooth controlled car using an ESP32.
- Host: GitHub
- URL: https://github.com/debanshu2005/bluetooth_rc_car
- Owner: Debanshu2005
- License: mit
- Created: 2025-10-30T13:53:20.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-10-30T17:57:00.000Z (8 months ago)
- Last Synced: 2025-10-30T19:26:55.064Z (8 months ago)
- Topics: bluetooth, car, embedded-c, esp32, remote-control
- Language: C++
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π Bluetooth Controlled RC Car (ESP32 + BTS7960)
This project is a **Bluetooth-controlled RC car** built using an **ESP32 microcontroller** and **BTS7960 motor drivers**.
The car is designed for smooth remote operation via a smartphone app and uses high-torque **500 RPM geared DC motors** mounted on a **metal chassis**.
---
## Photos

---
## π§© Components Used
| Component | Quantity | Description |
|------------|-----------|-------------|
| **ESP32** | 1 | Main microcontroller used for Bluetooth communication and motor control |
| **ESP32 Expansion Board** | 1 | Simplifies wiring and power connection |
| **BTS7960 Motor Driver** | 2 | Dual-channel high-current motor drivers used to control 4 DC motors (2 per driver) |
| **500 RPM Geared DC Motor** | 4 | Provides sufficient torque and speed for the carβs movement |
| **Metal Chassis** | 1 | Sturdy base for mounting motors, drivers, and controller |
| **Wheels** | 4 | Attached to DC motors for locomotion |
| **Connecting Wires** | β | For all electrical connections |
| **9V Battery** | 1 | Powers the ESP32 and drivers |
| **2200 mAH LiPo battery** | 1 | Powers the motors |
---
## βοΈ Working Principle
1. **Bluetooth Control:**
The ESP32 connects to a smartphone via Bluetooth. A mobile app (such as *Arduino Bluetooth controller* from the Play Store) sends commands like **Forward**, **Backward**, **Left**, **Right**, and **Stop**.
2. **Signal Processing:**
The ESP32 receives these commands through its Bluetooth serial interface and decodes them in real-time.
3. **Motor Driving:**
- Two **BTS7960 drivers** handle the 4 motors (2 per driver).
- Each driver receives PWM signals from the ESP32 to control the direction and speed of the motors.
4. **Movement:**
- **Forward:** All motors rotate forward.
- **Backward:** All motors rotate backward.
- **Left / Right:** One side slows down or reverses to turn.
- **Stop:** PWM signals are set to 0.
---
## π Circuit Overview
**ESP32 Connections:**
- Each BTS7960 is connected to separate PWM and enable pins from the ESP32.
- logic power (5V) are derived from the expansion board.
- The 9V battery powers both motor drivers and ESP32 via the barrel jack of the expansion board.
**Basic Wiring Flow:**
- ESP32 β BTS7960 #1 β [Front Left + Front Right Motors]
- ESP32 β BTS7960 #2 β [Rear Left + Rear Right Motors]
- Battery β ESP32 Expansion Board (barrel jack)
- LiPo β BTS7960 #1and BTS7960 #2 (To power the motors)
---
---
## π± Mobile App Control
You can use any **Bluetooth Controller App**
**Typical Control Buttons:**
- πΌ Forward
- π½ Backward
- βοΈ Left
- βΆοΈ Right
Pair the ESP32 via Bluetooth (device name will appear as *ESP32_BT* or similar) and start controlling your car.
---
## β‘ Power Supply Notes
- The **9V battery** powers the ESP32.
- The **2200 mAH LiPo** powers the motors
---
## πΈ Assembly Overview
1. Mount 4 geared DC motors onto the **metal chassis**.
2. Attach **wheels** to the motor shafts.
3. Secure **ESP32** (with expansion board) and both **BTS7960 drivers** on top of the chassis.
4. Connect wires according to the wiring diagram.
5. Power the system via the battery and connect through Bluetooth.
---
## π§° Tools Used
- Soldering iron and wires
- Screwdriver and nuts/bolts
- Multimeter (for connection checks)
---
## π¨βπ» Authors
**Debanshu Sarkar**, **Sriparno Roy**, **Kaushani Das**, **Somoshree Halder**
B.Tech Student, Techno Main Saltlake
*Project: Bluetooth Controlled RC Car using ESP32 and BTS7960 Motor Drivers*
---
## π License
This project is open-source and free to modify or distribute for educational purposes.