Go Down

Topic: How to get Parallax PMB-648 GPS module working with Arduino UNO? (Read 6521 times) previous topic - next topic

jeffmorris

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

johnwasser

Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

jeffmorris

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

johnwasser


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: [Select]

#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());
  }
}
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

jeffmorris

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?

johnwasser


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.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

jeffmorris

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?

johnwasser


Any suggestions?

Try this to see what data, if any, is arriving from the GPS:
Code: [Select]

#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());
  }
}
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

jeffmorris

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.

Backy

Good day!
Is it possible to use Arduino Mega instead of Ardino Uno? To be honest I tried to use Mega with serial pin dig 15 (RX) instead of dig pin 6 in Uno... But Nothing ( I didnt get data . If I use with Uno and pin 6 I can get data.... If somebody knows what is the problem...pls help

pwesson20

To connect the Arduino mega to the PMB 648.

https://www.roboticboat.uk/ArduinoMegaGPS.html


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy