Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gps]

Global Positioning System. Uses satellites to determine geographic location.

0
votes
0answers
46 views

Can someone please explain the following lines of code step-by-step? [on hold]

It is a bit complicated, so can you please explain it for a moderately experienced programmer? The code is as follows: #include<LiquidCrystal.h> LiquidCrystal lcd(7, 6, 5, 4, 3, 2); #include &...
0
votes
0answers
29 views

AI Thinker A7 and Arduino Uno

I have the following code #include <SoftwareSerial.h> byte RX = 10; byte TX = 11; SoftwareSerial *A7board = new SoftwareSerial(RX, TX); void print_result() { Serial.print("A7 board info: "...
0
votes
0answers
24 views

Modifying NMEA of Adafruit GPS

I use a Adafruit Ultimate GPS Breakout - 66 channel w/10 Hz updates to collect data on animal movement. I have two questions regarding the produced NMEA: - there are some information about PGACK, ...
0
votes
0answers
7 views

Arduino GSM Implementation

I want to send sms to a number if and only if that number is in the radius of the arduino with GSM module. I already have GPS into it. Should i integrate a ultrasonic sensor to get the distance and ...
0
votes
1answer
46 views

Shield SIM808 EVB V3.2 charge a Lithium battery?

hello friends do you know if, can this shield (SIM808 EVB V3.2) charge a lithium battery directly or i need additional hardware?, I know that module has conection for battery but it can charge it?
0
votes
1answer
40 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 ...
0
votes
1answer
54 views

GPS module Ublox Neo 6M issue

I using the above mentioned GPS module with Arduino UNO. I find that I cannot receive the Latitude and Longitude values in the $GPRMC string in the NMEA data, as I used the module inside a concrete ...
0
votes
1answer
78 views

Arduino Mega not receiving data from Neo-6M

I am using the trying to get data from the Neo-6M GPS module with an Arduino mega, but, the condition 'While (gpsSerial.available() > 0' is being met. I believe this means the no bytes are being ...
0
votes
0answers
41 views

GPS led not blinking and wrong LAT Long values

I want to extract the latitude and longitude values of my location but my gps led is not blinking. Also result appearing on the serial monitor is wrong. This is my Arduino code: #include <TinyGPS+...
0
votes
0answers
31 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 ...
0
votes
1answer
37 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 ...
0
votes
0answers
42 views

How can I use my sim808 as Both GPS and GSM module for this code

#include<LiquidCrystal.h> LiquidCrystal lcd(7, 6, 5, 4, 3, 2); #include <SoftwareSerial.h> SoftwareSerial gps(10,11); // RX, TX //String str=""; char str[70]; String gpsString=""; char *...
0
votes
0answers
75 views

How to use ESP8266 with Google API for GPS as well as controlling Arduino pins

I am working on IoT based project and I want to control the device using mobile App. Everything works fine, I can switch the load and get the status back on mobile app, but I want to use my ESP8266 as ...
0
votes
0answers
14 views

Capturing SBAS GPS packets

I have an Adafruit Ultimate GPS using a PA6H module (datasheet) with PTMK command packets (command set sheet). I have it connected to my PC via Arduino and want to be able to read the SBAS data (...
0
votes
1answer
112 views

vk2828u7g5lf GPS module over SoftwareSerial

So my goal was simple. Trying to get a GPS speed, and show it on a display (later use it to control a stepper motor). I am using the vk2828u7g5lf GPS module from Banggood, which after days of ...
0
votes
0answers
68 views

TinyGPS++ isn't being updated or SoftwareSerial isn't reading

I'm trying to read the GPS data on an Arduino Uno from a Neo-6M module and print it on a LCD display. However, no variable is being changed by the read function. This could either be because of an ...
-1
votes
1answer
128 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 ...
-1
votes
1answer
153 views

Connecting wires and coding in GPS Module GY-NEO6MV2 with ESP8266-01

Here is the link : https://www.circuito.io/app?components=10167,11021,12083,13678,13959,975601 I'm just a beginner I don't have the idea on how GPS module wires should be connected #include "DHT.h" #...
1
vote
1answer
145 views

Neo 6M GPS Module does not work properly inside own sketch

I am doing a project right now that involves a Neo 6M GPS module, a micro sd card module and 6 BH1750 light sensors. All the modules work fine when testing them standalone, especially the GPS module ...
0
votes
2answers
127 views

GPS Short distance calculations, accuracy limitations for 1-30 meter distance [closed]

I am a total beginner in the field of GPS, and this is actually my first post. But, I have been looking into some of your questions, and especially the ones for short distance calculations, and time ...
0
votes
2answers
683 views

how to make GPRS/GSM SIM900 shield work with gps neo-6M module using Arduino UNO board

I'm a beginer to arduino program.i will like to make a program that will send latitude and longitude on my mysql database.so since 3 days i try to learn how to use all this material(GPRS/GSM SIM900 ...
0
votes
1answer
56 views

Is two modules using Serial Interface on one Arduino Uno possible?

I was wondering if I have both a Bluetooth HC-05 module and a GPS module (uBlox 7N) is it possible both for both to be using the serial interface? I'm aware they cant be operating simultaneously ...
2
votes
1answer
101 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'...
11
votes
4answers
1k views

Some Arduino components seem ridiculously cheap

My project is an Arduino-based device, packed into a box. It will need to use Speed, Latitude, Longitude and Altitude data to log hills it detects on to an SD. On the press of a button, it will need ...
0
votes
0answers
57 views

Autonomous GPS navigation problems

I am trying to achieve autonomous GPS navigation on my RC car. I am using a very high quality GNSS/INS sensor (Advanced Navigation Spatial), from which I am getting lat, long and heading values. The ...
0
votes
1answer
302 views

SIM800C, CPIN: NOT READY (ERROR CODE : +CME ERROR: 10)

I'm using a SIM800C module, and usually it works fine, but lately it has started giving the error "+CPIN: NOT READY" with ERROR CODE : +CME ERROR: 10(SIM NOT INSERTED). As soon as I get this message, ...
1
vote
1answer
901 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 ...
0
votes
1answer
178 views

Parsing example code in Adafruit GPS library with Ultimate Adafruit GPS

I've synced my Uno with the Arduino IDE and I'm using the below code to get the GPS coordinates. // Test code for Adafruit GPS modules using MTK3329/MTK3339 driver // // This code shows how to ...
0
votes
1answer
266 views

GPS: Not receiving any valid output from ATGM336H

I have an Arduino Pro Mini along with a GPS Unit - ATGM336H. Below is the sketch I'm currently using: #include <SoftwareSerial.h> #include "Ublox.h" SoftwareSerial GPS(4,5); Ublox serial_gps; ...
0
votes
0answers
89 views

Garbage output with GPS module GTPA010 [duplicate]

I've synced my Uno with the Arduino IDE and I'm using the following code to get the raw GPS coordinates: #include <SoftwareSerial.h> static const int RXPin = 4, TXPin = 3; static const ...
0
votes
0answers
118 views

Empty output with GPS module GTPA010

I've synced my Uno with the Arduino IDE and I'm using the following code to get the GPS coordinates: #include <TinyGPS.h> #include <SoftwareSerial.h> unsigned long fix_age; ...
0
votes
0answers
29 views

Connecting Arduino with GPS receiver

I have the components as shown and I installed the TinyGPS library. I'm pretty new to hardware stuff and I'm not sure if these wires would work? (pins on both sides) The GPS module has 5 pins - GND,...
1
vote
1answer
730 views

Serial.parseFloat() reads 0 despite me entering different value

I'm trying to make a robot that asks the user for the longitude and the altitude form the user and then using the data the GPS collects to go to the wanted location, however when I use Serial....
0
votes
0answers
70 views

Serial communication between GPS and Arduino Ethernet

I'm trying to read out GPS positions from a serial GPS module I have. I'm using an Arduino Ethernet and a Haicom HI-204 III GPS (http://www.haicom.com.tw/driver/hi-204iii_usb.pdf). If I connect the ...
0
votes
2answers
196 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 ...
0
votes
1answer
66 views

Can I switch from Serial to SoftwareSerial at runtime with the same baud?

I'm trying to use a GPS and the Adafruit thermal printer module with an Arduino Nano in the same project (both use baud 9600) and was wondering if I could do something like in the code below? ...
1
vote
2answers
63 views

GPS not display

so im currently trying to do a a project whereby if my sensor is active, it will display my location. but, it seems that when the sensor is active, it only display location of lat: 0.00 , long: 0.00 ...
0
votes
1answer
888 views

GPS(Incorrect time showing)

Anyone help? It shows incorrect time. Please help. /* Conexion pines Arduino GPS D3 RX D4 TX */ #include <SoftwareSerial.h> //...
1
vote
1answer
114 views

GPS showing incorrect speed

I am using Arduino ATmega 2560. When i am using "AT+CGNSINF" command to get GPS value, sometimes it showing incorrect speed. The correct speed should be (50-60)km/h but sometimes it showing (200-300)...
-1
votes
3answers
84 views

Wearable GPS LED help

I'm very new to Arduino and C++ and have been playing with the Flora Wearable GPS. However, nowhere I've looked has given me any help in setting and changing the color of the LEDs. The tutorial on ...
0
votes
1answer
357 views

Parse long CSV file with esp8266

I'm trying to write a code for nodeMCU (esp8266 based board) to continuously calculate distance between GPS location and geographical coordinates written in a CSV file in SD. Originally I thought the ...
0
votes
1answer
32 views

Is it possible to upload a file with GPS values onto my arduino?

I am absolutely new at arduino but ok with writing code. I am trying to upload 20 points of interest lat/long as a static file that sits on my arduino. Then I want to use my GPS sensor and a function ...
1
vote
2answers
972 views

GSM and GPS module don't work together

I am trying to create a project which involves getting latitude and longitude via GPS Module and send it via GSM Module. My problem here is that individual code is working perfectly. However, if am to ...
0
votes
1answer
1k views

Hardware Serial connection for Arduino Mega 2560 NEO GY-GPSMV2 GPS module

My project is Vehicle Tracking System, One of my module is GPS module (Neo GY-GPSMV2). I can successfully see the GPS coordinates via Software Serial. But what I want is that my Arduino should not be ...
0
votes
3answers
396 views

Make Arduino send and receive at the same time

I am working on a project where I connect a GPS module and GPRS SIM900 shield. The location will be sent when it recives a certain character. Now my question is, can the Arduino receive from GPRS and ...
0
votes
1answer
457 views

Can't get call / message from A7 gsm+gprs+gps module

I am making a project using arduino uno & A7 gsm+gps+gprs module.my circuit connection is like this: A7 UTXD -> arduino RX A7 RTXD -> arduino TX A7 GND -> arduino GND A7 pwr_key -> A7 ...
0
votes
3answers
167 views

Add id to raw data in an array

I am working on an Arduino project, where I am transmitting GPS data between two Arduinos. This code can transmit the raw GPS data: int a = Serial1.available(); if(a){ uint8_t hej[a]; for(...
-1
votes
1answer
168 views

How will Arduino sketch and Android app communicate over GPS? [closed]

How will I make Arduino with GPS communicate with an Android app? I just need this for my school project.
-1
votes
1answer
104 views

Feather MO: How would I change my code to have my txt file data be in columns rather than be staggered?

First of all, I am using the Feather MO Adalogger from Adafruit with the Ultimate GPS Feather hat to collect some GPS data: time stamp (millisec), GPS Coordinates (latitude & longitude), speed (...
1
vote
0answers
200 views

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

I have connected NEO6M GPS module to Arduino Mega 2560 and programmed using TinyGPS++ library's "Device Example" and i getting proper data at serial port. NEO6MGPS to ArduinoMega2560 Vcc 3....