A complete project for an obstacle detection system using an ESP32-CAM Robot-Car. Includes detailed schematics, microcontroller code, and a web app for remote control and real-time monitoring. Ideal for urban sanitation and infrastructure maintenance.
- Introduction
- Features
- System Architecture
- Getting Started
- Hardware Setup
- Software Setup
- Usage
- Testing
- Limitations
- Future Work
- Contributing
- License
This repository contains the complete project for an obstacle detection system using an ESP32-CAM based robot car. It is designed to navigate through narrow paths and detect obstacles, making it ideal for urban sanitation and infrastructure maintenance.
- Real-time video streaming from ESP32-CAM
- Remote control via web application
- Obstacle detection and avoidance
- Data logging and reporting
Below are important figures illustrating the system architecture and the actual robot car.
This diagram shows the overall architecture of the ESP32-CAM Robot-Car system, including the connections between the ESP32-CAM module, motor driver, and other components.
The chassis design image showcases the structural layout of the robot car, detailing how the various components are mounted and secured.
This schematic provides a detailed view of the electronic connections within the robot car, including the ESP32-CAM, motor driver, and other essential components.
The use case diagram illustrates the interactions between the user and the robot car, highlighting key functionalities such as remote control, real-time monitoring, and data logging.
This image shows the completed robot car with all components assembled, ready for testing and deployment.
- ESP32-CAM module
- Motor driver module
- DC motors and wheels
- Power supply
- Arduino IDE
- Basic knowledge of electronics and programming
- Clone the repository:
git clone https://github.com/yourusername/ESP32Cam_RobotCar.git
- Open the Arduino IDE and install the ESP32 board package.
- Install required libraries:
Arduino libraries: WiFi, ESPAsyncWebServer, AsyncTCP, etc.
- Assemble the robot car with the ESP32-CAM module, motor driver, and DC motors.
- Connect the components as per the provided schematic diagram.
- Ensure the power supply is properly connected to all components.
- Open
ESP32Cam_RobotCar.inoin Arduino IDE. - Configure your WiFi credentials in the code:
const char* ssid = "your_SSID"; const char* password = "your_PASSWORD";
- Upload the code to the ESP32-CAM module.
- The web application files are located in the same
ESP32Cam_RobotCar.inodirectory. - Access the web application through the provided URL to control and monitor the robot car.
- Power on the robot car and ensure it connects to the WiFi network.
- Open the web application and start controlling the robot car.
- Monitor the video stream and navigate the robot through various environments.
- Test the robot car in a simulated environment with obstacles.
- Record the performance and make necessary adjustments.
- Validate the obstacle detection and avoidance mechanisms.
- Sensitivity to light variations
- Connectivity issues in certain environments
- Limited battery life
- Improve obstacle detection algorithms
- Enhance robustness of the system
- Expand testing to more complex environments
Contributions are welcome! Please fork the repository and submit pull requests for any enhancements or bug fixes.
This project is licensed under the License. See the LICENSE file for more details.
This detailed README provides a comprehensive overview of the project, including setup instructions, features, usage guidelines, and important figures to ensure users can easily get started and contribute to the project.




