Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
1

Train Simulator Controller: CAN-Connected Air Gauge, Part 2

from Project Blog on Christopher Mitchell, Ph.D. [alt+shift+b] in technology

In my ongoing quest to build a physical cab dashboard to control Train Simulator, an important set of components are the gauges that tell me what’s going on with the train. As I build the dashboard into which to embed my gauges, I realized I needed to better modularize my air pressure gauge, moving the control circuit board outside the gauge. Here’s how I did it.
25th May 2025

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from Project Blog on Christopher Mitchell, Ph.D.

RailScan: First Point Clouds from Railroad Museum Scanner

I volunteer at a train, trolley, and subway museum. As a non-authoritative, hobby project combining my love of trains, electronics, mapping, and data, I am building a LiDAR scanner to map and analyze the museum. After designing the initial hardware and software for a GNSS-enabled LiDAR scanner, I built and tested it at the museum.

16th Jul 2026 • 1 votes
RailScan: Museum Track and Wire Scanner

I volunteer at a train, trolley, and subway museum, including working on restoration of full-sized rail vehicles and maintaining railway infrastructure. As a non-authoritative, hobby project combining my love of trains, electronics, mapping, and data, I am building a LiDAR scanner to create a 3D map of the museum, automatically identify tracks and overhead wire, and compute wire height and track gauge.

25th Jun 2026 • 1 votes
Train Simulator Controller: Simulator Takes Shape with Custom Table

With the center console of my train simulator built, I rapidly modeled and fabricated prototypes of the four other panels.

11th Jan 2026 • 1 votes
Train Simulator Controller: Dashboard Prototype Part 4, All the Panels

With the center console of my train simulator built, I rapidly modeled and fabricated prototypes of the four other panels.

30th Dec 2025 • 1 votes
Train Simulator Controller: TPWS Control Panel

TPWS is a key safety system in UK trains, so my Class 80x cab needed a precisely replicated TPWS control panel.

16th Nov 2025 • 1 votes

More in technology

MichTron ProText

The Last Word Processor You'll Ever Need

3 hours ago • 1 votes
Fixing Letterboxd's cast list on the web

I love Letterboxd, but I hate how they show you the cast on the web app. Here's the cast of The Batman on the web. I mean, that's them, but I'm often going to this page wondering who played someone, and that is an

4 hours ago • 1 votes
Day of the Dead in Mexico City

If you visit, someone someone will inevitably tell you: “The Day of the Dead parade isn’t a real tradition!

5 hours ago • 1 votes
A Mastodon bot powered by iOS Shortcuts

In short: I use iOS Shortcuts to run a Mastodon bot. I run a Mastodon bot that posts random quotes from The Legend of Zelda: Link’s Awakening. (The writing in that game is so charming!) I used to run it off a server, but for the past few days, it’s used an iOS Shortcut on my phone. How it works The bot is called Ulrira, named after a beloved Link’s Awakening character. Ulrira (the bot, not the character) samples a line from the text dump, then makes an HTTP request to post it. Here’s a screenshot of the full thing: As you can see, everything here is hard-coded, from the server credentials to the file name. (It probably wouldn’t be hard to make this more generic, but I didn’t bother.) This used to be a short, hand-written Bash script. I used the new AI-powered Shortcut creator and prompted this into existence. I said something like, “Here’s a Bash script. Turn this into a Shortcut.” Like a lot of LLM output, it wasn’t quite right, but it was useful for getting started. Shortcuts doesn’t seem to have an elegant way to express something like “run this every 6 hours”, so I created four additional scheduler Shortcuts that call the main one. They run at 12am, 6am, 12pm, and 6pm. That means there are five shortcuts in total: one to actually make the post, and four to schedule the main Shortcut at different times. Why do it this way? I didn’t want to pay for my server anymore, nor did I want to maintain it. When I went looking for alternatives, they either (1) cost money (2) had some significant limitation (for example, GitHub Actions requires me to update the repo every 60 days). This solution runs on a device with high uptime and is effectively free. If you’re a pro software genius, you might complain that this is not reliable! It doesn’t work if my phone is offline, for example. Or what if I change timezones? But in the words of Link’s Awakening: You’re good! You’re a pro, aren’t you? ………… Well, beat it! Pros aren’t allowed in here! Follow the bot here.

8 hours ago • 1 votes
Digital minimalism
yesterday • 1 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in