Screenshot of Microsoft Flight Simulator with the Dune expansion, and in the top right corner, the mod's author is shown using their phone with an attached gamepad for controlling a Dune ornithopter.

Take Control Of MS Flight Sim With Your Smartphone

Anyone with more than a passing interest in flight simulators will eventually want to upgrade their experience with a HOTAS (Hands On Throttle-And-Stick) setup that has buttons and switches for controlling your virtual aircraft’s assorted systems, which are well supported by games such as Microsoft Flight Simulator (MSFS). But a traditional HOTAS system can be a bit of an investment, so you might want to thank [Vaibhav Sharma] for the virtualHOTAS project that brings a configurable HOTAS interface to your phone — just in time to try out that Dune expansion for MSFS.

The phone’s orientation sensors are used as a joystick, and on the screen, there’s both sliders and buttons you can use as in-game controls. On the back-end there’s a Python program on the computer which exposes a webserver that the phone connects to, translating sensor and press data without the need for an app. This works wonderfully in MSFS, as [Vaibhav] shows us in the video below. What’s more, if you get tired of the touchscreen-and-accelerometer controls, you can even connect a generic smartphone-designed game controller platform, to have its commands and movements be translated to your PC too!

All the code is open source, and with the way this project operates, it will likely work as a general-purpose interface for other projects of yours. Whether you might want to build an accessibility controller from its codebase, use it for your robot platform, maybe simply repurpose this project for any other game, [Vaibhav]’s creation is yet another reminder that we’re carrying a sensor-packed platform, and it might just help you build a peripheral you didn’t know you needed.

Don’t have a phone handy? Perhaps an Xbox controller could work with just a few 3D printed upgrades, or you could stock up on buttons and build your own joystick from scratch. Oh, and keeping HOTAS principles in mind can be pretty helpful — you might get to redesign the venerable computer mouse, for instance!

Continue reading “Take Control Of MS Flight Sim With Your Smartphone”

Bench Power Supply Turned Realistic Flight Sim Panel

Flight simulator software has been available for about as long as desktop PCs have been a thing, but modern incarnations such as 2020’s Microsoft Flight Simulator have really raised the bar — not only graphically, but in terms of interactivity. There’s a dizzying array of switches and buttons that you can fiddle with in your aircraft’s virtual cockpit, but doing it with the same keyboard that you use to hammer out code or write Hackaday articles doesn’t do much for immersion.

Looking to improve on the situation without having to shell out for an expensive sim panel, [Michael Fitzmayer] decided to convert a broken Manson SSP-8160 lab power supply into a fairly good approximation of the KAP 140 autopilot system which is used in one of his favorite aircraft, the Pilatus PC-6 Turbo-Porter.

[Michael] gutted the piece of equipment pretty thoroughly, only leaving behind the case itself and the illuminated button panel on the front. The original displays were replaced with TM1637 seven-segment LEDs, and a pair of new rotary encoders are mounted where the stock knobs were. The whole show is run by a STM32F103 Blue Pill, which conveys the button pressing and knob spinning to the game by mimicking a USB Human Interface Device.

A fascia applied to the front of the power supply blocks the original text and labels, and really makes the finished unit look the part. [Michael] admits it’s not 100% accurate to the layout of the real hardware, but it’s certainly better than trying to enter heading and altitude information with the controller.

Oh that’s right, did we mention he’s actually using this on the Xbox Series S? While we generally see this sort of sim hardware hooked up to a tricked out gaming computer, we appreciate that he’s trying to bring some of that same experience to the console world. While the one-way communication of USB HID does bring with it some limitations — for example the hardware needs to be manually reset at the beginning of each flight to make sure the physical displays match what’s shown in the virtual cockpit– there’s still a lot of potential here.

For example, you could design and build your own flight yoke, pedals, and throttles rather than spending hundreds on a commercial version. It sounds like [Michael] is just getting started in the world of affordable console-based flight simulation, and we’re very eager to see where he goes from here.

Xbox Flexure Joystick Puts You In The Pilot’s Seat

With the recent release of Microsoft Flight Simulator on the Xbox Series X|S there’s never been a better time to get a flight stick for the console, and as you might imagine, there are a number of third party manufacturers who would love to sell you one. But where’s the fun in that?

If you’ve got a fairly well tuned 3D printer, you can print out and assemble this joystick by [Akaki Kuumeri] that snaps right onto the Xbox’s controller. Brilliantly designed to leverage the ability of 3D printers to produce compliant mechanisms, or flextures, you don’t even need any springs or fasteners to complete assembly.

The flexture gimbal works without traditional springs.

The free version of Thingiverse only lets you move the controller’s right analog stick, but if you’re willing to drop $30 USD on the complete version, the joystick includes additional levers that connect to the controller’s face and shoulder buttons for more immersive control. There’s even a throttle that snaps onto the left side of the controller, though it’s optional if you’d rather save the print time.

If you want to learn more about the idea behind the joystick, [Akaki] is all too happy to walk you through the finer parts of the design in the video below. But the short version is the use of a flextures in the base of the joystick opened up the space he needed to run the mechanical linkages for all the other buttons.

This isn’t the first time [Akaki] has used 3D printed parts to adapt a console controller for flight simulator use. A simplified version of this concept used ball-and-socket joints to move the Xbox’s analog sticks, and he even turned a PlayStation DualShock into an impressive flight yoke you could clamp to your desk.

Continue reading “Xbox Flexure Joystick Puts You In The Pilot’s Seat”

DualShock Flight Simulator Yoke

Aircraft control interfaces can be divided into stick or yoke, with the stick being more popular for flight simulators. [Akaki Kuumeri] has been designing some ingenious 3D printed adaptors for game console controllers, and his latest build is a yoke adaptor for the PlayStation DualShock Controller.

Like his previous joystick/throttle combination, this yoke makes use of a series of ball and socket links to convert the yoke’s push/pull and rotation motion into the appropriate inputs on the controller’s thumbs sticks. All the components are 3D printed except for rubber bands to provide spring tension. On the sliding contact surfaces between the different components, [Akaki] specifically designed the parts to slide along the grain (layer lines) to allow for smooth motion without resorting to bearings.

If you want an absolute minimalist yoke, tape some potentiometers to a desk drawer. Or you can go to the other end of the scale and build a complete cockpit. With the arrival of Microsoft Flight Simulator 2020, we’ll be seeing a lot of controller builds.

Turning A Desk Drawer Into A Flight Yoke

[Christofer Hiitti] found himself with the latest Microsoft Flight Simulator on his PC, but the joystick he ordered was still a few weeks out. So he grabbed an Arduino, potentiometers and a button and hacked together what a joke-yoke.

The genius part of this hack is the way [Christopher] used his desk drawer for pitch control. One side of a plastic hinge is attached to a potentiometer inside a drawer, while the other side is taped to the top of the desk. The second pot is taped to the front of the drawer for pitch control and the third pot is the throttle. It works remarkably well, as shown in the demo video below.

The linearity of the drawer mechanism probably isn’t great, but it was good enough for a temporary solution. The Arduino Leonardo he used is based on the ATmega32u4 which has a built-in USB, and with libraries like ArduinoJoystickLibrary the computer interface very simple. When [Christopher]’s real joystick finally arrived he augmented it with a button box built using the joke-yoke components.

There’s no doubt that Microsoft Flight Simulator 2020 will spawn a lot of great controller and cockpit builds over the next few years. We’ve already covered a new joystick build, and a 3D printed frame to turn an Xbox controller into a joystick.

Continue reading “Turning A Desk Drawer Into A Flight Yoke”

Xbox Controller Gets Snap On Joystick From Clever 3D-Printed Design

Ball and socket linkages make for smooth operation.

People making DIY controls to enhance flight simulators is a vibrant niche of engineering and hackery, and it sure looks like Microsoft Flight Simulator is doing its part to keep the scene lively. [Akaki Kuumeri]’s latest project turns an Xbox One gamepad into a throttle-and-stick combo that consists entirely of 3D printed parts that snap together without a screw in sight. Bummed out by sold-out joysticks, or just curious? The slick-looking HOTAS (hands on throttle and stick) assembly is only a 3D printer and an afternoon away. There’s even a provision to add elastic to increase spring tension if desired.

The design looks great, and the linkages in particular look very well thought-out. Ball and socket joints smoothly transfer motion from one joystick to the other, and [Akaki] says the linkages accurately transmit motion with very little slop.

There is a video to go with the design (YouTube link, embedded below) and it may seem like it’s wrapping up near the 9 minute mark, but do not stop watching because that’s when [Akaki] begins to go into hacker-salient details about of how he designed the device and what kinds of issues he ran into while doing so. For example, he says Fusion 360 doesn’t simulate ball and socket joints well, so he had to resort to printing a bunch of prototypes to iterate until he found the right ones. Also, the cradle that holds the Xbox controller was far more difficult to design than expected, because while Valve might provide accurate CAD models of their controllers, there was no such resource for the Xbox ones. You can watch the whole video, embedded below.

Continue reading “Xbox Controller Gets Snap On Joystick From Clever 3D-Printed Design”