Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 22-09-2010, 11:47   #1
Registered User

Join Date: Sep 2010
Posts: 2
GPS NMEA output from the Sierra AirCard 881 working

Couldn't find an explanation of how to get the GPS working on this card in linux, so after a long night here it is.
Note: This is the 881 not the 881u, the 881 is a pcmcia version, as apposed to USB, but it's all USB in the end.

Ubuntu lucid 10.04

Procedure:
- Establish a connection to the serial ports on the card
- Find the names of the new com ports
- Install a terminal emulator
- Start tracking
- Option Reset the card

Establishing a connection:
Insert the card
In a terminal run
Code:
~$ lsusb
Note the ID numbers of the card
In my case "ID 1199:6851 Sierra blah blah"
Using the numbers you obtained above, run
Code:
~$ sudo modprobe usbserial vendor=1199 product=6851
Find the names of the new com ports
run
Code:
~$ dmesg
The result should contain something about "...Sierra USB modem converter now attached to ttyUSB0 ...ttyUSB1 ...ttyUSB2 ...ttyUSB3"

Install a terminal emulator
I used minicom, run:
Code:
~$ sudo apt-get install minicom
Start tracking
in my case the AT command port for the card ended up being /dev/ttyUSB2. My NMEA port is /dev/ttyUSB3.
In a terminal start minicom:
Code:
~$ minicom -s
Pick "Serial port setup"
Change "Serial device" to /dev/ttyUSB2 -hit enter, and enter again
Pick "Exit" - hit enter

The modem should initialize and the card will say "blah blah blah OK"
Enter the AT command:
Code:
AT!GPSTRACK=1,255,50,1000,1
Theres a description of AT!GPSTRACK in here
Open another terminal and use minicom to test the NMEA port. In my case ttyUSB3.The card should be printing out something. If it doesn't have a fix it still seems to print empty entries every second.
Close minicom -- ctrl + a then x --

Point your software at the NMEA port.
Try to get lost :P


Option reset the card
When I was trying to get this working one of the things I did was to reset the card. I don't know if it's necessary, and I haven't needed to do it again. Anyway the AT command is:
Code:
AT!GRESET
Card says "OK" then gos through a power cycle
the ports get reassigned and minicom loses its connection. after restarting the PC the port names went back to 0,1,2 and 3


Thanks to:
http://developer.att.com/devcentral/...oper_Guide.pdf
Ubuntu USB-Serial port install procedure
Athowhen is offline   Reply With Quote
Reply

Tags
nmea


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
M802, M402, NMEA, GPS (DSC), Problems Wotname Marine Electronics 6 01-05-2016 09:01
Furuno 1724C/NT - No NMEA Output foolishsailor Marine Electronics 5 08-03-2010 11:09
Working with NMEA bobs Marine Electronics 2 01-12-2009 14:10
NMEA to VHF from GPS thru MaxSea geekoutofwater Marine Electronics 9 16-07-2008 02:23
Raymarine RL80C with NMEA GPS receiver bobs Marine Electronics 10 24-07-2007 10:09

Advertise Here


All times are GMT -7. The time now is 15:46.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.