hi
I got an “old” version of the shield (without jumpers) and tried to get it work with the current library in github.
After some tries with the example I shortened one, but I get no real numbers back.
IDE 1.6.8 / Arduino UNO and MEGA
Serial Monitor Output:
Initialize GPS.
Initialized.
Status:
Time : 0
Lati : 0.00
Long : 0.00
#include “string.h”
#include “ctype.h”
#include “SoftwareSerial.h”
#include “dGPS.h”
#include “Arduino.h”
// Software serial TX & RX Pins for the GPS module in dGPS.cpp : 4, 3
// Initiate the software serial connection
int ledPin = 13; // LED test pin
dGPS dgps = dGPS(); // Construct dGPS class
void setup() {
pinMode(ledPin, OUTPUT); // Initialize LED pin
Serial.begin(115200); // Serial output back to computer. On.
Serial.println(“Initialize GPS.”);
dgps.init(); // Run initialization routine for dGPS.
delay(1000);
Serial.println(“Initialized.”);
}
void loop() {
Serial.print("Status: "); Serial.println(dgps.Status());
Serial.print("Time : "); Serial.println(dgps.Time());
Serial.print("Lati : "); Serial.println(dgps.Lat());
Serial.print("Long : "); Serial.println(dgps.Lon());
delay(1000);
}
QUESTION:
- why does it not give valid data?
- How could I just get the crude NMEA output from the GPS?
(Master Reset, set output = NMEA, baud=9600) - Could you publish a schematic of the older shield, please? (Antenna labeled with G223)
Thanks