Still trying to get weather station to work with mDot

Home Forums mDot/xDot Still trying to get weather station to work with mDot

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #12931
    Michael
    Participant

    What I have: mDot on UDK board, with Sparkfun Weather Shield (temp, humidity) and weather station (anemometer, wind vane, rain gauge).

    I posted some questions a few weeks ago. Many were answered and have helped me move the project forward.

    My current (last?!) issue is getting the anemometer to work. I am using Adam Green’s library that’s on the mbed site. There’s a one-second tick that is working (best I can tell), and it brackets a count of interrupts ( DebouncedFallingEdgeCounter ) generated by the anemometer as it spins. Or should…

    I added an LED toggle within the EdgeCounter and I can get the LED to turn on and off as I rotate the anemometer…but only if I spin the anemometer VERY slowly.

    There’s a debounce setting for the EdgeCounter, but I’ve played with that value to no avail (My guess is if that number were too big, the count would ignore the interrupt – treating it as a bounce rather than as valid)

    Anyone have familiarity with any of the above?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.