GithubHelp home page GithubHelp logo

godzivan / analoggpschrono Goto Github PK

View Code? Open in Web Editor NEW

This project forked from grantstephens/analoggpschrono

0.0 1.0 0.0 4 KB

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

Arduino 100.00%

analoggpschrono's Introduction

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.

analoggpschrono's People

Contributors

grantstephens avatar

Watchers

 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.