Difference between revisions of "GPS"

From ArmadeusWiki
Jump to: navigation, search
(Tested hardware)
Line 1: Line 1:
This page will summarizes informations to connect GPS modules to your Armadeus board
+
This page will summarize informations to connect GPS modules to your Armadeus board.
  
 
==Introduction==
 
==Introduction==
GPS stands for Global Positioning System and is intended to allow one to knows its localization on Earth quite accuratly. See [http://en.wikipedia.org/wiki/Global_Positioning_System Wikipedia Article] for more informations.
+
GPS stands for Global Positioning System and is intended to allow one to knows its localization on Earth quite accuratly. See [http://en.wikipedia.org/wiki/Global_Positioning_System this Wikipedia article] for more informations.
  
 
==Tested hardware==
 
==Tested hardware==
GPS receiver are generally driven through a low speed RS232 bus.
+
GPS receivers are generally driven through a low speed RS232 bus or USB.
Currenlty JulienB is experimenting the GPS receiver of the Aurore/Sequanux association. This autonomous receiver uses a standard NMEA GPS module that can be connected to the 3,3V RS232 port of your APF9328.
+
===RS232 modules===
All you need to do is to get the GND and TX signals out of this module and connect is to your GND and RX signals of your APF:<br>
+
The following RS232 receivers were successfully tested:
 +
* the GPS receiver of the [http://projetaurore.assos.univ-fcomte.fr/ Projet Aurore association]. This autonomous receiver uses a standard NMEA GPS module that can be connected to the 3,3V RS232 port of your APF9328. All you need to do is to get the GND and TX signals out of this module and connect is to your GND and RX signals of your APF:<br>
 
{|border=0 summary="APF pictures"
 
{|border=0 summary="APF pictures"
 
|----------------
 
|----------------
Line 13: Line 14:
 
|----------------
 
|----------------
 
|}
 
|}
 +
* the GPS receiver of the APF27 Wireless extension board
 +
 +
===USB modules===
 +
These modules are mostly serial one with a RS232 <-> USB converter.
  
 
==Usage==
 
==Usage==
 
* Configure Serial port 1 of your APF (4800 bauds 8N1):
 
* Configure Serial port 1 of your APF (4800 bauds 8N1):
 +
<pre class="apf">
 
  # stty -F /dev/ttySMX1 4800
 
  # stty -F /dev/ttySMX1 4800
 +
</pre>
 
* Power on your GPS module
 
* Power on your GPS module
 
* Test it: you'll get NMEA frames:
 
* Test it: you'll get NMEA frames:
 +
<pre class="apf">
 
  # cat /dev/ttySMX1
 
  # cat /dev/ttySMX1
 
  $GPGGA,000026.032,,,,,0,00,,,M,0.0,M,,0000*53
 
  $GPGGA,000026.032,,,,,0,00,,,M,0.0,M,,0000*53
Line 27: Line 35:
 
   
 
   
 
  $GPGGA,000027.032,,,,,0,00,,,M,0.0,M,,0000*52
 
  $GPGGA,000027.032,,,,,0,00,,,M,0.0,M,,0000*52
 +
</pre>
  
 
There is a small tool (under development) in ''target/demos/gps/'' that can help you to parse some NMEA frames.
 
There is a small tool (under development) in ''target/demos/gps/'' that can help you to parse some NMEA frames.
Line 39: Line 48:
  
 
==Troubleshots==
 
==Troubleshots==
* In case your module is detected and then automatically removed from USB stack when you plug it on your PC, try to deinstall that:
+
* In case your Aurore GPS module is detected and then automatically removed from USB stack when you plug it on your PC, try to deinstall that:
  # sudo apt-get remove brltty
+
  $ sudo apt-get remove brltty
  
 
==Links==
 
==Links==

Revision as of 11:57, 26 June 2009

This page will summarize informations to connect GPS modules to your Armadeus board.

Introduction

GPS stands for Global Positioning System and is intended to allow one to knows its localization on Earth quite accuratly. See this Wikipedia article for more informations.

Tested hardware

GPS receivers are generally driven through a low speed RS232 bus or USB.

RS232 modules

The following RS232 receivers were successfully tested:

  • the GPS receiver of the Projet Aurore association. This autonomous receiver uses a standard NMEA GPS module that can be connected to the 3,3V RS232 port of your APF9328. All you need to do is to get the GND and TX signals out of this module and connect is to your GND and RX signals of your APF:
Recto
Verso
  • the GPS receiver of the APF27 Wireless extension board

USB modules

These modules are mostly serial one with a RS232 <-> USB converter.

Usage

  • Configure Serial port 1 of your APF (4800 bauds 8N1):
 # stty -F /dev/ttySMX1 4800
  • Power on your GPS module
  • Test it: you'll get NMEA frames:
 # cat /dev/ttySMX1
 $GPGGA,000026.032,,,,,0,00,,,M,0.0,M,,0000*53
 
 $GPGSA,A,1,,,,,,,,,,,,,,,*1E
 
 $GPRMC,000026.032,V,,,,,,,160406,,*2F
 
 $GPGGA,000027.032,,,,,0,00,,,M,0.0,M,,0000*52

There is a small tool (under development) in target/demos/gps/ that can help you to parse some NMEA frames.

NMEA Frames signification

  • $GPGGA: Global Positioning System Fix Data
  • $GPGLL: Geographic Position, Latitude/Longitude
  • $GPGSA: GPS DOP and Active Satellites
  • $GPGSV: GPS Satellites in View
  • $GPRMB: Recommended Minimum Navigation Information
  • $GPRMC: Recommended Minimum Specific GPS/TRANSIT Data

Troubleshots

  • In case your Aurore GPS module is detected and then automatically removed from USB stack when you plug it on your PC, try to deinstall that:
$ sudo apt-get remove brltty

Links