<div dir="ltr">I also use no caps. 1k resistors.<br><div><br></div><div>Vinicius</div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
        <tr>
      <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Livre de vírus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>.             </td>
        </tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 6, 2021 at 2:04 PM Mike Bryant <<a href="mailto:mbryant@futurehorizons.com">mbryant@futurehorizons.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-GB">
<div class="gmail-m_-2329757309167426020WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I use 300 Ohms pullup to 3.3V and no caps.  There is still a short bounce period but after that the strong current flow keeps it clean and most scanning code
 works. For interrupt driven you’ll probably need to disable the interrupts for a short time.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif"> Synth-diy [mailto:<a href="mailto:synth-diy-bounces@synth-diy.org" target="_blank">synth-diy-bounces@synth-diy.org</a>]
<b>On Behalf Of </b>Jean-Pierre Desrochers<br>
<b>Sent:</b> 06 August 2021 16:47<br>
<b>To:</b> 'SDIY'<br>
<b>Subject:</b> [sdiy] Need goog working rotary encoder in C code..<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="FR-CA">Hi everybody.<u></u><u></u></span></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="FR-CA"><u></u> <u></u></span></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="EN-CA">I’m doing some tests on a rotary encoder and a PIC16F1783.<u></u><u></u></span></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="EN-CA">A standard Bourns encoder like <a href="https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjyoqDF3JzyAhUmhOAKHf3lAzoQFnoECAoQAw&url=https%3A%2F%2Fwww.bourns.com%2FPDFs%2Fpec11l.pdf&usg=AOvVaw2RyieyzPnujiOTS7LBcbpw" target="_blank">
THIS</a> .<u></u><u></u></span></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="EN-CA">Connected using 2 x 10k pullups with 0.01uf caps to ground<u></u><u></u></span></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="EN-CA">to PORTB of the micro. Interrupt calls (falling edges) used on encoder pins A & B.<u></u><u></u></span></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="EN-CA">I struggled so far to get clean increments/decrements out of it.<u></u><u></u></span></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="EN-CA">Many missing counts occur..<u></u><u></u></span></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="EN-CA">I tried many source codes on the web with no luck..<u></u><u></u></span></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="EN-CA">Is there anybody who’d have worked on this in the past<br>
and have a working c code ?<u></u><u></u></span></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="EN-CA">No ARDIUNO please.<u></u><u></u></span></p>
<p class="gmail-m_-2329757309167426020MsoPlainText"><span lang="EN-CA">Thanks !<u></u><u></u></span></p>
</div>
</div>

_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" target="_blank">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank">marketplace@synth-diy.org</a><br>
</blockquote></div>