This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Wind speed sensor question

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?

Parents
  • The gap is expected to change with changing wind speed, since the time distance between the pulses will change.

    My question was: Do you have electronics that gives a fixed length of the pulse (not distance between pulses) or does the length of the pulse vary with the wind speed?

    If the pulse length is constant at around 22ms, you can never process more than 45 pulses/second before the gap will become zero.

Reply
  • The gap is expected to change with changing wind speed, since the time distance between the pulses will change.

    My question was: Do you have electronics that gives a fixed length of the pulse (not distance between pulses) or does the length of the pulse vary with the wind speed?

    If the pulse length is constant at around 22ms, you can never process more than 45 pulses/second before the gap will become zero.

Children