On Mon, 2009-03-09 at 11:45 -0700, Rafael Skodlar wrote: ... snip > You may want to change that to Grey code encoder. > http://www.mcmanis.com/chuck/robotics/projects/encoders/enc_gray.htm > where only one bit changes at a time. This of course makes it > difficult to use a drilling method. I don't need to have a drilled disk. Laser printing an image on an overhead transparency should work fine. I should have realized this earlier. I think I started out using magnets in the holes.
> this seems to be the cheapest part but it only has 50k life cycle. > http://parts.digikey.com/1/parts/957638-rotary-encoder-4-bit-grey-code-288t232r162a1.html This would be good if it had 24 positions, but may be handy for other applications. > here's one homemade encoder: http://www.qsl.net/oe5jfl/encoder.htm I'll study this. I'm not sure how gray code is better. I can use HAL's CONV_BIT_U32 to input the five bits to a tool number. I would need to create a new HAL component to convert the five gray code bits, which is not a big deal, but is an issue that will need to be addressed. Kirk ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
