Electronic – Pull up circuit current flows

groundpulldownpullupresistors

Im trying to understand how pull up/down circuits works . Let's consider this schematic :
enter image description here

I understand that there are two possible current flows :

  1. When the button is not pressed, the current flows from VCC through the input pin .
  2. When the button is pressed , the current flows from Vcc through the button , to the GND .

I cant understand the second flow . Why the the current goes directlly through the button ? After the R1 resistor there is a "crossroad" . So , why the current flow is not divided to both paths (left to the button , and right to the input) ? How it knows to flow only to the left path i.e. to the button, and not right to the input ?

Thanks

Best Answer

Because when the current gets to the "crossroad", it has two options to go to GND. One is through R2 and the other is direclty to GND. In other words this is like putting R2 in paralell with a resistor whose value is zero ohms. This lead us to a zero ohms equivalent, which is like a short circuit (left path).

In a intuitive way, it finds no resistance to go to the left while there is R2 if it goes to the right. The current division in a "crossroad" is a proportional division calculated by the resistance ratio of each path. Since one path is free, all current goes to there.