Page 1 of 1

GLK12232 Keypad - Rows/columns swapped?

Posted: Wed Jan 22, 2014 1:03 am
by Lenny
Hi,

Just wondering if there is an error in the manual for the GLK12232-25?

Pg18 shows a table for the expected response for a keypad press across the rows and columns:
C1 C2 C3 C4 C5
R1 A B C D E
R2 F G H I J
R3 K L M N O
R4 P Q R S T
R5 U V W X Y

But, I am getting this result:
C1 C2 C3 C4 C5
R1 A F K P U
R2 B G L Q V
R3 C H M R W
R4 D I N S X
R5 E J O T Y

That is, it looks like the rows and columns are swapped.

Is the manual wrong, or the printing on the LCD's PCB?

Re: GLK12232 Keypad - Rows/columns swapped?

Posted: Wed Jan 22, 2014 8:58 am
by Tino
Hi Lenny,

It looks like by the output you are receiving the rows and columns are swapped.
This could be caused from a couple of things:
1. Something as simple as the keypad being connected to the PCB backwards.

or

2. You are using an older PCB Revision than 3.0.

From PCB Rev 3.0 and up the Keypad Interface runs GND,Row 1 to 5, Column 1 to 5, GND. Whereas PCB Rev 2.0 is the opposite running GND,Column 1 to 5, Row 1 to 5, GND.

Try reversing the connection from the keypad to the PCB.

If you don't want to do that you can set the keypad codes by sending the "Assign Keypad Codes" command.

You can find the manual for the Legacy GLK12232-25 here:
http://www.matrixorbital.ca/manuals/GLK ... 32-25-WBL/

And the Current here:
http://www.matrixorbital.ca/manuals/GLK ... 32-25-FGW/

If you have any other questions or concerns please feel free to ask.
Thank you
Martino

Re: GLK12232 Keypad - Rows/columns swapped?

Posted: Wed Jan 22, 2014 11:49 am
by Lenny
I should have checked the revision on the PCB... it's rev 2.
That explains it. :)

Also confirms my C code for reading via I2C is working. :)

Thanks for the speedy reply.

Re: GLK12232 Keypad - Rows/columns swapped?

Posted: Wed Jan 22, 2014 11:54 am
by Tino
Not a problem,

glad it's working now!

Thanks for posting on our forums.
If you have any other questions or concerns feel free to ask.
Thank you
Martino