How to Make Arduino Based Digital Tachometer Simple DIY Tutorial





Introduction: How to Make Arduino Based Digital Tachometer Simple DIY Tutorial

Let see how to make Arduino based digital Tachometer.

Working principle :-

IR Sensor get penetrate by motion of motor shaft, signal are transfer from IR Senor module to Arduino.

This signal are processed in Arduino according to code loaded on it.

Then Arduino transfer signals to LCD Screen to display RPM

Step 1: Video

Step 2: Material Reuired

1) IR Sensor module :-

2) LCD Screen :-

3) Arduino Nano :-

4) Zero PCB :-

5) Header pins :-

6) 9V Batter

Step 3: Electrical Circuit

Kindly go through the attached circuit diagram.

IR Sensor Arduino



OUT-----------------2(digital pin no. 2)

16X2 LCD Arduino

VSS------------------ GND

VCC----------------- +5V

VEE------------------ POT

RS-------------------- 12

R/W----------------- GND

E--------------------- 11





DB4------------------ 6

DB5------------------ 5

DB6------------------ 4

DB7---------------- 3

LED+--------------- +5V

LED----------------- GND


to design & buy your custom make PCB

Step 4: Procedure

Bring a Zero PCB, Mount female header pin on PCB

Place arduino and LCD Screen on PCB

Make solder connection where it is required,

refer electrical drawing for better understanding.

place IR Senor module on PCB in way that its sensor face toward the

wheel of motor to whom RPM have to measure.

Connect the Arduino with PC to upload code.

Then connect the 9V battery to power up arduino & LCD 16 X 2 screen

you can adjust the brightness of screen by rotating that Knob connected at VEE of LCD Screen

Now you are ready to take RPM reading.

Manually rotate the Wheel of motor you can see RPM Reading are appear on screen

feel free to comment below

Thank for your attention hope you like this project

Step 5: Arduino Code

Click here to download Arduino code

upload the code to Arduino

Be sure you have selected right Board & port to successfully upload the code



    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Space Challenge

      Space Challenge

    We have a be nice policy.
    Please be positive and constructive.




    In the circuit diagram, the output pin of the IR sensor unit is connected to the Arduino D2 pin. But where on the Arduino code is the input pin declared? Am I the only one that is not being able to make it work?

    it also works nicely with a cheap hall sensor-pcb from eBay! This is my first project with an Arduino (Pro Mini) - and it feels good;-) !!Thank you!!

    next quick Question: Looking at the sketch, I do not see where/how pin D2 is defined as an input (I need to know for further modifications and playing around with a rotary encoder). I would be very nice if you could help with an answer.

    Quick question: Does the Arduino keep track of the time that it runs? You don't have to start some special 'clock' operation?

    I can't believe how concise this code is compared to other tachometer tutorials I've seen. Nice tutorial!

    the arduino code download link goes to a Google page that says it violates terms of service for URL shortener..

    Perhaps just past the code in "code" brackets, then no one has to download anything from nefarious places.

    it is fix,

    while I have downloaded the project, I haven't had the opportunity to use it as yet. Tried to read through the project and had a difficult time understanding what the person was trying to convey. Not a very explanation of how to build it, however, being a retired engineer being able to build directly from schematics and upload code to the nano makes things quite easy for me, but I think not for a beginner in the business.

    I'll try to make my explanation more efficient in upcoming projects thanks for your inputs

    hi sir can u plz forwad me the code cause the previous link to the code doesnt work thanks

    Thank you for your reply. I was not trying to be mean when I commented, But as a retired Electronics Engineer I have had to write Instruction Manuals and Build Manuals. I have found that the "KISS) method is the best way to approach. (KISS Keep It Simple Stupid!). That way even the least trained person with a minimum of experience can usually build from a manual. Again though thank you for the reply. BTW, I'm 68 years young and still myself busy with electronic projects here at home. You don't use it, you lose it!

    yes its my honor to have advice from people like you who have a huge experience in your field, this will add more value to my work & KISS is best way to present your ideas, keep motivate us thanks