In SX Microcontrollers, SX/B Compiler and SX-Key Tool, wbahn wrote: Is this incremental encoder just an optical sensor and a disk? Or does it have some smarts (some kind of logic) that is producing the pulses. If the former, then you have to be concerned with transition bounce. This is when the output bounces up and down a few times as the disk transitions from a shaded region to a clear region (or vice versa). If you sample fast enough, you can catch these bounces and interpret them as the disk moving faster than it really is. Most basic encoders have two outputs that change in quadrature to permit you to detect and compensate for this. This also lets you detect what direction the disk is turning in. Incremental encoded intended purely for speed measurement on systems that don't change speed very much often only have a single output. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=147629#m147706 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)