This paper introduces a few new methods of scanning small keyboards, using fewer GPIO pins.
Pat Beirne 2cbcb23165 added sample code | há 1 semana atrás | |
---|---|---|
parts | há 1 semana atrás | |
3x4_4pin.png | há 1 semana atrás | |
3x4_4pin.sch | há 1 semana atrás | |
3x4_5pin.png | há 1 semana atrás | |
3x4_5pin.sch | há 1 semana atrás | |
3x4_6pin.png | há 1 semana atrás | |
3x4_6pin.sch | há 1 semana atrás | |
3x4_7pin.png | há 1 semana atrás | |
3x4_7pin.sch | há 1 semana atrás | |
3x4_res_ladder.png | há 1 semana atrás | |
3x4_res_ladder_diag.sch | há 1 semana atrás | |
LICENSE | há 1 semana atrás | |
README.md | há 1 semana atrás | |
direct_to_pin.png | há 1 semana atrás | |
direct_to_pin.sch | há 1 semana atrás | |
keypad.jpg | há 1 semana atrás | |
keypad_to_microcontroller.md | há 1 semana atrás | |
keypad_tutorial.ino | há 1 semana atrás |
The 3x4 and 4x4 matrix keyboards are commonly used for user input. Usually, the row and column wires are connected to GPIO pins on a microcontroller. A simple approach requires 7 wires for a 3x4 keypad.
This article introduces a new technique wish reduces the number of GPIO pins down to 6, 5 and even 4, using software scanning techniques and diodes.
Even though this reduces GPIO pin requirements in a manner similar to charliplexing, this is a different design.