Update 'keypad_to_microcontroller.md'

This commit is contained in:
2024-12-09 12:47:00 -05:00
parent f11e541c09
commit f8b1e7f98a
+3 -3
View File
@@ -1,6 +1,6 @@
# Keypad Scanning # Keypad Scanning
There's a dozen ways to connect a keyboard to a microcontroller, and this paper attempts to enumerate many of them. There's a dozen ways to connect a keyboard to a microcontroller, and this paper attempts to enumerate many of them. [test link](#one-per-pin)
There are similar articles on the internet [[see below](#ext_ref)], There are similar articles on the internet [[see below](#ext_ref)],
but this paper introduces some new techniques: [row-grounded](#3x4-plus-ground-[new-design]), but this paper introduces some new techniques: [row-grounded](#3x4-plus-ground-[new-design]),
[row-grounded-with-diodes](#3x4diodes), [row-grounded-with-diodes](#3x4diodes),
@@ -22,8 +22,8 @@ Sometimes, this is appropriate if the keypad is small or in an awkward location,
In this document, *n* refers to the number of keys that are in the keyboard. The letter *k* refers to a specific key In this document, *n* refers to the number of keys that are in the keyboard. The letter *k* refers to a specific key
that is being pressed during an explanation. that is being pressed during an explanation.
<a name="one_per_pin" />
## One per Pin ## <a name="one_per_pin" /> One per Pin
The simplest way to connect keys to a microcontroller is one key to one pin. The simplest way to connect keys to a microcontroller is one key to one pin.
Connect the other side of the key to ground. Connect the other side of the key to ground.