Continue to Site

Welcome to EDAboard.com

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.

How to calculate the value of frequency using counter?

Status
Not open for further replies.

peliasperro

Newbie level 2
Joined
Jul 19, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,297
hello
can any one helpe me about who can i calculate the value of frequency by using counter.

The range of frequency is 0,25Hz to 3000Hz
if i want to input frequency to the microcontro then i want to know what is the value of it .
please i need code to do that and any information about it .

I have calulated, with the timer, the value of the signal pereiod. With this value,
How can i calculate the frequency???
with the formula 1/time????
please i need example to explan that with code in asm.

:cry::cry::cry::cry::cry::cry:

Thanks
 

frequency meter

If you have a way for counting the number of pulses in a giving time window then you can measure the frequency.
Example: You need a timer programmed for 1s and a counter connected to INT port of the uC that is incremented each time the interrupt is activated then when the timer reach 1s you just need to do the math 1/counter value and you get the frequency. You need to restart the counter each time the time windows passes the 1s period.
 

frequency counter 8051 c

Dear ,

I can able to get the Frequency for the same in above method. But what the Problem i m facing is i m getting the value which is nearest to it.

For Example : 23.876 Hz
I am measuring at 24 Hz and 23 Hz which is toggling to these two values.

Please help for the same
 

frequency meter using c8051

Hai

For Example : 23.876 Hz
I am measuring at 24 Hz and 23 Hz which is toggling to these two values.

If you need it in fractions, you have to go for another method.

Measure the time between two pulses and convert it to frequency

frequency = 1/time

Regards
Nandhu
 

Re: frequency meter 8051

frequency counter and led display of counts , for further information
**broken link removed**
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top