AR Drone 2/GPS
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 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)
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
TTL - 232R - 5V, TTL - 232R - 3V3 Connector color coding
How the connector is prepared
- 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.
- Cut a along the whole wire till the USB connector begin
- Peel ot the wires in the begin
- Grab all the wires of the cable end stringly in your hand
- 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.
- You are done!
uBlox via USB
- load cdcacm kernel module
- change UART1_DEV to e.g. /dev/ttyACM0
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.