Fun with Arduino - a Series of Introductory Videos [external source]

We have seen the separate ingredients for a level crossing in the previous three videos: blinking LEDs, servo to operate the gate, sensors to detect the train ... it is time to put it all together now into one piece of software. We'll use the State Transition Diagram as our starting point and build up the software in 5 easy to follow steps.

Fun with Arduino 20 Railway Crossing Putting it all Together

Railway Crossing UK version