This weeks Tech Tuesday shows you how to detect trains using the Arduino with a Force Sensitive Resister. In this video we demonstrate how the Arduino can tell the difference between freight rolling stock, a Class 03 shunter and a Class 27 diesel. We show the circuit and walk you through the code.

The source code can be found at