This project is developed for automatic control of unguarded railway gate. The main modules in this project are sensor, Microcontroller unit, Driver unit and gate motor.
The IR transmitter and receiver are connected near the gate so that one faces the other. The IR transmitter transmits IR rays when the power supply is switched on. The IR sensor is connected with the microcontroller. In normal positions, the rays transmitted from the transmitter falls on the IR sensor.
If there is no train, the signals from the IR transmitter falls on the IR receiver directly. When the train crosses the particular area, the IR signals are cut and it automatically sends signal to the microcontroller.
The microcontroller operates the relay section through driver section. Thus the gate opens. After certain period, the microcontroller operates another relay to close the door. If the train stops in that place, the microcontroller wont allow the gate to open.
The Microcontroller programs are written in assembly language