6 votes

NEO 6M GPS speed

The speed value is correct, like TisteAndi said. Your GPS location "wanders" around the same way. You can simply ignore small speed values. One problem you may not be aware of yet: the printing isn'...
slash-dev's user avatar
  • 2,029
4 votes
Accepted

How to execute commands on Arduino (via PC) without touching the current sketch?

The simple thing would be for your sketch to read from the serial port continuously. If it finds something it stores it and when a newline arrives it sees if that happens to be a password known only ...
Nick Gammon's user avatar
  • 38.2k
3 votes
Accepted

GPS Module Outputting Question Marks in Serial Window

No floating point for sprintf, it prints a '?'. The functions sprintf, sscanf and the alike functions (snprintf and others) do not have floating point support for avr microcontrollers. History One ...
Jot's user avatar
  • 3,246
3 votes
Accepted

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

Most of the GPS modules keep on sending the data in the NMEA format whether they have a GPS fix or not, however, you can parse the GPS data to find whether the data is the latest data received from ...
karan's user avatar
  • 291
3 votes

Assigning float to 10 decimal place for longitude,latitude

But when after setting the Longitude and Latitude to float.When I use this code, I don't get a valid gps data. Some statements in C/C++ are not what they might seem. The value of the statements: ...
Mikael Patel's user avatar
  • 7,969
3 votes
Accepted

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

You forgot the , 8 from your println that specifies that it should print 8 decimal places. Instead you seem to have added it to the end of an assignment which makes absolutely no sense whatsoever. ...
Majenko's user avatar
  • 105k
3 votes
Accepted

Not getting data from GPS

That is a perfect printout of a GPS system that can see zero satellites. The fact that the timestamps are one second apart shows that you have correctly interfaced with the GPS device. Now, the GPS ...
John Burger's user avatar
  • 1,875
3 votes
Accepted

How to connect GPS to IMU?

Is not really connecting GPS to IMU, is more like you read GPS values, read IMU values and after apply what is called a sensor fusion algorithm. One of the most common used sensor fusion algorithms ...
brtiberio's user avatar
  • 926
2 votes

uBlox Neo 6M GPS module not responding

After 2 days of troubleshooting I found the solution Use 3.3 volt external supply Use voltage dividers to make 3.3 volt compatible to module go outside(open space) That's it
Jarus's user avatar
  • 21
2 votes
Accepted

Arduino SoftwareSerial - can't get data from NEO 6M-GPS module

RX of the Arduino (pin 4, according to the SoftwareSerial statement) goes to the TX of the GPS. Arduino pin 3 (ss TX) goes to the GPS RX. And you should use pins 8 & 9 instead. That would let ...
slash-dev's user avatar
  • 2,029
2 votes

Utilizing 3G/4G connection as gps

You cannot get GPS data without getting GPS data. That's like wanting to get milk from a cow without using a cow. Some GSM modem modules also include a GPS chip. If yours does you can use that. If ...
Majenko's user avatar
  • 105k
2 votes
Accepted

Not showing output when using pins other than 10 and 11 with SoftwareSerial library on Arduino Mega

From https://www.arduino.cc/en/Reference/softwareSerial: Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 14, 15, 50, 51, ...
per1234's user avatar
  • 4,098
2 votes

Why do we declare constant lat and lon value

Static variables are allocated storage only once in a program lifetime The const keyword specifies that a variable's value is constant and tells the compiler to prevent the programmer from modifying ...
radinParsaei's user avatar
2 votes
Accepted

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

someone on ublox portal recommended me to connect the boards vcc to 5v's and when i did that, it stopped rebooting, and after 20 mins got a lock, thanks for your help. the guy on ublox portal Post a ...
Aayush Garg's user avatar
2 votes
Accepted

No GPS data Neo 6M DFRduino Nano

The ceramic antenna is the issue. I changed to the external 1.5GHz one. It got fix under 5 seconds
CoffeePlease's user avatar
1 vote

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

You don't use the tinygps.h library to measure distance. You use the tinygps.h library to get coordinates. Over short distances those coordinates (longitude and latitude) can be equated to x,y ...
Majenko's user avatar
  • 105k
1 vote

Can i combine an ultrasonic sensor and gps together?

That's easy. I have no possibility to try it. But if your code has been working, this will also. (Just copy/paste.) I had to change the while loop into a if block, because I was not sure, if the while ...
Peter Paul Kiefer's user avatar
1 vote

Sending GPS data through a WiFi module

SoftwareSerial can't listen on two instances. There is a .listen() function to switch between SoftwareSerial instances. The esp8266 AT firmware doesn't wait until you listen on the SoftwareSerial ...
Juraj's user avatar
  • 18.1k
1 vote

GPS detecting stationary?

I found this to get me started. http://apexlogic.net/code-bank/arduino/serial-gps-find-distance-between-two-points/
LinuxFerLife's user avatar
1 vote

Code getting stuck waiting for GPS Output

I agree with above answer use the Serial ports available and do something in your setup to probe the sim808 until you get some feedback I am using SIM868 in one of my projects and had the same problem ...
Tjaart van aswegen's user avatar
1 vote
Accepted

TinyGPS doesn't give longitude latitude and other data

#include <SoftwareSerial.h> #include <TinyGPS++.h> #include <SPI.h> float lattitude,longitude; // create variable for latitude and longitude object SoftwareSerial gpsSerial(8,9);//...
TRomesh's user avatar
  • 135
1 vote

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

I've tried your code sending those PUBX commands to a ublox module and they work successfully for me. There are a lot of fakes about on the internet using AT6558 chips repackaged as ublox. Check the ...
torntrousers's user avatar
1 vote

GPS(Incorrect time showing)

Like Majenko's comments suggested, you must shift the UTC time to your local time. The Time library can help you do this. There are some other problems: You cannot wait 10 seconds without ...
slash-dev's user avatar
  • 2,029
1 vote

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

Can you see a slight discrepancy in these lines? gsm.SimpleWriteln("addlati="); Serial.print(previousFlat, 6); gsm.SimpleWriteln("&addlongti="); Serial.print(previousFlon, 6); I can.
Majenko's user avatar
  • 105k
1 vote
Accepted

serial data transfer on gps shield duinopeak

The comments in the AltSoftSerial Test say that you have to connect the GPS to pins 8 (RX for GPS TX) and 9 (TX for GPS RX). Your shield does not have jumpers for those pins, but you could use a ...
slash-dev's user avatar
  • 2,029
1 vote

GPS module not working with sensor

As already mentioned this seems to be a current related problem. You are powering your Arduino over Usb. The sensors themselves do work fine. Yet connecting all of them seems to draw too much current ...
RaulG's user avatar
  • 41
1 vote

Assigning float to 10 decimal place for longitude,latitude

You always should calculate with the maximum resolution (not rounding to 10 digits), so use: Longitude = sim808.GPSdata.lon; Latitude = sim808.GPSdata.lat; For printing you can use the code you have....
Michel Keijzers's user avatar
1 vote

Arduino Uno R3 not working with Cytron shield GPS 53

Your GPS board supports sending the data to the USB socket on the Arduino, sending it to pins 0 and 1, or sending it to a Software Serial port. The first two options are going to confuse the output ...
Code Gorilla's user avatar
  • 5,637
1 vote

Not getting data from GPS

The GPS actually seems to be getting some data: the date and time. Which means it can be used to set the time (and date) in a clock if the timezone is known without needing a fix (useful inside).
the_redburn's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible