A Wi-Fi-enabled, remote-controlled car with obstacle detection, powered by an ESP32 microcontroller, HC-SR04 ultrasonic sensor, and an Android application. The car detects obstacles within 60 cm, automatically reversing and stopping to avoid collisions, and is controlled via a smartphone app over Wi-Fi using HTTP GET requests. Firebase integration ensures secure single-user control, enhancing the user experience.
Developed as a final-year project (Session: 2022–2025) by Soumen Mishra, Nabanita Maity, Triyasa Dey, Pousali Pal, and Anirudha Roy at Dasnagar Government Polytechnic, Howrah, West Bengal, under the guidance of Shri Partha Sarathi Banerjee and Shri Achintya Gopal Mondal. Affiliated with the West Bengal State Council of Technical & Vocational Education and Skill Development, this project showcases expertise in IoT, embedded systems, Android development, and sensor integration.
- Demo
- Features
- Hardware Requirements
- Software Requirements
- Installation
- Usage
- Documentation
- Project Presentation
- Contributing
- Code of Conduct
- License
- Security Policy
- Acknowledgements
- Contact
[Demo GIF]
Watch the car navigate and avoid obstacles in our YouTube demo video, showcasing real-time control via the Android app and obstacle detection capabilities.
- Obstacle Detection: Detects objects within 60 cm using the HC-SR04 ultrasonic sensor, ensuring safe navigation.
- Automatic Collision Avoidance: Reverses for 500 ms and stops when obstacles are detected.
- Wi-Fi Remote Control: Controlled via an Android app over the ESP32’s Wi-Fi Access Point (AP).
- Real-Time Response: Minimal latency in command execution and sensor feedback.
- User-Friendly Interface: Android app with intuitive controls and Firebase-based single-user authentication.
- Cost-Effective Design: Built with affordable components for scalability.
- LED Indicators: Two LEDs provide visual feedback for movement direction.
- Firebase Integration: Ensures secure, exclusive control for a single user.
Component | Quantity | Description | Approx. Cost (INR) |
---|---|---|---|
ESP32 Dev Module V1 | 1 | Wi-Fi-enabled microcontroller | 500 |
HC-SR04 Ultrasonic Sensor | 1 | Ultrasonic distance sensor | 250 |
L293D Motor Driver iC | 2 | Controls BO DC motors | 200 |
3.7V Li-ion Battery ~2000mah | 4 | Power supply for the car | 350 |
LM2596 Buck Converter | 1 | Stable power supply | 100 |
Breadboard 400-tie | 1 | Circuit assembly | 200 |
See Bill of Materials for more details and purchase links.
- Arduino IDE: For uploading the ESP32 code (requires ESP32 board manager).
- Android Studio: To build and run the Android app (includes OkHttp for HTTP requests).
- Firebase: For single-user authentication in the Android app.
- Download the repository from GitHub.
- Open the
android-app
folder in Android Studio. - Place
google-services.json
inandroid-app/app/
(see Firebase Setup). - Sync the project with Gradle to download dependencies (OkHttp, Firebase).
- Build and run on an Android device, or install
android-app/app-release.apk
. - See [Android-App README(android-app/README.md) for detailed setup.
- Download the APK File:
- Open
esp32-code/CarControl.ino
in Arduino IDE. - Install the ESP32 board manager via Boards Manager.
- Connect the ESP32, select
ESP32 Dev Module
, and upload the sketch. - See ESP32 - README for detailed setup.
- Assemble the circuit as shown in Circuit Diagram.
- Refer to Mechanical Diagram for car assembly.
- Connect the battery and power on the car.
- To Understand more Easily take a look on Working Methodology
- Verify Components using Bill of Materials.
- Create a Firebase project at console.firebase.google.com.
- Add the Android app and download
google-services.json
. - See Firebase Setup for details.
- Power on the car; the ESP32 creates a Wi-Fi AP (SSID:
Savana Node 01
, Password:iloveindia
). - Connect your Android device to the ESP32’s Wi-Fi network (IP:
192.168.4.1
). - Open the Android app, log in via Firebase authentication, and use buttons to control the car (forward, backward, left, right, stop).
- The car automatically reverses and stops if an obstacle is detected within 60 cm.
- LEDs indicate movement: both on for backward, left LED for left turn, right LED for right turn.
- Introduction: Project overview and objectives.
- Types of Obstacles: Obstacle categories addressed.
- Solutions: Approaches to obstacle avoidance.
- Working Methodology: Detailed system operation.
- Sensor Detection: HC-SR04 sensor functionality.
- Movement Controls: Motor and LED control logic.
- Key Features: Core functionalities.
- Applications: Potential use cases.
- Advantages and Disadvantages: Benefits and limitations.
- Conclusion: Project outcomes and learnings.
- Challenges: Development challenges and solutions.
- Future Scope: Potential enhancements.
- Firebase Setup: Firebase integration guide.
- References: Resources used.
View the complete project Document: Object Detection Car ESp32 Android.pdf
View the complete project presentation: Object Detection Car ESp32 Android.ppt.pdf
Contributions are welcome! Please review CONTRIBUTING for guidelines on reporting issues, submitting pull requests, and collaborating.
We are committed to fostering an inclusive community. Please adhere to our Code of Conduct.
This project is licensed under the MIT License - see LICENSE.
Security Policy - Security Policy
- Team: Soumen Mishra, Nabanita Maity, Triyasa Dey, Pousali Pal, Anirudha Roy.
- Guides: Shri Partha Sarathi Banerjee, Shri Achintya Gopal Mondal.
- Institution: Dasnagar Government Polytechnic, Howrah, West Bengal.
- Head of Department: Shri Aniruddha Bhaduri.
- Principal: Dr. Manas Kumar Saha.
- Affiliation: West Bengal State Council of Technical & Vocational Education and Skill Development.
Connect with us:
-
Email: soumenmishra187@gmail.com
-
LinkedIn: [(https://www.linkedin.com/in/04-soumen-mishra)]
-
Instagram: [(https://www.instagram.com/sowmen_04)]
-
Facebook: [(https://www.facebook.com/Sowmen04)]
-
Twitter: [(https://www.twitter.com/Sowmen04)]
For inquiries or feedback, reach out via email or social media. Follow our journey as we continue to innovate in IoT and robotics!