BS2pe Mobo Tach question
jsaddiction
Posts: 84
I need to build a precision RPM Gauge for a rotating light (light house) I must be able to display to the hundredth of an RPM and the Rotating assembly has an IR sensor and an encoding strip which has 550 pulses per revolution. I know sounds like a lot but this will make it easier. Max rotation speed to be measured is 20 rpm. I think that is 183.333 hz so i think this would work. I would like to display this on the master 7seg display. I am guessing that an update rate of the display around once a second or faster would be sufficient. Can this be done? I onlyhave experience with the BS2. Would it be very difficult?
TIA
TIA
Comments
-Phil
-Phil
it is a sinwave with 3.44v Pk to Pk riding on 2.96vdc. High part of the wave is at 4.68vdc and low part is at 1.24vdc.
-Phil
-Phil
Alternatively, use a pot as a voltage divider to do the same thing. Using the Stamp's inputs directly as comparators are one of my favorite tricks.
Your idea would certainly work, but with a sinewave input coming, perhaps, over a cable from the encoder, I would still encourage the addition of some hysteresis to eliminate any concerns about noise.
-Phil
-Phil
-Phil
-Phil
Pulse widths will be shorter as RPM increases, but you cannot count on their individual widths for measuring RPM.
-Phil
-Phil
-Phil
Jitter and pulse asymmetry issues are beginning to scare from the period measurement approach. And I don't believe they will give you more accuracy any quicker than a simple pulse count would, since you have to average them anyway. The best part is that counting pulses is just simpler.
-Phil
-Phil