Git Product home page Git Product logo

arduino-tachometer's Introduction

Arduino car tachometer

Introduction

I'm currently driving an old Opel Astra without tachometer. I had a spare arduino and few LEDs, so I made a simple tachometer. I started by cut a 5cm x 1.5cm piece of an old credit cart, drilled 4 holes in it, painted it black and glued 4 LED diods to it. Then I soldered a 220ohm resistors to each positive LED pin and used a common ground. I connected them to arduino via 5x30cm jumpers and hid the arduino in a hole under the wheel. I connected the arduino data pin via voltage divider to the signal pin of the coil and used an old phone charger to power the arduino. In order to work I shared the phone charger and arduino's grounds.

The first LED turns on when engine react 4000 rpm. Below 4000 rpm all LEDs are turned off. If there is Serial attached, it automatically emits rpm data(watch it realtime in arduino serial monitor).

Demo

Link to youtube video

Arduino tachometer demo

Schematic

Schematic

Code

Check out the code.cpp file.

Materials

  • Arduino Uno
  • 4x LEDs
  • 5x 220ohm resistor
  • 1x 160ohm resistor
  • 10x 30cm jumpers
  • Old car phone charger
  • Longer wire to connect to coil
  • 1amp fuse (not included in schematics)

Future ideas

  • More LEDs
  • Log data (to phone or sd card) for analysis
  • Graphic visualization for phone

arduino-tachometer's People

Contributors

deepsyx avatar mikemeandi avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arduino-tachometer's Issues

LEDs go off as they go up?

Hi I love this it’s great - I’m just wanting to tweak it a bit so that when the next led is illuminated the previous goes out - can you specify a rpm range somehow as the values for each led? Like ‘[4000-4999],[5000-5999],[6000]’
Thank you!

Trouble getting input

I tried replicating the project but when i connect port 4 to the minus pole of my ignition coil and open the serial monitor i get the value 75 twice and then only 0.
Any idea what i could be doing wrong?

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.