@whale-av said:
@cfry Also....... 50cents for 6 buttons....... because...... how long can you bounce my dear switch?
https://hackaday.com/2015/12/09/embed-with-elliot-debounce-your-noisy-buttons-part-i/
Hi,
I am necromancing this thread a bit.
I have chosen to debounce in hardware (also, cause I will need to do in Pd too it seems).
I asked about this at the ardunio forum as well, but they suggest (naturally) that I solve it in the arduino code. Since I use the firmata combined with pduino I can not do that.
I would like some help please with choosing the right hardware debouncing configuration. It works pretty ok as of now, but I want to make sure I do not make any errors in selecting electronics. I am debouncing the digital inputs of an arduino nano clone. It seems that I get quite different bouncing on the different inputs.
I am following this guide:
A Guide to Debouncing - Part 2, or, How to Debounce a Contact in Two Easy Pages, by Jack Ganssle
I am choosing between these two configurations:
The math equations are beyond my understanding (I need to get a math textbook sooner or later, to brush up on things).
The latter, with the diode seems to work fine. Suggested values are C: 1 µF, R1: 82K, R2: 18K. I use slightly larger values.
The one without a diode, have example values C: 0.1 µF, R1:? (I used 10K), R2: 185K.
Question
Since I ran out of C 1µF, I used the values from the first circuit, but combined with a diode as in the second circuit. Does this make sense?
Thank you!