Raspberry Pi 2 1GB + Adafruit Ultimate GPS Breakout

Hey guys,

I'm new to this forum and I have a pretty specific question.

For a school project I am building a NTP server like this: https://developers.redhat.com/blog/2017/02/22/how-to-build-a-stratum-1-ntp-server-using-a-raspberry-pi/

I have purchased a Raspberry Pi 1GB + Adafruit Ultimate GPS Breakout V3 + all the accessories and build it up exactly like the one from the blog. I also followed the : https://cdn-learn.adafruit.com/downloads/pdf/adafruit-ultimate-gps-on-the-raspberry-pi.pdf

I configured the Raspberry with Raspbian Jessie Pixel and Occidentalis v0.3 and wired the Ultimate GPS Breakout board directly on the Pi (because it's more convenient for configuring). I also didn't use an USB adapter but UART. For the GPS client daemon I'm using GPSD.

The problem that I'm having is that I can't seem to get a FIX with GPSD. I went outside with the setup but that didn't work, then I also went on the roof of my school, even that didn't work. I configured the Pi using GPSD exactly like in the manual. I've been doing everything exactly like I'm supposed to but nothing works. I will put an output of some commands in the attachments. Commands I used for output are:
- cgps -s
- xgps
- The white screenshot is the status line which displays in xgps.
- sudo lsof /dev/ttyAMA0
- gpsmon

As a new user I can't post more then 2 pictures in a post, therefore I leave you guys a link to the same post on the same site:
https://forums.adafruit.com/viewtopic.php?f=19&t=118570&p=592051#p592051

I appreciate any help!

Grtzz, Colin

Have you been able to get anything out of /dev/ttyAMA0 at all?

I'm assuming you've freed up the UART, disabled the linux serial console, and enabled UART via raspi config?

This is the direct PDF on the GPS module and shows you how to get NMEA sentence raw output from the module

Sorry If I can't be of much more help. I'm an embedded dev but without seeing your physical wiring setup and what you've already done beyond run every linux gps util against the port I'm not able to do much.

You'll have to go over what's happening and diagnose/verify at every layer that things are correct, that means check the gps module power supply (multimeter needed) check your linux config and ports with something else that you know is working etc etc.

Hi @catsay , I just checked if I have free'd the UART and disabled the linux serial console according to the manual, and I already did that. Thank you very much for your help though, If you have any more ideas I'm happy to try them.

Little update:

We don't seem to get any data from the serial port AMA0, we just get: JSON SLAVE DRIVER and then a long line of text like this:

Looks like your uart port isn't doing anything at all.

Your translation driver is just spitting out the json config of the port and then nothing while it waits for the GPS to respond.

What does this command output for you?

 setserial -g /dev/ttyAMA0

You should see the UART configuration state and Interrupts

Then power down your GPS module and run the following

screen /dev/ttyAMA0 9600

Now power on your GPS module, you should be seeing a bunch of gibberish pop up on the screen. If not then you've got some wiring wrong.

You can use Ctrl+a+\ to close the screen session again.