Also an indicator light has been provided to alert the
motorists about the approaching train.
2. ACCIDENT AVOIDENCE DETAILS
When the train arrives in a particular direction the
transmitter IR senses and generates appropriate signal,
then at the same time the receiver IR receives the signal
and generates an interrupt.
When the interrupt is generated the stepper motor
rotates in clockwise direction. When the interrupt ends the
stepper motor rotates in anti clock wise direction.