Raspberry Pi_Eng_25.5.5 Push Button


Published Book on Amazon


All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 1
All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 2


출판된 한글판 도서


최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (상)
최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (하)


Original Book Contents


25.5.5  Push Button

 

There are many types of buttons used in electronic circuits. Among them, Push-Button is a very simple input device. Pressing the button will connect the circuit, and if the switch is released, the connection is cut off immediately, so it is also called a momentary contact switch.

 

The lower left shows the shape of a commonly used push button, and the lower right shows the wiring pattern inside the push button. In the figure, there are four connection points, but this has the structure that A-C and B-C are connected to each other internally and when the button is pressed, A-C line and B-D line are connected to each other.


Figure 25‑15 Push button

 

Note that when installing the buttons on the breadboard, A-C and B-D are already connected so that A-C and B-D are not placed on the same row internally connected to each other on the breadboard.

 

Below is an example of installing push button on breadboard and other electronic components and circuitry. From the bottom, we can see that A-C and B-D are installed in different rows.


 

Below is an example of constructing a simple circuit with Raspberry Pi and push button. You can see that one is connected to the A-C line of the button, and the other is connected to the B-D line of the button.