I set up a GPS NEO-6M board with a Nano and things worked well. I have a strong GPS signal in my location with many satellites visible and positional accurate of a few yards (a bit of ‘jitter’ but all within the back garden). Unfortunately, I ran out of memory space so upgraded to a Mega 2560.
Nothing has worked since so I have stripped down to the basic two boards with four wires; +ve Red, Rx White, Tx Blue, Gnd Black (see image).
I’ve also abandoned my sketch and have used the [file][examples][TinyGPS++][DeviceExample] sketch unaltered.
Red to Mega 5v
White (GPS Rx) to Mega pin 4
Blue (GPS Tx) to Mega pin 3
Gnd to Mega Gnd
I’ve also tried swapping the White and Blue wires to pins 3 and 4 as some sketches suggest that. NB I have also tried pins 14/15 16/17 18/19 and 20/21 (in both configurations) altering the sketch accordingly. Finally, I have two Mega boards and two GPS boards. I have tried them in all possible combinations.
In all cases, the GPS unit is flashing its LED at about 1-second intervals (which was satellite acquired on the Nano board) BUT I get the following;
13:58:44.353 -> DeviceExample.ino 13:58:44.353 -> A simple demonstration of TinyGPS++ with an attached GPS module 13:58:44.353 -> Testing TinyGPS++ library v. 1.0.2 13:58:44.353 -> by Mikal Hart 13:58:44.353 -> 13:58:49.367 -> No GPS detected: check wiring.
This is the same issue as any other sketch I try - it hangs at “no signal received” when I know the GPS unit IS getting a good signal.
There are only two wires of significance (White and Blue) and I cannot see how they could be wrong so I am missing something but I cannot get past this very early stage.
I need some guidance on what to try next before I hurl the boards into the mid-distance in frustration!