Is the RPM +/- 150, or is it consistently below or consistently above by 150? Or is it consistently below or consistently above by some value that's proportional to the rpm? Like at 500rpm, it reads 25 too high, 2500 it's 125 too high..?
Assuming the pin is free, I could do an input capture based rpm for more accuracy. I did that in the BMS, where there were 8 different input capture pins all listening to changes to their ports. It was interrupt driven, and would construct 0's and 1's based on the times each input capture pin would stay at 0.
Happy St. Patricks day to you too!!!!! My great grandpa would force my grandma to wear orange on St. Patricks day since he was british.
|