Using GPS-15210 on raspberry pi zero

i’ve placed an order for “SparkFun GPS Breakout - Chip Antenna, SAM-M8Q (Qwiic)”, product # GPS-15210 and would like to confirm this works fully with a Raspberry Pi Zero WH or Raspberry Pi Zero 2 WH (connected via “SparkFun Qwiic pHAT v2.0 for Raspberry Pi” product # DEV-15945).

the button on the gps product page links to https://learn.sparkfun.com/tutorials/sparkfun-gps-breakout-zoe-m8q-and-sam-m8q-hookup-guide however this guide only has example code for an Arduino and makes no mention of the Raspberry Pi.

searching online, i found what appears to be a python package compatible with the SAM-M8Q chip that this board uses, at the following link: https://github.com/sparkfun/Qwiic_Ublox_Gps_Py

please confirm this is the correct / recommended official SparkFun code and will work with product # GPS-15210 on a Raspberry Pi Zero WH (when using product # DEV-15945 (and a qwiic cable) to connect the gps breakout board to the pi zero) and it will deliver usable gps coordinates, utc timestamp, altitude, heading, etc already decoded from the gps chip’s NMEA messages.

regarding this hardware combination, if using the official Raspberry Pi brand Pi Zero case with the top with the hole for headers, how tall of a spacer (if any) is required for the DEV-15945 pHAT to connect fully to the pi’s gpio pins? would product # PRT-16763 work well as a spacer when using the official pi zero case?

also regarding GPS-15210, will it have any issue with the timestamp in the future? i currently have a gps module from another retailer that i recall reading will experience an overflow issue in the next decade or two. does the chip in GPS-15210 have sufficient integer bit depth to avoid this?

does SparkFun have any kind of case or adapter board or breadboard that has similar size holes and spacing as the GPS-15210 so the breakout board can be easily physically mounted to either the DEV-15945 itself or to a piece of wood, plastic, etc?

GPS Has a 10-bit Week Number (0…1023), that rolls over every 19.69 years, uBlox has addressed that, as it can use both an advancing starting point, and other constellations/systems that don’t share that limitation.

And frankly in most cases this didn’t break GPS from the positioning stand-point, just the human calendar side of representing YYMMDD

The guide still applies to Pis, enable i2c on the pi and wire the GPS board via qwiic to the pHat
Yes, that’s the right one if you are using python on a Pi
Not sure; the headers on the pHat are 13mm tall, it looks like the case is around 15mm tall total, so you might be able to fanagle it by mounting the zero raised up (or maybe as-is!), or grab Raspberry Pi GPIO Tall Header - 2x20 - PRT-14017 - SparkFun Electronics to be prepared in case it doesn’t fit…or the one you linked would work too, depending on what kind of headers will be on the Pi (just match them knowing the pHat is female)
No, but you could 3D print something, or use long plastic spacers (the holes are mis-aligned by 1-2mm, you could probably get away with jerry-rigging it with slightly tilted mounts)

thank you @clive1

does one need to specify the advanced starting point somewhere in the script to get the correct date (if it only connects to gps satellites before the other systems)? i’m building a gps logger and would like to ensure the utc timestamp remains accurate in the future.

thank you @TS-Russell

i don’t have a 3d printer, so will see what i can make by hand. i’m also looking for a mount for product # SEN-15335 so i can install it upside down on the wood ceiling of an enclosed cargo trailer (to get readings of the tilt angles, both when parked on uneven ground and when driving up or down mountains). if you have any cases or adapters or anything for the hole spacing on this breakout board, please let me know. or do you have (or know of) any wood screws that plastic standoffs / spacers can be threaded directly onto?

as an alternative to using the Qwiic pHAT on the raspberry pi, does SparkFun offer a product similar to CAB-17261 but that has the female jumpers all connected together as one header piece, so it can be easily placed back onto the raspberry pi gpio pins (in case if it ever got disconnected and one didn’t have a gpio reference image with them to know where the individual wires go on the pi)? i see you have a shim as product DEV-15794 that would make placement / alignment of pins easy, but i want something that will stay reliably connected in a moving vehicle (at times on bumpy roads) to use with the qwiic gps board.

Hot glue and the dollar store are your best friends for stuff like this

You could either label the pins with CAB-17261, but I’d probably just hot glue them in place instead. The shim might not fit in the case