Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Set Timer1 as counter to cont pulse of incoming (frequency to be measured) signal
And set timer2 as 1 sec time base (signal must be with in microcontroller voltage levels)
Reset Timer1(counter) to 0 set it to start count , start timer2 for 1 sec delay
stop timer1(counter) when delay pass and get the counted value from timer register
Do some math (F=1/T) - and you have the measured frequency
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.