Pages: [1]   Go Down
Author Topic: Project 2: Pull-down resistor's job to ensure LOW reading w/ switch n/ pressed?  (Read 608 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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...


Manchester (England England)
Offline Offline
Brattain Member
Karma: 635
Posts: 34572
Solder is electric glue
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes you are right.  smiley

Pages: [1]   Go Up
Jump to: