SparkFun Forums 

Where electronics enthusiasts find answers.

Tips and questions relating to the GPS modules from SFE
By JoeNamat
#182682
Hi everyone,

I've got a GP-2106 with the associated evaluation board. I connected the board as follow
Code: Select all
NUCLEO L053R8       GP-2106 Eval Board
PC_4  <-------------------  TX
PC_5  --------------------> RX
3.3V  <-------------------> VCC
GND   <-------------------> GND
I just coded a pass-through
Code: Select all
RawSerial gp(PC_4, PC_5);
RawSerial pc(USBTX,USBRX);
int main() {
    pc.baud(9600);
    gp.baud(4800);
    while(1) {
        if (gp.readable()){
            pc.putc(gp.getc());
        }
    }
}

I then opened Putty on COM4 with 8bNone1 and 9600 bps and press the ON/OFF button of the GP-2106 eval board.
Characters are printed on the terminal at a 1Hz frequency but nothing that looks like NMEA sentences :

My screen is full of ▒ character.

What can go wrong ?

Cheers
Joe