
• IRQ
→
D2
Check out the Fritzing diagram below to verify your connections.
This diagram shows the bottom side of the keypad, in order to show you the
location of the I C address jumper. In this diagram, the jumper is set to 0,
but if you need to have 2 keypads on the same I C bus, you can change
one of them to be set to 1.
Now that you’ve got your keypad hooked up properly, let’s get
communicating with it!
Communicating with the Keypad
In order to communicate with your keypad, you’ll want to download the
example sketch available here. Alternatively, you can check for the most
up-to-date firmware available in the GitHub repository.
This sketch is designed to allow the keypad to function as a phone keypad.
Check out the pin mapping below to see how the numbered pads will print
over the Serial terminal.
Actual Keypad
→
Phone Keypad Printout
• 3
→
1
• 7
→
2
• 11
→
3
• 2
→
4
• 6
→
5
• 10
→
6
• 1
→
7
• 5
→
8
• 9
→
9
• 0
→
*
• 4
→
0
• 8
→
#
This is defined in the first section of the code, shown below. The I C
address is also defined, along with setting digital pin 2 to be assigned as
the IRQ pin connection point.
2
2
2
Page 16 of 24