i’m interested in the "SparkFun GNSS Flex pHAT - DAN-F10N”, SKU: GPS-29491, with a Raspberry Pi 5 (that will probably also be running two raspberry pi camera modules), and would like to find out some details. most importantly, i’d like to know if there is any sample gps position data retrieval code available for this exact model that is proven to work.
(a while ago i purchased another sparkfun gps unit for the qwiic system to use on a raspberry pi, but have yet to get gps coordinates or date/time using the online sample code i tried, and this time want to make sure i can see known working code before purchasing.)
if anyone has python (or other) code that has been tested using the DAN-F10N on the GNSS Flex pHAT with a Raspberry Pi 5 running headless (with Raspberry Pi OS “Lite”, without any graphical desktop installed), please let me know. all i’m looking for is a simple script that retrieves the current latitude and longitude and timestamp (from the gps / gnss satellites) into variables repeatedly every 5 seconds (and i will integrate this into my own code for data logging, live position reporting, etc).
regarding the GPS / GNSS module data output:
how does the DAN-F10N firmware handle timestamps when the gps week number rolls over every 1024 weeks? at the end of 2038, if the module were only connected to older satellites since powered up, will the reported timestamp indicate the correct year (or one in the past, or no year)?
i’m also looking for more details about the GNSS Flex pHAT:
are any of the LED indicators on the pHAT controllable by user?
will the physical slot in the pHAT board allow for two raspberry pi camera cables to fit through simultaneously when using two cameras on a raspberry pi 5, or does only one cable easily fit through without risking damage to the cables?
regarding the microSD card slot on the pHAT, does the inserted card automatically show up as a mounted / mountable filesystem in raspberry pi os (when properly formatted)? or is it only accessible via special commands on the pHAT, or when using the pHAT for data logging without plugging into the raspberry pi?
can someone please clarify details about the usb-c port on the pHAT? the product page specs mention backup power but also say not a power source next to usb bus detect. can the usb-c port on the pHAT be used to power the pHAT and carrier board, as well as provide backup power to the raspberry pi if its power source is lost? (or is it best to only plug usb-c power into the raspberry pi 5 itself?)
on a related note:
i’m also considering plugging a “SparkFun Qwiic button” with LED into the pHAT. i may place the cameras away from the raspberry pi 5 and extend the camera cables via a couple “Arducam CSI to HDMI Cable Extension Module” units. these arducam extension units feature headphone jacks for gpio extension (via the same hdmi cable that is extending the camera cable).
does SparkFun happen to have any adapter(s) to convert the Qwiic plugs into male headphone plugs? if i can extend the button without soldering something that’d be great. (the remote ends of both arducam extension units will be near each other, so i can use two sets of headphone plugs to extend the four qwiic pins via both arducam adapters) would there be any possibility of hardware damage if any (or half) the qwiic pins were accidentially disconnected while the other pins were still connected to a powered raspberry pi or pHAT?