Shop OBEX P1 Docs P2 Docs Learn Events
have my basic stamp with rotory encoder — Parallax Forums

have my basic stamp with rotory encoder

axpaxp Posts: 16
edited 2007-03-16 16:24 in BASIC Stamp
does anybody know how I can monitor the speed without buying a timing light or digital tachometer? would like to run at 1440 rpms real time, im using B2, mmb and rotory encoder. thanks!

Comments

  • stamptrolstamptrol Posts: 1,731
    edited 2007-03-16 12:11
    1440 rpms and an encoder will probably give you too many pulses per second to process reliably with the BS2. You could use an external divider circuit to reduce the pulse frequency, if the encoder is already in the circuit.

    Detect your shaft speed once per revolution. Use a Hall effect sensor and a small metal flag on the shaft or use a photocell and detect a reflective spot. Use the PULSIN to measure from pulse to pulse and calibrate in speed. Or use the COUNT function.

    Cheers

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tom Sisk

    http://www.siskconsult.com
    ·
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-03-16 15:04
    Tom,

    He’s using the Motor Mind B which has a Tach input, but since he started a new thread for the same subject there’s nothing to explain that. All future posts should be referred to the original thread at the following link. This is a duplicate thread.

    http://forums.parallax.com/showthread.php?p=638414

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • stamptrolstamptrol Posts: 1,731
    edited 2007-03-16 16:24
    Thanks Chris,

    thought it was a typo!

    Tom

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tom Sisk

    http://www.siskconsult.com
    ·
Sign In or Register to comment.