View Full Version : shaft encoder help
stephenthe1
02-12-2004, 22:41
hi, I don't know if anyone is having the same problem, but the white paper on using shaft encoders is a little above my level. if you'r Kevin Watson, is it possible you could write a tutorial or explain your code in a simplified form. this thread could be a nice place to explain it. if anyone can help that would be wonderful. any basic knowledge at all would be awesome.
Mike Betts
03-12-2004, 10:33
Steve,
Please be a bit more specific. Are you asking how an encoder works or how Mr. Watson's code works. If the latter, is there a specific area in the code that needs explanation...
Mike
Jaine Perotti
03-12-2004, 16:09
I would suggest reading the white paper "Interrupts for Dummies". (http://www.chiefdelphi.com/forums/papers.php?&action=single&paperid=272)
This will explain ALOT about how the code for encoders works -- specifically interrupts, which are probably the best way to count distance. (Also read the Quadrature Encoder (http://www.chiefdelphi.com/forums/papers.php?s=&action=single&paperid=283)white paper).
Here are some threads that may also help you with basic knowledge:
Choosing an Encoder for the Drive-Train (http://www.chiefdelphi.com/forums/showthread.php?t=30830)
Optical Sensors Used as Encoders (http://www.chiefdelphi.com/forums/showthread.php?t=26243)
Mechanical Wheel Encoders (http://www.chiefdelphi.com/forums/showthread.php?t=31122)
Hope this helps!
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.