Operating System: Mostly on Ubuntu 11.10 32bit and very little on Windows 7
sudo apt-get install gpsd gpsd-clients
sudo gpsd /dev/ttyUSB0
|http://cheesehead-techblog.blogspot.com/2011/11/gps-dongle-gpsd-and-ubuntu-1110.html||ubuntu 11.10 and gpsd usage|
|http://www.perrygeo.net/wordpress/?p=13||gpsd python binding|
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.
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:
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
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.
*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
Software from u-blox (Windows only): http://www.u-blox.com/en/evaluation-tools-a-software/u-center/u-center.html
*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
DO NOT USE THIS MODEL