Shop OBEX P1 Docs P2 Docs Learn Events
Encoder question — Parallax Forums

Encoder question

Jimbo30Jimbo30 Posts: 129
edited 2011-06-15 23:41 in General Discussion
What is the proper way to use an encoder in any application? For example, I had a motor with a 12 tooth gear attached and I wanted to run the motor a certain distance....... say (2.5').

Comments

  • stamptrolstamptrol Posts: 1,731
    edited 2011-06-15 10:30
    How fast will the gear be turning? What will you use to detect the gear teeth?

    For the abilty to detect both speed and direction, you'll need two sensors, offset by half a gear tooth. For single direction operation you can get away with one sensor.

    Finally, the Stamp has a limited ability to read high-speed quadrature signals. Its often possible to read the teeth on a slower running shaft rather than try to read the motor shaft itself.

    More details of your project will get you better answers.

    Cheers,
  • ercoerco Posts: 20,260
    edited 2011-06-15 13:37
    @Jimbo30: Don't make me shamelessly ressurect the thread with my BS2 tracking a QR at 394 pulses per second !

    Well, OK: http://forums.parallax.com/showthread.php?121179-Reading-Quadrature-Encoders&p=899765&viewfull=1#post899765

    And it could read even faster as a tach sensor (using just one sensor sensing RPM but not direction).
  • Jimbo30Jimbo30 Posts: 129
    edited 2011-06-15 23:41
    Thanks guys! After thinking about it and looking at some information, I answered my own question. !Circumference!
Sign In or Register to comment.