Ultimate GPS Breakout v3 not working

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
diegodemayo
 
Posts: 7
Joined: Sat Mar 01, 2014 6:49 pm

Ultimate GPS Breakout v3 not working

Post by diegodemayo »

Hello I bought a gps board recently and it doesn't output any NMEA and its fix light seldom turns on

Here's what I've done:
-tried the makezine tutorial for this chip
-tried the adafruit tutorial
-tested the serial ports on my Arduino
-then tested the tx and rx ports on the chip with my multimeter

Basically what I found is that nothing is outputted from the TX port

Is this a fault in the chip?

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Ultimate GPS Breakout v3 not working

Post by adafruit_support_mike »

Connect the GPS module to your Arduino using the 'direct communication' method described in our tutorial, then post a photo and we'll see what we can find.

Ki4ihx
 
Posts: 3
Joined: Sun Dec 29, 2013 10:53 am

Re: Ultimate GPS Breakout v3 not working

Post by Ki4ihx »

I have the same issue and followed the same path (read everything..). I purchased a Yun and the GPS shield 48 hours ago. over the last 6 hours only once was the Leo_Echo sketch able to display the GPS data in the serial window.. Compiling works but 9 out of 10 time the upload fails. Workaround is to disconnect the USB, reconnect it.. the IDE 1.5.6-r2 locks up and requires a reboot.. Did you guys test that thing at all? BTW.. same results on Linux and MAC...Is this a Yun issue or a Shield issue? I am new to Arduino. Is there any debug or traces I can catch?

Notes:
GPS shield shows power steady. GPS Fix (red light every 15 sec). Switch is on Serial and TX goes to 0, RX goes to 1. USB to Mac or Linuxm direct or via usb powered hub. (no differences in behavior).

Any idea???

thanks
Phil

I stand corrected twice...

Here is the data obtained:

Code: Select all

Get version!
$GPGGA,055951.000,3012.5013,N,09531.9763,W,2,10,0.81,52.9,M,-23$GPGGA,055953.000,3012.5013,N,09531.9763,W,2,10,0.81,52.9,M,-23.7,M,0000,0000*6D
$GPGLL,3012.5013,N,09531.9763,W,05930,,*3
GG,,,212,90,40,622,,.80812*B
GG,,,31,13,62,5032,,4,74,12224*B
PS,,,30,,7,90,71,4,,93592,8062*
$GS,,,,1154,801,2,02,73,01,41,8*A$PS,,1310,6,4
GRC05500,,0.03N05173W00,99,634,D7
GVG279,,,.1N00KD3
$MK0AN21_392276152,6,.*A
$GPGGA,055954.000,3012.5013,N,09531.9763,W,2,9,0.83,52.9,M,-23.7,M,0000,0000*50
$GPGLL,3012.5013,N,09531.9763,W,059400A*4
GGA,,21,900,12,02,,1008,.*B
$PV4111,6,73,85,82,45,9,715,0,47
GGV4,1,,8152,82182,,1,51,08,72*B
GGV4330,50020,32,2,,7242,00101*A
GGV4,31,16,4
$PM,55.0,,0253N05196,00,9.8634,D7
$PT279,,M00N,0,D3
$GPGGA,055955.000,3012.5013,N,09531.9763,W,2,9,0.83,52.9,M,-23.7,M,0000,0000*51
$GPGLL,3012.5013,N,09531.9763,W,0555.0,D4
$PS,30270,,40,62,4,16,.313*
$GGV,,31,,4,72,50360,4174,12224*4
GS,,,302,7,90,71,42,9351,,80627
$PS,,,,11,4,90,31,02,72,01,41,87
$PS,,,350,6,4
GPM,55.0,,1.03N05.73W00,9.8634,D7
$PG279,,M03N00,,*
$GPGGA,055956.000,3012.5013,N,09531.9763,W,2,9,0.83,52.9,M,-23.7,M,0000,0000*52
$GPGLL,3012.5013,N,09531.9763,W,0555.0,D4
$PS,,,21,,80,12,02,,.0,8,.70
$PV411,76,4,,85,8,50,41,75,2224*7
PS,,,302,7,90,71842,9351,,8062*9
PSV4,30,50020,32,2,,7242,00,71*A
GGV44115029*3
GRC05600A31.03N05193W00,9.8634,D7
$PT,7.8,M00,,.,,*5
$GPGGA,055957.000,3012.5013,N,09531.9763,W,2,9,0.83,52.8,M,-23.7,M,0000,0000*52
$GPGLL,3012.5013,N,09531.9763,W,055700AD4
$PSA30,,90,40,62,4,16,.3130
$PS,,,,76,4,,85,8,40,,9775,20,47
$PV421,92,7,982,6,42,93,92,,0,37
$PS,31,11,4,901,1,02,73,11,,7,77
$PS,41,50,6,3
GRC59700A31.1,,93.73W01,79,63,,*C
GT,9.8T,,.,,.2KD3
$GPGGA,055958.000,3012.5013,N,09531.9763,W,2,9,0.83,52.8,M,-23.7,M,0000,0000*5D
$GPGLL,3012.5013,N,09531.9763,W,05980,,*8
GS,,,21,90,,1,,02,,.008,.7B
$GV4131,1373,,5,32,44174,15,2446
GGV,,10,8152,,71822,1351,,8,7,*8
GGV431,15002,23222,60,32,1,47,77
$PS,41,50,6,4
GPC055.0,,0203N05173W00,9.8034,D7
$VG279,,M00N00,,3
$GPGGA,055959.000,3012.5013,N,09531.9763,W,2,9,0.83,52.8,M,-23.7,M,0000,0000*5C
$GPGLL,3012.5013,N,09531.9763,W,055900A*4
GGAA30,790,41,62,,,16,.3.70
$PS411,76,4,,85,8,445,9,755,0,47
$PS,21,92152,82,82,41,1,921,7,37
$GV4310,5002,21,22,60,3,,1,,71*6
GGV4431,129*3$GRC5990,,0251,05196,,.0278001,,*3

so I can conclude that the HW seems to be ok. However, changing one line of code on the sketch does the following:

1- Validate : ok
2- Upload: fails.
3- Reboot (unplug USB) -- 5 to 6 times before upload succeed.. 

Here is the sketch I use that works:

// Test code for Adafruit GPS modules using MTK3329/MTK3339 driver
//
// This code just echos whatever is coming from the GPS unit to the
// serial monitor, handy for debugging!
//
// Tested and works great with the Adafruit Ultimate GPS module
// using MTK33x9 chipset
//    ------> http://www.adafruit.com/products/746
// Pick one up today at the Adafruit electronics shop 
// and help support open source hardware & software! -ada

//This code is intended for use with Arduino Leonardo and other ATmega32U4-based Arduinos

#include <Adafruit_GPS.h>
#include <SoftwareSerial.h>

// Connect the GPS Power pin to 5V
// Connect the GPS Ground pin to ground
// If using software serial (sketch example default):
//   Connect the GPS TX (transmit) pin to Digital 8
//   Connect the GPS RX (receive) pin to Digital 7
// If using hardware serial:
//   Connect the GPS TX (transmit) pin to Arduino RX1 (Digital 0)
//   Connect the GPS RX (receive) pin to matching TX1 (Digital 1)

// If using software serial, keep these lines enabled
// (you can change the pin numbers to match your wiring):
SoftwareSerial mySerial(8, 7);

// If using hardware serial, comment
// out the above two lines and enable these two lines instead:
//HardwareSerial mySerial = Serial1;

#define PMTK_SET_NMEA_UPDATE_1HZ  "$PMTK220,1000*1F"
#define PMTK_SET_NMEA_UPDATE_5HZ  "$PMTK220,200*2C"
#define PMTK_SET_NMEA_UPDATE_10HZ "$PMTK220,100*2F"

// turn on only the second sentence (GPRMC)
#define PMTK_SET_NMEA_OUTPUT_RMCONLY "$PMTK314,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29"
// turn on GPRMC and GGA
#define PMTK_SET_NMEA_OUTPUT_RMCGGA "$PMTK314,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28"
// turn on ALL THE DATA
#define PMTK_SET_NMEA_OUTPUT_ALLDATA "$PMTK314,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0*28"
// turn off output
#define PMTK_SET_NMEA_OUTPUT_OFF "$PMTK314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28"

#define PMTK_Q_RELEASE "$PMTK605*31"

void setup() {
  while (!Serial); // wait for leo to be ready
  //noInterrupts();
  Serial.begin(9600); // this baud rate doesn't actually matter!
  mySerial.begin(9600);
  delay(2000);
  Serial.println("Get version!");
  mySerial.println(PMTK_Q_RELEASE);
  
  // you can send various commands to get it started
 //mySerial.println(PMTK_SET_NMEA_OUTPUT_RMCGGA);
 //mySerial.println(PMTK_SET_NMEA_OUTPUT_ALLDATA);

  //mySerial.println(PMTK_SET_NMEA_UPDATE_5HZ);
 }


void loop() {
  if (Serial.available()) {
   char c = Serial.read();
   Serial.write(c);
   mySerial.write(c);
  }
  if (mySerial.available()) {
    char c = mySerial.read();
    Serial.write(c);
  }
}
Last edited by adafruit_support_mike on Thu Mar 06, 2014 5:49 pm, edited 1 time in total.
Reason: please put long streams of code or data in CODE tags

Ki4ihx
 
Posts: 3
Joined: Sun Dec 29, 2013 10:53 am

Re: Ultimate GPS Breakout v3 not working

Post by Ki4ihx »

Latest info....

Environment:
HW: Yun with GPS Ultimate shield.
Laptops: Macbook pro (BANNED with patches - 10.9.2) / Linux (ubuntu 13.10)
Software: Arduino 1.5.6-r2 (needed for Yun) Mac / Linux.

GPS shield connections:
TX -> 0
RX -> 1
Switch: Software

Library: latest GITHUB (https://github.com/adafruit/Adafruit-GPS-Library)
Downloaded Zip File.
Renamed Folder to Adafruit_GPS
Loaded:
Leo_echo
Compiled OK:
Changed one line (remove the GPS get all and increase the freq to 5 Mhz)
Compile shows:
Found programmer: Id = "S$GPGGA"; type = P
Software Version = V.$; Hardware Version = G.v
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
processing.app.debug.RunnerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:125)
at processing.app.Sketch.upload(Sketch.java:1719)
at processing.app.Sketch.exportApplet(Sketch.java:1625)
at processing.app.Sketch.exportApplet(Sketch.java:1597)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2397)
at java.lang.Thread.run(Thread.java:695)
Caused by: processing.app.debug.RunnerException: Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:111)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:123)
... 5 more

Workaround:
Unplug USB. Reboot. Recompile. Upload. Works.

1.5.6-r2 is busted....

your thoughts?

thanks.

Cheers
Phil

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Ultimate GPS Breakout v3 not working

Post by adafruit_support_mike »

The 1.5 branch of the Arduino IDE is experimental, so problems like that are known to exist. We suggest people stick with the 1.0 stable branch unless they absolutely need to use 1.5.x. Unfortunately, most of the support for the Yun and Due live in the 1.5 branch.

Your best bet is to post over in the Arduino forums: http://forum.arduino.cc That's where the IDE developers answer questions and collect feedback.

diegodemayo
 
Posts: 7
Joined: Sat Mar 01, 2014 6:49 pm

Re: Ultimate GPS Breakout v3 not working

Post by diegodemayo »

here is the picture, what should i do next?
Attachments
Arduino GPS copy.JPG
Arduino GPS copy.JPG (399.44 KiB) Viewed 3126 times

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Ultimate GPS Breakout v3 not working

Post by adafruit_support_mike »

Load a blank sketch into the Arduino:

Code: Select all

void setup() {}
void loop() {}
then open the serial monitor at 9600 baud. The output from the GPS module should pass straight through the Arduino to your screen.

diegodemayo
 
Posts: 7
Joined: Sat Mar 01, 2014 6:49 pm

Re: Ultimate GPS Breakout v3 not working

Post by diegodemayo »

Still nothing


Attachments
Screen Shot 2014-03-10 at 4.41.25 PM.png
Screen Shot 2014-03-10 at 4.41.25 PM.png (25.81 KiB) Viewed 3102 times

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Ultimate GPS Breakout v3 not working

Post by adafruit_support_mike »

Well, that sounds like a dead module.

Send a note to [email protected] with a link to this thread and the folks there will get you a replacement.

diegodemayo
 
Posts: 7
Joined: Sat Mar 01, 2014 6:49 pm

Re: Ultimate GPS Breakout v3 not working

Post by diegodemayo »

thank you

User avatar
jfd7851
 
Posts: 10
Joined: Sat Sep 06, 2014 1:52 am

Re: Ultimate GPS Breakout v3 not working

Post by jfd7851 »

Im using the Ultimate GPS breakout with a compass attached. I was able to get the compass to read the heading, but I can't even get a time out of the GPS. Any thoughts on how to fix this ? I attached a photo of my serial monitor to give an idea of what Im seeing.
Attachments
Snip20141122_1.png
Snip20141122_1.png (35.44 KiB) Viewed 2781 times

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Ultimate GPS Breakout v3 not working

Post by adafruit_support_mike »

Connect the GPS module as shown in the 'direct computer wiring' example from the tutorial and let's see what the raw NMEA sentences look like.

https://learn.adafruit.com/adafruit-ult ... ter-wiring

User avatar
jfd7851
 
Posts: 10
Joined: Sat Sep 06, 2014 1:52 am

Re: Ultimate GPS Breakout v3 not working

Post by jfd7851 »

Now I get nothing. The solders were done correctly, I had the light blinking at the correct rate. Before I ran the blank sketch, I tried the parsing example and it gave me the output in my earlier post, no time readings, no fix.
Attachments
Snip20141122_3.png
Snip20141122_3.png (19.69 KiB) Viewed 2773 times

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: Ultimate GPS Breakout v3 not working

Post by Franklin97355 »

Could you post clear, detailed pictures of both sides of your board showing any soldering you have done and the connections to it?

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Ultimate GPS Breakout v3 not working

Post by adafruit_support_mike »

Also, what kind of Arduino are you using? The 'direct wiring' hack only works for the Uno.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”