Questions tagged [gps]

Global Positioning System. Uses satellites to determine geographic location.

Filter by
Sorted by
Tagged with
0
votes
1answer
7k views

Store TinyGPS++ latitude value into a variable of type string or float

I want to get the GPS ordinates in degrees with 6 decimal accuracy. I can obtain this by creating a gps object with TinyGPS library. but In the TinyGPS example codes, its written Serial.println(gps....
0
votes
1answer
1k views

Storing latitude and longitude floats as chars with specified precision

I am receiving lat and long data from a GPS and want to store these numbers in the middle of a sequence of chars. E.g. lat = -23.123456 long = 135.123456 I am after something like "Your coordinates ...
1
vote
0answers
198 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; ...
1
vote
1answer
4k views

GPRS SIM900 and GPS NEO-6M don't work together

I'm trying to get GPS coordinates and send them to my API through the GPRS SIM900 and GPS NEO-6M shields. In setup(), I first start the GPRS shield and call the function that connects to the internet....
-1
votes
2answers
466 views

What would be the code for using Arduino UNO to alert by sound or LED when it detects a certain position through GPS?

I am in grade 6. I have a very nice pet dog in my house but it often enters Mom's kitchen to spoil all the foods. So I am thinking of a device to attach with him which can locate its position. But I ...
1
vote
1answer
5k views

Arduino: Connect UNO to A7 AI Thinker

I just cannot connect or send AT command from my UNO to A7 AI Thinker module. This is the connection: UNO -> A7 TX -> RX RX -> TX USB || 5V -> External Power ...
1
vote
2answers
2k 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 ...
1
vote
2answers
9k views

NEO 6M GPS speed

I am doing a project using a NEO 6M GPS with my Arduino LilyPad. I programmed it already, and it's working well except of the speed. I get stuck on fixing this. I wonder why the value is never getting ...
0
votes
0answers
139 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
1answer
96 views

Arduino GPS Simulator: SoftwareSerial Issues

For my project, i need my Arduino Uno to simulate a GPS. To do this, I need to: Generate a 5V Pulse once a second (no problem) Send a $GPRMC NMEA sentence with the current time over RS-232 (i've got ...
0
votes
0answers
27 views

Can anyone find out why when I run this code for a GPS and BME680 sensor I have no errors but nothing happens

Here is the code #include <Wire.h> #include <SPI.h> #include <Adafruit_Sensor.h> #include "Adafruit_BME680.h" #include <SoftwareSerial.h> #define BME_SCK 13 #define ...
0
votes
2answers
2k views

Read a String from serial to debug the AT commands sent to my GPS shield

I want to extract an AT command's response (via serial port) to find out if the GPS shield is working as it should be. I used: if(Serial.available()>1){ String response = Serial.read(); ...