Does someone knows what are the rows and columns for this keypad ?
There is 7 pins male connector on the back side but i can not define what is what.
I found one data sheet bum am dont know how to read the truth table correctly.
I have 4 resistors soldered on my PCB but i can not define keypad rows...
Well there is still a problem. I run one simple code on one standard 3x4 matrix and it's working as it should ( i connected 8 pins directly to mega board + 4 resistors on rows) . After i have connected Grayhill keypad ( on the same way ) i can get any output. Not even wrong ones :-)
Nothing... Any idea why is this happening ?
It's likely you have the rows/columns wrongly defined.
Using a simple multimeter (or 3v battery and an LED if you don't have one) double check that what you think are the correct rows/ columns are indeed those.
So connect a row to a column and press the keys on the matrix until you get a response. If you get none then you are not connecting a row with a column. If you do get a response then work onto the next column to get the next set. And so on.
If that all works out just try shorting the Mega ROW pin to the COL pin that you think should work and see whether the MEGA gives you the expected response. (All without using the keypad).
I see there is quite a few pins some are only for the "single pole common bus terminal" while some are also for the "matrix terminal. It looks like they are all on the one header on the keypad.
If you carefully check which pins you are using.
If it is the one in the spec sheet above then pins D to K are for the matrix (they don't use I for a pin to avoid any confusion).