Pages: [1]   Go Down
Author Topic: Testing UP501 GPS  (Read 1858 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 285
Posts: 25651
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

"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.

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
), 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.
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

Do you see this message in the serial monitor?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Darmstadt
Offline Offline
Jr. Member
**
Karma: 1
Posts: 73
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How did you solve your problem?  smiley-eek
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 46
Posts: 2865
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

--> 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

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

UP501 is 9600 by default.

Code:
#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?
« Last Edit: February 28, 2013, 07:14:36 pm by joshuaj » Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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).
Logged

Pages: [1]   Go Up
Jump to: