Reply To: Problems getting 10hz

Home Forums Forums Technical Support for BerryGPS and BerryGPS-IMU Problems getting 10hz Reply To: Problems getting 10hz

#16506
Mark Williams
Keymaster

What you are doing above is correct.

I just tested, using your commands;

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
echo -e "\xB5\x62\x06\x08\x06\x00\x64\x00\x01\x00\x01\x00\x7A\x12" > /dev/serial0
stty -F /dev/serial0 115200

And did a cat on serial0, filtered on RMC and it works.

pi@raspberrypi:~ $ cat /dev/serial0 | grep RMC
$GNRMC,025842.80,A,3346.79368,S,15106.72506,E,0.116,,221220,,,A*71
$GNRMC,025842.90,A,3346.79367,S,15106.72505,E,0.023,,221220,,,A*7B
$GNRMC,025843.00,A,3346.79368,S,15106.72507,E,0.182,,221220,,,A*74
$GNRMC,025843.10,A,3346.79366,S,15106.72504,E,0.073,,221220,,,A*77
$GNRMC,025843.20,A,3346.79367,S,15106.72505,E,0.091,,221220,,,A*78
$GNRMC,025843.30,A,3346.79366,S,15106.72502,E,0.033,,221220,,,A*77
$GNRMC,025843.40,A,3346.79367,S,15106.72502,E,0.117,,221220,,,A*76
$GNRMC,025843.50,A,3346.79366,S,15106.72501,E,0.105,,221220,,,A*76
$GNRMC,025843.60,A,3346.79367,S,15106.72501,E,0.237,,221220,,,A*76
$GNRMC,025843.70,A,3346.79366,S,15106.72500,E,0.179,,221220,,,A*7E
$GNRMC,025843.80,A,3346.79366,S,15106.72499,E,0.215,,221220,,,A*79

Is gdps still running in the background? try and kill it first
sudo killall gpsd

Mark --OzzMaker.com --

Blip, blop, bloop...