Keypad Circuit Diagram

Discussion in 'The Projects Forum' started by PIC GUY TREVOR, Apr 2, 2009.

  1. PIC GUY TREVOR

    Thread Starter Member

    Mar 8, 2009
    28
    0
    Hello

    I am having trouble designing a circuit for a 4 by 4 keypad. I am using a ring counter for my logic and connecting my rows and columns to a 74LS273 Latch to generate a key code. But I am not sure how to set up the key press detect part, I was going to use 4 AND Gates but I am not sure how to connect them to my circuit. Can anyone offer any suggestions :confused:

    Thanks
     
  2. lightingman

    Senior Member

    Apr 19, 2007
    374
    22
    Hi.

    Take a look at the 74HC922. It will scan a 4 x 4 keypad, give a 4 bit binary output and a key-down output. A great little chip if you can get them. If you put the binary output into a latch (CD4042), then using the key-down output through a monostable (CD4047) to trigger the latch. It will hold the data at the output of the latch until the next key is pressed.

    Daniel.
     
  3. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
  4. DickCappels

    Moderator

    Aug 21, 2008
    2,659
    632
    If my assumptions about how you are using these parts is correct, Use a 4 input OR or NOR gate,with the four inputs going to the output of the matrix. Whenever an output of the matrix is goes high, (one or more buttons is down), and the output can be used to latch the output of the matrix. This will not detect any buttons with a key code of 00.
     
  5. PIC GUY TREVOR

    Thread Starter Member

    Mar 8, 2009
    28
    0
    Thanks for the suggestions I will give the 74HC922 a try, havent used that before.
     
  6. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    You'll have a hard time finding it.
    The MM74C922 has the same functionality though, and Digikey has it in stock.
    See my prior post.
     
  7. lightingman

    Senior Member

    Apr 19, 2007
    374
    22
    Hi again.

    No need to OR the outputs. There is a key-down output available (da output) for this from the 922.

    Daniel.
     
Loading...