Skip to content

A bit of code for displaying GPS speed on a hacked up tachometer

Notifications You must be signed in to change notification settings

godzivan/AnalogGPSChrono

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AnalogGPSChrono

This is a piece of Arduino/ATTiny85 code for pulling the GPS speed of a standard serial and displaying it on a tachometer that is placed in a chronometer.

Basics

Demo and description given on youtube

Essentially the ublox6 gives the ATtiny85 the GPS speed which the ATTiny85 translates to a square wave which the tachometer needs.

  • Tacho that I used is this one: DX- Has to run off 12V with a square wave signal centered around 0 and at least a 4V peak to peak swing.
  • GPS Chip: DX- Runs perfectly off the ATTiny85

Basic Code Stuff

The code uses the following 3 libraries:

  1. TinyGPS++
  2. TrinketTone- Note that this was modified to be used in the program
  3. ATTinyCore

The ATTiny85 had to use a crystal (16MHz) to keep the timing for the serial accurate. One pin goes to the signal line (via a capacitor and resistor- to get signal centered around 0) of the tachometer. The other pin is the RX from the GPS.

Also note that it is possible to program your ATTiny85 using your Arduino as the ISP- shown here

TODO

There are a number of little odds and ends I would still like to do.

  1. Possible filter over the output, just to smooth it a little, however this will cause a larger delay.
  2. Make the speedo show the number of satellites it has found until it has a lock.
  3. Cooler startup sequence.

Finally

Any comments and contributions are most welcome.

About

A bit of code for displaying GPS speed on a hacked up tachometer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%