Robo Raksha is an autonomous smart surveillance robot designed to tackle a critical challenge in disaster management: delayed emergency response. Built originally as a prototype for a science fest, this project aims to prevent loss of life caused by the inability of rescue workers to safely or quickly reach hazardous zones due to a lack of human intervention.
Robo Raksha autonomously patrols environments 24/7. Upon detecting an emergency, it can safely drive into dangerous, high-risk areas that might be too risky for humans. It uses its sensors to monitor the environment and streams live video so rescue workers can see exactly what is happening. It automatically broadcasts its precise GPS location along with the intensity of the emergency, helping rescue teams respond safely, effectively, and on time.
- 24/7 Autonomous Patrol: Continuously monitors the environment for emergencies without human fatigue.
- Live Video Streaming: Provides real-time visual feedback from hazardous zones.
- Multi-Hazard Detection: Identifies fires, structural vibrations, and abnormal sound levels.
- Automated Emergency Alerts: Sends immediate SMS alerts containing exact GPS coordinates and emergency intensity to predefined contacts.
- Arduino UNO R3: The primary "brain" of the robot that processes all the sensor data.
- ESP32: Manages the wireless connections and network communications.
- GSM SIM800L Module: Handles cellular network connections to send text message (SMS) alerts to emergency contacts.
- GPS NEO-6M Module: Pinpoints and shares the robot's accurate geographic location.
- OV2640 Camera: The "eyes" of the robot, dedicated to providing a 24/7 live video stream.
- Flame Sensor: Detects fire and high-heat signatures.
- Vibration Sensor: Monitors for structural impacts, collapses, or seismic activity.
- Sound Sensor: Listens for calls for help, explosions, or unnatural noise thresholds.

All microcontroller logic is written in C/C++ using the Arduino IDE.
- TinyGPS++: Used to efficiently process and parse the location data from the GPS NEO-6M module.
- ESP32 WebCamera Code: Adapted from the standard example code to handle continuous live video streaming over a wireless network.
- Patrol & Monitor: The Arduino UNO continuously reads data from the flame, vibration, and sound sensors as the robot patrols.
- Hazard Detection: If a sensor crosses a danger threshold (e.g., a fire is detected), the robot enters an "Emergency State."
- Live Streaming: The ESP32 and OV2640 camera ensure a live video feed is available so remote operators can assess the danger.
- Transmission: The Arduino queries the GPS NEO-6M for current coordinates. The GSM SIM800L then immediately fires an SMS containing the location and the hazard intensity to emergency rescue teams.

- Clone this repository:
git clone [https://github.com/yourusername/robo-raksha.git](https://github.com/yourusername/robo-raksha.git)