I am using the C51 compiler and have code for the silabs C8051F120.
I have built a wind speed sensor with a rotary encoder but it seems to top out at 42mph. I know there have been gusts greater than that since I started using it.
I have considered calibrating the unit with an automobile and think i may be missing edges of the encoder signal because of processing overhead. I think the encoder counter routine should be interrupt driven.
My coworker Frisky suggested the circuitry is not able to handle fast counting signals coming from sensor and said that the 2nd problem circuitry should be analyzed.
Does anyone have an idea why that might happen?
the only thing "not fast enough" is your software! your software is broken, and worse: you don't believe it and do obviousely don't understand how to fix it (even though we told you how) because you probably don't know the specs. do as your told. fix your software. a new controller will have the same problems. I bet you 2 bottles of scotch!