Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3831

Troubleshooting • Issue with Adafruit Ultimate GPS on Raspberry Pi 5 – No NMEA Sentences on /dev/serial0

$
0
0
Hi everyone,

I'm trying to connect the Adafruit Ultimate GPS Breakout (Version 3) to my Raspberry Pi 5 via UART. However, I’m not receiving any NMEA sentences when I attempt to read from /dev/serial0 or /dev/ttyAMA10. After several attempts and troubleshooting steps, I’m stuck and could use some help!

Setup Details
Hardware:

Raspberry Pi 5
Adafruit Ultimate GPS (V3)
Connected directly via GPIO pins:
GPS TX → GPIO RX (pin 10)
GPS RX → GPIO TX (pin 8)
GPS VIN → 3.3V
GPS GND → Ground
Configuration:

Baud rate: 9600 (as per GPS default)
Bluetooth disabled in /boot/firmware/config.txt:

csharp
[all]
enable_uart=1
dtparam=uart0=on

Ran: sudo systemctl stop gpsd to avoid conflicts.
Also tried sudo gpsd /dev/serial0 -F /var/run/gpsd.sock with cgps -s.
Commands and Results:

sudo cat /dev/serial0: No output.
sudo lsof /dev/ttyAMA10: gpsd was using it; stopped gpsd to free the resource.
dmesg | grep tty output shows:

bash
[ 7.140500] pps pps1: new PPS source ttyAMA10
[ 7.140513] pps pps1: source "/dev/ttyAMA10" added

Things I’ve Tried:
Checked for GPS conflicts (e.g., disabled Bluetooth).
Made sure my wiring matches the GPS and Pi GPIO diagram.
Tried using screen /dev/serial0 9600 and gpsmon /dev/serial0 with no luck.
Confirmed pps1 shows up in dmesg, but no GPS data appears.

Despite these steps, no NMEA sentences show up when reading /dev/serial0 or /dev/ttyAMA10. I saw weird characters (OAOAOA sequence) earlier, but that might have been due to Bluetooth interference, which I’ve since disabled. I suspect something is still conflicting, or maybe there’s an issue with the GPS module or Raspberry Pi settings.

Is there anything else I need to check in the Raspberry Pi’s configuration?
Could the GPS module be defective, or is it possible that I’m missing something in the wiring?
Are there additional tools or diagnostics I can run to validate the GPS connection?

Any help would be greatly appreciated!

Statistics: Posted by camdicey1 — Tue Oct 22, 2024 1:43 am



Viewing all articles
Browse latest Browse all 3831

Trending Articles