Pages: [1]   Go Down
Author Topic: How to get Parallax PMB-648 GPS module working with Arduino UNO?  (Read 4647 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 3
Posts: 221
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How can I get Parallax PMB-648 GPS module to work with Arduino UNO? The GPS module works fine with Basic Stamp 2.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8974
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How did you connect it?
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Full Member
***
Karma: 3
Posts: 221
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I followed the tutorial at http://learn.parallax.com/kickstart/28500 but the Serial Monitor displayed "Reading GPS" and won't display the coordinates.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8974
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I followed the tutorial at http://learn.parallax.com/kickstart/28500 but the Serial Monitor displayed "Reading GPS" and won't display the coordinates.
Try this to see what data, if any, is arriving from the GPS:
Code:
#include <SoftwareSerial.h>

SoftwareSerial nss(6, 255);            // Yellow wire to pin 6

void setup() {
  Serial.begin(115200);
  nss.begin(4800);
  Serial.println("Reading GPS");
}

void loop() {
  if (nss.available()) {
    Serial.write(nss.read());
  }
}
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Full Member
***
Karma: 3
Posts: 221
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I still have problems getting Parallax PMB-648 GPS module to work with Arduino UNO. If I try to upload code to Arduino UNO while the GPS module is connected to it, I get messages related to COM ports in use. If I try to compile code that uses TinyGPS library, I get messages saying that TinyGPS and gps are not declared. How can I fix the problems?
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8974
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If I try to compile code that uses TinyGPS library, I get messages saying that TinyGPS and gps are not declared. How can I fix the problems?

Use Google to find the TinyGPS Library.  Download it and install it.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Full Member
***
Karma: 3
Posts: 221
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There's a tutorial at http://arduino.cc/playground/Tutorials/GPS and the GPS module have four wires connected to the Arduino UNO. Two wires from the GPS module are connected to Gnd on Arduino UNO. There appear to be a conflict between GPS module and Software Serial. The Serial Monitor is stuck at "Receiving GPS". Any suggestions?
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8974
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Any suggestions?
Try this to see what data, if any, is arriving from the GPS:
Code:
#include <SoftwareSerial.h>

SoftwareSerial nss(6, 255);            // Yellow wire to pin 6

void setup() {
  Serial.begin(115200);
  nss.begin(4800);
  Serial.println("Reading GPS");
}

void loop() {
  if (nss.available()) {
    Serial.write(nss.read());
  }
}
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Full Member
***
Karma: 3
Posts: 221
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

John, I finally got it working! I found out that I had to disconnect the yellow wire from the Arduino UNO before uploading the code to it and run Serial Monitor, then connect the yellow wire to the Arduino Uno.
Logged

Pages: [1]   Go Up
Jump to: