Shop OBEX P1 Docs P2 Docs Learn Events
cool encoder decode circuit with debounce — Parallax Forums

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-12-16 14:15
    'Interesting. But quadrature encoder outputs don't really need debouncing. The reason is that only one output can be bouncing at a time; and, when this happens, the position interpreter code merely toggles the position back and forth by one count until the bouncing settles. IOW, there is no accumulated error due to the bouncing.

    -Phil
  • Rick_HRick_H Posts: 116
    edited 2010-12-16 15:35
    I would think you would want to debounce so as not to execute code on a false trigger, but ya I see your point.
  • ercoerco Posts: 20,260
    edited 2010-12-16 16:02
    That's quite a circuit to build in Figure 2. For a beautiful and ultra-simple optical quad encoder experience, just use two of these $3 units: http://www.junun.org/MarkIII/Info.jsp?item=48 They already have amplifiers, filters, and Schmidt triggers built in. Hardly any external hardware required, use this circuit (figure 4): http://www.seattlerobotics.org/encoder/200010/dead_reckoning_article.html

    Satisfaction guaranteed or double your resolution back. :)
Sign In or Register to comment.