Flying A Normally-Sized Drone With A Nano-Drone’s Brain

Drones come in all shapes and size, and [Kedar Nimbalkar] was wondering if the guts of a tiny Cheerson CX-10 nano-drone could take off with a larger body, leading to an interesting brain transplant experiment.

For his test, [Kedar] acquired a CX-10 and the body of a larger Syma X5SW drone. After gutting the CX-10 for its LiPo battery and circuit board, which features an STM32 ARM-core MCU, a 6-axis IMU and the wireless transmitter, [Kedar] studied the datasheet of the onboard SQ2310ES driver MOSFETs. He figured that with a maximum continuous current rating of 6A, they would probably be able to cope with the higher load of the slightly larger motors of the X5SW body. They also didn’t seem to overheat, so he just installed the board into the new body as-is and wired up the motors.

Continue reading “Flying A Normally-Sized Drone With A Nano-Drone’s Brain”

Drones, Clever Hacks, And CG Come Together For Star Wars Fan Film

We weren’t certain if this Star Wars fan film was out kind of thing until we saw the making of video afterwards. They wanted to film a traditional scene in a new way. The idea was to take some really good quadcopter pilots, give them some custom quadcopters, have them re-enact a battle in a scenic location, and then use some movie magic to bring it all together.

The quadcopters themselves are some of those high performance racing quadcopters with 4K video cameras attached. The kind of thing that has the power to weight ratio of a rocket ship. Despite what the video implies, they are unfortunately not TIE Fighter shaped. After a day of flying and a few long hikes to retrieve the expensive devices after inevitable crashes (which, fortunately, provided some nice footage), the next step was compositing.

However, how to trick the viewer into believing they were in a X-Wing quadcopter? A cheap way to do it would be to spend endless hours motion tracking and rendering a cockpit in place. It won’t look quite real. The solution they came up with is kind of dumb and kind-of brilliant. Mount a 3D printed cockpit on a 2×4 with a GoPro. Play the flight footage on a smartphone while holding the contraption. Try to move the cockpit in the same direction as the flight. We’re not certain if it was a requirement to also make whooshing and pew pew laser noises while doing so, but it couldn’t hurt.

In the end it all came together to make a goofy, yet convincingly good fan film. Nice work! Videos after the break.

Continue reading “Drones, Clever Hacks, And CG Come Together For Star Wars Fan Film”

A Drone Photosphere Is Worth 4000 Times Pi Words

One of the problems with a cheap drone is getting good video, especially in real time. Cheap hobby quadcopters often have a camera built-in or mounted in a fixed position. That’s great for fun shots, but it makes it hard to get just the right shot, especially as the drone tilts up and down, taking the camera with it. Pricey drones often have a gimbal mount to keep the camera stable, but you are still only looking in one direction.

Some cheap drones now have a VR (virtual reality) mode to feed signal to a headset or a Google Cardboard-like VR setup. That’s hard to fly, though, because you can’t really look around without moving the drone to match. You can mount multiple cameras, but now you’ve added weight and power drain to your drone.

MAGnet Systems wants to change all that with a lightweight spherical camera made to fit on a flying vehicle. The camera is under 2.5 inches square, weighs 62 grams, and draws less than 3 watts at 12 volts. It picks up a sphere that is 360 degrees around the drone’s front and back and 240 degrees centered directly under the drone. That allows a view of 30 degrees above the horizon as well as directly under the drone. There is apparently a different lens that can provide 280 degrees if you need that, although apparently that will add size and weight and be more suitable for use on the ground.

The software (see video below) runs on Windows or Android (they’ve promised an iOS version) and there’s no additional image processing hardware needed. The camera can also drive common VR headsets.

Continue reading “A Drone Photosphere Is Worth 4000 Times Pi Words”

Reverse Engineering Quadcopter Protocols

Necessity is the mother of invention, but cheap crap from China is the mother of reverse engineering. [Michael] found a very, very cheap toy quadcopter in his local shop, and issued a challenge to himself. He would reverse engineer this quadcopter’s radio protocol. His four-post series of exploits covers finding the right frequency for the radio, figuring out the protocol, and building his own remote for this cheap toy.

[Michael] was already familiar with the capabilities of these cheap toys after reading a Hackaday post, and the 75-page, four language manual cleared a few things up for him. The ‘Quadro-Copter’ operated on 2.4GHz, but did not give any further information. [Michael] didn’t know what channel the toy was receiving on, what data rate, or what the header for the transmission was. SDR would be a good tool for figuring this out, but thanks to Travis Goodspeed, there’s a really neat trick that will put a 2.4GHz nRF24L01+ radio into promiscuous mode, allowing [Michael] to read the transmissions between the transmitter and quadcopter. This code is available on [Michael]’s github.

A needle in an electromagnetic haystack was found and [Michael] could listen in on the quadcopter commands. The next step was interpreting the ones and zeros, and with the help of a small breakout board and soldering directly to the SPI bus on the transmitter, [Michael] was able to do just that. By going through the nRF24 documentation, he was able to suss out the pairing protocol and read the stream of bytes that commanded the quadcopter.

What [Michael] was left with is a series of eight bytes sent in a continuous stream from the transmitter to the toy. These bytes contained the throttle, yaw, pitch, roll, and a ‘flip’ settings, along with three bytes of ‘counters’ that didn’t seem to do anything.  With that info in hand, [Michael] took an Arduino Nano, an nRF04L01+ transceiver, and a Wii nunchuck to build his own transmitter. If you’re looking for a ‘how to reverse engineer’ guide, it generally doesn’t get better than this.

You can check out a video of [Michael] flying his Wiimoted quadcopter below.

Continue reading “Reverse Engineering Quadcopter Protocols”

Hackaday Links: June 19, 2016

Wait a minute. We’re almost through June and we haven’t seen anyone’s ‘DIY air conditioning’ setup. Oh the shame! How could we ever argue about thermodynamics otherwise? Here’s some copper tubing wrapped around a fan. Does it make sense? Assuming you’re making the ice (or cold whatever) in a room separated from the crappy air con, and you don’t have to pay for electricity (or ice), and you don’t mind hauling buckets of ice every few hours, yes. It’ll work. Now we can argue if you should put salt in the ice water…

I know I mentioned this in last week’s links post, but [Arsenijs]’s Raspberry Pi project is growing by leaps and bounds. He already has more than 33 followers to this project (awesome!) and 3.3k views on his project page. Not only is it climbing in popularity, but this is also a great use for the Raspberry Pi. You don’t see projects like this come around very often.

The Goliath is a quadcopter powered by a lawnmower engine. It was an entry in the first Hackaday Prize, but the project literally never got off the ground. There’s now a Mk. II version in the works. Goliath is getting a new frame made out of aluminum tube and rivets. There’s going to be ducts on the props, and this version might actually fly.

You did know Hackaday has it’s own Hackaspace, right? Technically it’s the Supplyframe Design Lab, but there are still a few skull ‘n wrenches hidden in the rafters. The Design Lab is hosting an open house this week on June 23rd, and the design lab residencies will begin July 1st. If you have an idea for something you’d like to build, here’s the residency application.

The LimeSDR is a powerful next generation software defined radio that’s currently on CrowdSupply The crowdfunding campaign ends in just a few days. It’s a very impressive tool, able to send and receive anything from 100 kHz to 3.8 GHz.

Last week one of our writers posted a review on the Monoprice MP Select Mini 3D printer. This printer is becoming stupidly popular, and Monoprice has depleted their inventory twice since then. I’ve been watching the product page for this printer for a while now, and here’s what happens: 1) Printer is out of stock, with an ETA of about a month in the future. 2) Printer is still out of stock, ETA is a few days away. 3) Monoprice has this printer in stock. This cycle seems to repeat every week or so.

Arduino Raycasting. When you think of raycasting, you probably think about Wolfenstein 3D, or other barely 3D games. You don’t need a powerful CPU like a 386 for raycasting – you can do it on an Arduino. The display is a 32×16 matrix of LEDs, control is through a Wii Nunchuck, and yes, head-bobbing is implemented. Here’s a video.

Easy DIY Telemetry Goes The Distance

[Paweł Spychalski] wrote in to tell us about some experiments he’s been doing, using cheap 433 MHz HC-12 radio units as a telemetry radio for his quadcopter.

In this blog post, he goes over the simple AT command set, and some of the limitations of the HC-12 part. Then he takes it out for a spin on his quadcopter, and finds out that his setup is good for 450 meters in an open field. Finally, he ties the radio into his quad’s telemetry system and tethers the other end to his cellphone through a Bluetooth unit for a sweet end-to-end system that only set him back around $20 and works as far out as 700 meters.

The secrets to [Paweł]’s success seem to be some hand-made antennas and keeping the baud rate down to a reasonable 9600 baud. We wonder if there’s room (or reason?) for improvement using a directional antenna on the ground. What say you, Hackaday Antenna Jockeys?

Also check out this very similar build where an ESP8266 replaces the Bluetooth module. And stashes it all inside a nice wooden box! Nice work all around.

Hackaday Prize Entry: Raspberry Pi Zeros And Drones

How do you get eyeballs on a blog post? Put Raspberry Pi Zero in the headline. How do you get even more eyeballs? Put the word drone in there too. Lucky for us, there’s one very special project in the Hackaday Prize that combines both. It’s the Pi0drone from [Victor], and it’s exactly what it looks like: a flying Raspberry Pi Zero.

[Victor] has been working on the PXFmini, a ‘shield’ or ‘hat’ for the Raspberry Pi that integrates a barometer, IMU, and a few PWM outputs into a very small form factor that is just a shade larger than the Raspberry Pi Zero itself. It comes with standard connector ports for UART and I2C to attach GPS and on screen display for FPV flying.

Of course, there are dozens of flight controllers for drones and quads out there, but very few are running Linux, and even fewer platforms are as well supported as the Raspberry Pi. To leverage this, [Victor] is running Dronecode on the Pi for mission planning, real autopilot, and everything else that turns a remote controlled quadcopter into a proper drone. It works, and it’s flying, and you can check out the video proof below.

Continue reading “Hackaday Prize Entry: Raspberry Pi Zeros And Drones”