I have circuit on a breadboard. It takes input from pushbuttons. The challenge I'm facing is the de-bouncing when pushing the button. I've tried different approaches with almost the same bad result.
I've tried with hardware de-bounce, software de-bounce and a combination of those, but I can't seem to find the right values.
When googling, these two circuits appears, but there are never any values on the resistors nor the capacitors.
So I have to ask:
How do I find the right values?
uC is running at 4MHz
..or is it the breadboard that is the problem, with "stray capitance". I'm going to make some PCBs for this project, will the de-bounce problem go away on a real PCB?
I've tried with hardware de-bounce, software de-bounce and a combination of those, but I can't seem to find the right values.
When googling, these two circuits appears, but there are never any values on the resistors nor the capacitors.
So I have to ask:
How do I find the right values?
uC is running at 4MHz
..or is it the breadboard that is the problem, with "stray capitance". I'm going to make some PCBs for this project, will the de-bounce problem go away on a real PCB?
Attachments
-
21.2 KB Views: 412
-
5 KB Views: 97