Atgm336h GPS enabling 115200baud and 10hz updates

I am trying to see if the below is correct for 10hz updates. If I leave it out (the 10hz command), it does slow down but it still doesnt feel as though it keeps up. Trying to see if it can keep up with my speedometer but it still seems like it lags behind. It SHOULD keep up at 10hz.

#include <TinyGPSPlus.h>
#include <HardwareSerial.h>

TinyGPSPlus gps;

 
HardwareSerial ss(1);  


void setup()
{
  Serial.begin(115200);
  ss.begin(9600, SERIAL_8N1, 27, 14); // Initialize the GPS module at 9600 baud

  ss.print("$PCAS01,5*19\r\n");         // Change baud rate to 115200
  delay(1000);                          // Delay between commands/operation
  ss.begin(115200, SERIAL_8N1, 27, 14); // Change the baud rate to 115200
  delay(1000);                          // Delay between commands/operation
  ss.print("$PCAS02,100*1E\r\n");
  delay(1000);                  // Delay between commands/operation
  ss.print("$PCAS04,1*18\r\n"); // change to automotive use
  delay(1000);                  // Delay between commands/operation
  ss.print("$PCAS04,3*1A\r\n"); // use gps and bds sats
  delay(1000);                  // Delay between commands/operation
}

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.