Shop OBEX P1 Docs P2 Docs Learn Events
rotary encoder — Parallax Forums

rotary encoder

ArchiverArchiver Posts: 46,084
edited 2003-11-24 14:10 in General Discussion
In a message dated 11/24/2003 1:09:00 AM Eastern Standard Time,
tracy@e... writes:


> I'm not sure what would be fastest. The web page above has an
> extension to four encoders where it processes the logic from all 4 in
> parallel. That speeds things up considerably. (I took a look at it
> and corrected a typo in tha program on the web page, and edited the
> explanation a bit). Be that as it may, the Stamp is not fast at
> doing all the steps, so it cannot keep up with encoders putting out
> any more than 100 Hertz, if that much. The same logic programmed in
> assembly in an SX could keep up with just about anything.
>
> -- Tracy
>

In regards to the speed, I have done a quadrature encoder with a basic stamp
and you would be very hard pressed to get the stamp to read accurately even at
100Hz. I would say you need to keep the frequency around or below 75Hz.
This was using a Basic Stamp 2 IC so the recommendation of using an SX with
assembly would be a good suggestion.

When I did the Basic Stamp 2, I found it would read from the encoder even a
little over 100Hz but was missing at least half of the pulses as it could not
process the incoming data fast enough.

Another way you might want to try is using one of the encoder interface chips
from U.S. Digital. Here are some links to their site: Home: <A
HREF="http://www.usdigital.com/">Optical
Encoders, Inclinometers & Motion Control Components @ US Digital</A>
Page with IC's, interface chips: <A
HREF="http://www.usdigital.com/products/ics.shtml">ICs (LSI Chips) @ US
Digital</A>

I hope this helps

Randy Abernathy
4626 Old Stilesboro Road
Acworth, GA 30101
Ph / Fax: 770-974-5295
E-mail: cnc002@a...

I furnish technical support, repair, and other related services for your
industrial woodworking machinery. My background as Senior Service Engineer for
the
SCMI Group for nearly fifteen years with factory training, combines with my
extensive background in electronics, mechanics, pneumatics, electrical and CNC
machinery to offer you needed support for your machinery.



[noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.