
These small buttons are very commonly used in
electronics projects and understanding what’s going on
inside of them will help you as you prototype your
project. When looking at the button as it sits on the
breadboard (see Figure 6-6), the top two terminals are
always connected to each other. The same is true for
the bottom two terminals; they’re always connected.
When you push down on the button, these two sets of
terminals are connected.
Figure6-6.
Button
When you read a digital input on a Raspberry Pi, you’re check-
ing to see if the pin is connected to either 3.3V or to ground.
It’s important