Unable to change settings on L80R-M37

I’m trying to set the module into its 5hz mode, however it doesn’t seem to work.

Serial.begin(115200);
gpsSerial.begin(9600, SERIAL_8N1, gpsRX, gpsTX);

Serial.print("gpsSerial started at ");
Serial.println(gpsSerial.baudRate());

// Send baud rate change command
gpsSerial.println(“$PMTK251,115200*1F”);
delay(100);
gpsSerial.end();
delay(100);
gpsSerial.begin(115200, SERIAL_8N1, gpsRX, gpsTX);
delay(100);

Serial.print("gpsSerial restarted at ");
Serial.println(gpsSerial.baudRate());

// Set update rate to 5Hz
gpsSerial.println(“$PMTK220,200*2C”);
delay(100);
}

This is the portion of my code that is supposed to initialize the module. the baud rate changes as expected, as its sending NMEA sentences at 115200. The update rate never seems to change cuz the LED still pulses at one second intervals. So because the baud rate changes I know I’ve got my Rx and TX hooked up properly. The only other command I’ve managed to get to work is the full cold start command which I can confirm then resets the module back to its default 9600 baud rate. The GPSserial.println adds a carriage return and Line Feed at the end so I shouldn’t need to explicitly send that and since the baud rate changes fine I’m figuring that it should work for the other commands as well.

Any thoughts or recommendations are greatly appreciated

Hi Trevor.kidd,

L80-R is a ROM based module. For L80-R, when there is a completely power-off or cold start, the configurations you send to the module will lose, and you need to send them again after power up.

If you want to keep your settings, you need to provide constant VBCKP backup power supply.

Best regards.

Hi there and thanks for the reply. I am aware that I need to set these properties on boot every time. The problem I’m having is that it will not accept the command to put it into the 5hz mode. That snippet of code that I provided is part of my setup function that runs every single time on boot. It just will not go into the 5hz mode