Data Storage Tool Display Human Input Protocol Math Motor Control Sensor Signal Generation Speech & Sound Fun View all Objects


Quick Links
Contact Us
Forums
Support

Register
Login

This object is provided under license. By downloading this object, you are agreeing to the terms of the MIT License.

4x4 kepad decoder

DEMO displays on a VGA monitor
Uses a capacitive pin approach to read a 4x4 keypad.

PRO's - No resistors, capacitors, or external IC's
required.

CON's - requires 8 I/O's

The keypad decoding routine only requires two subroutines and returns the entire 4x4 keypad matrix into a single WORD variable indicating which buttons are pressed. Multiple button presses are allowed with the understanding that “BOX” entries can be confused. An example of a BOX entry... 1,2,4,5 or 1,4,3,6 or 4,6,*,# etc. where any 3 of the 4 buttons pressed will evaluate the non pressed button as being pressed, even when they are not. There is no danger of any physical or electrical damage, that's just the way this sensing method happens to work.

Version:
  1.0

Author:
  Beau Schwabe (Parallax)
  bschwabe@parallax.com

Categories:
  Human Input

Downloads:
  168

Last Updated:
  2008-03-12



User Reviews:



Copyright 2007 by Parallax, Inc.
Please contact obex.support@parallax.com with comments or questions.