Though amazing pieces of technology, drones are typically limited to just two functions: flying around and capturing footage. The DJI Mavic Pro is no exception. But thanks to this 3D printed claw, design by the Ruiz Brothers at Adafruit, your drone can actually interact with the environment. How awesome is that?
When complete, the drone can carry up to 2 pounds or 990 grams of weight. Sadly, that’s not quite enough to carry your groceries for you, but it’s definitely enough to hoist lighter items such as buckets, toys, or secret notes…
The claw opens and closes when the circuit playground detects light from the drone’s LED. Once you’ve mapped one of the controller’s buttons to turn the LED on and off, you’ll have your drone grasping in no time.
This project does require electronic assembly and light programming, so be sure to read the instructions carefully. Having said that, most of the work is already done for you — all that’s left is putting it together!
Electronics
Nuts and Bolts
Other
The first step is pretty simple: Print all the parts!
The files are available on Thingiverse as well as other 3D printing sites. The creators also shared the Fusion 360 files, so you could potentially modify the parts to your liking.
The circular case parts for the circuit playground must be printed in black, so that as little outside light enters as possible. This is important as our claw movements will be triggered by a light sensor inside the case.
There’s more than ten different parts, some of which require supports depending on how good your printer is. The top part of the case has a pretty big overhang, so the brothers recommend using soluble supports with those, if possible.
You’ll also need to print the JST, USB, and reset button extensions in flexible filament. These parts fit around the ports of the case and block out any light from those areas.
If you don’t own a 3D printer that can print all of this, worry not! It’s super easy to order the parts through the many professional printing services available — use All3DP’s Price Comparison Service to find the best offers and get it done.
We need to load some code (found here) onto our Circuit Playground Express to make everything work. Very simply, this snippet turns the servo (which opens and closes the claw) when the board detects light.
The easiest way to do this is through MakeCode. Connect your Playground to your computer via USB and make sure it’s in bootloader mode by pressing the reset button. You should see ‘CPLAYBOOT’ as a removable drive on your computer and the LEDs on the board flash green. Then, simply download the linked code and drop the .uf2 file into the drive. That’s it!
For more information on using MakeCode, click here.
Don’t forget to map the customization button to the drone’s LED! This let’s you trigger the claw with your controller.
To do this, simply connect your device to the controller and go to ‘remote controller settings’, as seen in the picture. Select “Turn on/off Head LEDs” for either C1 or C2, which are found on the bottom of the controller.
With all the parts gathered and the electronics ready to go, it’s time to put everything together! If you get lost, refer to the assembly page for more detailed instructions and pictures.
And with that, we’re done! If all goes well, your drone claw should be fully operational. Simply turn on the drone and trigger its LED button (as previously customized) and the claw will open and close.
The drone is ready to embark on new missions and explore further horizons. Who knows what the future holds?
License: The text of " Build a Claw for Your Drone" by All3DP is licensed under a Creative Commons Attribution 4.0 International License.