Skip to content
This repository has been archived by the owner on Jan 18, 2018. It is now read-only.
/ gsm-tracker Public archive

An Arduino sketch that supports the Adafruit FONA and a GPS. For tracking things.

License

Notifications You must be signed in to change notification settings

lectroidmarc/gsm-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPS Tracker

This is Arduino code to support a Adafruit FONA module and a GPS.

Any serial serial GPS that the Adafruit GPS library can deal with will work. Obviously the Adafruit Ultimate GPS works pretty well.

What this code does

The upshot here is the Arduino gets the GPS location every GPS_INTERVAL_SECONDS seconds and then uses the FONA to update a web data store over a GPRS connection. In this case the web data store is data.sparkfun.com.

For added amusement, the FONA module will also listen for SMS "commands". Current commands are:

  • "Status" - which will return the "bar" rating of the cellular connection.
  • "Location" - which will return the module's location.

Visualizing the GPS data

Visualizing the saved data is done by opening the web/index.html page in a web browser. It's hardcoded to data.sparkfun.com so YMMV.

A note on keys

The two files, keys.h.sample and keys.js.sample need to be copied to versions with the .sample suffix removed. Then the various key data, like your public and private keys for data.sparkfun.com, need to be added there.

About

An Arduino sketch that supports the Adafruit FONA and a GPS. For tracking things.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published