So… what actually happened over the last 14 months?
When it comes to the cockpit build, four main things happened (roughly speaking):
- I finished several additional instruments for the dashboard
- Changed the core software architecture
- Brought the Stewart platform up from the basement and reworked it both mechanically and electrically
- Started building a full cockpit on top of the motion platform
Integration Hell (aka Cable Chaos)
Even though it’s really convenient and quick to hook everything up using 3rd-party solutions like Air Manager or MobiFlight, things get messy fast once the project grows beyond a certain size.
It’s not just that discrete wiring for stepper motors, encoders, buttons, and so on quickly turns into an impenetrable mess of cables. What really stood out to me is how a slightly more complex setup can turn into a maintenance nightmare - especially when the central system (in my case, Air Manager) pushes software updates with planned or unplanned breaking changes.
I don’t have first-hand experience with MobiFlight, since I wanted to keep the cockpit platform-independent and MobiFlight is Windows-only. But based on my experience, the core issue comes from the centralized hardware and software architecture these systems rely on.
So I decided to move away from that and switch to a more modular approach. One where I can develop and test individual components, instruments, and controls separately, and then combine them later like building blocks.
Luckily, I’m not the first to run into this problem. There’s already a well-established, widely used, and relatively inexpensive solution for exactly this: the CAN bus.
Enter the CAN bus
But after doing some more in-depth research on the topic and running a few breadboard tests, it quickly became clear: this could (and probably should) be the solution to my problems.
At a basic level, it takes me from this
to this
The number of components and the overall complexity of each instrument doesn’t just magically disappear. In fact, the component count actually increases, since each instrument (or CAN node) now also needs its own power supply, one of those CAN transceivers mentioned earlier, and a dedicated microcontroller on top of the existing parts:
The key point, though, is that this complexity is local to each instrument. It can be developed and tested independently, then neatly enclosed and protected inside its own housing.
What you get for that price is a self-contained, testable, and replaceable unit that can be connected to the overall system with a simple point-to-point daisy chain.
And that price isn’t all that high - especially these days, when you can get an Arduino Nano clone, a DC-DC converter, and a CAN transceiver for under €8 (around $10).
I’m planning to write a separate post about the CAN bus architecture I’m using, where I’ll go into a bit more detail about the hardware and software behind my setup.
Finalizing the 6-Pack (and More)
I’ll definitely write a separate post about the HSI. I filmed the entire final assembly, so there might even be a companion video for this project—if I ever find the time to edit the gigabytes of footage.
"Smaller stuff"
To complete the full six-pack, the only thing missing was the altimeter. I’d already struggled with that one about two years ago, trying to drive it with a clockwork-style gear mechanism and just a single stepper motor. After two full redesigns and a couple of non-working prototypes, I ended up shelving it for a while.
Now that it was the last missing instrument in the six-pack, I moved away from the single-stepper approach and - taking inspiration from Captain Bob’s design - built a version of the altimeter using three stepper motors (plus one servo for a 10k flag).
And then there was still an RPM gauge (with a nice little OLED odometer featuring digit-roll animations), a fuel gauge (the first CAN bus instrument in the dashboard), a (mechanical) trim indicator, a small EGT gauge, and a transponder (the second CAN bus instrument).
I’ll probably write separate posts about some of these instruments as well.
As for the Stewart Platform…
That topic will have to wait for the next post. This article has already gotten way too long, and I’d like to do a few other things today besides just writing blog posts.
So, see you next time!
Comments
Post a Comment