# How do automatic rail crossings work?

**URL:** <https://boards.straightdope.com/t/how-do-automatic-rail-crossings-work/157143>\
**Category:** Factual Questions\
**Created:** [February 24, 2003, 12:08pm UTC](https://boards.straightdope.com/t/how-do-automatic-rail-crossings-work/157143 "2003-02-24T12:08:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dunmurry](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@Dunmurry](https://boards.straightdope.com/u/Dunmurry)\
**Post date:** [February 24, 2003, 12:08pm UTC](https://boards.straightdope.com/t/how-do-automatic-rail-crossings-work/157143/1 "2003-02-24T12:08:37Z")

</div>

I cannot understand how the automatic crossings at railroads work, where the barriers come down to stop vehicles.  
What tells the barriers to come down? How do they know when to go back up? A train can come from either direction so can the equipment work for either direction?

---

<div class="post-metadata">

**Author:** ![sailor](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@sailor](https://boards.straightdope.com/u/sailor)\
**Post date:** [February 24, 2003, 12:18pm UTC](https://boards.straightdope.com/t/how-do-automatic-rail-crossings-work/157143/2 "2003-02-24T12:18:09Z")

</div>

It is quite trivial to have sensors which would lower the barrier when there is a train entering any section of track. Detecting floppitrons is still quite difficult but detecting trains has been done for decades with ease.

---

<div class="post-metadata">

**Author:** ![Nanoda](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Nanoda](https://boards.straightdope.com/u/Nanoda)\
**Post date:** [February 24, 2003, 12:34pm UTC](https://boards.straightdope.com/t/how-do-automatic-rail-crossings-work/157143/3 "2003-02-24T12:34:58Z")

</div>

I’m afraid I don’t know the precise mechanics of the sensors, but you’ll find them up both ways from a crossing. In the one case I researched once, there was a speed sensor way up the track that was used to predict the approximate arrival time of the train, and thus have the lights going by then already, plus a sensor closer to the gates, in case the train sped up in the mean time.
