This paper introduces a few new methods of scanning small keyboards, using fewer GPIO pins.

Pat Beirne 2cbcb23165 added sample code пре 1 недеља
parts 11b3f95e0d added the switch symbol пре 1 недеља
3x4_4pin.png d2593c52fe Upload files to '' пре 1 недеља
3x4_4pin.sch d2593c52fe Upload files to '' пре 1 недеља
3x4_5pin.png d2593c52fe Upload files to '' пре 1 недеља
3x4_5pin.sch d2593c52fe Upload files to '' пре 1 недеља
3x4_6pin.png a12f994ed9 more files пре 1 недеља
3x4_6pin.sch a12f994ed9 more files пре 1 недеља
3x4_7pin.png a12f994ed9 more files пре 1 недеља
3x4_7pin.sch a12f994ed9 more files пре 1 недеља
3x4_res_ladder.png a12f994ed9 more files пре 1 недеља
3x4_res_ladder_diag.sch eb9b96effc Upload files to '' пре 1 недеља
LICENSE b75e8f54e3 Initial commit пре 1 недеља
README.md 0b898e6ff2 add link to main article пре 1 недеља
direct_to_pin.png eb9b96effc Upload files to '' пре 1 недеља
direct_to_pin.sch eb9b96effc Upload files to '' пре 1 недеља
keypad.jpg 542b8d302d Upload files to '' пре 1 недеља
keypad_to_microcontroller.md 2cbcb23165 added sample code пре 1 недеља
keypad_tutorial.ino 2cbcb23165 added sample code пре 1 недеља

README.md

Keypad Scanning

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.