Search
Topics
  Create an account Home  ·  Topics  ·  Downloads  ·  Your Account  ·  Submit News  ·  Top 10  
Modules
· Home
· Statistics
· Stories Archive
· Top 10
· Topics
· Web Links

Who's Online
There are currently, 16 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

Languages
Select Interface Language:


Running a GPS on Omnifi
Posted on Wednesday, November 02 @ 11:02:40 PST by lincomatic

OmniMedia OmniFi While trying to get a Car2PC USB headunit adapter working on my DMP1, I was getting nowhere, so I decided to try getting another USB->Serial device working. My Royaltek Sapphire USB GPS seemed like a good candidate ... it uses a Prolific PL2303 USB->Serial converter, for which a driver exists for the Omnifi.

I have created a little sample app, written in C++, which can read a raw NMEA stream from a USB GPS, parse the NMEA, and output some info to a the console.

It uses the usbserial driver, which in turn talks to the pl2303 driver to emulate the USB GPS as a tty.

This is just a simple demo, and to make it truly useful, someone needs to interface it to the LCD display & control panel buttons. The LCD & control panel logic can easily be lifted from Openfi.
Here is some sample output of the program running in an rlogin session to the DMP1:

UTC: 2005/11/02 18:10:01 34.099270 -118.174400 5/9 fix valid
UTC: 2005/11/02 18:10:02 34.099270 -118.174400 5/9 fix valid
UTC: 2005/11/02 18:10:03 34.099270 -118.174385 5/9 fix valid

To compile it, you need a suitable c++ crosscompiler, such as crosstool.

Download GPL'ed src and binaries: omnigps.zip

Many thanks to Dan for his help, and all his work in compiling the drivers for ARM.

 

Login
Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Related Links
· More about OmniMedia OmniFi
· News by lincomatic


Most read story about OmniMedia OmniFi:
HOWTO: Use the D-Link DWL-121 in WinXP


Article Rating
Average Score: 0
Votes: 0

Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


Options

 Printer Friendly Printer Friendly

 Send to a Friend Send to a Friend



 
Web site powered by PHP-Nuke

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2005 by lincomatic.
You can syndicate our news using backend.php
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.