Open Source Motion Controller For DIY Drones

DJI recently introduced a slick motion controller that eschews the traditional dual-stick transmitter and allows you to fly their new “FPV Drone” with just one hand. The fact that it looks like it could double as the control stick for an X-Wing is just an added bonus. Unfortunately, that single model is the only thing the $199 USD controller is currently compatible with. Unwilling to get locked into the DJI ecosystem, [Paweł Spychalski] has developed an open source work-alike motion controller that brings gesture flying to home-built quadcopters and airplanes.

Now to be clear, you’ll still need a traditional transmitter to use this device. Rather than trying to reinvent the wheel, [Paweł] decided to implement his motion controller as an add-on for OpenTX hardware like the RadioMaster TX16S. It simply plugs into the trainer port on the back of the transmitter and acts as a secondary input. This greatly simplifies the design, as it essentially just needs to read angle data from its MPU-6050 gyro/accelerometer and forward it along to OpenTX over the serial port. Plus the fact that it’s connected to the trainer port means you can disable it and return to traditional controls in an instant if anything goes wrong.

Outside of the motion sensing gear, the ESP32-powered peripheral also has a thumb stick and a pair of push buttons nestled into its 3D printed frame. An OLED display provides some user feedback, and a holder for a 18650 cell is mounted to the back side as the controller will need its own power source when [Paweł] gets around to making its connection to the transmitter wireless.

In the video below, [Paweł] takes the motion controller for a test flight and comes away largely satisfied with the results. Some tweaks are in the works as you might expect for a first attempt, but nothing that would prevent you from building your own version today and experiencing what might be the next evolution of RC flying.

Continue reading “Open Source Motion Controller For DIY Drones”

Adding Remote Control To An Old Stereo

Sometimes, the best hifi gear is the gear you’ve already got. This is particularly the case in the cassette world, as high quality decks are long out of production. [Nick] liked his current rig, but wanted to be able to use it with a remote from across the room. Naturally, he set to hacking the feature in.

The cassette deck in question, a Yamaha K-220, was old enough to lack a remote, but thankfully new enough to use a computer-controlled tape transport. This meant that the basic features of play, stop, rewind and fast forward can all be controlled with simple digital buttons rather than mechanical ones. This made it easy to interface an ATmega328P to the stereo’s original circuitry. Digital IO pins are hooked up to the buttons, held as high-impedance inputs most of the time, only toggling to ground when necessary to trigger a button press. It was then a simple job to hook up an IR receiver to the chip and program it with some Arduino libraries to work with a typical stereo remote control [Nick] had laying around.

It’s a tidy build, and with more cool cassette releases coming out every year, we’re sure [Nick]’s going to put some miles on the setup. If you find IR too cumbersome though, you can go a step further and replace it with a web app instead. If you’ve been tinkering with similar things in your own workshop, be sure to drop us a line!

Remote Control Robot Deals Dominoes

Oh, dominoes — the fun of knocking them down is inversely proportional to the pain of setting them all up again. [DIY Machines] is saving loads of time by automating the boring part with a remote control domino-laying machine. If only it could pick them back up.

This machine can be driven directly over Bluetooth like an R/C car, or programmed to follow a predetermined path via Arduino code. Here’s how it works: an Arduino Uno drives two servos and one motor. The 1:90 geared motor drives the robot around using a 180° servo to steer. A continuous servo turns the carousel, which holds nearly 140 dominoes. We love that the carousel is designed to be hot-swappable, so you can keep a spare ready to go.

[DIY Machines] really thought of everything. Every dozen or so dominoes, the machine leaves a gap in case one of the dominoes is tipped prematurely. There are also a couple of accessories for it, like a speedy domino loading stick and a fun little staircase bridge to add to your domino creations. Though all the machine files are freely available, [DIY Machines] requests a small donation for the accessories files. Check out the complete build video after the break, followed by a bonus video that focuses on upgrading the machine with an HM10 Bluetooth module for controlling it directly with a phone.

This certainly isn’t the first domino-laying device we’ve seen, though it might be the most accessorized. [Matthias Wandel]’s version uses only one motor to move and deal the dominoes.

Continue reading “Remote Control Robot Deals Dominoes”

RC Lawn Mower Cuts With Impunity

Grass is a lovely thing to have, but unfortunately it tends to grow excessively long if left unattended. Obviously, one can use a regular lawn mower, but [Daniel] of [rctestflight] decided to build something remote-control instead. (Video, embedded below.)

To get started, [Daniel] fitted X-acto blades to a brushless outrunner motor, and tested their ability to cut grass. Satisfied with the performance, he built a trailer to tow behind an RC tank mounted to such a setup, with some success. With the concept beginning to bear fruit, he went with a clean sheet design for maximum performance.

The final build relies on an RC rock-crawler chassis, fitted with a brushless motor using field oriented control for maximum torque at low speeds. This allows the RC mower to slowly push through the grass without overwhelming the cutter heads. As for the cutter heads, the final rig has eight motors, each sporting two blades to chop down long field grasses with impunity.

[Daniel] notes that it’s remarkably fun to cut the grass in this way, and is surprised not to have seen more builds in this area. (Editor’s note: he needs to read more Hackaday.) Of course, we’ve seen plenty of autonomous builds, too.

Continue reading “RC Lawn Mower Cuts With Impunity”

A Rocket Powered Ejection Seat For Model Aircraft

As radio control planes don’t typically have human pilots onboard, the idea of installing an ejection seat in one is somewhat frivolous. But that doesn’t mean it wouldn’t be a lot of fun, and [James Whomsley] has set his mind to achieving the task.

The build process is an iterative one, with [James] solving problems step-by-step and testing along the way. The first task was to successfully launch a small action figure and his flight seat vertically in a controlled fashion. After a few attempts, a combination of rocket motors and guide rails were settled upon that could achieve the goal. Next up, a drogue parachute system was designed and tested to stabilize the seat at the height of its trajectory. Further work to come involves handling seat separation and getting the action figure safely back to the ground.

While action figures aren’t alive and the ejection seat serves no real emergency purpose, we can imagine it would be a hit at the local flying field – assuming the parachutes don’t get tangled in someone else’s model. For those interested in the real technology, our own [Dan Maloney] did a great piece on the topic. Video after the break.

Continue reading “A Rocket Powered Ejection Seat For Model Aircraft”

Robust Water-Rocket Launcher Gets The Engineering Just Right

Normally when we run across a project that claims to be overengineered, we admit that we get a little excited. Such projects always hold the potential for entertainingly over-the-top designs, materials, and methods. In this case, though, we’ll respectfully disagree with [Zach Hipps] assessment of his remote-controlled soda bottle rocket launcher as “overengineered”. To us, it seems just right.

That’s not to take away from anything accomplished with this build. Indeed, we’re mighty impressed by the completeness of the build, which was intended to create a station for charging and launching air-powered water rockets. The process started with a prototype, built mainly from 3D-printed parts but with a fair selection of workshop scraps to hold it together. This allowed [Zach] to test the geometry of the parts, operation of the mechanism, and how it interfaced with the flange on the necks of 2-liter soda bottles.

Honestly, the prototype was pretty good by itself and is probably where many of us would have stopped, but [Zach] kept going. He turned most of the printed parts into machined aluminum and Delrin, making for a very robust pneumatically operated stand. We’ve got to say the force with which the jaws close around the bottle flange is a bit scary — looks like it could easily clip off a wayward finger. But if he manages to avoid that fate, such a hearty rig should keep [Zach] flying for a long time. Perhaps it could even launch a two-stage water rocket?

Continue reading “Robust Water-Rocket Launcher Gets The Engineering Just Right”

Scratching That Itch

I did something silly. I bought a lot of ten “broken” cheesy indoor quadcopters on eBay — to hopefully cobble one working one together and to amuse my son. At this point, I’ve got eight working. The bad news is that they all come with dirt-cheap transmitters that aren’t really conducive to flying at all. They’d be a lot more fun if they could be controlled with a real remote. Enter the hackers.

Most all of the cheap quads are based on one of a handful of radio chipsets, although they use different protocols. An enterprising hacker could conceivably just bundle together this handful of radio modules, and the rest would be a simple matter of software. That’s exactly what Pascal Langer’s DIY Multiprotocol TX and supporting firmware does. This hobby project was so successful that compatible hardware is manufactured by more than a few Chinese companies, and non-geeks have them installed in their radios. The module lets you control virtually anything that uses 2.4 GHz. Of course, I’ve got one of them.

I opened up the cheesy drone’s transmitter, found that it used a popular chipset, and worked through all the different supported protocols that used it. No dice. But the radio module did have nicely labeled SPI lines, so I reached out to Pascal. A couple of Sigrok sessions later, he’d figured out that it was trying to bind on a different channel, I’d recompiled the firmware, and was playing with the drone’s other functions.

I just love a good SPI-sniffing session. sigrok-cli -d fx2lafw -c samplerate=4000000 -P spi:clk=D0:mosi=D1:cs=D2 -A spi="mosi transfer" --continuous | grep A0 | uniq reads the SPI lines, decodes the packets, filters out the commands, and removes duplicates, in real-time. All that’s left to do is wiggle the sticks, mash buttons, and take good notes.

None of this was hard, and certainly none of it was expensive. I got my drones under the control of my fancy-schmancy remote, and have a good foothold into controlling them algorithmically later on thanks to everyone’s previous work on reverse engineering these protocols. Support for DF Drone’s SkyTumbler will be included in the next DIY Multiprotocol TX release, and I spent about four or five pleasant hours on this project. Maybe only a handful of people will stumble on this particular protocol — or maybe it will just be me. I did it mostly just to scratch my own particular itch.

But that’s one way open source works, thrives, and grows. Here’s to you all out there, from the Deviation team, who did a lot of the early drone protocol reverse engineering, to Pascal for the DIY Module, to the Sigrok folks who made the tools accessible for me to piggyback on everyone’s previous work. Keep on hacking!