I've already made/tested a bunch of Picaxe circuits, that use pushbuttons for various reasons.
Connected the "usual way": button between Vdd and inputpin, a 10K pulldown resistor between inputpin and ground.
In the code, handled the "bounce" with pause 25.
BUT not until today have I noticed the example circuit in Picaxe manual(s)!
There is also a 1K resistor between button an d Picaxe input.
(never used a resistor in that kind of place)
Since I do not now much of electronics designing (more of using and repairing), I would appreciate, if one of the Wiser ones would explain me:
-what is the purpose of the mentioned resistor?
-what are the benefits of using it?
-Do You really think, it is necessary?
Connected the "usual way": button between Vdd and inputpin, a 10K pulldown resistor between inputpin and ground.
In the code, handled the "bounce" with pause 25.
BUT not until today have I noticed the example circuit in Picaxe manual(s)!
There is also a 1K resistor between button an d Picaxe input.
(never used a resistor in that kind of place)
Since I do not now much of electronics designing (more of using and repairing), I would appreciate, if one of the Wiser ones would explain me:
-what is the purpose of the mentioned resistor?
-what are the benefits of using it?
-Do You really think, it is necessary?