Skip to main content

Questions tagged [tinygps]

A gps library providing: position, date, time, altitude, speed and course

Filter by
Sorted by
Tagged with
0 votes
2 answers
280 views

Get GPS position from a Heltec Wireless Tracker arduino

I've bought a Heltec Wireless Tracker Arduino. I want to get the GPS position. I've taken the original example "GPSDisplayOnTFT" from the IDE (I've made a few changes because the original ...
Jaime Roman's user avatar
1 vote
2 answers
259 views

GPS Module not catching signal

I am making a gps tracker with neo6m gps module and esp32 dev board. I checked wiring and coding but still my module isn't catching a signal I am already on roof of my house in case it require clear ...
Yug Ahuja's user avatar
0 votes
1 answer
111 views

GPS module Serial.begin value

I've disassembled a drone and found a GPS module. I want to use it. I haven't found any information about the architecture and the Serial.begin value I have to use. Could I break it if I tried ...
drMAIN's user avatar
  • 1
2 votes
0 answers
429 views

GPS speedometer with NEO 6M - latency issue

I have built a speedometer, based on this youtube video: https://www.youtube.com/watch?v=gKuJxjxNP-k&t=34s The speedometer is for a car, so it needs to be in real-time and accurate, with the ...
cool bean's user avatar
-1 votes
1 answer
192 views

How "fast" could GPS data be refreshed while moving and does it depend on the mcu?

I'm using Nano Every and SIM33EAU GPS module for my project and today I went riding shotgun to test how it works when moving on the road. I am using u8g2 library and one of the things that I have ...
Varonne's user avatar
  • 89
-1 votes
1 answer
194 views

Ability to calculate bearing related distance with Arduino GPS

Pardon if there's a more precise/technical way of formulating this question :) What I'm currently working on is a proximity warning with Arduino. There's a preset GPS location in the sketch and if I'm ...
Varonne's user avatar
  • 89
-1 votes
1 answer
203 views

Multiple if else statements for distance-triggered LEDs

I have a sketch that calculates simple distance from the device to the nearest preset GPS coordinate (there are 3 in total) and I would like to have LEDs in the neopixel strip light up according to ...
Varonne's user avatar
  • 89
1 vote
0 answers
266 views

Getting “Open the GPS power failure” on module SIM808

I tried to get the gps coordinates with this program: #include <DFRobot_sim808.h> #include <SoftwareSerial.h> #define PIN_TX 8 #define PIN_RX 7 SoftwareSerial mySerial(PIN_RX,PIN_TX)...
Hans Ricardo Davila Acuña's user avatar
1 vote
1 answer
340 views

No GPS data Neo 6M DFRduino Nano

I checked several answers for same question but none of them help. I also changed the nano board and GPS module but without luck. I ran it outdoor. This post question had same issue except my date ...
CoffeePlease's user avatar
1 vote
1 answer
151 views

Any way a GSM sim 900 can still work (USA)?

so I’m pretty new to arduino and have been working for weeks on a GPS tracker using a sim 900 and a knock off neo 6M. All my code seemed to be working but for some reason I could not get the sim900 to ...
user15487549's user avatar
1 vote
1 answer
344 views

Neo 6m outputting something i as a noob can't understand

So i connected my ublox neo 6m gps breakout board GY-GPS6MV2 to the arduino software serial and got this result, i used resistors and only supplied 3.3v to the board, gps encode library couldn't give ...
Aayush Garg's user avatar
1 vote
0 answers
615 views

U-blox GPS module (and TinyGPS library): altitude data getting stuck at strange values

We have built a HAB (high-altitude balloon) tracker based on an Arduino and a U-blox GPS module, but we have a sporadic issue where the altitude data gets stuck at odd (usually low) values. The ...
Rustony's user avatar
  • 31
1 vote
0 answers
122 views

GPS6MV2 not showing properly

Hi I'm new to Arduino (I have an ELEGOO R3 UNO board). I want to receive location from a GPS6MV2 module, but it seems to be failing somewhere in my code, or in other part. This is my code (copied from ...
OK 400's user avatar
  • 111
1 vote
0 answers
615 views

How to change the update rate in TinyGPS++?

I am working with TinyGPS++ library and Arduino-nano and I want to change the update rate. I worked before with Adafruit GPS and uses the below code for updating it. // Set the update rate GPS....
Krupali Mistry's user avatar
1 vote
0 answers
164 views

Invalid data using GPS TinyShield module with Tinyduino

I am new in GPS modules and I need to get the NMEA data from my GPS module but when I execute my code all the NMEA sentences are Invalid. I am using the same example from instructables Tiny GPS ...
Fosdrogg RFF's user avatar
1 vote
1 answer
2k views

TinyGPS++ Question about gps.encode(ss.read())

I am trying to make an oled gps display, however when looking at multiple examples and other people's code, I am seeing that people are using different methods. I see some code that has gps.encode(ss....
lostbeam488's user avatar
1 vote
0 answers
99 views

GPS Ublox Neo 6m issue with arduino UNO

I started working on the Arduino UNO with GPS Ublox Neo 6m. I connect GPS with arduino based on the schematic diagram as well as the script. It didn't display any data in the serial monitor even ...
Logadarshinni Maratha's user avatar
0 votes
2 answers
122 views

Why do we declare constant lat and lon value

static const double LONDON_LAT = 51.508131, LONDON_LON = -0.128002; What does this mean? https://github.com/mikalhart/TinyGPSPlus/blob/master/examples/FullExample/FullExample.ino The above link ...
tharrun kumar's user avatar
1 vote
1 answer
275 views

printing data from gps on Serial1 and sensors into Serial

I am having some trouble using my gps (on Serial1) with my other sensors. They both work great independently but when I use them in the same code, it's either the gps or the sensors that get to write ...
Omar Ben Salah's user avatar
0 votes
1 answer
280 views

Arduino ESP8266 GPS integration issue

I am facing issue in using 2 Serial communication device with Arduino uno. I am trying to use ESP8266, Neo 6M GPS module with Arduino UNO, but only one of device is working at a time. Is there any ...
Rajesh's user avatar
  • 151
1 vote
2 answers
1k views

GPS date and time not displaying correctly in Arduino Uno,NEO6M GPS module

I am learning how the Arduino and GPS module work so I can apply it to another project. My components are an Arduino Uno, NEO-6M GPS module, and a Adafruit 1.8" TFT display. The code did not work ...
Tvr4's user avatar
  • 11
1 vote
0 answers
2k views

Problem with gps.encode() using TinyGPS library

First, see the schematics (attached). The GPS is working properly when I write code only for reading data from it as below: //Connect with pin 18 and 19 #include <TinyGPS.h> //long lat,lon; //...
Engr.Double_minded's user avatar
1 vote
0 answers
208 views

Time synchronization of GPS based Wireless Network

I am working on an ARDUINO based wireless network. In this network, each node or device is having its own GPS module. Each GPS module has to get location data and have to send to a single base-station....
Ali Hassan Raza's user avatar
0 votes
1 answer
1k views

How can I identify GPS sattelites in TinyGPS++?

I can see about 15 satellites (about 10 GPS + 5 Glonass) in u-center, but I see only about 10 satellites using TinyGPS++. I suspect that TinyGPS++ can see GPS only. I see lines containing $GNRMC $...
max5555 max5555's user avatar
0 votes
1 answer
807 views

What do the TinyGPS++ output parameters mean?

TinyGPS++ give many output parameters. Where can I find explanation what do all output parameters mean? I don't understand what is the meaning of the following parameters: Course Speed Card ...
max5555's user avatar
  • 103
2 votes
1 answer
2k views

Why HDOP in TinyGPS++ is less than 1?

HDOP is supposed to be greater than 1: https://en.wikipedia.org/wiki/Dilution_of_precision_(navigation) But I get HDOP about 0.7. What does it mean? Where can I found explanation of the output ...
max5555 max5555's user avatar
1 vote
1 answer
338 views

can we use Software serial and timer one at the same time or this software use also timer one? [duplicate]

i am using timer1 and software serial for gps data i need to see if we have a problem with connection . So i made a timer1 that's start before the loop that will wait the gps sending and after 3s if ...
G. MSD's user avatar
  • 11
0 votes
0 answers
522 views

Creating a router with ESP32 and SIM800c

I am trying to create a device which is a combination of ESP32 and Sim800c. This device (Master) will start AP mode on ESP32, so that other devices (Nodes) will connect to this AP. The Sim800c will ...
KarmaCoding's user avatar
2 votes
1 answer
469 views

How to use tinygps.h library to measure distance? using NEO6mv2

any reference site for the format code for tinygps.h to measure distance? or any codes for tinygps.h for measuring distance i'm just a beginner in learning arduino thank you
Reiniel Cirujano Antonio's user avatar
1 vote
0 answers
117 views

How to send sms message on specific area using Longitude and Latitude

Good day everyone! what code should i used for sending sms message depends on the area. the things that i used in my protoype i have MPU6050 accelometer, SIM800C GSM MODULE, NEO6MV2 GPS MODULE. So the ...
Reiniel Cirujano Antonio's user avatar
1 vote
0 answers
301 views

NEO 6M data is not working properly with uno

I am using a arduino uno and neo 6m gps module. The problem I am facing is quite weird. When I connected the setup the data from neo6M was seen in serial monitor, I even printed it on a Oled display. ...
sdebarun's user avatar
-1 votes
1 answer
671 views

Can i combine an ultrasonic sensor and gps together?

I need to operate 2 different sensors by Arduino UNO: GPS module and Ultrasonic sensor. I have managed to run each one of them separately and I don't know how to manipulate the code; GPS MODULE #...
Afiq Azmii's user avatar
0 votes
1 answer
620 views

Time information from GPS receiver: how to tell whether it is fresh or stale?

I see that TinyGPS++ library extracts time information from GxRMC and GxGGA NMEA sentences streamed by GPS receiver. However, in my experiments I observed that both of my GPS receivers generate GxRMC ...
AnT stands with Russia's user avatar
0 votes
1 answer
397 views

OLED not updating display

I'm trying to connect a GPS unit (GY-GPS6MV2) and an OLED screen as in the diagram below (green connector is GPS; VCC, RX, TX, GND left to right): Here's the code I've come up with: #include <Wire....
Jim421616's user avatar
  • 188
1 vote
0 answers
148 views

Arduino Uno does not detect the GPS module

I am trying to start the GLONASS NEO-7M-C module using TinyGPS++ liblary, but in the serial monitor I receive a message all the time that the module is not detected. My connection: PPS - None RX - ...
jadvancek's user avatar
0 votes
1 answer
2k views

Sending GPS data through a WiFi module

I'm trying to send GPS data using a neo-6m GPS module through WiFi using esp8266 module, I have both of the modules working alone, but when I try using both the WiFi works but won't send the data from ...
Gharrad's user avatar
1 vote
0 answers
177 views

I can't send GPS data to server

I am trying to send gps location data every 3 seconds to mqtt server if it's updated but my device shows weird stack errors and resets. What i am missing? I am using tinygps++ and pubsubclient as ...
needhelpsomuch's user avatar
1 vote
1 answer
235 views

GPS detecting stationary?

can someone please point me at some code snippets to detect when the GPS is stationary. I am currently using tinyGPS library and it is working fine, but my data-logger has thousands of stationary ...
LinuxFerLife's user avatar
1 vote
0 answers
252 views

GPS only works when I click Reset on Arduino or Reopen Serial Monitor

I cannot work this out! My Ublox 7n GPS module will only print data in the serial monitor once when I either click reset on my Arduino Uno or reopen and close my Serial monitor. So whenever I have ...
Explorex's user avatar
  • 143
0 votes
3 answers
455 views

Code getting stuck waiting for GPS Output

I'm basically trying to make a device that pulls the GPS information from a SIM808 and pushes it to a server online via GPRS. I am sorry as I am not good at programming so ive spent days trying to ...
iHertz's user avatar
  • 21
0 votes
2 answers
4k views

TinyGPS doesn't give longitude latitude and other data

I'm trying to get GPS coordinates using TinyGPS. But it keeps printing ********* for the data fields. Any idea on how to get this working?. Here is what the serial monitor looks like. Here is my ...
TRomesh's user avatar
  • 135
2 votes
1 answer
619 views

GPS Module Outputting Question Marks in Serial Window

I've got a uBlox Neo 7N GPS Module and configured it so if theres is no incoming data print no location but if there is print the latitude and longitude. However it's printing ?,?. So I'm assuming it'...
Explorex's user avatar
  • 143
2 votes
2 answers
5k views

Sending PUBX commands to GPS Board (Ublox NEO-6M) through SoftwareSerial

I am having trouble parsing NMEA sentences coming from a GY-NEO6MV2 board (https://www.cytron.io/p-gps-neo6mv2), using the TinyGPS (https://github.com/mikalhart/TinyGPS) library. The GPS board itself ...
angularchobo's user avatar
0 votes
2 answers
773 views

Running dual Adafruit GPS at 10Hz on a Teensy 3.2

Excuse the crudity of this question but I'm having quite the trouble trying to run the two Adafruit Ultimate GPS v3 modules at 10Hz on the Teensy 3.2 board. The modules are connected over the hardware ...
C. Huray's user avatar
0 votes
1 answer
3k views

GPS(Incorrect time showing)

Anyone help? It shows incorrect time. Please help. /* Conexion pines Arduino GPS D3 RX D4 TX */ #include <SoftwareSerial.h> //...
Megumichan's user avatar
1 vote
0 answers
335 views

Trouble in acquiring NEO6M GPS data through S-Function builder at Matlab simulink using Arduino libraries

I have connected a NEO6M GPS module to an Arduino Mega 2560 and programmed using TinyGPS++ library's "Device Example". I am getting proper data at serial port. NEO6MGPS to ArduinoMega2560 Vcc ...
Praneeth varma's user avatar
0 votes
1 answer
863 views

Why do GPS coordinates fail to save on MySQL database using SIM900?

My project is a vehicle tracking system. I'm using a NEO-6M for GPS and a SIM900 for GPRS. I want to send the GPS coordinates to a MySQL database. I've tested the GPS and it's working well. I've ...
Ericka Leonardo Gregorio's user avatar
0 votes
1 answer
3k views

serial data transfer on gps shield duinopeak

I'm using an arduino uno r3 with a gps shield duinopeak. The shield is configured using RX pin 3 and Tx pin 2, as image below: I'm using the TinyGPSPlus library to read NMEA data. This is my code: /...
Artur_Indio's user avatar
1 vote
1 answer
437 views

How to store u-blox coordinates (lat, lng) values in doubles? [TinyGps++]

I use a u-blox gps with my arduino. I can successfully write out the value of a coordinate (lat, lng) like this: Serial.println (gps.location.lat(), 8); but when I try to store the value with all the ...
Carlos Rodrigez's user avatar
1 vote
2 answers
814 views

GPS module not working with sensor

I am connecting my Soil Moisture Temperature Sensor SHT10 with GSM Module SIM900A and GPS GY-GPS6MV2. Individually, all components work properly and give proper values. But when I interface all three ...
knowledgeispower's user avatar