Hello,
Is it ever considered a good idea to place a resistor in series with a button when you use a pin in INPUT_PULLUP mode? Or does it not even matter?
Thanks,
Mike
Hello,
Is it ever considered a good idea to place a resistor in series with a button when you use a pin in INPUT_PULLUP mode? Or does it not even matter?
Thanks,
Mike
Never necessary and a waste of resistors!
Good to know, thanks!
Hmm, what if... incorrect settings on the port like high output and the button pressed?
The 1k resistor cannot hurt.
Look at the following diagram and check if you really need a resistor in series with a switch when the internal pull-up resistor (Rip) is enabled.
I would say definitely not ... assuming that the reading is being taken at the bottom of Rip.
and possible ESD protection.
The resistor cost only little and adds (little) protection. I wouldn't use this resistor (because I am careless) but adding it is not 100% waste.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.