Build Your Own Force-Feedback Joystick

Force feedback joysticks are prized for creating a more realistic experience when used with software like flight sims. Sadly, you can’t say the same thing about using them with mech games, because mechs aren’t real. In any case, [zeroshot] whipped up their own stick from scratch for that added dose of realistic feedback in-game.

[zeroshot] designed a simple gimbal to allow the stick to move in two axes, relying primarily on 3D-printed components combined with a smattering of off-the-shelf bearings. For force feedback, an Arduino Micro uses via TMC2208 stepper drivers to control a pair of stepper motors, which can apply force to the stick in each axis via belt-driven pulleys. Meanwhile, the joystick’s position on each axis is tracked via magnetic encoders. The Arduino feeds this data to an attached computer by acting as a USB HID device.

We’ve seen some other great advanced joystick projects over years, too. Never underestimate how much a little haptic feedback can add to immersion.

Continue reading “Build Your Own Force-Feedback Joystick”

Porting A Fortran Flight Simulator To Unity3D

There’s an old saying (paraphrasing a quote attributed to Hoare): “I don’t know what language scientists will use in the future, but I know it will be called Fortran.” The truth is, there is a ton of very sophisticated code in Fortran, and if you want to do something more modern, it is often easier to borrow it than to reinvent the wheel. When [Valgriz] picked up a textbook on aircraft simulation, he noted that it had an F-16 simulation in it. In Fortran. The challenge? Port it to Unity3D.

If you have a gamepad, you can try the result. However, the real payoff is the blog posts describing what he did. They go back to 2021, although the most recent was a few months ago, and they cover the entire process in great detail. You can also find the code on GitHub. If you are interested in flight simulation, flying, Fortran, or Unity3D, you’ll want to settle in and read all four posts. That will take some time.

Continue reading “Porting A Fortran Flight Simulator To Unity3D”

What Will It Take To Restore A Serious Flight Simulator?

[Jared] managed to find a professional FAA-certified flight simulator at an auction (a disassembled, partial one anyway) and wondered, what would it take to rebuild it into the coolest flight sim rig ever?

In a video, [Jared] gives a tour of the system and highlights the potential as well as pointing out challenges and drawbacks. Fortunately the system is of a modular design overall, and the motion control system is documented. The chassis and physical parts are great, but the avionics stack is a mixed bag with some missing parts and evidence of previous tinkering — that part being not quite so well documented.

Conceptually, a mid-tier gaming rig with a wraparound display will take care of the flight software part, and some custom electronics work (and probably a Raspberry Pi or three) will do for interfacing to various hardware elements. But a lot of details will need to be worked out in order to turn the pile of components into an entertaining flight sim rig, so [Jared] invites anyone who is interested to join him in collaborating on innovative approaches to the myriad little challenges this build presents.

We’ve seen the community pull off some clever things when it comes to flight sims, so we know the expertise is out there.

Continue reading “What Will It Take To Restore A Serious Flight Simulator?”

Cranking Up The Detail In A Flight Simulator From 1992

Nostalgia is a funny thing. If you experienced the early days of video games in the 1980s and 90s, there’s a good chance you remember those games looking a whole lot better than they actually did. But in reality, the difference between 2023’s Tears of the Kingdom and the original Legend of Zelda is so vast that it can be hard to reconcile the fact that they’re both in the same medium. Of course, that doesn’t mean change the way playing those old games actually makes you feel. If only there was some way to wave a magic wand and improve the graphics of those old titles…

Well, if you consider Ghidra and a hex editor to be magic wands in our community, making that wish come true might be more realistic than you think. As [Alberto Marnetto] explains in a recent blog post, decompiling Stunt Island and poking around at the code allows one to improve the graphical detail level in the flight simulator by approximately 800%. In fact, it’s possible to go even higher, though at some point the game simply becomes unplayable.

Continue reading “Cranking Up The Detail In A Flight Simulator From 1992”

Hackaday Links Column Banner

Hackaday Links: October 20, 2024

When all else fails, there’s radio. Hurricane Helene’s path of destruction through Appalachia stripped away every shred of modern infrastructure in some areas, leaving millions of residents with no ability to reach out to family members or call for assistance, and depriving them of any news from the outside world. But radio seems to be carrying the day, with amateur radio operators and commercial broadcasters alike stepping up to the challenge.

Continue reading “Hackaday Links: October 20, 2024”

Put More Korry In Your Flight Sim Switches

Never underestimate how far some flight simulator aficionados will go with their builds. No detail is too small, and every aspect of the look and feel has to accurately reflect the real cockpit. As a case in point, check out these very realistic Korry buttons that [Santi Luib III] built for an Airbus A320 simulator.

Now, you might never have heard of a “Korry button” before, but chances are you’ve seen them, at least in photos of commercial or military aircraft cockpits. Korry is a manufacturer of switches and annunciators for the avionics industry, and the name has become shorthand for similar switches. They’ve got a very particular look and feel and are built to extremely high standards, as one hopes that anything going into a plane would be. That makes the real switches very expensive, far more so than even the most dedicated homebrew sim builder would be comfortable with.

That’s where [Santi] comes in. His replica Korry buttons are built from off-the-shelf parts like LEDs and switches mounted to custom PCBs. The PCB was designed for either momentary or latching switches, and can support multiple LEDs in different colors. The assembled PCBs snap into 3D printed enclosures with dividers to keep light from bleeding through from one legend to the other.

The lenses are laser-cut translucent acrylic painted with urethane paint before the legends are engraved with a laser. The attention to detail on the labels is impressive. [Santi]’s process, which includes multiple coats of sealers, gets them looking just right. Even the LEDs are carefully selected: blue LEDs are too bright and aren’t quite the proper shade, so [Santi] uses white LEDs that are dimmed down with a bigger resistor and a light blue photographic gel to get the tint just right.

These buttons are just beautiful, and seeing a panel full of them with the proper back-lighting must be pretty thrilling. If civil aviation isn’t your thing, check out this A-10 “Warthog” cockpit sim, and the cool switches needed to make it just right.

Continue reading “Put More Korry In Your Flight Sim Switches”

Car Driving Simulators For Students, Or: When Simulators Make Sense

There are many benefits to learning to fly an airplane, drive a racing car, or operate some complex piece of machinery. Ideally, you’d do so in a perfectly safe environment, even when the instructor decides to flip on a number of disaster options and you find your method of transportation careening towards the ground, or the refinery column you’re monitoring indicating that it’s mere seconds away from going critical and wiping out itself and half the refinery with it.

Still, we send inexperienced drivers in cars onto the roads each day as they either work towards getting their driving license, or have passed their driving exam and are working towards gaining experience. It is this inexperience with dangerous situations and tendency to underestimate them which is among the primary factors why new teenage drivers are much more likely to end up in crashes, with the 16-19 age group having a fatal crash nearly three times as high as drivers aged 20 and up.

After an initial surge in car driving simulators being used for students during the 1950s and 1960s, it now appears that we might see them return in a modern format.

Continue reading “Car Driving Simulators For Students, Or: When Simulators Make Sense”