Skip to content

harmands/GPS_tracker

 
 

Repository files navigation

Introduction

This is the source code for a simple GPS tracker built using

It uses the following libraries

  • SD & SPI library from the Arduino IDE distribution
  • Adafruit GPS library

We use Make to build the project, thanks to the Arduino-Makefile project.

Tasks

Hardware components [1/2]

DONE Logging: Arduino ↔ SD card

Pins used:

  • CS: 4 (not sure what this is)
  • In: 11
  • Out: 12
  • Clock: 13

TODO Location: Arduino ↔ GPS module

Understand how to connect the board in a circuit with the Arduino (https://learn.adafruit.com/adafruit-ultimate-gps)

  • Send instructions: PIN?
  • Read/log data: PIN?
  • How do we know when we have a GPS fix?
  • Solder button battery (CR1220) backup
  • Design a simple circuit based on above understanding.

Software tasks [2/4]

DONE Read/write to SD card

Example program can be found in the test branch.

TODO Read GPS data over serial connection

Example echo-ing program from the Adafruit library can be found on the test branch.

TODO Final assembly

  • SD+GPS: how to combine the logic in the setup()+loop() scheme?
  • On power loss, revert to logging to GPS chip (under button battery power backup). When power is back, retrieve logs, and resume logging as before.

About

GPS tracker built w/ Arduino + Ultimate GPS + SD card

Resources

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE.md
Unknown
license-adafruit.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 81.3%
  • Other 14.8%
  • Makefile 2.8%
  • Emacs Lisp 1.1%