Quad Build Part 3

Before I begin, an apology. I think anyone who starts their own website, blog, etc. does so with the best of intentions to post regularly. I admit to being slightly remiss in that respect; forgive me readers for I have sinned … it has been 34 days since my last quadcopter post …

So that out of the way, where were we? In the last part the rotor arms had been fastened to the bottom chassis plate and the motor power leads & main battery connector soldered to the plate. Time to introduce you then to the FC … or Flight Controller. This is the brain of the quad and even the cheapest FCs offer pretty remarkable features and processing ability. For anyone who fancies digging a little deeper, I recommend this page on Oscar Liang’s excellent website.

Below is the FC I purchased for my build, mainly because it was the closest I could get to the one used in the HackSpace article. It’s not the smallest or the most powerful but it’s pretty cheap and has all you’ll need for a beginner’s craft. The mounting centres are at 31.5mm so that should give you an idea of its overall dimensions.

Flight controller top side.
Flight controller top side.
Flight controller underside.
Flight controller underside.

Here it is installed onto the bottom chassis plate with 3mm nylon stand-offs and rubber grommets in the mounting holes to help absorb some of that ever present vibration.

Flight controller in situ
Flight controller in situ

Time for a brief aside me thinks … please feel free to skip if you like! The observant amongst you will have noticed the ARM logo on one of those chips above and ARM has a history that started when I was first getting into computers at school. For those in the UK of my age group, cast your mind back to the early 80’s when the BBC embarked on a mission to get the nation computer literate and commissioned the BBC Micro which was made by a British company called Acorn Computers. Founded in 1978, Acorn developed a RISC (reduced instruction set computer) processor and the company eventually became ARM Holdings whose ARM architectures can be found in smart phones, digital TVs, set top boxes, mobile computers and, of course, flight controllers! From the Wikipedia entry above: In 2013, 10 billion were produced and “ARM-based chips are found in nearly 60 percent of the world’s mobile devices” … that’s a pretty impressive track record in anyone’s books.

To those who read my little aside, thank you very much. And those who skipped it, hey I won’t hold it against you. Back to the build and the first wiring to connect to the FC was the main power feed, which you can see is picked up from the internal PCB tracks of the chassis plate making routing cables much easier and neater.

FC with power connections
Power feed to FC.

Then came the tricky part of connecting the control wires from the motor ESCs. Two problems here; the solder pad on the FC for the control wire is roughly 1.5mm diameter if you’re lucky & close to the FC mounting holes (necessitating removal of the nylon screw nearest the pad so as not to melt it with the soldering iron) and space is limited for access. There’s also the age old problem of not having a 3rd hand to hold the wire in place whilst holding the soldering iron with the 1st and applying solder with the 2nd! When I was researching connections for the ESCs I saw a post where the constructor had coiled the wires to allow some resilience to vibration, which I thought a good idea. It also looks pretty trick, to coin a ‘yoof’ phrase!

ESC control wire connection
The first ESC control wire connected … for motor 1.
All ESC control wires connected
All ESC control wires connected to the FC.

And that’s it for Part 3. The next & final build post will look at the radio control receiver, finishing off the build & a little setup I knocked together to calibrate level for the gyroscope on the FC.

Quad Build Part 2

This post is quite a short one, covering the basics of the PCB (printed circuit board) based chassis plates and connecting the rotor arms to create the quadcopter’s familiar configuration.

The top and bottom members that hold the rotor arms in situ are multi-layer PCBs. This gives a combination of strength from their fibre glass construction and flexibility of electrical connectivity from the copper tracks that run between the fibre glass layers & their break out points on the chassis faces.

The main battery connector is attached to the bottom chassis plate as  shown below with the black wire soldered to the -ve pad and the red wire to the +ve pad (pretty basic stuff so far!). The beauty of the PCB chassis is that all the pads marked + are connected together, likewise those marked   . This makes connecting the main power feeds to the ESCs very simple as can be seen a little later on.

Main battery connection

As the battery connector will be routed towards the top chassis plate (when fitted) I thought it wise to add some strain relief on the soldered joints by applying a little hot melt glue.

Glue added as strain relief.

The assembled rotor arms from Part 1 are attached to the bottom plate using cap head bolts provided with the air frame kit (2 per arm) and the 2 ESC power feed wires soldered to the relevant pads on the PCB (as mentioned earlier). This leaves the orange control wire to the ESCs ready to be soldered to the FC later on. You’ll also notice I’ve numbered each arm to correspond with the diagram in Part 1 so I mount them in the correct location and use the correct rotor blade for each motor.

Rotor arms mounted to chassis.

Numbered rotor arms

ESC connections to bottom plate & orange speed control wires.

Quad Build Part 1

As I mentioned in a previous post, the core parts used for building a basic quad(copter) are minimal and pretty easy to assemble. Unfortunately, those parts tend to ship with little, or nothing, in the way of instructions … which is of particular importance when it comes to the electrics and electronics. As anyone knows, when the magic smoke escapes from a component it’ll never work again! Luckily for all concerned, the web holds a plethora of information from those who have been here before.

So to step one; basically a quad has a central platform to hold the FC (Flight Controller), battery and receiver for the radio control system. From this centre extend four rotor arms to which are affixed the motors (complete with corresponding rotor blades) and each motor’s ESC (Electronic Speed Controller).

First the motors are fixed onto the arms:

Fastening a motor to a rotor arm

Motor in situ showing power leads

So far so easy. The ESC’s have three solder pads to connect the three wires from the motor to, but nowhere does it say which wire goes to which pad!

ESC connections as supplied

Motor to ESC wiring

It turns out you can connect the wires in any order you like … honestly. The only criteria being that you need to wire all the motors the same to get them to spin in the same direction and (something that will be explained later, and which is important to drone flight) swapping over the two outer wires will make the motor spin in the opposite direction. Who’d have thunk it?    So to the other end of the ESC. There are two heavy wires (black & red) which are the power feed from the battery. The other pair take the signal from the FC and control how fast the motor spins. One of this pair (the brown) goes to ground and, as the black power cable already gives a ground connection, can be removed. That leaves a single orange wire which is soldered directly to the FC. The flight controller I purchased has no plug & socket connectors for the various components so they all have to be soldered into place.

ESC with modified wiring

Time for a brief science interlude! Most people know the theory behind how a helicopter flies: the main rotor blades spin and force air downwards, this in turn causes lift which allows the helicopter to leave the ground. As the rotor spins, the body of the helicopter has the tendency to want to rotate in the opposite direction … not a problem when on the ground as the friction between the skids, or wheels, and the ground stop the body from rotating. Once off the ground, without a tail rotor the helicopter would be totally unstable and uncontrollable. The tail rotor spins and creates a flow of air sideways to balance the helicopter body’s desire to rotate. Now consider twin rotor helicopters like the Chinook. These have no tail rotor but keep the body stable by having one main rotor spinning clockwise and the other spinning anti-clockwise … the overall effect being to create lift without the helicopter body spinning out of control. Multiply this by two and you have the quadcopter. In this case, to keep the rotational forces in balance, two rotors spin clockwise and two spin anti-clockwise. Generally this is configured as in the diagram below with the arrow being the direction of forward flight:

So, adding the last piece of information to what I learned earlier about swapping the outer wires on the ESC … motors 1 & 4 are wired one way and motors 2 & 3 have the outer wires swapped over … simples! I later found out that you can wire all the motors the same and then program the ESC’s to rotate the motor whichever way you see fit. I preferred to have the motors rotating correctly without any fudging via software so I made sure the wiring was completed correctly in the first place.

Step one was to feed the motor wires through the rotor arm, slide some heat shrink tubing over the ends then solder the wires to the ESC.

Then the heat shrink was slid over the soldered joints and shrunk into place using a hot air gun.

Finally a small pad of self adhesive foam was stuck to the back of the ESC and it was loosely cable tied to the rotor arm to allow some resilience to the inevitable vibration that a spinning rotor causes. The power and control wires were fed along the arm ready to be attached to the FC.

Et voila, all four rotor arms ready to be attached to the main central chassis and four motor/ESC combinations ready to be connected to the FC.

Video Tease

Those who follow me on Twitter have been warned to keep their eyes open for a little ‘video tease’ being posted … and this is that very tease!

As you may or may not be aware, I’m pretty new to this blog/vlog malarky and I’m still learning the technicalities. A few nights ago I hooked up the quadcopter to my laptop and used Betaflight software to see if I could spin up the motors …

What? I hear you ask. How can you be testing motors and things when you haven’t even started building it? Where are all the posts? Well, I have been building it, and taking photos, but I’ve just not had the chance to put those images into some posts and bring you up to date. I’d also been struggling to source the radio control receiver that I need and things had ground to a bit of a halt. Hence me deciding to have a little play controlling the quadcopter from my laptop to keep those creative juices flowing.

… Anyway, I took a little video with my mobile phone and thought there must be a better way to do this. Maybe a screen capture of the software with a video of the motor spinning overlaid as a PiP (Picture in Picture) video. So I did some Googling for free software, downloaded a few candidate packages and did a little testing. Once I’d found the most suitable for the job I borrowed my work webcam (much better definition than my personal one) and knocked up a little video. A quick detour to setup a vimeo basic account to host the video and Bob’s your Uncle!

ATX Power Supply

It’s been a little while since I posted anything about the quadcopter so time to put that right … kind of. Although not a physical part of the quadcopter this is nonetheless a vital piece of kit, for without it I’d have no way to charge the battery that powers the quadcopter.

The eagle eyed amongst you might have spotted the Lipo (Lithium Polymer … nothing to do with suction!) battery charger in amongst the goodies from Banggood …

Lipo charger

What you wouldn’t have seen is the power supply that it needs to charge the batteries … because it doesn’t come with one! A quick look at the specifications told me that the unit accepts a DC input from 11 – 18 volts and anyone with a passing knowledge of PC internals will know that an ATX power supply unit (PSU) has a very useful range of output voltages; 3.3V, 5V +12V & -12V. A little bit of poking around and I found a power supply from an old Dell PC with, amongst other outputs, +12V rated at 17A and 5V rated at 13A … sorted! The 12V is perfect for powering the charger and the 5V is great for providing power suitable for USB charging circuits (saves messing about with multiple mains USB chargers).

It’s a pretty straight forward process to remove the PSU from the PC and modify it to work as a basic bench power supply, there are hundreds if not thousands of write-ups across the the web as this search on Instructables shows … so I’m just going to focus on how I carried out the conversion.

 

 

 

 

 

 

 

 

 

Ground Zero

I know, a bit dramatic that title but what the hell, it’s my website!

I read and re-read the article in Hackspace and popped onto the Banggood website … good grief what a site, a veritable cornucopia of things you didn’t even realise you needed or wanted! The only down side with the site is the time you have to wait for delivery but the prices were unbelievably low so I wasn’t going to complain about waiting a couple of weeks to get my goodies.

The day finally arrived and this boring looking battered, black package arrived …

Quadcopter parts parcel

Like a little kid on Christmas morning I removed the packing and grinned at all the goodies within. They were soon laid out on the table for inspection …

Quadcopter parts

That’s pretty much all the parts required to build a fully functional quadcopter. The main missing part is the receiver for the radio control which I had to source from Amazon … Banggood is an excellent source of parts but their restocking can take quite a bit of time on some items in my experience. The LiPo battery on the left was also sourced from Amazon. Banggood had a massive selection but were unable to ship to the UK as the batteries are classed as hazardous cargo I believe.

Another site recommended in the article is written by a guy called Oscar Liang. It’s more biased toward FPV (First Person View) and mini quadcopters but a large percentage of the information relates to any size aircraft … generally it’s just a matter of scaling up or down. There are some excellent articles just for beginners which were very useful.

Hopefully this has whetted your appetite to follow me on my journey to completion and the final step of actually flying the thing!

 

 

 

 

 

 

 

So it begins …

Before I start I think I’d better clarify a few points:

  • A quadcopter is a drone but a drone is not necessarily a quadcopter … much like a Hoover is a vacuum cleaner but not all vacuum cleaners are Hoovers!
  • According to the Cambridge dictionary a drone is “an aircraft without a pilot that is controlled by someone on the ground”. Unfortunately a lot of people see a drone as synonymous with an aircraft used for dropping bombs or for covert surveillance . However, a lot of people get fun (and enjoy the challenge of) racing drones, some people just enjoy flying them and I’m sure everyone has seen some of the stunning aerial footage that has begun to appear in films (without the use of CGI) and TV programmes courtesy of drones.
  • A quadcopter has four rotor blades (quad meaning four). Hexa (6) & Octo (8) ‘copters are also available, should you so desire.

S0 that out of the way, why build a quadcopter? Well, I’ve had a bit of a fascination for quadcopters for some time but they seemed to fall into two categories … toys or ridiculously expensive machines used by ‘professionals’. That was until I received issue 10 of HackSpace magazine and saw the image on the front cover …

… there’s that word again … drone!

I read the article and realised that it wasn’t as expensive or as complicated (Yeah right!  The basics are straight forward but dig a little deeper and you discover a world of acronyms and technology … right up my street then I guess) as I’d first thought and, to cut a long story short, I bit the bullet and ordered a bucket full of goodies online ready to start my new adventure ….