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.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

How to use different baud rates with gpsd?

Docs for gpsd state that it autodetects baud rate of the gps module, but on my system it does not. On my Pi4B with Adafruit Ultimate Breakout wired to UART5, gpsd can only connect to the GPS at 9600. ...
0
votes
1answer
27 views

Calculate Accurate Distance Traveled with GPS in Python [closed]

I am trying to update distance traveled between GPS coordinates. My error is that the GPS can move short distances while sitting still. I am currently simply adding the new coordinates to a list every ...
1
vote
1answer
48 views

How come Rpi GPSD can read GPS data using USB to serial cable, but not using Rpi serial pins TxD, RxD?

I've been trying to setup an RPi0 with a GPS module. This is the GPS antenna I'm using This is the GPS module I'm using to connect to the Pi I've tried the module with USB on my desktop (Windows 10) ...
0
votes
2answers
272 views

How can Rpi change Neo-6M GPS update rates?

Hi i'm tryng to change the update rate of my gps tracker(neo 6m ublok) i know the byte that i need to send are 0xB5,0x62,0x06,0x08,0x06,0x00,0xC8,0x00,0x01,0x00,0x01,0x00,0xDE,0x6A i've tried echo -e &...
0
votes
2answers
212 views

How can Rpi listen to a GPS module?

Hi guys i'm quite new to raspberry pi and i'm having trouble with a GPS module that i have bought. https://wiki.52pi.com/index.php/USB-Port-GPS_Module_SKU:EZ-0048#Trouble_Shooting i go to installing ...
1
vote
1answer
52 views

Auto run python program upon boot up of raspberry pi

I have done up a real time GPS python program with raspberry pi3b+ and Adafruit GPS module, the program can run manually when connected to monitor. I would like to auto run it once the raspberry pi ...
1
vote
0answers
53 views

GPS timeout problem with TTL to USB connection

I have a gps module based on L80-39 chip and a raspberry Pi 3 model B I connected it initially via USB cable, followed instructions from this site https://wiki.52pi.com/index.php/USB-Port-...
0
votes
1answer
271 views

GPS (USB) with NTP has a consistantly large offset and high jitter from public NTP sources

I have a Raspberry Pi Model B Rev 2 (BCM2835 rev 000e). Connected to it is a USB G-Mouse GPS receiver - which is really just a u-blox 7 GPS receiver. I've had it running for about 15 hours now and it ...
2
votes
1answer
218 views

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 ...
0
votes
0answers
85 views

Can't connect waveshare hat to raspberry pi 3b via python3 to obtain gps

I'm stuck with my waveshare hat and it would be cool if you could help me. I would like to obtain the gps location. I'm a python beginner and tried to use some already written code from this websites:...
0
votes
0answers
208 views

GPS BU-353S4 with Pi4 - not reading position, only timestamp

I'm just gonna say real quick that I've through about 20 threads on this topic, so I know this issue has been brought up many times, but the problem seems to change for every new build of raspbian or ...
1
vote
2answers
69 views

Will eBay USB GPS Antenna work with Raspberry Pi?

Do you reckon this eBay USB GPS Antenna (https://rover.ebay.com/rover/0/0/0?mpre=https%3A%2F%2Fwww.ebay.co.uk%2Fulk%2Fitm%2F143312562035) will work with a Raspberry Pi and if so will I be to use this ...
0
votes
1answer
312 views

How to copy the gps data from Raspberry Pi terminal to a text file?

I'm getting the Gps values after running the following commands in Raspberry Pi . sudo gpsd /dev/ttyACM0 -F /var/run/gpsd.socket gpsmon How can I copy or write the gps data displayed on terminal ...
0
votes
0answers
238 views

gpsd/gpsmon on R-Pi 3 re-activates disabled NMEA messages?

I have a Raspberry Pi 3 with Adafruit's Ultimate GPS Pi Hat. I was able to successfully install gpsd and chrony. I am now getting NMEA and PPS thumbs up But I have a weird issue. The Ultimate GPS ...
0
votes
1answer
282 views

Probably GPSD commands not on $PATH. How to put cgps or xgps on $PATH? [closed]

I installed gpsd, get data stream via SSH, but cgps or xgps commands do nothing. How to ensure GPSD is properly installed and commands are on $PATH?
3
votes
3answers
2k views

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 ...
1
vote
1answer
2k views

Obtaining GPS & Internet together with Waveshare GSM/GPRS/GNSS HAT module

I'm using Stretch installed Raspberry Pi 3 B and Waveshare GSM/GPRS/GNSS HAT to obtain GPS real-time location and internet. What I have done : Used USB-UART interface and connected jumper Using ...
1
vote
1answer
226 views

Raspberry Pi 3 B+ not reading time from the GPS

I have a Raspberry Pi 3 B+ with Adafruit Ultimate GPS HAT (https://www.adafruit.com/product/2324) with external antenna. I configured the device to act as NTP server but the NTP server won't work (No ...
1
vote
1answer
135 views

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 ...
0
votes
2answers
95 views

raspberry pi 3 with GPS HAT, status code (data is void)

Hello I'm new in python and raspberry, today I try to run a script take in 'https://www.rhydolabz.com/wiki/?p=18639#comment-47045' But I don't have a valid data in my status code. The code : #...
1
vote
0answers
83 views

Adafruit Ultimate GPS connection not working

New to PI!! From a new fresh load of OS: I followed the instructions to connect the GPS HAT to a Pi and run the basic test from: https://learn.adafruit.com/adafruit-ultimate-gps-hat-for-raspberry-pi/...
0
votes
0answers
52 views

Creating device driver which feeds GPS Co-ordinates from phone to raspberry pi

I don't have GPS module, so I was thinking whether I can feed GPS coordinates from my android/ios phone to raspberry pi over wireless protocol like bluetooth/TCPIP. Can I create a virtual device ...
1
vote
1answer
224 views

GPSD showing fix with GPS unplugged

I have GPSD installed and am using the c library libgps. It works okay, but I've noticed what look like bugs. Specifically if I run the simple program below with the GPS plugged in the program prints ...
-2
votes
1answer
48 views

Gps for raspberry pi, which one is better in term technical specification and compatibility? [closed]

Whic one is better between gps add on v2.0 module and gps module ublox neo 6m if I ise this one raspberry pi 3?
1
vote
0answers
81 views

Adafruit Ultimate GPS with Rpi 3 “Permission Denied”

I am trying to connect an Adafruit Ultimate GPS to my Raspberry Pi 3 and read data from it using the WiringPi Serial library. I have set the serial connection up and removed the serial console through ...
0
votes
1answer
143 views

How to make a simple GUI?

I recently had follow this tutorial which basically is about making your raspberry pi send email notification every three seconds on the location of your device. The thing that is missing now is, I ...
-2
votes
2answers
1k views

how to build simple interface for Gps project using neo-6m gps module

Hello, you may have heard this like thousand times. So i'm new to raspberry pi. And i just recently bought a raspberry pi 3 for my final year project. I bought this module also which is neo-6m GPS ...
0
votes
1answer
952 views

Waveshare GSM/GPRS/GNSS HAT not connecting to Cellular network

I have this HAT i bought for a pi project I am working on. I get the device to power on, I can connect via USB from PC, and can connect from pi too. However, the NET LED just blinks every second, ...
0
votes
2answers
3k views

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 /...
3
votes
0answers
308 views

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,...
0
votes
1answer
574 views

Why does a communication over SPI returns garbage?

I am trying to read from a gps module NEO-6M using Raspbery Pi 3 B over SPI. It nicely works with Arduino but it doesn't want to work with Raspberry. I have used different libraries in Pyhon, even ...
0
votes
1answer
312 views

gps.next() hangs, NMEA data may be bad?

I've got a few RPi's (0W's) running GPS. All have worked with the same install steps and code except the latest I just assembled yesterday. Now when I run my GPS code, I get the following prints and ...
0
votes
0answers
219 views

PPS ioctl failure in GPS

I am using U-Blox AG GPS in my Raspberry pi 3. My GPS had a fix and displayed all the data in a right way. After an hour of working, it is not getting a fix. So I checked the gpsd status. It displayed ...
1
vote
3answers
1k views

GPS on Raspberry Pi 3

I am using Raspberry Pi 3 with U-blox AG USB GPS. I am not getting a fix in it. To check the data coming out of GPS I used the following command: sudo cat /dev/ttyACM0 It did not show any data. My ...
0
votes
0answers
2k views

change baud rate of serial port raspberry pi 3 android

I installed lineage os 14 on raspberry pi 3 I connected a gps module with UART port, however, the baud rate of GPS is 9600 but baud rate of /dev/ttyS0 is 115200 I want to change the baud rate of ttyS0 ...
1
vote
1answer
175 views

Temperature variations affect NTP server accuracy

I have a ‘fun’ problem I’m trying to sort out. Bear with me! I’ve been running a Raspberry Pi 1 B+ for a year or so as an NTPsec Stratum one timeserver - using the GPS Hat (Here’s how you can make ...
0
votes
0answers
172 views

Using Dragino hat to send gps data in packet every time a packet sends

I have a sensor network under construction using Raspi 3s and Dragino LoraWan/GPS hats to send gas sensor data back to a Dragino Shield gateway. I now want to send the current gps location from the ...
0
votes
2answers
282 views

Unable to write to a file when reading a GPS serial port

I am able to read GPS data through gpsd and gps pipe. But when I try to read GPS data in python code and write to a file in the same code. The file remains empty import serial import time ser = ...
1
vote
2answers
1k views

Raspberry pi 3 reading serial port

I have a python code that reads the serial port of the raspberry pi 3to obtain GPS positions from a fona808. The code works for some time and then throws this error. Traceback (most recent call last):...
0
votes
0answers
259 views

How to get GPS coordinate from a satellite phone with Raspberry Pi

I noticed that when connecting my laptop to the Iridium Satphone, location services picks up the sat phone's GPS location. I was wondering how to replicate this on a Pi, with Python. My goal is to ...
6
votes
2answers
1k views

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 ...
2
votes
0answers
3k views

How do I test if my UART port is working? Simple example… loopback-test

I am working on a NMEA(GPS)-datalogger for a drone. I followed the tutorial from fishandwhistle and createt this script: #!/usr/bin/python3 import os, time, sys, glob, datetime, syslog, pynmea2, ...
3
votes
1answer
266 views

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: /...
-1
votes
1answer
120 views

I have a problem about connect 3g shield to raspberrypi

import serial portwrite = "/dev/ttyUSB2" port = "/dev/ttyUSB1" def parseGPS(data): print "raw:", data #prints raw data if data[0:6] == "$GPRMC": sdata = data.split(",") if ...
0
votes
0answers
442 views

Linx GPS UART communication using wiringPi

I have a Linx RXM-GPS-R4-x GPS module that uses the UART pins on the Raspberry Pi 3 model B's GPIO pinout. I'm also using the wiringPi's serial library. However, I'm having difficulty with ...
0
votes
1answer
169 views

USB GPS to GPIO (route/translate)?

I may be asking about something that has already been done, so apologies if that is the case... I have a USB GPS plugged into one of the USB ports on my RPi(2). It works now in that GPS data is ...
0
votes
0answers
335 views

Not able to use GPS in Raspberry Pi3 [duplicate]

The image shows the error when running the following code. import serial #import serial pacakge from time import sleep import webbrowser import sys def GPS_Info(): ...
3
votes
2answers
333 views

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 ...
1
vote
1answer
322 views

reverse-geocoder on Raspberry Pi

In a project I am currently working on, I use Python to display my current location, speed, etc. I now wanted to implement the reverse_geocoder library (https://github.com/thampiman/reverse-geocoder) ...
0
votes
1answer
151 views

It is possible to stack two different Add-Ons in Raspberry Pi 3?

I need to create a project that has GPRS/GSM and GPS, but there are no products with both functionalities. I found some Add-Ons that may work but I'm not sure if there is any way to stack both. I know ...