DIY Mini Quadcopter with 3D-Printed Frame and Custom Firmware




DIY Mini Quadcopter

I wanted to try my hand at a true “DIY” project, designing and building my own micro quadcotper frame and writing my own firmware in C++.  In this post I will describe the frame and build; in my next post I will talk about the firmware.

Excluding stuff I had lying around the shop, (heat-shrink tubing, EC-3 connectors, velcro, cable ties, etc.) the cost came to just under $170:

Here’s the frame, fresh out of my LulzBot Mini printer:

Before adding any components, I inserted a velcro tie to keep the battery in place:

Here’s the amazing RMRC BLHeli 4-in-1 ESC with motors and EC-3 battery connector soldered on:

Here’s the BLHeli mounted on the frame.  I should’ve used the thinner (4.5mm) standoffs on top and bottom to avoid damaging the circuit!

Next it was time to make a custom jumper for the tiny 3V FrSky-compatible CPPM receiver, which is not 5V tolerant.  I un-soldered the 3V Spektrum header from the Flip32 and jury-rigged a little three-pin jumper connection:

READ  Slave Flash Trigger

Here’s the super-tiny FrSky-compatible receiver from Curtis “Beef” Fissel (of Beef’s Brushed Board fame). This photo shows the receiver after I soldered on a three-pin header, solder-bridged the bind pads, connected it to the Flip32, powered the Flip32 through the USB port bound the receiver to my Taranis, and un-soldered the bridge:

You can see the completed project at the top of this post.  Although I could have used Baseflight or Cleanflight to configure the board, I used my own C++ firmware, adapted mostly from Baseflight.  Having never configured such a tiny vehicle before, I struggled for a while with the PID settings.  Eventually I just divided all the default values by two, and that worked fine, giving me the smooth flight shown in the video.

In a follow-up post I’ll discuss the C++ firmware that’s flying the ‘copter.

For more detail: DIY Mini Quadcopter with 3D-Printed Frame and Custom Firmware




Leave a Comment

*
= 3 + 8

Read previous post:
A pic programmer circuit based on AN589
A pic programmer circuit based on AN589 using pic microcontoller

AN589 is microchip's application note for a parallel port pic programmer circuit which I chose as I wanted something reliable...

Close
Scroll to top