Skip to content

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

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE.md
Unknown
license-adafruit.txt
Notifications You must be signed in to change notification settings

suvayu/GPS_tracker

Repository files navigation

Introduction Build Status

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 3?
  • Read/log data: PIN 2?
  • How do we know when we have a GPS fix? GPS.fix
  • Solder button battery (CR1220) backup
  • Design a simple circuit based on above understanding.
  • Add circuit diagram

Software tasks [3/6]

DONE Read/write to SD card

Example program can be found in the test branch.

DONE 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.

DONE Log in CSV format

TODO Add numeric keypad and LCD display (16x2)

  • Take input with correction
  • Show as you type, confirm pass/fail (use smileys?)

WInP Reduce code size (74% now)

  • Profile code for size: how?
    • No easy way, move constants to Flash memory (see: PROGMEM, F(..))

About

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

Topics

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