Page 1 of 1

Can This GNSS HAT Be Used to Set the Time on a Pi Zero W?

Posted: Fri Jun 11, 2021 1:51 pm
by Alex_Landherr
I'm wondering if there is a way to use this GNSS HAT to continually discipline the time on a Pi Zero W?
https://thepihut.com/products/max-m8q-g ... 0566069443

Any workable solution would be greatly appreciated.

Re: Can This GNSS HAT Be Used to Set the Time on a Pi Zero W?

Posted: Fri Jun 11, 2021 2:58 pm
by bensimmo
Yes, grab the date-time NMEA message and set the clock.

OR set it up as an NTP source with GPSD (If memory serves me write, it uses GPSD)


Which should give you enough to search on and find the writeup about it.

Though a cheaper GNSS/GPS device would do the job too.


I see a PPS pin on there too, that's a accurate time pulse, so using that would be even better (but methods are similar)

Re: Can This GNSS HAT Be Used to Set the Time on a Pi Zero W?

Posted: Fri Jun 11, 2021 3:19 pm
by Alex_Landherr
Would this guide be applicable?:
https://weberblog.net/ntp-server-via-gp ... pberry-pi/

Or this?:
http://unixwiz.net/techtips/raspberry-pi3-gps-time.html

The reason I'm going with the MAX-M8Q is that I might use again in another project and want a GNSS HAT with a separate antenna on hand.