Reply To: Is it possible to turn off power to the GPS independently from the IMU?

Home Forums Forums Technical Support for BerryGPS and BerryGPS-IMU Is it possible to turn off power to the GPS independently from the IMU? Reply To: Is it possible to turn off power to the GPS independently from the IMU?

#10562
PeterP
Participant

This can be done through the serial interface by sending UBX protocol commands
Stop GNSS;
echo -e -n "\xB5\x62\x06\x57\x08\x00\x01\x00\x00\x00\x50\x4F\x54\x53\xAC\x85"> /dev/serial0

Start GNSS;
echo -e -n "\xB5\x62\x06\x57\x08\x00\x01\x00\x00\x00\x20\x4E\x55\x52\x7B\xC3" > /dev/serial0

I hope this is what you are after.

The UBX protocol is a bit cryptic, but it is powerful.   it is documented here

Peter --OzzMaker.com --

Blip, blop, bloop…