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
  • Frisky is a wise man. He wants more computing power to crunch numbers! I like that! yammi!

    It may be that Frisky is a wise man but he has no idea whatsoever about microcontrollers, in particular the '51.

    If he did there would never have been a float in your code.

    He wants more computing power to crunch numbers often a sign of incompetence. It is easy to fiddle soemthing together that will run if the resources are unlimited, making it work with limited resources takes skill.

    Erik

Reply
  • Frisky is a wise man. He wants more computing power to crunch numbers! I like that! yammi!

    It may be that Frisky is a wise man but he has no idea whatsoever about microcontrollers, in particular the '51.

    If he did there would never have been a float in your code.

    He wants more computing power to crunch numbers often a sign of incompetence. It is easy to fiddle soemthing together that will run if the resources are unlimited, making it work with limited resources takes skill.

    Erik

Children
No data