another way to get a keyboard matrix to work off 1 adc pin


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Location
    Tennessee
    Posts
    262


    Did you find this post helpful? Yes | No

    Default Re: another way to get a keyboard matrix to work off 1 adc pin

    Personally i like to use the 74C922N IC's for interfacing keypads, it uses 1 interupt and 4 data lines for a binary input, there are normally 3 basic ways of handling keypads (there are more but they are more rare)
    1.ADC Keypad IO (uses only 1 pin, Slower, More code space, must set up polling)
    2.Serial Keypad (uses 1-3 pins based on IO type, fast, still need to set up polling) possible to add extra pin for firing a Interupt
    Article on making a serial keypad You will have to modify this code, or look on internet on making serial keypads
    3.Genuine keypad IO (5 pins, Interupt based - instant results, no polling needed)
    Article where I got mine working
    Chris


    Any man who has accomplished anything in electronics at one time or another has said... " STOP! WAIT! NOOO! Dangit.... Oh Well, Time to start over..."

  2. #2
    Join Date
    Dec 2011
    Location
    IO93ok
    Posts
    190


    Did you find this post helpful? Yes | No

    Default Re: another way to get a keyboard matrix to work off 1 adc pin

    That would be a handy way to do a keypad for radio use.

    I have a project in build at the moment which strobes the keypad lines, unfortunately this generates interference in the receiver.
    Using decoupler caps prevents the strobe. Using ferrite bead chokes reduces the output of each line.

    I'm using a 4x3 keypad as it suits my needs.

    With precision resistors this could be a good way to do it once the ADC values have beeen determined for each keypress.

    Rob

Similar Threads

  1. 10x4 matrix keyboard using only portB
    By aratti in forum Code Examples
    Replies: 19
    Last Post: - 16th November 2011, 09:39
  2. Matrix keyboard for up to 32 keys
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 21st June 2009, 01:43
  3. Keyboard Matrix with a Twist
    By k3v1nP in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 29th October 2008, 10:51
  4. LCD + keyboard matrix minimal I/O
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 21st June 2006, 19:49
  5. Matrix keyboard problem
    By MegaADY in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 9th May 2005, 18:50

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts