Giter Club home page Giter Club logo

gps-tracker's Introduction

GPS Tracker and LapTimer

This is a small R&D project intendet to familiarize myself with programming of Mircoprocessors in the Arduino environment. The goal is to create a GPS tracker and LapTimer that records laps performed at a race track and shows the delta time to the fastest lap. The code is currently very messy and might get some cleanup at a later point.

Features:

(Somewhat) Implemented

  • define start/finish line
  • detect start/finish crossing to start/end a lap
  • show laptime, lap number and various other information
  • show delta time to reference lap (with number and a red/green bar)
  • save completed laps to SD card in a structured manner
  • connect to WiFi and offer WebServer to retrieve recorded laps from the tracker
  • analyse recorded laps in python on PC
  • OTA update over wifi

Planned

  • navigation via touchscreen through a menu to allow
    • loading a specific reference from SD
    • loading a predefined start/finish line location (associated to a certain track 'track')
    • setting up the WiFi connection
  • record analog inputs (ie for break/gas pedal)
  • get a proper GPS antenna

A commercial product would be eg this one.

Parts:

The GPS module might not be accurate enough to realy calculate accurate delta times, but its cheap and its enough for early testing. Later, following modules might be interesting (suggested in this article): http://www.unicorecomm.com/en/product/content_1611.html https://www.ardusimple.com/product/simplertk2b/

Setup:

The idea is to split work on two devices:

  • ESP32s takes care of the GPS tracking and corresponding calculations as well as handling SD card data
  • Leonardo to work the display

The two devices communicate via a very simple binary protocol over Serial port.

alt text

Connections:

  • ESP32 -> GPS (Serial)
  • ESP32 -> SD (SPI)
  • ESP32 -> Leonardo (Serial)
  • Leonardo -> Display/Touch (SPI + I2C?)

Development:

Eclipse IDE with the following platforms/libraries

Platforms:

  • arduino
  • esp32
    • FFat, FS, SD, SPI, EEPROM
    • Update, WebServer, WiFi (needs this fix)

Libraries:

  • Adafruit FT6206
  • Adafruit GFX
  • Adafruit GPS
  • Adafruit ILI9441
  • NeoGPS

Note: To be able to flash the Leonardo from within Eclipse, one neeeds avrdude_autoreset_wrapper.

gps-tracker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.