Using Arduino with a 3×4 keypad

Well it’s a pretty useful device to input numbers and letters,  it can also be used for security measures like a keypad door lock, and it’s prefect when you need a low-cost and accessible interface for your next idea.
arduino_keypad_wiring

Wiring 3×4 Keypad with Arduino

To wire your 3×4 Keypad to your Arduino, connect the following pins:

  • Keypad Pin 1 –> Arduino Pin 7
  • Keypad Pin 2 –> Arduino Pin 5
  • Keypad Pin 3 –> Arduino Pin 8
  • Keypad Pin 4 –> Arduino Pin 2
  • Keypad Pin 5 –> Arduino Pin 6
  • Keypad Pin 6 –> Arduino Pin 3
  • Keypad Pin 7 –> Arduino Pin 4

 

Recommended Software

  • none

Instructions and Code

Tagged with: , , ,
2 comments on “Using Arduino with a 3×4 keypad
  1. ranjith muthu says:

    Arduino: 1.8.3 (Windows 8.1), Board: “Arduino/Genuino Uno”

    C:\Users\Dhanu\Documents\Arduino\keypad\keypad.ino:1:22: fatal error: Keypad.h: No such file or directory

    #include

    ^

    compilation terminated.

    exit status 1
    Error compiling for board Arduino/Genuino Uno.

    This report would have more information with
    “Show verbose output during compilation”
    option enabled in File -> Preferences.
    ->this is my error… whats the solution…?

Leave a Reply

Your email address will not be published. Required fields are marked *

*