eolas/zk/Push_buttons.md

38 lines
1 KiB
Markdown
Raw Normal View History

2024-06-25 05:45:04 +01:00
---
id: nsrv
title: Push buttons
tags: [electronics]
created: Tuesday, June 25, 2024
---
# Push buttons
2024-07-03 06:30:03 +01:00
Push buttons are push-to-make switches. This means that they are **on when they
pressed and off when they are not pressed**. A classic example would be the
switches on a keyboard.
Push buttons have four legs that are connected in signal-in and signal-out
pairs.
To create a breakable circuit we would connect a signal-in cable to the top left
at row 23 and a signal-out cable to the bottom-right at row 25.
2024-07-04 07:00:04 +01:00
![Push button legs diagram](../img/push-button-legs.png)
_The correct use of a push button where the button breaks the circuit_
![](../img/correct_push_button.jpg)
2024-07-03 06:30:03 +01:00
To override the switch functionality and just have the button work as a
connector we would connect the signal-in to the row 23 input and the row 23
output.
2024-07-04 07:00:04 +01:00
_The push button being used as simple connector which does not break the
circuit:_
![](../img/incorrect_push_button.jpg)
2024-06-25 05:45:04 +01:00
## Related notes
2024-07-03 06:30:03 +01:00
https://projects.raspberrypi.org/en/projects/button-switch-scratch-pi/1