DIY Digital Tachometer

About This Project

This project will show you how to make a digital tachometer to measure the speed of a motor or any other rotating device.

Project Info


A tachometer is a handy instrument for engineers and enthusiastic hobbyists alike who like to work with motors now and then. It is a device that measures the speed of rotating objects such as motors or crankshaft of engines. It measures speed in terms of revolutions made by the objects in a minute, i.e. RPM. In this project, we’re going to make a simple and cost-effective digital tachometer with the help of evive, an IR sensor, some jumper wires, and some enjoyable DIYing!

Ready to set a ‘revolution’ in motion? Let’s begin then!

Components Required

Building Guide

Step 1: Making

Here we are going to use evive and IR Sensor. You can use any other Arduino board as well.

To make the tachometer easy to handle, you can mount the IR sensor and evive on a chassis. (Optional)

  1. Take the chassis and mount evive on it using M3 bolts and nuts.
  2. Mount IR Sensor in the front of the chassis using M3 bolts and nuts.

Assembly of the tachometer

The assembly is now complete. All you need to do now is make the connections.

To test the code, you will need a rotating object. Take a DC fan and connect it to evive. Now, measure the RPM of this fan. If it shows a value on the TFT screen, it means that the code is correct. You can now measure the RPM of any rotating object, be it your ceiling fan, the tires of your bike or car or a turntable.

In this project, we will be measuring the RPM of the gearbox. On changing the gears, the RPM changes.Complete Assembly

Step 2: Connections

Connect the IR Sensor with evive as shown below:

  1. VCC: 5V of evive
  2. GND: GND of evive
  3. OUT: Digital pin 2 of eviveTachometer

Step 3: Logic

When the shaft rotates, it takes time to come back to the point where it started. The IR sensor measures how much time it takes to complete one revolution. How? By detecting the white strip on the wheel. When the shaft starts rotating, the strip passes by the IR Sensor once every rotation. The number of times the strip passes by the sensor will be the speed. To get the speed in terms of revolutions per second, multiply this value by 60. And finally, display the value on the TFT Screen.

Step 4: Arduino Code

Upload the following Arduino Code to evive:

Step 5: Application

The Tachometer can also be used to calculate the gear ratio of a complex gearbox. There are multiple gears into the gearbox. If we know the RPM of one gear, we can find the RPM of the other gear. RPM is nothing but the rotational speed of the wheel. You can calculate the speed of the other gear with the help of the equation given below:

 S1 * T1 = S2 * T2


S1 is the speed of the driver gear and T1 is the number of teeth on that gear.
S2 and T2 are the speed and tooth count of the driven gear.

Hence, Gear Ratio = T1/T2 = S2/S1.

In our case, S1 = 164 for gear with less number of teeth.

S2 = 540 for the gear with more number of teeth.

Hence, Gear Raito = 540/164 = 3.19 (Around 3).

Step 6: Conclusion

With this, your DIY digital tachometer is ready to measure every revolution that was brought about by the fleet of motors!

Owing to its tremendous success and love and support showered by DIY enthusiasts like you, we’ve decided to EXTEND our Indiegogo campaign! Yes, you read that right! If you missed the opportunity before, you can grab it with open arms NOW and check out all the cool stuff that we’re offering! Go have a look HERE.

Circuit Diagram

DescriptionCircuit Diagram

Connect the IR Sensor with evive as shown below:

  • VCC: 5V of evive
  • GND: GND of evive
  • OUT: Digital pin 2 of evive


DescriptionDownload Code
Arduino CodeDownload
evive LibraryDownload
Share this Project
Share on facebook
Share on twitter
Share on google
Share on pinterest
Share on reddit
Share on print
Featured Projects