AR Drone 2/GPS

From PaparazziUAV
Jump to: navigation, search

To fly autonomous to a certain geo coordinate a GPS is needed. Although it is theoretically possible to use the original orange Parrot GPS dongle it is not advised, the performance is just not good enough for great autonomous flights. The solution that is advised is to use an uBlox GPS module.

uBlox

Ublox gps lea6q top.jpg

uBlox via serial

A FTDI TTL 232R 3V3 WE cable is used, where - WE stans for wire ended. 3V3 operates at +3.3V levels (signals only, VCC= +5V)

How to connect USB to uBlox Helix GPS for Parrot ARDrone2

To connect a uBlox with Helix antenna via a USB to serial cable that you can just plug into your ARdrone 2

Example of a via USB connected uBlox Helix GPS for Parrot ARDrone2

Pinout colors

TTL - 232R - 5V, TTL - 232R - 3V3 Connector color coding

FTDI TTL 232R 3v3 WE color coding

Pin Color Abr.Color
1 Black BK
2 Brown BN
3 Red RD
4 Orange OG
5 Yellow YE
6 Green GN

How the connector is prepared

  1. A sharp knive deep in the outer end, the part where the wire come out, this will damage the first part of the wires, but that is OK, it will be cut of and not be used.
  2. Cut a along the whole wire till the USB connector begin
  3. Peel ot the wires in the begin
  4. Grab all the wires of the cable end stringly in your hand
  5. With one continuous pull, pull the wires out of the black outer plastic. With a cut alone the line this shoud go, just apply force.
  6. You are done!

uBlox via USB

complete me...

  1. load cdcacm kernel module
  2. change UART1_DEV to e.g. /dev/ttyACM0

Parrot GPS Dongle

Parrot GPS Dongle

Use the sirf gps subsystem.

Connecting the Parrot GPS Dongle

When we connected the GPS Receiver (GPS) to the AR Drone 2.0 (Drone) and searched on the Drone, we found out that nothing happened. After some research we found out that there was no USB serial driver available on the Drone to recognize the GPS. From USGlobalstat, the manufacturer of the GPS, we found out that we needed an pl2303 driver. On the internet another project was reported and there they were installing drivers for the Drone. We followed these steps but some errors occurred because we are using an AR Drone 2.0.

Once we found out that the Drone is running another version of Linux we have to change that. We had also some troubles with finding the right .config file to use. Finally we were able to make the modules, including the usbserial and pl2303, for the Drone.

From the make step we were getting 2 files, usbserial.ko and pl2303.ko. We put those files on the Drone by using FTP. Once the files are on the Drone we connected to the Drone by Telnet and went to the /data/video folder were the files we located. By insmodding the .ko files we installed the drivers on the linux system and we were able to connect the GPS to the Drone. After connecting the GPS was recognized and was mounted to /dev/ttyUSB0.


Links