IoT and Sensor-Based Automatic Railway Level Crossing Gate Control System
Level crossings remain one of the most accident-prone points on any railway network because gate operation still depends heavily on a human gatekeeper correctly judging a train's arrival and departure. This paper presents the design of an IoT and sensor-based automatic railway gate control system that removes this dependency by using infrared (IR) and ultrasonic sensors to detect an approaching and departing train and a microcontroller (ESP32/NodeMCU) to actuate a servo-motor-driven gate barrier accordingly. A LoRa module paired with the ESP32 extends an early train-approaching alert up to roughly 5 km to the gatekeeper, well beyond normal Wi-Fi range, while the system separately pushes real-time gate status, sensor readings, and alerts to a cloud dashboard over Wi-Fi, allowing a control-room operator to remotely monitor multiple crossings and receive notifications in the event of a sensor fault or an obstruction on the track. The complete control logic is presented as a flowchart and a finite-state model, and the hardware interconnection between the microcontroller and every peripheral is documented in a wiring diagram to make the design reproducible. A prototype was built and tested on a scaled model track the results show consistent, low-latency gate actuation with a working IoT dashboard update. The proposed design is low-cost, fail-safe, and suitable for retrofitting at unmanned level crossings in place of manual operation.
Authors
- SHARMILA P
- YOGESH B R
Institutions
- University B.D.T College of Engineering (IN)
- Davangere University (IN)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-08-28
- DOI
- https://doi.org/10.5281/zenodo.22145518
- Primary Topic
- Railway Systems and Energy Efficiency
- Type
- article
- Field-Weighted Citation Impact
- 0.00