Old shield , current library


#1

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:

  1. why does it not give valid data?
  2. How could I just get the crude NMEA output from the GPS?
    (Master Reset, set output = NMEA, baud=9600)
  3. Could you publish a schematic of the older shield, please? (Antenna labeled with G223)

Thanks


#2

Hi ursm, do you have a logic analyzer you could hook up to the shield?

Here’s a schematic of the older v2 shield. Looks different than yours though; you don’t seem to have an ISP programmer on yours.


#3

Also a heads up: if your coincell there is dead, the GPS sensor won’t turn on. You might try to replace it as well, that might help resurect it.


#4

hi
thanks for your suggestion, but the coin cell shows 2.9 volt
b.t.w. the battery is only used to store the parameters and the last data in the gps.

the board has only 4 connections
GPS connector
1 4
2 3
3,5,7 gnd, batt -
5 batt +
4 5V

still no other (better) results


#5

The coincel is important: if you remove it, the chip won’t work. It’s not powering the chip per-se, but it’s necessary for it work.

So if oyu don’t have a logic analyzer, your next best move is to use a voltmeter to test the continuity and match up the pins.