Automatic railway crossing using Arduino

Rumble To automatically moving the barriers when passing a train, the original sketch and two conventional infrared sensors Arduino are used.