Drone 1-2-3

From Technologia Incognita
Revision as of 13:55, 7 April 2015 by Cyberdutch (talk | contribs) (April 5, 2015 - More R/C flying, Starting with the ArduPilot hardware & Ordering more parts)
Jump to: navigation, search
Projects
Participants Cyberdutch
Skills RC planes, Arduino
Status Active
Niche Electronics
Purpose Fun
Logo91dronefinal.png


Drone 1-2-3: An autonomously flying wing glider

Drone 1-2-3 is a glider drone based on the Alula urban flying wing (parts already there), a Walkera WK-2801 PRO R/C (in my attic) and an Arduino based auto-pilot for stabilization and navigation.

So far the only parts that needed to be ordered were: A Mini APM v3.1 (ArduPilot 2.6) and an external compass/GPS (Ublox NEO 6M GPS HMC5883L). Total costs: Less than 47 euro, including (free) shipping and (delivery free of) taxes.


MAlulaevo.jpg


MWk2801.jpg


Mini apmv31.jpg Ublox gps.jpg


Steps in this project:

1. Build the plane (trim and fly)

2. Make it remotely controlled (R/C)

3. Teach it to fly autonomously


The secondary goal of this project is: Extended flight time (longer than a day?). The coexisting primary goals are planet domination, colonizing of space and sheer fun.


Feb 16, 2015 - R/C equipment tested - Check!

After not using it for 5 years, the Li-Po battery pack of the transmitter was showing no signs of life anymore. Luckily I found an AA battery holder for 8 cells to replace it. For the time being that will do.

The (less critical) Ni-MH receiver battery was still in good condition. I charged/discharged it a few times and it holds approximately 286mAh x 4.8V (which is okay for an advertised nominal capacity of 300mAh).

Everything was connected, switched-on, binded, and worked fine :-)


Batteryholder.jpg


Rcequip1.jpg


Specs Walkera WK-2801 PRO transmitter:

8-channel, 2.4G, output pulse 1100-1900Ms (1500 neutral)

100mW (10mW default) output power

230mA current drain

12V (8x 1.5V AA)


Specs Walkera RX-2801 PRO receiver (9.23g):

8-channel, 95dbm sensitivity, frequency interval >=4M


receiver battery (29.65g)

4.8V 300mAh (4x1.2V) Ni-MH


Specs micro Blue Bird BMS-306BB servos (2x 6.91gr):

torque 1.1kg/cm, speed 0.10sec/60deg


Feb 24, 2015 - Planned test flights (R/C) & Flying sites

Drone 1-2-3 is now ready for some flying tests.

The idea is to start teaching the drone to fly autonomously only after thoroughly being tested and tuned. It should have proven stable flying characteristics in R/C controlled mode.


Dronerc.jpg


Drone 1-2-3 is controlled by ailerons (roll) and elevator (pitch) combined in a 2-servo delta wing setup. Roll and pitch are mixed electronically: One servo drives the left wing control surface and one servo drives the right wing control surface.


Suitable flying sites are scarce in Holland. But there are some promising places.

For park flying: Near the Sloterplas, Amsterdam

For slope soaring not far from Amsterdam: Zaandam (De Belt) or Haarlemmerliede (Mooie Nel)

For excellent slope soaring in the Netherlands: Zeeland (Zoutelande) (with south-west facing dunes of 30-50m high). This flying site is over 2hrs from Amsterdam, but with a season-discount-ticket from the NS the distance is (money wise) only 16 euros for a return ticket


March 17, 2015 - Some real world flying (R/C) - Check!

After adding 15.74g lead to the nose, it was time for some real world flying!

Adding the lead was necessary in order to move the center of gravity forward to its proper spot near the leading edge of the wing. Later the lead can be replaced with batteries or other functional stuff. The total flying weight of the plane comes now to 158g. At a wing area of 16.7dm2, that implies a wing loading of 9.46g/dm2. The wing span of Drone 1-2-3 is 90cm.


Today in light spring air, Drone 1-2-3 made its maiden flight from the small slope near the Sloterplas.


Sloterplas.jpg


First few radio-controlled flights were somewhat challenging. But after the Drone's pitch was properly (electronically) trimmed, flying became a breeze. I didn't need to drive the plane all by myself anymore. Drone 1-2-3 showed stable flight characteristics, and steering inputs were accepted and processed well without revolting.


April 5, 2015 - More R/C flying, Starting with the ArduPilot hardware & Ordering more parts

Flythrow.png Flymills.png


Flyhi.png


Today Drone 1-2-3 was flown at 2-3 Beaufort (5.5-19.7 km/h) northerly winds from the Mooie Nel hill (25m high) in Haarlemmerliede.


With R/C flying working well it was time to start working on teaching Drone 1-2-3 to fly autonomously.

First the Mini APM v3.1 (ArduPilot 2.6) and the external compass/GPS board (Ublox NEO 6M GPS HMC5883L) needed some hardware modifications:

To disable the (buggy) internal compass, the main board (Mini APM v3.1) needed jumper 1 (JP1) to be disconnected. The jumper connection was broken with a small hobby knife. After that the main board was put back in the protective case that came with it.

The jumper is shown at the picture below.


Mini apm1.jpg Ardupilotbox2.png


To make it possible to power the external compass from the Mini APM v3.1 (only +5V out), the fourth (most right) pin of the connector for the compass on the compass/GPS board was wired to an embedded wire on the circuit board to connect it to +3.3V. The insulation can be scraped off the circuit board with a knife. After that it requires some precise soldering (PCB size is 36mm x 36mm!).

The modification to the compass/GPS board is shown in the pictures below. The correct location on the circuit board (to connect to +3.3V) is best seen by enlarging the left picture, that shows the embedded circuit wiring best.


Gpsoriginal3.jpg Gpsmodded4.png


After the hardware modifications were done, the ArduPlane firmware was installed at the Mini APM v3.1:

First the Mission Planner software was downloaded and installed on a desktop computer and from there off ArduPlane v3.2 firmware was uploaded and installed onto the Mini APM. After finishing this, its on-board LEDs confirmed a correct install :-)

Detailed instructions for installing this firmware and working with Mission Planner can be found at the ArduPilot website.


The standard main board (Mini APM v3.1), that will be mounted near the center of gravity of the drone, carries the following sensors:

- 3-axis gyro (Accelerometer that measures the acceleration forces electronically along its axis)

- Magnetometer (to support the gyro - combined data are filtered to get a more precise result)

- Pressure altimeter (Barometric pressure sensor)


The external board, that will be mounted in the wing of the drone at some distance from the receiver and servo noise, carries:

- Compass

- GPS (Ublox NEO 6M GPS HMC5883L)


Since it seems useful for Drone 1-2-3 to have information about airspeed (avoiding stalls) and battery state (extended flights) on top of standardly available sensed information, the following extra parts were ordered this week:

- Airspeed meter (compares the pressure of air blown in the pitot tube and static air)

- Power module (supplies 5V stabilized DC power and senses current and battery voltage info)


Air Speed Meter with Splitter Tube

Airspeedmeter.png Splittertube.png


Power supply Module with (BEC) 5V regulator

Power supply module.png


At a cost of 35.40 euro including shipping for these two parts, the total amount of money spent on the Drone 1-2-3 project is now 82 euro.


Drone 1-2-3 is a project run in collaboration with Almere hackerspace Sk1llz