This project introduces a vigilance control system for train drivers to monitor their condition and alert them if needed. The system monitors the driver's actions over a period of time, and will stop the train immediately if they fail to perform a defined action, such as blowing the horn, within 2 minutes. It will also stop the train if it detects a stop or red light signal, regardless of the driver's status. By continuously monitoring key parameters, this system aims to significantly reduce accidents caused by driver negligence.