Hackaday Links Column Banner

Hackaday Links: April 11, 2021

Bad news, Martian helicopter fans: Ingenuity, the autonomous helicopter that Perseverance birthed onto the Martian surface a few days ago, will not be taking the first powered, controlled flight on another planet today as planned. We’re working on a full story so we’ll leave the gory details for that, but the short version is that while the helicopter was undergoing a full-speed rotor test, a watchdog timer monitoring the transition between pre-flight and flight modes in the controller tripped. The Ingenuity operations team is going over the full telemetry and will reschedule the rotor test; as a result, the first flight will occur no earlier than Wednesday, April 14. We’ll be sure to keep you posted.

Anyone who has ever been near a refinery or even a sewage treatment plant will have no doubt spotted flares of waste gas being burned off. It can be pretty spectacular, like an Olympic torch, but it also always struck us as spectacularly wasteful. Aside from the emissions, it always seemed like you could at least try to harness some of the energy in the waste gasses. But apparently the numbers just never work out in favor of tapping this source of energy, or at least that was the case until the proper buzzword concentration in the effluent was reached. With the soaring value of Bitcoin, and the fact that the network now consumes something like 80-TWh a year, building portable mining rigs into shipping containers that can be plugged into gas flaring stacks at refineries is now being looked at seriously. While we like the idea of not wasting a resource, we have our doubts about this; if it’s not profitable to tap into the waste gas stream to produce electricity now, what does tapping it to directly mine Bitcoin really add to the equation?

What would you do if you discovered that your new clothes dryer was responsible for a gigabyte or more of traffic on your internet connection every day? We suppose in this IoT world, such things are to be expected, but a gig a day seems overly chatty for a dryer. The user who reported this over on the r/smarthome subreddit blocked the dryer at the router, which was probably about the only realistic option short of taking a Dremel to the WiFi section of the dryer’s control board. The owner is in contact with manufacturer LG to see if this perhaps represents an error condition; we’d actually love to see a Wireshark dump of the data to see what the garrulous appliance is on about.

As often happens in our wanderings of the interwebz to find the very freshest of hacks for you, we fell down yet another rabbit hole that we thought we’d share. It’s not exactly a secret that there’s a large number of “Star Trek” fans in this community, and that for some of us, the way the various manifestations of the series brought the science and technology of space travel to life kick-started our hardware hacking lives. So when we found this article about a company building replica Tricorders from the original series, we followed along with great interest. What we found fascinating was not so much the potential to buy an exact replica of the TOS Tricorder — although that’s pretty cool — but the deep dive into how they captured data from one of the few remaining screen-used props, as well as how the Tricorder came to be.

And finally, what do you do if you have 3,281 drones lying around? Obviously, you create a light show to advertise the launch of a luxury car brand in China. At least that’s what Genesis, the luxury brand of carmaker Hyundai, did last week. The display, which looks like it consisted mostly of the brand’s logo whizzing about over a cityscape, is pretty impressive, and apparently set the world record for such things, beating out the previous attempt of 3,051 UAVs. Of course, all the coverage we can find on these displays concentrates on the eye-candy and the blaring horns of the soundtrack and gives short shrift to the technical aspects, which would really be interesting to dive into. How are these drones networked? How do they deal with latency? Are they just creating a volumetric display with the drones and turning lights on and off, or are they actually moving drones around to animate the displays? If anyone knows how these things work, we’d love to learn more, and perhaps even do a feature article.

A Look At The “Risky” Tech In NASA’s Martian Helicopter

On February 18th, the Perseverance rover safely touched down on the Martian surface. In the coming days and weeks, the wide array of instruments and scientific payloads tucked aboard the robotic explorer will spring to life; allowing us to learn more about the Red Planet. With a little luck, it may even bring us closer to determining if Mars once harbored life as we know it.

Among all of the pieces of equipment aboard the rover, one of the most intriguing must certainly be Ingenuity. This small helicopter will become the first true aircraft to take off and fly on another planet, and in a recent interview with IEEE Spectrum, operations lead [Tim Canham] shared some fascinating details about the vehicle and some of the unorthodox decisions that went into its design.

Ingenuity’s downward facing sensors.

[Tim] explains that, as a technology demonstrator, the team was allowed to take far more risks in developing Ingenuity than they would have been able to otherwise. Rather than sticking with legacy hardware and software, they were free to explore newer and less proven technology.

That included off-the-shelf consumer components, such as a laser altimeter purchased from SparkFun. It also means that the computational power packed into Ingenuity far exceeds that of Perseverance itself, though how well the helicopter’s smartphone-class Snapdragon 801 processor will handle the harsh Martian environment is yet to be seen.

On the software side, we also learn that Ingenuity is making extensive use of open source code. Not only is the onboard computer running Linux, but the vehicle is being controlled by an Apache 2.0 licensed framework developed by NASA’s Jet Propulsion Laboratory for CubeSats and other small spacecraft. The project is available on GitHub for anyone who wants it, and according to the changelog, the fixes and improvements required for the “Mars Helicopter Project” were merged in a few releases ago.

The fact that code currently ticking away on the surface of Mars can be downloaded and implemented into your own DIY project is a revelation that’s not lost on [Tim]. “It’s kind of an open-source victory because we’re flying an open-source operating system and an open-source flight software framework and flying commercial parts that you can buy off the shelf if you wanted to do this yourself someday.”

Of course, it took a whole lot more than some Python libraries and a handful of sensors from SparkFun to design and build the first space-going helicopter. But the fact that even a small slice of the technology inside of a project like Ingenuity is now available to the average hacker and maker is a huge step towards democratizing scientific research here on Earth.

Continue reading “A Look At The “Risky” Tech In NASA’s Martian Helicopter”

Manned Electric Helicopter With 7 Tail Rotors

One of the best things to come from the growing drone industry is the development of compact and powerful brushless motors. We’ve seen several multi-rotors capable of carrying a human, but electric helicopters are rare. [OskarRDA] decided to experiment with this, converting his single-seat ultralight helicopter to electric power and giving it seven tail rotors in the process. Flight footage after the break.

The helicopter in question started life as a Mosquito Air, a bare-bones kit helicopter originally powered by a two-stroke engine. The engine and gearbox were replaced with an EMRAX 228 109 kW brushless motor. Initially, he used the conventional drive-shaft powered tail rotor but wanted to experiment with multiple smaller rotors powered by separate motors, which has several advantages. He only really needed four of the 5008 or 5010 size motors with 18″ props to get comparable thrust, but he added more for redundancy. The new setup was also lighter, even with its independent batteries, at 7.5 kg compared to the 8.1 kg of the old tail rotor assembly.

One of the major advantages of a conventional helicopter over a multirotor is the ability to autorotate safely to the ground if the engine fails. A coupled tail rotor bleeds some energy from the main rotor while autorotating, but since the tail rotor has independent power in this case, it allows all the energy to be used by the main rotor, theoretically decreasing decent speed by 120 feet per second. [OskarRDA] did some engine failure and autorotation test flights, and the results were positive. He likes his new tail rotors enough that he doesn’t plan on going back to a single large rotor.

Power for the main motor is provided by a 7.8 kWh, 40 kg LiPo battery pack mounted beneath the seat. Theoretically, this would allow flight times of up to 27 minutes, but [OskarRDA] has kept most of his flights to 10 minutes or less. He didn’t add any electronic gyro for stabilization, but he did add some electronic coupling between the main motor and tail motors, to reduce the torque correction required by the pilot. Even so, it is clear from the flight footage that [OskarRDA] is a skilled helicopter pilot. Continue reading “Manned Electric Helicopter With 7 Tail Rotors”

An Up-Close Look At The First Martian Helicopter

The news was recently abuzz with stories of how the Mars 2020 mission, which launched from Cape Canaveral at the end of July, had done something that no other spacecraft had done before: it had successfully charged the batteries aboard a tiny helicopter that is hitching a ride in the belly of the Mars 2020 rover, Perseverance.

Although the helicopter, aptly named Ingenuity, is only a technology demonstrator, and flight operations will occupy but a small fraction of the time Mars 2020 is devoting to its science missions, it has still understandably captured the popular imagination. This will be humanity’s first attempt at controlled, powered flight on another planet, after all, and that alone is enough to spur intense interest in what amounts to a side-project for NASA. So here’s a closer look at Ingenuity, and what it takes to build a helicopter that will explore another world.

Continue reading “An Up-Close Look At The First Martian Helicopter”

Hackaday Podcast 074: Stuttering Swashplate, Bending Mirrors, Chasing Curves, And Farewell To Segway

Hackaday editors Elliot Williams and Mike Szczys recap a week of hacks. A telescope mirror that can change shape and a helicopter without a swashplate lead the charge for fascinating engineering. These are closely followed by a vibratory wind generator that has no blades to spin. The Open Source Hardware Association announced a new spec this week to remove “Master” and “Slave” terminology from SPI pin names. The Segway is no more. And a bit of bravery and rock solid soldering skills can resurrect that Macbook that has one dead GPU.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 074: Stuttering Swashplate, Bending Mirrors, Chasing Curves, And Farewell To Segway”

Building And Flying A Helicopter With A Virtual Swashplate

They say that drummers make the best helicopter pilots, because to master the controls of rotary-wing aircraft, you really need to be able to do something different with each limb and still have all the motions coordinate with each other. The control complexity is due to the mechanical complexity of the swashplate, which translates control inputs into both collective and cyclical changes in the angle of attack of the rotor blades.

As [Tom Stanton] points out in his latest video, a swashplate isn’t always needed. Multicopters dispense with the need for one by differentially controlling four or more motors to provide roll, pitch, and yaw control. But thanks to a doctoral thesis he found, it’s also possible to control a traditional single-rotor helicopter by substituting flexible rotor hinges and precise motor speed control for the swashplate.

You only need to watch the slow-motion videos to see what’s happening: as the motor speed is varied within a single revolution, the tips of the hinged rotor blades lead and lag the main shaft in controlled sections of the cycle. The hinge is angled, which means the angle of attack of each rotor blade changes during each rotation — exactly what the swashplate normally accomplishes. As you can imagine, modulating the speed of a motor within a single revolution when it’s spinning at 3,000 RPM is no mean feat, and [Tom] goes into some detail on that in a follow-up video on his second channel.

It may not replace quadcopters anytime soon, but we really enjoyed the lesson in rotor-wing flight. [Tom] always does a great job of explaining things, whether it’s the Coandă effect or anti-lock brakes for a bike.

Continue reading “Building And Flying A Helicopter With A Virtual Swashplate”

Mars 2020 Rover: Curiosity’s Hi-Tech Twin Is Strapped For Science; Includes A Flying Drone

While Mars may be significantly behind its sunward neighbor in terms of the number of motor vehicles crawling over its surface, it seems like we’re doing our best to close that gap. Over the last 23 years, humans have sent four successful rovers to the surface of the Red Planet, from the tiny Sojourner to the Volkswagen-sized Curiosity. These vehicles have all carved their six-wheeled tracks into the Martian dust, probing the soil and the atmosphere and taking pictures galore, all of which contribute mightily to our understanding of our (sometimes) nearest planetary neighbor.

You’d think then that sending still more rovers to Mars would yield diminishing returns, but it turns out there’s still plenty of science to do, especially if the dream of sending humans there to explore and perhaps live is to come true. And so the fleet of Martian rovers will be joined by two new vehicles over the next year or so, lead by the Mars 2020 program’s yet-to-be-named rover. Here’s a look at the next Martian buggy, and how it’s built for the job it’s intended to do.

Continue reading “Mars 2020 Rover: Curiosity’s Hi-Tech Twin Is Strapped For Science; Includes A Flying Drone”