2
votes
1answer
240 views

counter giving erratic results for frequency measurement using Atmega32

I am using a photosensor which gives output as a square wave. The frequency of this square wave is being measured using Atmega32A with 1MHz clock. The full scale output of sensor is 500kHz. The ...
6
votes
1answer
2k views

How to measure pulse width of an IR signal using an 8-bit PIC?

My friend and I want to design a universal learning remote controller, like this one, for learning purposes. What we want to do basically is store and replay infrared pulses. We want to detect 36kHz, ...
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 ...