Giter VIP home page Giter VIP 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

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.