Shop OBEX P1 Docs P2 Docs Learn Events
Anenometer reading — Parallax Forums

Anenometer reading

Earl FosterEarl Foster Posts: 185
edited 2011-12-14 17:02 in Propeller 1
To start with ... I realized tonight that it has been several years since I last posted on this forum and just as long since programming the prop. WOW - things have changed.

My project requires the use of an anemometer and unlike the Stamp there is no Schmitt Trigger function in the propeller (that I am aware of) and this dampening function is needed. I reviewed a number of posts concerning the use of many different devices but became overwhelmed and confused.

I think I have decided to use either a 555 or 74LS14 because it is what I have on hand at the moment. With the Stamp I used the CONFIGPIN Schmitt command to reduce bounce and used the COUNT command to count the number of rotations ... very easy but I am not that lucky now. I really do not know how to code it in the Propeller and the older thread I found did not have any code samples. Perhaps I can get some direction and assistance with the writing the code. I might be over thinking this too. It’s been a while since I used the Prop and need to get myself reacquainted with it.

Thanks
-earl

Comments

  • PublisonPublison Posts: 12,366
    edited 2011-12-14 15:56
    To start with ... I realized tonight that it has been several years since I last posted on this forum and just as long since programming the prop. WOW - things have changed.

    My project requires the use of an anemometer and unlike the Stamp there is no Schmitt Trigger function in the propeller (that I am aware of) and this dampening function is needed. I reviewed a number of posts concerning the use of many different devices but became overwhelmed and confused.

    I think I have decided to use either a 555 or 74LS14 because it is what I have on hand at the moment. With the Stamp I used the CONFIGPIN Schmitt command to reduce bounce and used the COUNT command to count the number of rotations ... very easy but I am not that lucky now. I really do not know how to code it in the Propeller and the older thread I found did not have any code samples. Perhaps I can get some direction and assistance with the writing the code. I might be over thinking this too. It’s been a while since I used the Prop and need to get myself reacquainted with it.

    Thanks
    -earl

    Welcome back earl,

    there is a new application note on the Parallax Semiconductor site that may be right up your ally:

    AN015: Creating Schmitt-Triggered Inputs on the P8X32A Propeller Microcontroller



    http://www.parallaxsemiconductor.com/an015
  • Earl FosterEarl Foster Posts: 185
    edited 2011-12-14 17:02
    Thanks. That was a lot of help.
Sign In or Register to comment.