The train is a transportation that is in great demand by the public, especially in West Sumatra. However, the level of train travel safety in West Sumatra is still arguably low because there are still many accidents at the railroad crossing gate. The railroad crossing doorstop in West Sumatra is still manually guarded by humans. One of the causes of accidents at the railroad crossing doorstop is due to operator negligence in maintaining the crossbar. Therefore, the automatic train doorstop using the HC-SR04 ultrasonic sensor is a solution to control the automation of the doorstop at the railroad crossing. this research uses the NodeMCU ESP32, ultrasonic sensor, buzzer, LCD, and servo motor. The designed system has an average accuracy on each sensor of 98.21% and 98.73%. The system precision reaches 99.29% and 99.73% on each HC-SR04 ultrasonic sensor. The overall result of the system can work well in accordance with the predetermined set points.
Copyrights © 2024