I had this working just fine with my Pi 4. As far as I can tell I haven't missed any of the setup steps I followed to get the HAT working with the Pi 4. sudo ppstest /dev/pps0 shows that I'm getting a PPS signal at least, but doing:
followed by:
...simply hangs. There's no sign of the GPS NMEA data coming in.
I've at least gathered so far that there are some hardware changes in the Pi 5 that could be involved here, particularly in regard to serial0 vs uart0, but I can't make any sense from what I've read how to apply that knowledge to getting GPS data out of this HAT. For instance...
...simply results in "stty: /dev/uart0: No such file or directory".
What am I missing? Adafruit should really update their tutorials for the Ultimate GPS HAT if there are important changes to get it to fully work with the Raspberry Pi 5.
Code:
stty -F /dev/serial0 raw 9600 cs8 clocal -cstopb
Code:
cat /dev/serial0
I've at least gathered so far that there are some hardware changes in the Pi 5 that could be involved here, particularly in regard to serial0 vs uart0, but I can't make any sense from what I've read how to apply that knowledge to getting GPS data out of this HAT. For instance...
Code:
stty -F /dev/uart0 raw 9600 cs8 clocal -cstopb
What am I missing? Adafruit should really update their tutorials for the Ultimate GPS HAT if there are important changes to get it to fully work with the Raspberry Pi 5.
Statistics: Posted by kshetline — Thu Feb 13, 2025 2:04 am