a) I'm using MKR GSM 1400

b) In an urban area in the US with good network coverage.

c) As SIM card I tested both Twilio and Hologram.

d) As antenna I am using this one https://www.robotshop.com/en/dipole-antenna-arduino.html

e) Code I used to test is: https://github.com/arduino-libraries/MKRGSM/blob/master/examples/GsmLocation/GsmLocation.ino

Issue & Question:

Unfortunately the latitude/longitude I'm getting is far off (about a mile off) from the actual location.

Is there anything I should do to improve the accuracy ? Maybe use different library than MKRGSM ? or keep the same library but use different function other than GSMLocation.latitude() GSMLocation.longitude() ?

Any hints or guidance is much apopreciated,

Thank you.

  • 1
    "about a mile off" - is this generally considered "inaccurate" for GSM-based location? – AnT Apr 30 '19 at 17:13
  • 1
    Is the cell tower "about a mile off"...? – Majenko Apr 30 '19 at 17:38
  • since the MKR GSM 1400 model uses u-blox SARA-U201, and u-blox offers CallLocate feature (pdf link below) , is there a way to call that feature via an Arduino library (MKRGSM or others) ? – user52359 Apr 30 '19 at 21:55
  • u-blox.com/sites/default/files/products/documents/… "u-blox, through its in-house development of cellular data modules and GNSS receivers, has developed and embedded a cellular positioning technology, CellLocate®, into its GSM/GPRS, HSPA/UMTS, and LTE cellular modules. This technology enables stand-alone location estimation based on surrounding mobile network information in conjunction with GNSS positioning data to improve positioning." – user52359 Apr 30 '19 at 21:56
  • GSM location alone is rather coarse, don't expect high accuracy from it. If you want to use CellLocate, it seems, that you have to use other AT commands. Have you googled for that? Without researching long, I found this document. Also I found a u-blox library from adafruit here, though it seem to be meant for GPS modules, not GSM. Maybe there are some interessting detail in the code. – chrisl May 2 '19 at 20:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.