6

So I'm really new to Raspberry Pi (3), and want to track the device position. Therefore I ordered a GP 20u7 GPS receiver.

I connected it as shown below, set up the deamon (gpsd), configured the ttyS0, but no succes. I do have NMEA messages coming from /dev/ttyS0, but without values for lat and lon. See also the included figure for cgps.

So my guess is that I'm doing something very wrong. Do I need more hardware components to make this setup? I can't find a clear answer online. I thought the receiver would be enough...

Thanks for any advice!

enter image description here enter image description here

DA--
  • 223
  • 2
  • 6

2 Answers2

13

Have you tried it outdoor? GPS has very low to no reception indoors. Also you have to receive a signal from at least 4 GPS satellites. Smartphones overcome this issue by using the WiFi and cellular strength and a map service where each WiFi network and cell is mapped to GPS coordinates.

user49015
  • 2,712
  • 17
  • 23
0

If your setup matches the image -- I do not see how you can be getting NEMA sentences via ttyS0 -- you have the GPS transmit connected to the RPi UART transmit. It needs to be on the UART receive -- next pin.

Did you verify at the command prompt?

sudo cat /dev/ttyS0

Antennas are usually not necessary -- I get data without one.

jinzai
  • 151
  • 4