Riders of two wheelers have little physical protection in a collision or a fall, and help may arrive late when nobody reports the incident. This paper describes the design, construction and functional testing of a low-cost crash and fall monitoring prototype built around an ESP32 board. An MPU6050 inertial sensor supplies acceleration and angular-rate data, and a vibration sensor adds a separate impact cue. The controller derives an acceleration magnitude and a gyroscope magnitude and compares them with fixed thresholds to label each reading as normal, fall, crash or unclassified. Readings and status are published on a Wi-Fi dashboard, a GPS receiver provides coordinates, and a GSM module sends a Google Maps link by SMS to a stored contact when a fall or crash is flagged. Bench drop tests from 10, 30 and 80 cm, trials on flat, sloping and damaged roads, and dashboard and SMS observations show that the chain from sensing to alerting works end to end. The study is preliminary: no detection accuracy, false-alarm rate or response time was measured, and full-scale road validation remains future work.
Introduction
The study focuses on developing an IoT-based accident detection and emergency alert system for motorcycles and scooters. Two-wheeler riders are more vulnerable to road accidents because they lack protective features such as airbags, seat belts and enclosed cabins. In case of an accident, the rider may be unable to inform family members or emergency contacts. Therefore, the proposed system automatically detects possible falls or crashes and sends an emergency message along with the rider's GPS location.
1. Proposed System
The system is developed using an ESP32 microcontroller integrated with different sensors and communication modules.
Its major components include:
ESP32: Main controller responsible for processing sensor data and controlling the system.
MPU6050: Measures three-axis acceleration and angular velocity.
Vibration Sensor (SW-420): Detects mechanical shocks and vibrations.
GPS Module (NEO-6M): Provides the geographical location of the vehicle.
GSM Module (SIM800L): Sends accident alert messages to registered mobile numbers.
Blynk IoT Dashboard: Displays live sensor readings, vehicle status and communication information.
2. Working Methodology
The proposed system works through four main stages:
Sensing: The MPU6050 and vibration sensor continuously monitor vehicle movement, acceleration and sudden impacts.
Processing: The ESP32 processes the sensor readings and compares them with predefined threshold values to identify normal conditions, falls, crashes or unclassified events.
Location Tracking: When a possible fall or crash is detected, the GPS module retrieves the vehicle's latitude and longitude.
Alert Notification: The GSM module sends an SMS containing the accident status and Google Maps location link to a registered emergency contact.
The Blynk dashboard simultaneously displays real-time readings and system status through Wi-Fi.
3. Accident Detection and Classification
The system uses acceleration magnitude (amag) and gyroscope magnitude (gmag) to classify vehicle conditions.
Four operating conditions are identified:
Normal: Acceleration magnitude is below 3.5.
Fall: Acceleration magnitude exceeds 3.5 and gyroscope magnitude is between 100 and 500.
Crash: Acceleration magnitude exceeds 5 and gyroscope magnitude exceeds 550.
Unclassified: Sensor readings do not satisfy the predefined fall or crash conditions.
These threshold values were selected based on controlled drop tests and road-condition observations.
4. Implementation and Experimental Testing
The prototype was tested through different experiments to examine its performance.
A. Drop-Height Tests
The device was dropped from three different heights:
10 cm
30 cm
80 cm
The sensor readings were recorded and analysed to understand how acceleration and angular velocity change during impacts. Higher drops generally produced stronger impact responses.
B. Road-Condition Analysis
The system was tested under different road conditions, including:
Flat roads.
Uphill roads.
Downhill roads.
Damaged roads with potholes and uneven surfaces.
These tests helped identify how normal road vibrations and changes in vehicle orientation could affect accident detection and cause false alerts.
C. GPS and GSM Testing
The NEO-6M GPS module successfully retrieved geographical coordinates and other location information. The SIM800L GSM module successfully registered with the mobile network and delivered test SMS messages containing GPS coordinates.
D. Dashboard Testing
The Blynk dashboard successfully displayed all four conditions: NORMAL, FALL, CRASH and UNCLASSIFIED. It also displayed acceleration, gyroscope readings, vibration pulse count, GPS coordinates and GSM communication status.
5. Experimental Results
The prototype successfully demonstrated the intended functionality:
Normal conditions were displayed correctly during the normal-state test.
The fall test generated a FALL status and an SMS alert with a Google Maps location link.
The crash test generated a CRASH status and an alert to the configured emergency contact.
The unclassified condition was identified without generating an SMS submission message.
The system demonstrated successful communication between the sensors, ESP32, GPS, GSM module and IoT dashboard.
6. Limitations
The study identifies that practical implementation may face challenges such as:
False accident detection due to road vibrations.
Incorrect sensor positioning or mounting.
Environmental disturbances.
GPS signal availability.
GSM network connectivity and communication delays.
Threshold values requiring further calibration.
The prototype has undergone preliminary functional testing rather than full-scale motorcycle crash testing. Its detection accuracy and response time have not yet been statistically validated.
Conclusion
A prototype two-wheeler crash and fall monitor was designed, built and exercised using an ESP32, an MPU6050, a vibration sensor, a NEO-6M GPS receiver and a SIM800L GSM module. Thresholds on acceleration and gyroscope magnitude separate normal, fall, crash and unclassified readings, a Wi-Fi dashboard shows live data, and SMS alerts with map links were delivered in the observed tests. The results confirm that the sensing, classification, locating and alerting stages work together, within the preliminary scope described above.
Future work includes a rider-side option to cancel false alerts, calibration for different motorcycles, longer road trials, better power management, dependable operation when network coverage varies, and evaluation on a larger labelled dataset. Accuracy, false-alarm rate and response time should be reported only after controlled and repeatable testing.
References
[1] K. Senthil Babu, Sakshi M., Pavithra P., Ranjitha S., and Hruthwik H. M., “A review based on: Two-wheeler crash detection and fall analysis system,” Int. J. Sci. Res. Eng. Manag. (IJSREM), 2026, doi: 10.55041/IJSREM66634.
[2] S. D. Dhere, S. Aher, R. Agalme, and M. Kachake, “Smart helmet for accident detection and prevention using IoT,” Int. J. Sci. Res. Arch., vol. 15, no. 1, pp. 1537–1543, 2025.
[3] M. Ravichandran, C. H. Lekkala, and S. H. Rohith, “Motorcycle rider accident crash impact detection using force sensing resistor—A COMSOL based analysis,” in Proc. 2025 Int. Conf. Emerging Systems and Intelligent Computing (ESIC), IEEE, 2025.
[4] S. M. K. Mehbub et al., “Real-time accident detection and physiological signal monitoring to enhance motorbike safety and emergency response,” arXiv:2403.19085, 2024, doi: 10.48550/arXiv.2403.19085.
[5] S. Sarker, M. S. Rahman, and M. N. Sakib, “An approach towards intelligent accident detection, location tracking and notification system,” in Proc. 2019 IEEE Int. Conf. Telecommunications and Photonics (ICTP), 2019, doi: 10.1109/ICTP48844.2019.9041759.
[6] R. Suryawanshi, K. Dhumal, T. Patil, M. Borole, R. Patil, and P. Pardeshi, “Revolutionizing vehicle safety and alerting black box,” in Proc. 3rd Int. Conf. Automation, Computing and Renewable Systems (ICACRS), IEEE, 2024, doi: 10.1109/ICACRS62842.2024.10841605.
[7] N. Chauhan, D. Sehgal, Aryan, M. Bindra, B. Prasad, and S. Negi, “Fast moving system warning for two wheelers,” in Proc. 2025 Int. Conf. Innovations and Emerging Technologies in AI and Communication Systems (IETACS), IEEE, 2025, doi: 10.1109/IETACS68750.2025.11385328.
[8] N. John, S. Agrawal, A. Thapliyal, S. Varshney, and K. Gupta, “A review on sensor based accident detection systems for two-wheeler,” in Proc. 2025 5th Int. Conf. Advancement in Electronics & Communication Engineering (AECE), IEEE, 2025, doi: 10.1109/AECE67531.2025.11386681.