Project Overview
This project demonstrates how to control an RC car using an ESP8266 or ESP32 microcontroller through a web-based interface. The interface allows remote control of movement, lights, and horn over WiFi.
Key Features
- Remote Car Control: Move forward, backward, left, right and stop.
- Light and Horn Control: Toggle lights and horn via web interface.
- Web-Based Interface: Accessible on any browser — desktop or mobile.
- Real-Time Feedback: Instant visual and auditory feedback from the car.
Technical Details
- Microcontroller: ESP8266 or ESP32
- Motor Control: 4 GPIO pins (D1–D4)
- Light: GPIO D6
- Horn: GPIO D7
- Web Server: Runs on port 80 with HTML/CSS/JS interface
Setting Up the Project
Hardware
- Connect motors to D1, D2, D3, D4
- Connect light to D6
- Connect horn to D7
- Power the ESP8266/ESP32 module
Programming
- Use Arduino IDE for uploading code
- Configure WiFi credentials and server logic
- Control endpoints: /forward, /backward, /left, /right, /stop, /light, /horn
Web Interface
- Create HTML buttons for each action
- Style using CSS for mobile usability
- Use JavaScript to trigger endpoint URLs
Testing
- Connect device to ESP-hosted WiFi
- Open web interface via browser
- Test each control: movement, light, horn
Tech Stack
ESP8266 / ESP32
Arduino IDE
HTML / CSS / JavaScript
DC Motors
Web Server
⬅ Back to Portfolio