Analog Oscillator Frequency Counting ?
Areal Person
Posts: 197
Hi,
I’ve managed to build a simple analog oscillator circuit that’s running at
2.7 vdc.
·
I want to interface it with the propeller demo board and have the propeller
count the frequency with a variable and display it on the screen.
·
QUESTION:
·
How do I do it ?
·
Do I need to first interface a ADC IC chip or other ADC circuit first ?
·
Anyone done this ? I’m trying to learn how to make my Propeller do some
usefull task as a circuit analysis tool. And I really need to be able to check
the frequency on my RLC circuits to start with.
·
Whats the best way to do it? What tool/code resources should I look at ?
·
Thanks,
Areal
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I have a tree growing out of my head, but
what do you expect ? I'm a programmer.
I’ve managed to build a simple analog oscillator circuit that’s running at
2.7 vdc.
·
I want to interface it with the propeller demo board and have the propeller
count the frequency with a variable and display it on the screen.
·
QUESTION:
·
How do I do it ?
·
Do I need to first interface a ADC IC chip or other ADC circuit first ?
·
Anyone done this ? I’m trying to learn how to make my Propeller do some
usefull task as a circuit analysis tool. And I really need to be able to check
the frequency on my RLC circuits to start with.
·
Whats the best way to do it? What tool/code resources should I look at ?
·
Thanks,
Areal
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I have a tree growing out of my head, but
what do you expect ? I'm a programmer.
Comments
Have fun
If you want to know the "shape" of the signal, you have to use a "many-bit ADC, as external device or a home-brew "delta sigma modulator" (have a look at the threads.
There are two ways two meassure "freqencies"
(a) To count "slopes" (rising or falling edges of the signal) over a defined time
(b) Measure the time it takes for a high state and a following low state.
Both have their obvious pros and cons... (b) is generally used for (very) low frequencies only
Both methods are vulnerable to "bouncing" by nature..
-Phil