Friday, July 26, 2013

Using a matrix keypad is easy!

Today I wanted to try out the keypad I have bought for my project. It is a cheap ($2) 4x3 key membrane switch matrix keypad.

The keypad connected to my Iteaduino 2.2.
Using the Keypad library from http://playground.arduino.cc/Code/Keypad I was up and running in a few minutes. If I can spare the 7 IO-pins required this is almost too easy ;-)

I will have to find another way to connect it, as this connection uses pin 8 (ICP1), that I intend to use for the manchester decoding of EM4100 RFID tags. However this is no problem, as I think I will end up using a barebone Arduino for the finished product.

I am still waiting for the MIFARE reader kit, so next I will look at my $3 Nokia 5110 84x48 pixel display. It has a Philips PCD8544 controller using SPI for communication. It is well documented, and Adafruit has both a tutorial and a library for it.

No comments:

Post a Comment