Keypad doesnt work when pressed

Hi everybody,

I have an issue working with a 8-pin keypad. When I connect it to Arduino motor shield via headers and power the arduino via the USB, the keypad does not respond when the keys are pressed.

But if I use a multimeter and complete the circuit like use pin 1 and 5 across the supply and gnd of the multimeter, the respective number gets displayed across the Serial I/O monitor. Can anybody tell me wats going on. I have used the basic code given in the Arduino main page for keypads.

Thanks

What sort of keypad are you using? There are many types and the code only drives one type. How have you got it wired up?

Hi,

I have been using a 4X4 keypad and this is the link to the datasheet http://lgrws01.grayhill.com/web/images/ProductImages/Series%2096%20Standard%20Keypads.pdf

I have connected the wiring as per this circuit diagram Arduino Playground - SerialKeypad

Means I have connected the 4 row pins to 10K resistors and then to ground of the Arduino. The 4 column pins are connected to the arduino directly.

Thanks in advance.

Thanks for the links. I can only think that you have miss identified the connections from the keypad. I must admit I have difficulty reading that data sheet. Get your multi meter and measure the resistance between the pins. Pins 8 and 4 should short out when button 16 is pressed. If you can see it on your meter then connect those two to the arduino and see if you can get the one button to register.
Best of luck.

Hi Mike,

With respect to the keypad that I am using, it has a product code no 96BB2-006-R. So if u google it you will surely land at the product datasheet.

I tried shorting pins 8 and 4 and connected it to the arduino. The connection is perfectly fine because when I complete the circuit by connecting the red of multimeter to the respective column pin and black of multimeter to the respective row pin, the right number gets displyed on the serial I/O. But when the number is pressed on the keypad there is no reaction. I have no clue why the circuit is not completed by the button press??

These are conductive rubber switches - what is the ON resistance?

And it finally worked...!! The breadboard was screwed and so there were no connections ;D.. Anyways thanks for the help ::slight_smile: