Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 05-21-2009, 02:59 AM   #1
LQ Newbie
Registered: May 2009
Location: Uppsala, Sweden
Distribution: Ubuntu, Debian
Posts: 3

Rep: Reputation: 0
Question Reading NMEA from GPS and output it in the USB port


I'm trying to set up NMEA-0183 "network" on my boat. I've a Globalsat BU-353 GPS puck that connects to my Netbook with Ubuntu Jaunty over an USB port. Works fine so far.

Now I want to forward NMEA sentences to my VHF-radio which has an NMEA input:


0-------------GPS GND

To get the signal to the GPS i guess I'll need an USB to serial converter (the Netbook doesn't have a serial port), writing the NMEA strings to the USB port and connect the serial line to the VHF GPS-pins, Am I right?

Has anyone tried this before? I've heard that one should use opto-couplers when connecting NMEA devices, is this necessary when running all equipment on the same 12v system?

Someone who has this working or can point me in the right direction would be very appreciated!

Last edited by OlaJi; 05-21-2009 at 03:08 AM. Reason: Drawing missleading
Old 05-21-2009, 06:56 AM   #2
Registered: Aug 2002
Posts: 16,688

Rep: Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045
Should not be necessary to isolate RS-232. However it could possibly protect the netbook if the VHF radio was ever hit by lightning.

I assume that your receiver already acts as a USB serial adapter /dev/ttyUSB0. Obviously the new USB serial port adapter will be /dev/ttyUSB1. You would want to use some udev rules so that each physical device will automatically be the same device ID. This will make programming much easier. Basically you need to forward all serial data from one port to the other. Connect the TX and GND of the serial port adapter to the VHF radio GPS+ and gnd pins respectively. NMEA data is slow i.e. 4800 baud so you should not have any major problems.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper... can I use it for a USB GPS? usafitz Linux - Newbie 3 12-01-2007 07:19 PM
strange behavior with setting GPS serial port speed dovkruger Programming 1 11-17-2007 03:55 PM
Usb Garmin GPS alek66 Linux - Hardware 1 11-21-2006 02:11 PM
GPS via serial port MeLassen Linux - Hardware 3 08-19-2004 11:07 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration