Author Topic: taken gps data is strange ?  (Read 3258 times)

0 Members and 1 Guest are viewing this topic.

Offline koray692Topic starter

  • Contributor
  • Posts: 13
taken gps data is strange ?
« on: February 12, 2016, 12:59:52 pm »
at the picture right side you can see taken data in debug mode from neo 6m gps with uart protocol why the taken data is strange ? expected to take some words and numbers..
 

Offline cowana

  • Frequent Contributor
  • **
  • Posts: 324
  • Country: gb
Re: taken gps data is strange ?
« Reply #1 on: February 12, 2016, 01:13:41 pm »
Have you checked you have the right baud rate, parity, and number of bits?
 

Offline DJohn

  • Regular Contributor
  • *
  • Posts: 103
  • Country: gb
Re: taken gps data is strange ?
« Reply #2 on: February 12, 2016, 01:45:53 pm »
Initial baud rate is controlled by the CFG_COM0 and CFG_COM1 pins.  If you've left them floating, it will default to 9600 baud, no parity, 8 data bits, 1 stop bit.  You're asking for 4800 baud (I'll assume whatever library you're using is sane and defaults to N81).  To get that, you need to pull CFG_COM1 low during reset.  But why would you want 4800 baud?
 

Offline Stupid Beard

  • Regular Contributor
  • *
  • Posts: 221
  • Country: gb
Re: taken gps data is strange ?
« Reply #3 on: February 12, 2016, 01:59:11 pm »
Initial baud rate is controlled by the CFG_COM0 and CFG_COM1 pins.  If you've left them floating, it will default to 9600 baud, no parity, 8 data bits, 1 stop bit.  You're asking for 4800 baud (I'll assume whatever library you're using is sane and defaults to N81).  To get that, you need to pull CFG_COM1 low during reset.  But why would you want 4800 baud?

The default baud rate for NMEA 0183 as commonly used by GPS receivers is 4800 baud, so that's probably why.
 

Offline koray692Topic starter

  • Contributor
  • Posts: 13
Re: taken gps data is strange ?
« Reply #4 on: February 12, 2016, 02:24:22 pm »
 I check now default settings are ; (and I changed as 9600 boud rate but resul is similar..)
 9600 Baud, 8 bits, no parity bit, 1 stop bit
Configured to transmit both NMEA and UBX protocols, but only following NMEA and no
UBX messages have been activated at start-up:
GGA, GLL, GSA, GSV, RMC, VTG, TXT
(In addition to the 6 standard NMEA messages the NEO-6T includes ZDA).
« Last Edit: February 12, 2016, 02:26:55 pm by koray692 »
 

Offline DJohn

  • Regular Contributor
  • *
  • Posts: 103
  • Country: gb
Re: taken gps data is strange ?
« Reply #5 on: February 12, 2016, 03:32:38 pm »
Do you have the GPS module connected directly to your processor?  You might get garbage out of it if the signal is being inverted where it shouldn't.  If that's not it, I'm out of ideas.
 

Offline FreddyVictor

  • Regular Contributor
  • *
  • Posts: 164
  • Country: gb
Re: taken gps data is strange ?
« Reply #6 on: February 12, 2016, 04:29:05 pm »
It has been known for uC clock to not be set correctly

alternatively, you could try connecting your GPS to uCentre which can scan for correct baud rate/data type
 

Offline koray692Topic starter

  • Contributor
  • Posts: 13
Re: taken gps data is strange ?
« Reply #7 on: February 12, 2016, 08:36:56 pm »
yes it is connected directly to proccessor
 

Offline Divvi

  • Contributor
  • Posts: 19
Re: taken gps data is strange ?
« Reply #8 on: March 01, 2016, 06:59:40 pm »
Try connecting it to a serial terminal using a Serial/USB converter to make sure that the GPS module is functioning. That would also help you confirm you have the correct Baud rate.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf