eli5: when a 5V signal is attached/applied directly to an input pin on an arduino, does that input pin act as ground?

282 views

For example, when a push button is pressed. The 5V supply connects to the signal cable, which is attached to Pin 2, for example.

But where does the current ‘sink’ into? Doesn’t it need an explicit ground pin? If it goes right into Pin 2, is that the ground pin in disguise?

Or is the signal pin (pin 2) the one applying the current through the push button..?

In: 0

6 Answers

Anonymous 0 Comments

The input pin is EVENTUALLY connected to ground but not directly. It has to in order to complete the circuit. But no, the signal pin isn’t a disguise for anything. When connected to a 5V it will sink a bit of current (although usually very small).

If you connect a lightbulb in a home. One side goes to live and the other to neutral. It is not very useful to say that the side that is connected to live is a “disguised” neutral. It is connected to the neutral line on the other connection but only after the current passes through the lightbulb.

You are viewing 1 out of 6 answers, click here to view all answers.