sam ghost
sam ghost
  • Male
  • Daytona Beach, FL
  • United States
Share Twitter
  • Blog Posts
  • Discussions (5)
  • Groups
  • Photos
  • Photo Albums
  • Videos

sam ghost's Discussions

EM-406A output junk

Started this discussion. Last reply by Tyler Costantini Jul 27, 2011. 21 Replies

Hey everyone,I'm having some trouble configuring my EM-406A to output. About half of the time, the output is just junk. I have 3+ satellites in view, have tried all sorts of different baud rates, and…Continue

Tags: GPS, Mega, Arduino, EM406

 

sam ghost's Page

Latest Activity

Profile Icon
Tyler Costantini replied to sam ghost's discussion 'EM-406A output junk'
I just wanted to ask if anyone has figured out why the em496a is outputting strange data? I'm getting null chars in my data. The other issue I found is that I have to open the em406a inverted using newsoftserial.h not sure what the issue…
Jul 27, 2011
Profile Icon
Bob Mach replied to sam ghost's discussion 'EM-406A output junk'
Hi, I think I have the same issue as John. My 406a was giving me the same garbage ( binary ) fresh out of the box. John did you ever get this working with "putting-your-em406-gps-back-in" ? NB: the delivery of my GPS took about 3 days...…
Jun 28, 2010
Profile Icon
Ken replied to sam ghost's discussion 'EM-406A output junk'
John, Found my notes. There seems to be a couple of different firmware versions of the EM 408. Some default to NMEA @ 4800 bps. Others default to SiRF binary @ 56,000 or 57,600. Go to…
May 24, 2010
Profile Icon
Ken replied to sam ghost's discussion 'EM-406A output junk'
Now, lemme think. With the EM-406, the default is text mode. If you command it into binary mode, it will stick there until the SRAM loses power. After the unit has been removed from power for a few days -- 4 to 5, sometimes 6 -- it will revert to…
May 24, 2010
Profile Icon
John Locke replied to sam ghost's discussion 'EM-406A output junk'
Ken, I haven't attached this GPS to anything other than a PC and haven't run any code to communicate with it except for a terminal application. Could it have shipped in Binary mode? And is there a way to get it out of Binary Mode without…
May 24, 2010
Profile Icon
Ken replied to sam ghost's discussion 'EM-406A output junk'
Yes, Looking more at the data, I think that the string of commas is from the GSA message. Also, you fail to terminate your strings after copying. You use magic numbers which make the code hard to read and maintain.
May 24, 2010
Profile Icon
Ken replied to sam ghost's discussion 'EM-406A output junk'
John, Did you run Ardupilot / ArduIMU code while the GPS was connected? That will put the GPS into binary mode. I uploaded a small Arduino sketch which will put the GPS back in to text mode for you. Look in my blog.
May 24, 2010
Profile Icon
Ken replied to sam ghost's discussion 'EM-406A output junk'
Sam, You don't check the checksum. You would not know if a character was dropped or inserted or flipped a bit. You never check to see if the message is valid. You never check to see if the message is in fact GGA. What if the GPS sends…
May 24, 2010
Profile Icon
John Locke replied to sam ghost's discussion 'EM-406A output junk'
I am having the same issue as you were having above, only more so. I have my EM-408 hooked up to the serial port on my computer, and when I run a serial terminal program all I get is gibberish. If you stare at the output and squint your eyes you can…
May 23, 2010
Profile Icon
sam ghost replied to sam ghost's discussion 'EM-406A output junk'
The numbers before are from another sensor (ultrasonic). Sorry about that. I hooked it up to an oscilloscope but not really sure what to look for - it's just sending serial data every second. Any other ideas on what to try? This is driving me…
Mar 30, 2010
Profile Icon
Teejay replied to sam ghost's discussion 'EM-406A output junk'
Hi Chris, asides leaving the board alone for a week to let the capacitor drain power... is there any other way to revert it from binary mode?
Mar 29, 2010
Profile Icon
David Gitz replied to sam ghost's discussion 'EM-406A output junk'
Ok, we have a few issues: 1. you are getting some weird characters, I don't know if this is from your internet browser or copying/pasting from a terminal program or not. But if these characters are what you are seeing on your live feed, it…
Mar 26, 2010
Profile Icon
sam ghost replied to sam ghost's discussion 'EM-406A output junk'
0,0,218,GPGGA,185649.000,2911.3525,N,08102.8378,W,1,04,6.4,-40.6,M,-31.6,M,,0000 0,0,218,3,27,26,15,18,12,,,,,,,,7.0,5.4,4.5 0,0,219,«Væf̖A,2911.3552,N,08102.8370,W,0.51,24.57,250310,, 0,0,219,GPGGA,185659.000,2911.3552,N,08102.83…
Mar 25, 2010
Profile Icon
Ken replied to sam ghost's discussion 'EM-406A output junk'
Right, exactly my thinking. That asterisk is what made me think his parsing is off. Maybe making the assumption that any comma is followed by a valid data byte, reading the next comma as that byte, and losing count ... thus reading in to the next…
Mar 12, 2010
Profile Icon
David Gitz replied to sam ghost's discussion 'EM-406A output junk'
The reason that I ask is because I suspect your parsing function has a bug in it. Not very familiar with the Arduino, but in one of your lines you have an * character. The gps unit should only transmit that at the end of a nmea sentence, before the…
Mar 12, 2010
Profile Icon
sam ghost replied to sam ghost's discussion 'EM-406A output junk'
You're right. I can't post the GPS results today as there's a nasty thunderstorm, but the raw data comes back as either valid half the time, or the other half the time, as random characters or just commas. How would I go about…
Mar 11, 2010

Comment Wall

  • No comments yet!

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

Groups

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service