Required Hardware
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.
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
Very good
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…?
very very good