Hot answers tagged

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 ...
  • 2,500
7 votes

uBlox Neo 6M GPS module not responding

The Neo 6M takes a bit of time to fix when first powered on. If your board is fitted with a small battery it will most probably be flat and will take an hour or two to charge up. It is there to ...
  • 71
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 ...
  • 61
5 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'...
  • 1,984
4 votes
Accepted

Building a gps system

"Is it possible to do it?" Well... everything is possible :-) "Does GPS require Internet connection?" GPS doesn't require internet. A GPS receiver (e.g. http://www.modulestek.com/prodts/GPS/Mars740-...
  • 584
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/...
4 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
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 ...
  • 103k
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 ...
  • 614
3 votes
Accepted

Cheapest Arduino GPRS or 3G solution

Not many possibilities (for the phone part, I suggest a GPRS/3G shield), but not wanting to discourage you, if you are thinking about "a fleet", forget about: low power (the phone radio needs power, ...
  • 176
3 votes

GSM and GPS shield pin conflict

Looking at the PDF for the Adafruit GPS shield, pin 7 is indeed hard wired to Rx and pin 8 is hard wired to Tx. These can not be changed. Looking at the guide for the Arduino GSM shield pin 7 is ...
  • 2,795
3 votes
Accepted

Data Report Which Technology

You can actually find all the information for what you want to do on the formal Arduino.cc website. They suggest a GSM shield: But of course you can find many other GSM shields for purchase. Most of ...
  • 1,369
3 votes
Accepted

Ublox GPS with Arduino Mega 2560 not working

The Arduino Mega 2560 has three additional hardware serial ports. Why not use one of them instead? Serial1 on pins 19 (RX) and 18 (TX). void setup() { Serial.begin(9600); Serial.println("uBlox ...
  • 7,861
3 votes

GPS Receiver SKG13BL + Arduino - Having trouble receiving data

You are consuming the received characters with the debug print: Serial.write(mySerial.read()); //gps.encode(mySerial.read()); if(gps.encode(mySerial.read())) Instead, do this: char c = mySerial....
  • 1,984
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 ...
  • 1,815
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. ...
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: ...
  • 7,861
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:...
  • 37.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. ...
  • 103k
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 ...
  • 1,984
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 ...
  • 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 ...
  • 985
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 ...
  • 3,107
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 ...
  • 281
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
  • 21
2 votes

Nano destroyed?

Assuming you're talking about the device with this schematic (or similar), the "analog" pins go directly to Atmel AVR I/O pins with no series resistance, so yes, it's quite possible to damage the ...
2 votes
Accepted

uBlox LEA 6H and UNO no data

Your uBlox LEA 6H is most likly configured to use the UBX binary protocol and not NMEA at all. This protocol, as well as how to switch your LEA 6H between NMEA and UBX is in this document, from the ...
  • 4,309
2 votes

Using Multiple Serial Ports with arduino nano

You can use SoftwareSerial library in order to instantiate a second (soft) serial port. By looking at the example, it seems that you can use any two digital pins to use SoftwareSerial library and ...
2 votes
Accepted

TinyGPS (Plus) Library

There doesn't seem to be, but what you could do is print each character as it arrives. From their example code: while (nss.available()) { if (gps.encode(nss.read())) // <--- pass to ...
  • 35.4k
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 ...
  • 1,984

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