This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
misc:hacks:gps [2014-01-06 12:00] macke |
misc:hacks:gps [2015-03-01 23:34] fred |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Adding a u-blox MAX-7 GPS module ====== | ||
- | |||
- | |||
- | ====== What you need ====== | ||
- | * u-blox MAX-7 GPS breakout (we have [[http:// | ||
- | * KDE Marble built with Python bindings | ||
- | |||
- | ====== How to get it working ====== | ||
- | These instructions are valid for Ubuntu 13.10 but similar steps should work with other OSes. | ||
- | |||
- | * Attach the u-blox beakout to the expansion header by connecting the following pins (breakout -> Crazyflie expansion header): | ||
- | * GND -> DGND (pin 17) | ||
- | * VCC -> VCC (pin 15) | ||
- | * TXD -> TX (pin 5) | ||
- | * RXD -> RX (pin 3) | ||
- | * Since the Python bindings for Marble isn't built by default you will have to build Marble from source and enable these (instructions taken from [[http:// | ||
- | < | ||
- | sudo apt-get install python-sip-dev python-qt4-dev | ||
- | |||
- | git clone git:// | ||
- | mkdir -p ~/ | ||
- | cd ~/ | ||
- | cmake ~/ | ||
- | make | ||
- | sudo make install | ||
- | </ | ||
- | * Make sure you have the correct firmware/ | ||
- | |||
- | ====== Tweaking and development ====== | ||
- | There' | ||
- | |||
- | Getting a position fix will not be as easy as with your phone, so make sure to be outside (or at least stick the Crazyflie a couple of meters outside the window). | ||
- | |||
- | If you don't have a GPS module you can still use the [[projects: | ||