Microcontroller And IMU Team Up For Simple Flight Sim Controls

Classes are over at Cornell, and that means one thing: the students in [Bruce Land]’s microcontroller design course have submitted their final projects, many of which, like this flight control system for Google Earth’s flight simulator, find their way to the Hackaday tips line.

We actually got this tip several days ago, but since it revealed to us the previously unknown fact that Google Earth has a flight simulator mode, we’ve been somewhat distracted. Normally controlled by mouse and keyboard, [Sheila Balu] decided to give the sim a full set of flight controls to make it more realistic. The controls consist of a joystick with throttle, rudder pedals, and a small control panel with random switches. The whole thing is built of cardboard to keep costs down and to make the system easy to replicate. Interestingly, the joystick does not have the usual gimbals-mounted potentiometers to detect pitch and roll; rather, an IMU mounted on the top of the stick provides data on the stick position. All the controls talk to a PIC32, which sends the inputs over a serial cable to a Python script on the PC running Google Earth; the script simulates the mouse and keyboard commands needed to fly the sim. The video below shows [Sheila] taking an F-16 out for a spin, but despite being a pilot herself since age 16, she was curiously unable to land the fighter jet safely in a suburban neighborhood.

[Bruce]’s course looks like a blast, and [Sheila] clearly enjoyed it. We’re looking forward to the project dump, which last year included this billy-goat balancing Stewart platform, and a robotic ice cream topping applicator.

Continue reading “Microcontroller And IMU Team Up For Simple Flight Sim Controls”

Home Built Flight Sim Combines Virtual And Actual Reality

Virtual Reality (VR) and actual reality often don’t mix: watch someone play a VR game without seeing what they see and you see a lot of pointless-looking flailing around. [Nerdaxic] may have found a balance that works in this flight sim setup that mixes VR and AR, though. He did this by combining the virtual cockpit controls of his fight simulator with real buttons, knobs, and dials. He uses an HTC Vive headset and a beefy PC to create the virtual side, which is mirrored with a real-world version. So, the virtual yoke is matched with a real one. The same is true of all of the controls, thanks to a home-made control panel that features all of the physical controls of a Cessna 172 Skyhawk.

[Nerdaxic] has released the plans for the project, including his 3D printable knobs for throttle and fuel/air mixture and the design for the wooden panel and assembly that holds all of the controls in the same place as they are in the real thing. He even put a fan in the system to produce a gentle breeze to enhance the feel of sticking your head out of the window — just don’t try that on a real aircraft.

Continue reading “Home Built Flight Sim Combines Virtual And Actual Reality”

Homebrew Linear Actuators Put The Moves On This Motion Simulator

Breaking into the world of auto racing is easy. Step 1: Buy an expensive car. Step 2: Learn how to drive it without crashing. If you’re stuck at step 1, and things aren’t looking great for step 2 either, you might want to consider going with a virtual Porsche or Ferrari and spending your evenings driving virtual laps rather than real ones.

The trouble is, that can get a bit boring after a while, which is what this DIY motion simulator platform is meant to address. In a long series of posts with a load of build details, [pmvcda] goes through what he’s come up with so far on this work in progress. He’s building a Stewart platform, of the type we’ve seen before but on a much grander scale. This one will be large enough to hold a race car cockpit mockup, which explains the welded aluminum frame. We were most interested in the six custom-made linear actuators, though. Aluminum extrusions form the frame holding BLDC motor, and guide the nut of a long ball screw. There are a bunch of 3D-printed parts in the actuators, each of which is anchored to the frame and to the platform by simple universal joints. The actuators are a little on the loud side, but they’re fast and powerful, and they’ve got a great industrial look.

If car racing is not your thing and you’d rather build a full-motion flight simulator, here’s one that also uses DIY actuators.

Continue reading “Homebrew Linear Actuators Put The Moves On This Motion Simulator”

The Immersive Flight Simulator From 1989

The history of PC gaming showers games such a Wolfenstein 3D and Doom with the honor of having the most advanced graphics of the day. Often overlooked is Microsoft Flight Simulator and earlier, pre-Microsoft versions from subLOGIC, including the 1977 Apple II version. [Wayne Piekarski] was playing around with MS Flight Simulator 4 recently, and wanted it to be a bit more like his modern flight sim based on X-Plane 11. That meant multiple monitors, and the results are amazing.

The video and networking capabilities for MS Flight Sim 4, while very impressive for the late 80s, are still very limited. In 1989, computers only supported a single display, and while FS4 had the ability to network machines together for dogfighting, there was no way to set the camera viewpoint to the remote aircraft.

The solution to this problem came in the form of memory dumps. Since [Wayne] is running FS4 in DOSBox, he’s able to read the memory of one instance of the game, and write those memory locations to another instance of the game. There were only 18 bytes of memory in the instance of DOSBox that included heading, altitude, roll, and pitch information for the simulated aircraft. [Wayne] is sending this data to other instances of FS4 — effectively mirroring the game on another machine — and changing the camera view to look out the left and right windows. He displayed those views on additional monitors, and was done.

The results are exactly what you would expect. [Wayne] is now taking off from Meigs Field and buzzing the ten or twelve buildings in downtown Chicago with a panoramic 180° view. Check out the videos of that in action below.

Continue reading “The Immersive Flight Simulator From 1989”

A Next-Level Home-Built Flight Simulator

Every hobby needs to have a few people who take it just a little too far. In particular, the aviation hobbies – Radio control flying, FPV multicopter racing, and the like – seem to inspire more than their fair share of hard-core builds. In witness whereof we present this over-the-top home-brew flight simulator.

His wife and friends think he’s crazy, and we agree. But [XPilotSimPro] is that special kind of crazy that it takes to advance the state of the art, and we applaud him for that. A long-time fan of flight simulator games, he was lucky enough to log some time in a real 737 simulator. That seems to be where he caught the DIY bug. The video after the break is a whirlwind tour of the main part of his build, which does not seek to faithfully reproduce any particular cockpit as much as create a plausibly awesome one. Built on a PVC pipe frame with plywood panels, the cockpit is bristling with LCD panels, flight instruments, and bays of avionics that look like they came out of a cockpit. The simulator sits facing a wall with an overhead LCD projector providing views of the outside world. An overhead panel sporting yet more LCD panels and instruments was a recent addition. The whole thing is powered by a hefty looking gaming rig running X-Plane, allowing [XPilotSimPro] to take on any aviation challenge, including landing an Embraer 109 on the deck of the USS Nimitz Aircraft Carrier.

What could be next for [XPilotSimPro]’s simulator? How about adding a little motion control with pneumatics? Or better still, how about using a real 737 cockpit as a simulator?

Continue reading “A Next-Level Home-Built Flight Simulator”

Hackaday Links Column Banner

Hackaday Links: December 21, 2014

Most of the incredible flight simulator enthusiasts with 737 cockpits in their garage are from the US. What happens when they’re from Slovenia? They built an A320 cockpit. The majority of the build comes from an old Cyprus Airways aircraft, with most of the work being wiring up the switches, lights, and figuring out how to display the simulated world out of the cockpit.

Google Cardboard is the $4 answer to the Oculus Rift – a cardboard box and smartphone you strap to your head. [Frooxius] missed being able to interact with objects in these 3D virtual worlds, so he came up with this thing. He adapted a symbol tracking library for AR, and is now able to hold an object in his hands while looking at a virtual object in 3D.

Heat your house with candles! Yes, it’s the latest Indiegogo campaign that can be debunked with 7th grade math. This “igloo for candles” will heat a room up by 2 or 3 degrees, or a little bit less than a person with an average metabolism will.

Last week, we saw a post that gave the Samsung NX300 the ability to lock the pictures taken by the camera with public key cryptography. [g3gg0] wrote in to tell us he did the same thing with a Canon EOS camera.

The guys at Flite Test put up a video that should be handy for RC enthusiasts and BattleBot contenders alike. They’re tricking out transmitters, putting push buttons where toggle switches should go, on/off switches where pots should go, and generally making a transmitter more useful. It’s also a useful repair guide.

[Frank Zhao] made a mineral oil aquarium and put a computer in it. i7, GTX 970, 16GB RAM, and a 480GB SSD. It’s a little bigger than most of the other aquarium computers we’ve seen thanks to the microATX mobo, and of course there are NeoPixels and a bubbly treasure chest.

[Tom Sachs] Builds His Own Space Program

sachslunarcapsuleinterior

Born in the mid 60’s, [Tom Sachs] has always been fascinated with space, especially the Apollo program. Just like every kid of his generation, [Tom] imagined himself in Neil Armstrong’s and Buzz Aldrin’s boots, gazing over the lunar surface. He never gave up that dream, and years later as a successful modern artist, he built his own space program.

[Tom Sachs] is a master of bricolage . Taken from the French word for tinkering, Wikipedia defines bricolage as “… the construction or creation of a work from a diverse range of things that happen to be available, or a work created by such a process.”  The term could also describe the junkbox procurement methods we use on many of our own projects.

sachs-lunar-landerBoth [Tom’s] 2007 lunar program and his 2012 Mars program featured his astonishing lunar lander. Built from plywood, found items, and junk, the lander literally made us do a double take the first time we saw it. The attention to detail is incredible. At first glance one could mistake this for a simulator built by NASA themselves. After a few seconds the custom touches start to jump out, such as a “Thank You” garbage door from a fast food restaurant, or a bar stocked with tequila and vodka. The lander’s tools are not just for show either, as the gallery opens with a simulated space mission, which could best be described as a mix of art, improv, and an epic game of make-believe for adults.

[Tom’s] installations also include mission control, which in his Mars piece consisted of a dizzying array of screens, controls and an 80’s boombox. Dressed in the white shirt, thin tie, and horn rimmed glasses we’ve come to associate with NASA engineers of the 60’s, this is where [Tom] works. He truly is the engineer of this mission.

Editor’s Note [Tom] and the entire hacker community at large have a chance to go to space by entering The Hackaday Prize!

Continue reading “[Tom Sachs] Builds His Own Space Program”