Automatic Railway System The main idea of project is to control the railway system automatically by: 1 - Controlling the closings and openings of the crossings. 2 - Controlling the stopping of the train at the station. 3 - Controlling the switching of the tracks. 4 - Avoiding human's errors during controlling the system. Problem Definition - Access to solve the problem of train accidents. - Access to Complete Security System. - Making the human element of monitoring only. - Access to avoid human mistakes. Targets of the Project 1- Eliminate the High number of trains Accidents. 2- Reduce the number of killed people in these accidents. 3- Regularity of trains timing. 4- Solve the railway problems.