AeroQuad build, part 3
- Building a quadcopter
- First steps with Arduino
- Quadcoper project rebooted
- AeroQuad build, part 1
- AeroQuad build, part 2
This is 6th post in a series about building an AeroQuad open source quadcopter, and it’s long overdue, considering that my quad has been in a flying state for almost a month.
In my last post, I summed up the things I still needed to do to get there:
- Connect motors to ESCs
- Add Arduino power feed to power distribution hub
- Create extra level for mounting the flight controller on the frame
So, the 3 motor-side wires on each ESC were extended using 14AWG silicone wire. Those wires run through the carbon fibre arms of the Talon V2 frame:
The connectors on the motors and on the wires just click together, and they are isolated with shrink wrap. However, this cannot be done at this stage, because the spinning direction of the motors has yet to be determined. The motors are first wired randomly, and later, when a motor turns out to spin in the wrong direction, two of the wires have to be switched. This procedure is part of the calibration, which I am (most conveniently) not going to cover in this post.
For the extra level, I bought some more materials:
- Epoxy plate, 1,5mm thick. Cost: € 12.99
- Some M3 Nylon Threaded Spacers. Cost: US$ 3.68
- Some M3x12mm Nylon Screws. Cost US$ 2.04
- M3 Nylon Nuts. Cost: US$ 0.80. Last 3 items added US$ 1.43 for shipping.
I cut a disc out of the epoxy plate, large enough to fit the flight controller, and fitted some nylon spacers on to it. I also added 4 holes for mounting the plate onto the Talon frame. The frame comes with some nylon spacers, meant for mounting a flight controller directly on top of it, and I use those positions for attaching the plate.
It is important to note which is the front side of the quad (see the small pencil-drawn arrow on the mounting plate). The flight controller has to be mounted with one specific side pointing forward. I will be flying in Quad-X mode, meaning that the front of the quad is in the middle between two arms. The mounting holes in the plate are positioned exactly right for this configuration.
Here’s an idea of how it looks when everything is stacked together:
- Talon V2 frame with power distribution inside
- ESCs strapped on the top plate of the frame, with motor-side wires on the inside, and power supply and controller wires on the outside
- Epoxy plate mounted on the frame, with leads from the ESCs and the power supply wires for the Arduino coming through the hole in the center of the plate
- Arduino mounted on top of the plate
The AeroQuad shield is missing from this picture, as is one other important part: the 2.4 Ghz receiver!
I actually forgot about the receiver when I placed my last order with Hobbyking, and this meant I had no wires to hook the receiver up to the flight controller. Add to your shopping list:
- 10CM Male to Male Servo Lead (JR) 26AWG (10pcs/set). Cost: US$ 4.51 + US$ 1.43 shipping.
Now, putting it all together is not very difficult anymore. The things I’m going to skip for now are:
- Adding a battery. I use a strap to attach it to the bottom plate of the frame.
- Wiring the motors and the receiver to the AeroQuad shield
- Calibrating the quad and all of the sensors with the AeroQuad Configurator software
- Pairing transmitter and receiver and configuring AUX channels on the transmitter
- Adding propellors
Fast forward to the (more or less) finished product:
Its maiden flight was on 8 September 2013.
Total expenses: US$ 593.04 + € 25.89, but that excludes some things I forgot to count:
- 3.5mm polymax connectors
- Lots and lots of tie-wraps 🙂
I think I’ll dedicate a later post to the complete shopping list.
Lowlands
AeroQuad build, part 2
Another week or two has passed, and although I have mostly been waiting for ordered parts and materials to arrive, I did some work on the AeroQuad, mostly soldering.
Power Distribution Hub
In my previous post, I showed the work I had done on the power distribution hub. After I received the EC3 connectors that I ordered, I finished the hub, so now it looks like this. In the second picture, the hub is mounted on the bottom plate of the Talon frame. The only thing missing from this part is the power line for the AeroQuad flight controller. The Arduino will get a direct feed from the battery.
I also equipped all the ESCs with the male end of the EC3 connectors:
Also, in my last post I wrote that I extended the three motor-side wires on each ESC with 18AWG silicone wire. At some point, I decided that 18AWG would be too thin for the motors, and I redid the work with 14AWG wire.
Extra materials bought in this episode:
- 3m of 14AWG silicone wire, cost: US$ 1,51 /m, total US$ 5.96 incl. shipping
Total expenses so far: US$ 579.15 + € 12.90.
AeroQuad Flight Controller
The second part of this post is about the flight controller. If you go back to my very first post about this project, you can see that the flight controller is made from an Arduino Mega 2560 microcontroller, expanded with a custom-made AeroQuad Shield, that looks like this when it comes in the mail:
After soldering all the pieces together, carefully following the AeroQuad manual, the shield can be mounted on the Arduino. The result looks like this (hopefully I’ll be able to replace the picture with a better one sometime):
Today, I hooked it up to my computer, after installing the following software (* unfortunately, the AeroQuad Configurator only runs on Windows and Mac, not Linux, so for someone using Linux for almost everything, that’s a really sad thing):
- Arduino 1.0.5 (Windows installer)
- AeroQuad Configurator 3.2
- AeroQuad flight software 3.2 (from the same page)
The software looks overwhelming at first, but once you click around a little bit, it all seems easy enough. All the necessary steps (uploading software, initializing settings, sensor calibration) are all lined up in easy to find buttons, and so far everything I have tried just worked.
There’s probably a lot to tell about the software, and I have only just made my first steps, but I’ll give you one screenshot. After initializing the software and performing some sensor calibrations, you can select a screen called ‘Sensor data’, that presents a real-time graph of all the sensor output from the AeroQuad shield:
That’s all for now. Next steps:
- Connect motors to ESCs
- Add Arduino power feed to power distribution hub
- Create extra level for mounting the flight controller on the frame
Next: AeroQuad build, part 3
Bumblebee
Taken in my back yard. Click on the image for a slightly larger version or view the full size image.
Today's motto
Life is not a journey to the grave with the intention of arriving safely in one pretty and well preserved piece, but to skid across the line broadside, thoroughly used up, worn out, leaking oil, shouting GERONIMO!