How to build your own drone

How to build your own drone

Quadcopters (drones) used to take hours of practice to master, as even the simplest manoeuvres, such as takeoff and landing, could prove difficult. Learning to fly one took time and determination – and before you even took to the skies there was the small matter of building one.

Now that there's a good selection of pre-built and programmed drones on the market, you can go into major High Street retailers and buy one directly off the shelf. Drones such as the Parrot Bebop and DJI Phantom have revolutionised the market, and slowly  drones are appearing with advanced flight features that make flying and controlling them much easier.

The big turning point in drone design was when they got intelligent, thanks to small processors being placed onboard that were able to stabilise flight and apply advance features, such as auto-braking, takeoff and landing –these enabled the pilot to get on with having fun rather than worrying about the mechanics and programming. 

As the availability of commercial drones has increased in popularity, so have the open hardware and software communities. The latest open source drones are challenging their more expensive rivals with advanced features, such as object avoidance and GPS navigation.

This challenge to the commercial models is no real surprise, and you don't have to look too far into the DIY drone community to find that many of the main manufacturers are extremely active in the open source world, and regularly contribute to and support those wishing to build their own; companies such as 3D Robotics, for example, sell autopilot systems that can be programmed through software applications such as Mission Planner.

3D Robotics involvement in the community is apparent when you take a closer look at one of its drones. Peek under the hood of the 3DR SOLO and you'll see that it's Linux based. The company also runs a huge education program, and a full SDK is available for the SOLO.

We're going to take a look at building a basic drone from this recent open source community project with the latest Raspberry Pi Zero and Erle Robotics PXFMini.

Once you've finished this project, head over to our How to fly your DIY Raspberry Pi drone article to find out how to calibrate and fly your new drone.

How to build your own drone

The small size of the Pi Zero makes soldering tricky so make sure you have plenty of light and rub the pins with some Wet and Dry to help the solder stick.

What you need

Getting started

The first step is to prepare the Raspberry Pi Zero and PXFmini. Fitting the two together is relatively simple once the 40-pin GPIO connector has been soldered onto the Raspberry Pi Zero. The connector is simply a set of two lines of pins that slot into the top of the Zero and corresponding socket on the PXFMini.

The cost of the Pi Zero's basic board is low at just £4 ($5, around AU$7), but for this project you really need to get the starter kit that includes the unpopulated 40-pin GPIO connector, Mini USB and HDMI cables. A USB hub is also a good idea so that you can connect a keyboard mouse and Wi-Fi dongle.

You'll actually end up with two 40-pin connectors if you buy this as there's one included with the PXFMini but it's worth paying for the other connectors along with the Raspberry Pi Zero.

Soldering in the pins can be a bit of a challenge due to the small size of the board and you must also make sure that the pins have enough length above the board to interface with the PXFMini.

The easiest way to do this is to use some Blu-Tack. We also found that by sanding the pins with a bit of Wet and Dry or fine emery cloth helps the solder to stick.

How to build your own drone

Each motor is controlled by a separate electronic speed controller (ESC).

To prepare the board place the GPIO pins into the Raspberry Pi Zero and turn the board over so you can see the pins coming through the board. Put it on the table so that it's at about a 45 degree angle and use a bit of Blu-Tack (or Sticky Tack, or any similar material) to secure.

Now push the pins so that there's only a small portion – a maximum of 1mm – appearing through the board, and use Tack to secure the position of the pins at one end of the board. The Blu-Tack needs to be positioned on pins that we're not soldering at first, then once one end of the pins is soldered and secured we can remove the Tack and finish the job. If the Tack gets hot then it will burn and become difficult to remove.

You'll need to solder all the pins and make sure that you avoid any dry solders. A fine-tipped soldering iron with a new tip will make your life easier if you're not used to soldering.

Latest in Drones
The DJI Mavic 3 Pro in flight over some mountains
Upcoming DJI Mavic 4 Pro premium drone could deliver new camera skills and LiDAR – here’s what the latest leaks tell us
V-Copter Falcon Mini drone in flight over the ocean alongside cliff
Zero Zero Robotics unveils world’s first sub-250g bi-copter drone with 'lightning fast acceleration' and 'unmatched agility'
Potensic Atom 2 drone on a car bonnet, with user in background holding controller ready for takeoff
The new Potensic Atom 2 is a DJI Mini 4K-rivaling beginner drone with impressive flight features
DJI Flip alongside DJI Neo drone with split purple / cyan background
DJI Flip vs DJI Neo: which of these new type of multi-use drones is best for beginners?
DJI Flip drone in flight, snowy mountain backdrop, person piloting using the RC2 controller in foreground
DJI is trusting users to fly their drones safely, and it's as bad an idea as it sounds
The DJI Mavic 3 Pro in flight over some mountains
DJI Mavic 4 Pro leaks show it could improve my favorite camera drone with a redesigned triple camera module
Latest in How Tos
Trinity Rodman #2 of the Washington Spirit crosses the ball during a game between Bay FC and Washington Spirit at Audi Field on November 10, 2024 in Washington, DC.
National Women's Soccer League 2025: How to watch NWSL games live from anywhere
AMD Radeon RX 6000 Series Graphics Card on top wooden desk beside a keyboard
How to update AMD GPU drivers
tiktok
How to edit TikTok videos
Using an Amazon Fire Stick on a Smart TV
How to use a VPN with Fire Stick
Irish boxer TJ Doheny receives an undercard bout, ahead of the WBO super welterweight world title fight in March, 2023
Ball vs Doheny live stream: how to watch the boxing from anywhere now, full undercard, start time, weigh-in results
 Facebook social media app logo on log-in, sign-up registration page
How to delete all your Facebook posts