3
votes
1answer
161 views

AVR Measuring frequency using external interrupt - where are my cycles going?

I'm using an external interrupt to measure the frequency of a signal, the AVR clock is at 8MHz. I'm essentially counting the ticks between pin toggles using a 16 bit timer (with some handling for ...
7
votes
7answers
5k views

Measuring 0 - 1MHz ( 0.25Hz resolution) Squarewave using an MCU

I need to measure the frequency of square-wave that can vary between 0 and 1MHz, and has a resolution of 0.25Hz. I havent decided on which controller yet but It will most likely be one of the 20pin ...