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”

RC Transmitter Hacked Into Music Player

Packed with an incredible amount of hardware, and increasingly likely to be running an open source firmware, the modern RC transmitter is effectively a little multi-purpose computer in its own right. Accordingly there is a small, but growing, community of developers coming out with software applications targeting these switch-festooned wonders. It’s only a matter of time until they are running DOOM.

One such piece of software is TaraniTunes, developed by [GilDev]. This program allows you to load your OpenTX 2.2+ equipped Taranis Q X7 or Taranis X9D with music files which can be played on the transmitter’s built-in speaker. While it likely won’t win any awards for interface design, the large LCD display coupled with the radio’s numerous physical buttons and switches makes it relatively easy to navigate your music collection.

While the software [GilDev] has written for OpenTX looks straightforward enough, getting the songs on the radio is another story. For each track you need to merge the stereo channels into mono (as the transmitter only has a single speaker), and then convert it to a 32 kHz WAV. But don’t worry about the lack of ID3 tag information, TaraniTunes allows you to create a text file containing not only the filename of each track, but its name and artist.

We’ll admit this one should be filed away in the “Because I Can” category, but it’s still an impressive hack and a clever demonstration of the current state of RC transmitter technology.

Continue reading “RC Transmitter Hacked Into Music Player”