<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>At least for the Alps pg 267 in the data sheet on the Mouser web
      site show you what's going on. This is pretty standard for this
      type of encoder.<br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://www.mouser.com/datasheet/2/15/alps_alps-s-a0008379064-1-1733314.pdf">https://www.mouser.com/datasheet/2/15/alps_alps-s-a0008379064-1-1733314.pdf</a></p>
    <p>Jay S.<br>
    </p>
    <div class="moz-cite-prefix">On 2/7/2020 5:00 AM, Spiros Makris
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGbpyRcp0nwNCEyi4FQYarB+Vzby7w1F=agNXNhQQdt_n1bwsA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello,
        <div>I am putting together a teensy application that uses rotary
          encoders. I picked up two different ones from my local shops,
          but they seem to have a different output waveform scheme.</div>
        <div>One is an EC11e15204a3 alps (according to the guy selling
          it) and on each detent, the outputs switch between high and
          low. So, 00->11->00 and each transition from 00 to 11
          and vice versa happens when you hit a detent.</div>
        <div>The other is a bourns by the looks of it, and works
          differently: When resting, it defaults to 00. When turned, it
          briefly becomes 1, then returns to 00. <br>
          (obviously, the turn direction is detected during the
          transitions).</div>
        <div>The second type detects two increments instead of one, as a
          result.</div>
        <div>Where in the datasheet is this specified? Both are sold as
          "2 channel quadrature outputs" but the detection code is
          slightly different (unless I'm missing something?). Is there
          code that can work with both? I am using polling and shift
          registers and don't need any significant accuracy- the delay
          so far feels great.</div>
        <div>Is there a cheaper alternative to the 5pin arrangement of
          the EC11? It seems that those without switches only have 3
          pins- they will be going on a prefboard and the extra support
          would be welcome (I'm not compelled to drill 64 holes for the
          side supports :P ).</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Spiros</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Synth-diy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Synth-diy@synth-diy.org">Synth-diy@synth-diy.org</a>
<a class="moz-txt-link-freetext" href="http://synth-diy.org/mailman/listinfo/synth-diy">http://synth-diy.org/mailman/listinfo/synth-diy</a>
</pre>
    </blockquote>
  </body>
</html>