Reply To: Update rate resets after ~15 seconds

Home Forums Forums Technical Support for BerryGPS and BerryGPS-IMU Update rate resets after ~15 seconds Reply To: Update rate resets after ~15 seconds

#15957
PeterP
Participant

Have you tried to stop GPSD and see what happens? I think it mighty be GPSD changing it back to 9600.

1. Stop GPSD
sudo systemctl stop gpsd.socket

2.change the speed on the GPS module to 115200
echo -e -n "\xB5\x62\x06\x00\x14\x00\x01\x00\x00\x00\xD0\x08\x00\x00\x00\xC2\x01\x00\x07\x00\x03\x00\x00\x00\x00\x00\xC0\x7E" > /dev/serial0

3.change the baud rate on Pi Serial
stty -F /dev/serial0 115200

4. check that you can still see the NMEA data at the new speed
cat /dev/serial0

5. change update rate to 10Hz
echo -e "\xB5\x62\x06\x08\x06\x00\x64\x00\x01\x00\x01\x00\x7A\x12" > /dev/serial0echo -e "\xB5\x62\x06\x08\x06\x00\x64\x00\x01\x00\x01\x00\x7A\x12" > /dev/serial0

6. wait and see if it changes back

Peter --OzzMaker.com --

Blip, blop, bloop…