resistor values for buttons

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
jonatj
 
Posts: 4
Joined: Wed Apr 04, 2012 5:09 pm

resistor values for buttons

Post by jonatj »

Hello,
I am using tactile buttons. I am using the pull down configuration with a 100ohm resistor going to the digital pin and 10K going to ground, as per the tutorial. I am just curious as to why we are using only 100ohms. Would this send 50mA to the digital pin and exceed the max current value the pin can handle? Also if it were 50mA would a 1/4W resistor be insufficient? Please correct me if I am looking at this wrong. Thank you.

jonatj
 
Posts: 4
Joined: Wed Apr 04, 2012 5:09 pm

Re: resistor values for buttons

Post by jonatj »

I may have answered my own question, but still a verification would be nice. The pins when configured as an input are high impedance and take very little current. Therefore the pin is not actually being supplied 50mA.

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: resistor values for buttons

Post by adafruit_support_bill »

The pins when configured as an input are high impedance and take very little current. Therefore the pin is not actually being supplied 50mA.
That is correct.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”