Skip to main content
15 votes

Some Arduino components seem ridiculously cheap

The cheaper option is not always lower in quality. You can find items for sale on Amazon, Ebay and Aliexpress that all have the same "seller name" and a identical picture of the item. The price is ...
VE7JRO's user avatar
  • 2,558
6 votes

Arduino Mega + SIM808 GSM + GPS Module + Program Switch ON without pressing Push Button?

There is a simple way of power the module without pressing the button. There is pin call D9 at the bottom right corner of the module. Just power the pin by Arduino digital pin or 5v pin around 3, 4 ...
Senura's user avatar
  • 61
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
5 votes

SIM808 module GSM working fine, GPS not working (No GPS ready message on power on)

You have a version2 module. Use AT+CGNSxxx instead of AT+CGPSxxx
user24177's user avatar
5 votes
Accepted

How to find the correct navigation course by GPS navigation with Arduino?

The computation is not difficult. Since your drone is unlikely to travel for thousands of kilometers, you can assume the Earth is locally flat, and the latitude and longitude are an orthogonal ...
Edgar Bonet's user avatar
  • 43.3k
4 votes

Cheapest Arduino GPRS or 3G solution

If you are finding Cheapest and working module you can you SIM800L less then 4$. aliexpress.com/item/Free-Shipping-Smallest-SIM800L-GPRS-GSM-Module-MicroSIM-Card-Core-BOard-Quad-band-TTL-Serial-Port/...
ANKIT JAIN's user avatar
4 votes
Accepted

Using tinyGPS++ with millis errors

You're only reading from the serial port every GPSSearchPeriod milliseconds. That gives plenty of time for the small serial read buffer to overflow and lose the data. Instead you should be reading ...
Majenko's user avatar
  • 105k
4 votes
Accepted

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

I think you are missing what the baud rate is. It is the speed at which the data is transmitted. So the fact that your two devices are the same is not an issue. It looks like from the code that ...
Chad G's user avatar
  • 630
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

Does a GPS need a sim card?

For use as a GPS device, the NEO-6M doesn't need a SIM card. For use as part of a tracker that sends SMS / GSM messages, ie, that uses the cell telephone system to send messages, you need a SIM card. ...
James Waldby - jwpat7's user avatar
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,979
3 votes

GPS very short distance calculation

The Haversine formula is way overkill for your needs. At the scale you are concerned about, the Earth is essentially flat, so the distance between two points is given by the standard Cartesian formula:...
Edgar Bonet's user avatar
  • 43.3k
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

Wearable GPS LED help

I think others have addressed the need for you to modify the strip colors based on distance or bearing or... whatever you want to show. Here's a NeoGPS version of that sketch. I think it may be ...
slash-dev's user avatar
  • 2,029
3 votes

Some Arduino components seem ridiculously cheap

If something is too good to be true, it usually is. In all seriousness, going with a reputable shop (Adafruit, Sparkfun, Pololu) can save you a bit of headaches later, especially if you are doing ...
asylumax's user avatar
  • 239
3 votes

Some Arduino components seem ridiculously cheap

I designed a battery backup power supply for a product at my work. I included the INA219 current/voltage measurement chip. For the prototype run I bought that part from two Aliexpress sellers since ...
Rudy's user avatar
  • 993
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

Do I connect multiple I2C units to the microcontroler in series or parallel?

Use the Wikipedia page on the protocol as an introduction to your learning curve on I2C. I may cite: At the physical layer, both SCL and SDA lines are [a ...] bus design, [...] This means that all ...
the busybee's user avatar
  • 2,088
2 votes

FIFO overflow - reading IMU MPU6090 and GPS uBlox NEO-6M at once

When I try to read data separately it works, but together it stuck every second (probably reading of gps data) and MPU6050 serial monitor sending FIFO overflow error . Yes, you have to be careful ...
slash-dev's user avatar
  • 2,029
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

GPS North? South? East? West?

Send the command: AT+CGPSOUT=1 That should enable the output of the standard NMEA $GPGGA string which includes all the position information you should need in a format that either you can parse or ...
Andrew's user avatar
  • 1,050
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
Accepted

Draw polygon on LCD from GPS latitude and longitude

Over a small area lat and long are just simple Y and X coordinates respectively. Dynamic scaling of the points is a very simple matter. All you need to do is work out the range of each dimension - ...
Majenko's user avatar
  • 105k
2 votes

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

A more low-tech solution might be better. For example, a couple of light beams across the doorway to the kitchen. An human would block both of them as they passed, and a dog only the lower one. You ...
Nick Gammon's user avatar
  • 38.4k
2 votes

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

First things first: do you know that a GPS can locate your dog accurately enough in your home? Basically, even with a good GPS receiver, the best accuracy you can expect (using off-the-shelf ...
uint128_t's user avatar
  • 819
2 votes
Accepted

Where can I find magnetic declination lookup table?

No, the North pointed by GPS coordinates are extracted using the velocity heading which would represent the true North. If you get the ECEF (earth centered earth fixed) coordinates from the GPS you ...
brtiberio's user avatar
  • 926
2 votes

How to connect an Arduino with SIM300 and a seperate GPS module?

I know I should write this in comment section , but as comment have word limitation and I'm going to give you a idea why this should not be a question and how should you go for your problem, I'm ...
Anklon's user avatar
  • 121
2 votes

SIM808 module GSM working fine, GPS not working (No GPS ready message on power on)

Use AT+CGNSxxx instead of AT+CGPSxxx commands ATGNSPWR=1 and ATCGNSINF to get location. if you get following output 1,0,19800106001337.000,,,,0.00,0.0,0,,,,,,0,0,,,,, It means your GPS is not set. ...
Suri's user avatar
  • 169
2 votes
Accepted

Turning my GPS logger shield off and on

Yes, it is as simple as that. However, since the pin is pulled up already you could also do this: pinMode(pin, INPUT); digitalWrite(pin, LOW); // Turn off pinMode(pin, OUTPUT); // Turn on pinMode(...
Majenko's user avatar
  • 105k

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