shekhar_dandya
- Jun 18, 2004
- 136
- Joined
- Jun 18, 2004
- Messages
- 136
How to make an RPM counter?
Assuming you have some sensing mechanism,say a flywheel with a slit to pass the light beam that is sensed by a photosensor at reciever end and which is attached to a transistor driver that gives you square pulses for every cut.
How to process the rest of the signal using a microcontroller?
One way is to use interrrupt pin to interrupt the MCU every time the pulse comes
and increment a variable in the ISR.
use a timer to generate a delay of 1 min.read the counter variable before starting the timer and after 1 min.take the difference and display.
Is there any more better way?
How are commercial RPM counters/taechometers made?
I feel they don;t wait for 1 min to gather the # of revs in a minute.
How do they work?
Assuming you have some sensing mechanism,say a flywheel with a slit to pass the light beam that is sensed by a photosensor at reciever end and which is attached to a transistor driver that gives you square pulses for every cut.
How to process the rest of the signal using a microcontroller?
One way is to use interrrupt pin to interrupt the MCU every time the pulse comes
and increment a variable in the ISR.
use a timer to generate a delay of 1 min.read the counter variable before starting the timer and after 1 min.take the difference and display.
Is there any more better way?
How are commercial RPM counters/taechometers made?
I feel they don;t wait for 1 min to gather the # of revs in a minute.
How do they work?