Questions tagged [gps]

The Global Positioning System (GPS) is a space-based navigation system that provides location and time information to receivers on the surface of the earth. This tag should be used for questions how to connect and interface to GPS receivers or modules.

158 questions
62
votes
4 answers

How do I attach a GPS receiver?

I would like to hookup a GPS receiver to my Pi so that I can: Get my geographical position Synchronise clock when not connected to network What are my options? Will any hardware supported by gpsd work with the Pi?
Maria Zverina
  • 5,188
  • 5
  • 32
  • 42
8
votes
3 answers

Chrony doesn't sync time with gpsd

I have a Raspberry Pi that will be used for logging sensor data while not connected to the internet. Since the Raspberry Pi doesn't have an RTC, and to still get the actual time, I want to use a GPS receiver for the time. I would like to use gpsd…
Frank Kusters
  • 221
  • 2
  • 5
7
votes
1 answer

Is there a way to attach multiple serial port devices to a single raspberry pi?

I have three separate devices that all need access to a data serial port on the pi. My devices are an accelerometer, a GPS unit, and a GMS cell service chip. I've found tutorials on how to attach these to the pi and manipulate each individually, but…
jake9115
  • 299
  • 1
  • 3
  • 9
7
votes
5 answers

Google Flat Earth needed for RPi

The idea was to plot ship's position on a chart pinned to Google Earth using .kml files (many hours spent setting these up). This works fine on my laptop. A GPS dongle sends the ship's position to GE and shows the track like a sewing machine stitch.…
Jon Horridge
  • 79
  • 1
  • 2
6
votes
2 answers

Additional hardware needed for GPS receiver?

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…
DA--
  • 223
  • 2
  • 6
5
votes
2 answers

What GPS dongle / device works with Windows 10 IoT and Raspberry Pi 2?

Are there any USB GPS dongles / devices for Raspberry Pi 2 that work with Windows 10 IoT Core? Alternatively, how about a Pi HAT using the I/O pins?
Chris Pietschmann
  • 543
  • 1
  • 5
  • 17
4
votes
3 answers

Getting NMEA unknown msg*58 and other garbage from my NEO-6M-0-001 GPS module

I have tried to complete this project from Raspberry Pi GPS Module Interfacing Tutorial, where I used a NEO-6M GPS module in my Raspberry pi 3 B+. After setting up everything, when I write sudo cat /dev/ttyAMA0 in a terminal to test the device…
4
votes
1 answer

How to use Arduino devices with Raspberry Pi?

I bought "RFID RC522" & "GY-NEO6MV2", and I need a useful guide for both of them in order to use them with Raspberry Pi 3 Model B. I also want to know if there is a guide or a course for using Arduino devices with Raspberry Pi.
Abdulkader
  • 65
  • 1
  • 4
4
votes
3 answers

set system clock to value received from GPS

I've got a USB GPS receiver permanently attached to my raspberry pi. At boot time, I would like raspbian to wait until the GPS has a signal, then set the OS's time to whatever the GPS says. I've already installed gpsd and gpspipe and I'm logging the…
Fidel
  • 181
  • 1
  • 1
  • 8
4
votes
1 answer

Is there a way to split data stream from one serial port (ttyAMA0) to multiple virtual ports in Raspberry Pi?

I'm quite a newbie on RPi so I'm sorry if I'm not being specific enough. I need to run 5 rtkrcv (RTKLIB application program) with different setting on each one, so I take it I need 5 virtual ports for each instance. My physical serial (GPS device)…
ModifiedB
  • 41
  • 2
3
votes
3 answers

How can Rpi connect a GPS module?

I've tried reconnecting an old GPS module to the UART pins on my raspberry pi, but it seems it's not able to get a satellite fix. I've had troubles trying to get gpsd started, but I'm able to test the connection with gpsmon. It seems capable of…
Rob
  • 31
  • 1
  • 3
3
votes
1 answer

gpxlogger not reading any data unless cgps runs

I have the GPS daemon running as user gpsd: /usr/sbin/gpsd -N /dev/ttyUSB0 /dev/ttyUSB0 I have gpxlogger running as root: gpxlogger -d -f /data/%Y%m%d-%H%M%S.gpx Initially, all what gpxlogger writes is the gpx preamble, but no actual…
Max Spring
  • 171
  • 1
  • 5
3
votes
0 answers

Outdoor Wi-Fi positioning / poor man's GPS on RPI3 Model B

I got used to Google Maps figuring where I am using surrounding Wi-Fi signals, a.k.a. Wi-Fi positioning system. I try it on my laptop and it works, but on my Raspberry PI it doesn't: using Firefox ESR, it locates me as if I'm in the center of the…
3
votes
1 answer

Running py script as service and interact via ssh. tmux or screen?

I would like to run a python script wich is logging a nmea GPS stream from UART for a drone. And I want to see my scripts output in the terminal. The script starts just fine with the folowing setup: /etc/systemd/system/gps_log.service [Unit]…
Hans Jürgen
  • 53
  • 1
  • 7
3
votes
2 answers

Failing to read the /dev/ttyAMA0 port in CSHARP ()

I have a GrovePi board, attached to my Raspberry PI 2. I want to read the GPS sensor, using the RPISER port on the GrovePi in my Universal Windows App (Windows 10 IoT Core), but it fails with the following exception: System.ArgumentException: The…
1
2 3
10 11