<div dir="ltr"><div>A capacitor across the contacts might help.<br><br></div><div>What is the value of the pull up resistor? How often do you expect to see pulses (if it was clean)?<br><br></div><div>Set the capacitor so that the RxC = about 1/10 of the period of the nominal "clean" frequency you want.<br><br></div><div>Alternatively, if you have a scope handy and can see the glitches, set the value to about 5 x the period of the glitches.<br><br></div><div>That should give you a reasonable starting point.<br><br></div><div><br></div>Rotary encoders should be doing quadrature encoding. I've seen that messed up in firmware at least 50% of the time.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 6, 2016 at 5:44 PM, Volker Kuhlmann <span dir="ltr"><<a href="mailto:list0570@paradise.net.nz" target="_blank">list0570@paradise.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a digital power supply that has developed a bounce problem with<br>
its twiddle knob, making it pretty much unusable. Someone at the last<br>
meeting mentioned the quick fix is to put in a capacitor, but I don't<br>
remember the details. Is the capacitor across the contacts? And what<br>
value? 100pF? 100nF? Wouldn't burn 100nF the contacts out?<br>
<br>
Obviously this tool has s... firmware, but I can't fix that. Plan B is<br>
to try and replace the encoder, but if a quick fix works that'll save<br>
some headaches with models, sizes, etc.<br>
<br>
Thanks muchly,<br>
<br>
Volker<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Volker Kuhlmann<br>
<a href="http://volker.top.geek.nz/" rel="noreferrer" target="_blank">http://volker.top.geek.nz/</a> Please do not CC list postings to me.<br>
<br>
______________________________<wbr>_________________<br>
Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.linuxnut.co.nz">Chchrobotics@lists.linuxnut.<wbr>co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/chchrobotics" rel="noreferrer" target="_blank">http://lists.ourshack.com/<wbr>mailman/listinfo/chchrobotics</a><br>
Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/" rel="noreferrer" target="_blank">http://lists.ourshack.com/<wbr>pipermail/chchrobotics/</a><br>
Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org" rel="noreferrer" target="_blank">http://kiwibots.org</a> for venue, directions and dates.<br>
When replying, please edit your Subject line to reflect new subjects.<br>
</font></span></blockquote></div><br></div>