Made by/Presented by
CodeRed, 2nd Year, ECE Dept.
Project Overview: We developed a Train Accident Detection System using an MPU6050 gyroscope and ESP8266 for real-time monitoring and alerting.
Importance: Early detection of train accidents can save lives and reduce damage.
Objectives:
Detect train tilts indicating potential accidents.
Use ESP8266 for wireless communication via ESP-NOW.
Activate a red light on nearby light posts to signal an accident.
- Train Component: The MPU6050 gyroscope on the train monitors tilt and acceleration. If the Gyroscope exceed the threshold value range for both X and Y axis (-7000 to 7000), it sends a signal to the ESP8266 module.
- Signal Transmission: The ESP8266 on the train uses the ESP-NOW protocol to wirelessly transmit a signal indicating potential danger to the ESP8266 module on the nearest light post.
- Light Post Activation: Upon receiving the signal, the ESP8266 on the light post activates the red light and also it will send a signal to the next light post. Through this process all light posts in the range of 2km from both sides of the first light post’s red light will be activated, providing an immediate visual alert to indicate a possible train accident.