Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Pages: [1]   Go Down
Author Topic: Project 2: Pull-down resistor's job to ensure LOW reading w/ switch n/ pressed?  (Read 638 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

When building the circuit for Project 2, I am a bit unsure why the 10k Ohm pull-down resistor is needed. At first, the resistor did no sense at all to me: The resistor would only be connecting the switch to the ground when someone press the switch.

But after reading some of the pages I found, here in the forum and elsewhere, my understanding is that the pull-down resistor's job is to make sure that the digitalRead on pin 2 doesn't fluctuates when the button is not pressed, to empty that part of the circuit of any electrons left or induced from other parts. Am I right?

It's been a long time since I learnt electronics in school...

Thanks,
Anders
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 654
Posts: 35023
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes you are right.  smiley
Logged

Pages: [1]   Go Up
Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Jump to: