APC

Make a model train scale-speed monitor

YOU’LL NEED THIS

• Raspberry Pi 3 B+

• 16GB SD card

• Raspberry Pi OS Lite (used: 4 April 2022)

• GPIO Zero 1.6.2

• IR sensors

Have you ever seen something and thought, “I can do that”? This writer’s inspiration came after using a commercial device to determine the speed of a model train. The speed limit posted for a real train entering a siding is 16kph.

So let’s use a Raspberry Pi, with some external infrared (IR) sensors mounted to a block of wood of known dimensions, to establish the scale speed of a model train entering the siding on a model railway layout.

Typical full-size trains run at up to around 100kph, depending on limiting factors. The class or track quality determines the maximum running speed and the ability to carry passengers. Other factors,

You’re reading a preview, subscribe to read more.

More from APC

APC3 min read
Apple Vision Pro
iFixit is a global community of tinkerers dedicated to helping people fix things through free online repair manuals and teardowns. iFixit believes that everyone has the right to maintain and repair their own products. To learn more, visit www.ifixit
APC2 min read
Panasonic’s Astrova In-flight Entertainment System Will Make Economy Travel Less Arduous
Flying in cattle class in the 21st century is generally not all that enjoyable – unless you’re 150cm tall or an excited child that is. You have to put up with shrinking legroom, long queues at check in and security, unappealing food and generally poo
APC9 min read
How Do You Know If You’ve Been Hacked
Cyberattacks don’t look like you might expect – and they certainly don’t look like they do in the movies. If your security is compromised, you probably won’t see a big flashing sign saying “YOU HAVE BEEN HACKED”, or weird skull-and-crossbones graphic

Related