Cannot read raw GPS data into Raspberry Pi

Q&A forumCategory: QuestionsCannot read raw GPS data into Raspberry Pi
dickersonj19 asked 4 weeks ago
Good morning,
I’m Cole and I’m trying to get a RTK receiver working for an undergraduate research project. I’ve been following the “Connect your simple RTK2B/3B to a raspberry pi” tutorial. I’ve run through all the steps multiple times and all I can get to print when I run the python command is a repeated messaged of (b”). What is included in the parentheses is what gets printed. I am using a raspberry pi 3, u-blox multi-band gnss antenna ANN-MB-00 (SMA), and a simple RTK3B Pro with the adapter recommended on that page. I’ve double checked to make sure that I’ve followed the tutorial to the best of my ability. The Power, IOREF, 5V in/out, GPS Fix, and GPLED leds are all on. I am using serial0 to try to read data in. Please let me know what I can do to read data in. Thanks so much.
Best, Cole

1 Answers
clive1 answered 4 weeks ago
If the receiver is not configured for NMEA at 38400 baud, then it might be outputting UBX packets, ie 0xB5,0x62,.. where the 0x62 matches ‘b’ (Lower case B). UBX packets are binary data, not printable characters. The Raw data messages used by RTKLIB, et al would be UBX-RXM-RAWX and UBX-RXM-SFRBX

Want to learn more about GPS/RTK?

1. Our engineering team will contact you to solve any questions
2. We will keep you updated about promotions and new product releases
3.You will only hear from us when we have important news, we won’t spam your email