ARC - Arbitrary Row and Column Keypad encoder

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2011-10-05 | updated: 2013-06-17


Here is a keyboard scanner that is not limited by the number or positions of the rows and columns in a keyboard matrix. Essentially you can take a bunch of unused pins from your Prop, even though they may be scattered here and there, and use these to scan a keyboard/keypad.
Any combination of row and column pins can be used, therefore any port pins that are non-sequential can be used. This also means a change of keypad which has different row and column conections can easily be accommodated. Matrix size is only limited by the number of port pins available so it is possible for instance to use 28 pins for scanning a 14x14 matrix of 196 keys and still have I2C and RXD/TXD lines available.
Original File Upload
Package icon ARCKEY_DEMO-bst-archive-111006-084808.zip6.18 KB