User Tools

Site Tools


balloon:gpstest
Untitled Document

Testing Environment

Operating System: Mostly on Ubuntu 11.10 32bit and very little on Windows 7

Test Setup

  1. Install “gpsd” for gps server and “gpsd-clients” to view gps data
    sudo apt-get install gpsd gpsd-clients
  2. Plug the gps module. (our case, we use usb to uart converter)
    Type dmseg to check usb connection
    dmesg
  3. At the last line you'll see your connection if you just plugged your usb. (or just unplug and plug it again and type dmesg again.)
    our case we have ttyUSB0
    So connect gpsd with our connection as below:
    sudo gpsd /dev/ttyUSB0
  4. Run gps viewer (when you install gpsd-clients, it also installs cgps and xgps)
    we use xgps for better graphics.(if you gui setup is not compatible, just run cgps)
    xgps

Reference site

Tip: Use USB-to-Serial Converter from the Boot-Up in Ubuntu

Normally, when we USB-to-Serial Converter in Linux system, we type 'dmesg' in terminal to know my usb-to-serial connection.
But here is how you can set up your usb-to-serial device so you can use it from the boot-up.
I use Silicon Lab's CP2102 based usb-to-serial converter.

$ lsusb

This will give you your usb-to-serial device ID. i.e.:

Bus 005 Device 003: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x Composite Device

In the ID section, we have 10c4:ea60. 10c4 is the vendor ID, ea60 is the product ID. Type dmesg to know your connection name:

$ dmesg

You'll get something like this.

[  541.917923] usb 5-1: cp210x converter now attached to ttyUSB0

And edit /etc/modules files, so you can load your usb-to-serial device at boot-up. To edit, open up:

$ sudo gedit /etc/modules

And add the below line:

usbserial vendor=0x10c4 product=0xea60 #Replace IDs with yours


This is it. Now after starting your Ubuntu, you can access to you usb-to-serial device as /dev/ttyUSB0

Ref:http://forums.reprap.org/read.php?12,4546

Garmin 18x PC

u-blox LEA-5H

We use a module from Korean company uigoods.com
They do not list LEA-5H model on their website but you can ask them to order - AHUIGGUB04-R002.

The model has external antenna and expected to have good gain.

lea5h.jpg
*Supply 3.3V to PW pin. Use 3.3V TTL usb-to-serial or 3.3V based MCU to interface with the module

Pinouts are as below:


Power consumption: 70mA ~130mA

AHUIGGUB04-R002 GPS datasheet

Configuration

Update the firmware

  1. Update the firmware via u-center software


*Find flash.txt file in C:\Program Files (x86)\u-blox\u-center\contents\
** By default, the modules's baud rate is 9600bps but you can temporarily set the update baud rate to 115200bps

High Altitude Setup

SUP500F

DO NOT USE THIS MODEL

balloon/gpstest.txt · Last modified: 2012/12/09 15:05 by ossi