M
Mike Lantz
- Jan 1, 1970
- 0
G'Day,
I want to measure a frequency from a Magnetic Pick-up sensor with a MCU.
There are many ways to use this signal and measure the period of it. I'm
just looking for some Do's and Don'ts that people have encountered and
things to just avoid.
Here are a few ideas that I can use to interface to the MCU with:
1) Use a Frequency to Voltage converter and use the built in ADC of the MCU.
2) Use a Voltage comparator and manipulate the signal to a TTL output and
measure it's period.
3) Clip the signal to within the nominal operational value of the MCU and
count the pulse with respect to time.
Accuracy is not required, this is just to give a general idea of the RPM.
The MCU will also be doing other things like controlling a LCD (Display RPM,
menu system), outputs (relays) and monitoring inputs (Keypad, open collector
sensors).
The MCU in use is the Motorola MC9S08GB60
I want to measure a frequency from a Magnetic Pick-up sensor with a MCU.
There are many ways to use this signal and measure the period of it. I'm
just looking for some Do's and Don'ts that people have encountered and
things to just avoid.
Here are a few ideas that I can use to interface to the MCU with:
1) Use a Frequency to Voltage converter and use the built in ADC of the MCU.
2) Use a Voltage comparator and manipulate the signal to a TTL output and
measure it's period.
3) Clip the signal to within the nominal operational value of the MCU and
count the pulse with respect to time.
Accuracy is not required, this is just to give a general idea of the RPM.
The MCU will also be doing other things like controlling a LCD (Display RPM,
menu system), outputs (relays) and monitoring inputs (Keypad, open collector
sensors).
The MCU in use is the Motorola MC9S08GB60