Go Down

Topic: Testing UP501 GPS (Read 2104 times) previous topic - next topic

Hi everyone!

I've been trying to talk to my UP501 GPS module with no luck. Google offers a nice test link on adafruit: http://www.adafruit.com/products/660
Unfortunately I can't seem to figure out if the code on that page is complete, or I needs additional lines to work properly.

Since I doesn't get any response from the module I am wondering if I'm supposed to wait for a satellite signal. I have given it some time, but nothing happens.

Can some of you bright guys tell me if the adafruit-test is idiot-proof and I just have to wait for a signal, or if it is missing some information to ignorants like me?

AWOL

Does your device have a clear view of open sky?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

PaulS

Quote
I've been trying to talk to my UP501 GPS module with no luck.

But, I'm not going to tell you how it is connected, or what code I'm using. I still expect you to tell me what to change. Please hurry.

Sounds a bit silly that way, doesn't it?

Quote
But, I'm not going to tell you how it is connected, or what code I'm using.

I simply used the wiring and code from the link I posted( http://www.adafruit.com/products/660 ).

Quote
Does your device have a clear view of open sky?

I am aware that the module will have a hard time, connecting with the satellites indors. The problem is, that I don't get any response from the GPS whatsoever. Acording to the command set (
Quote
http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Sensors/GPS/NMEA%20manual%20for%20Fastrax%20IT500%20Series%20GPS%20receivers_V1.7.pdf
), I should get some returns from whenever I send a command.

My thought is that further codelines are missing in the test-code from adafruit.

dxw00d

Do you have the correct baud rate (57600) selected in the serial monitor?

Code: [Select]
  Serial.println("Adafruit MTK3329 NMEA test!");

Do you see this message in the serial monitor?

Quote
Do you see this message in the serial monitor?


At first it looks like rubbish, but if I change the baud-rate manually in the serial terminal, it spells "Adafruit MTK3329 NMEA test!" as expected. But nothing else happens. Anyways, I should be able to at least see something in the terminal, even though the baud rate is initailly wrong?

BigInteger

How did you solve your problem?  :smiley-eek:

Docedison

There are 2 baud rates one for the serial monitor and one for the GPS device, when you see the Adafrui...  message the serial monitor baud rate is correct... what of the other.?

Bob
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

joshuaj

#8
Mar 01, 2013, 12:01 am Last Edit: Mar 01, 2013, 01:14 am by joshuaj Reason: 1
UP501 is 9600 by default.

Code: [Select]
#define PMTK_SET_NMEA_38400 "$PMTK251,38400*27"
#define PMTK_SET_NMEA_57600 "$PMTK251,57600*2C"
#define PMTK_SET_NMEA_115200 "$PMTK251,115200*1F"
void setup()
{
Serial.println("Config GPS...");
mySerial.begin(9600);
mySerial.println(PMTK_SET_NMEA_57600);
delay(100);
mySerial.end();
delay(1000);
mySerial.begin(57600);
delay(1000);
do other stuff
}

Now I'd be curious if anyone has gotten the UP501 to run at 115200 for 10hz use?

PaulS

Quote
Now I'd be curious if anyone has gotten the UP501 to run at 115200 for 10hz use?

Using SoftwareSerial? That is a VERY high speed for software serial.

joshuaj

Yes. I don't really know the limitations. What I observe if I set the GPS to 115200 is jibberish in the serial monitor (as though the baud rate were wrong).

Go Up