Go Down

Topic: Project 2: Pull-down resistor's job to ensure LOW reading w/ switch n/ pressed? (Read 657 times) previous topic - next topic

thoresson

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


Go Up