https://github.com/krvarma/TinyGPS_SparkCore

Here comes a sample application using Spark Core and TinyGPS library. TinyGPS is a very powerful and fast NMEA GPS parser for Arduino and compatible. In this sample I am using on some basic features to read the geo-coordinates from a MediaTek MT3329 GPS receiver.

The sample publishes the GPS location every 15 minutes. There is also an HMTL page that uses Google Map API to display Spark Core location on a Map. To use this sketch you should replace the tag deviceid and accesstoken with actual values.

Wiring

  1. GPS Vcc to 3.3V
  2. GPS GND to GND
  3. GPS Tx to Rx
  4. GPS Rx to Tx

Screenshot

enter image description here

enter image description here

Happy GPS coding 🙂