Automatic Railway Gates control system using GSM

The main aim of this project is to establish such railway gates in place of existing manual railway gates, to reduce maintenance expenditure, human mistake and accidents,. More effectiveness necessary for improving safety. The proposed model has been designed using microcontroller and GSM

2025-06-28 16:30:28 - Adil Khan

Project Title

Automatic Railway Gates control system using GSM

Project Area of Specialization Electrical/Electronic EngineeringProject Summary

The main aim of this project is to establish such railway gates in place of existing manual railway gates, to reduce maintenance expenditure, human mistake and accidents,. More effectiveness necessary for improving safety. The proposed model has been designed using microcontroller and GSM module to avoid railway accidents without man power. When the train reaches the sensors, the sensors can send the signal to the micro controller and it activate the GSM module. After receiving the signal to the micro controller, it can activate the motors to close or open the gates. Again, it starts working when the train passed over the station automatically the gates will be opened. 

Project Objectives

Automatic railway gate control systems reduce the time for which gate remains closed. This type of gates can be employed in an unmanned level crossing where the chances of accidents is higher and reliable operation is required. Automatic operation prevents errors due to manual operation. It may be proved a very useful project, which will  help in automatic opening and closing the railway gate upon detecting arrival or departure of the train. In general, Railway gates are opened or closed manually by a gate keeper, which includes chances of accidents.

Project Implementation Method

The followin main components can be deployed in this project

Microcontroller,Servo motor ,LED light for indication,GSM module, Sensors (IR  sensor) ,Battery source

 First of all the two sensors are placed at some distance from the railway gates,so when the train is arrived and passes through the first sensor,it can be detected by the sensor and then sensor will convey the message to the Microcontroller. Then microcontroller will activate the servo motors to close the gates before the train arrived at the Railway gates. It will also on the LED red light placed at the side of gate to indicate the arrival of train to travellers. Similarly when the train will pass through another sensor at the departure side of train , it will detect the passing of train and sends signal to microcontroller to open the railway gates. In this Scanerio, a GSM module will also be used which will send the messages of the proper working of Railway gates to the authorized person at the Railway station.

Benefits of the Project

This project will be proved very useful regarding of our daily life:

It can provide us a safe and sound closed path to railway tracks.An automatic railway-crossing-gate controller is used to prevent accidents at unmanned level crossings to provide much needed safety.

Automatic operation prevents errors due to manual operation.

In Pakistan, as every year a huge number of accidents occur due to lack of railway gates and also due to human error, So It can controlled the railway gates automatically without any kind of man power. 

By providing safe path it results into low rate of human mistakes and  accidents occured due to lack of railway gates or human errors.

 Such efficient controllers are mostly used in remote areas that often lack the services of a station master or line man at the crossing levels.

Technical Details of Final Deliverable

Technically,it will operated on the principle of detection of objects through the sensors and proceed it.

When the train reaches the sensors, the sensors can send the signal to the micro controller and it activate the GSM module. After receiving the signal to the micro controller, it can activate the motors to close or open the gates. Again, it starts working when the train passed over the station automatically the gates will be opened. 

When the train is detected by the sensor then at the same time a red LED light will glow to indicate the arrival of train to the traffic on road and also a buzzer alarm will also be sounded.Similarly when train passed away LED l;ight turns into green and buzzer closed.

Final Deliverable of the Project HW/SW integrated systemCore Industry TransportationOther IndustriesCore Technology OthersOther Technologies RoboticsSustainable Development Goals Industry, Innovation and Infrastructure, Sustainable Cities and Communities, Partnerships to achieve the GoalRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 46280
Microcontroller Equipment115001500
GSM module Equipment165006500
Servo motor Equipment418007200
Two IR Sensors Equipment210002000
LED Equipment62001200
Alarm buzzer Equipment115001500
Train Equipment130003000
Railway lines Equipment110001000
Railway gates Equipment410004000
Mobile phone Equipment140004000
Battery source Equipment125002500
Wires Miscellaneous 112001200
hard board Miscellaneous 138003800
other Stationary Miscellaneous 130003000
sim card Equipment1300300
Resistors Equipment490360
Diodes Equipment475300
capacitors Equipment480320
printing Miscellaneous 120002000
Connectors Equipment2300600

More Posts