Close

Jitterless Output

A project log for Open Source Non-contact Tachometer Calibrator

This time, I will share my attempt on making a non-contact tachometer calibrator with no moving parts.

banitama-suparthaBanitama Supartha 10/08/2015 at 12:060 Comments

Initially, I thought of using the usual micros() to set the output for the LED. Soon, I found out that micros() is not very accurate. 4us resolution and too much overhead for producing stable frequency. Even though I replaced the micros() with another library , it seems that software-based waveform generation is not too reliable.

Then I discovered PJRC's FrequencyTimer2 library. A little less flexible, since it only allow you to output waveform on pin 11. I was prototyping this on a perfboard and with Arduino's standard digital pin spacing I need to drill a set of new holes, so I'm moving to Arduino Nano and custom PCB.

Discussions