GLK12232 Keypad - Rows/columns swapped?

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
Lenny
LCD!
Posts: 15
Joined: Mon Jul 03, 2006 5:43 pm
Location: Wellington, New Zealand
Contact:

GLK12232 Keypad - Rows/columns swapped?

Post 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?

Tino
Matrix Orbital
Matrix Orbital
Posts: 158
Joined: Wed May 22, 2013 9:04 am
Location: Matrix Orbital

Re: GLK12232 Keypad - Rows/columns swapped?

Post 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
Martino DeLeon
Matrix Orbital
Technical Support Representative

Lenny
LCD!
Posts: 15
Joined: Mon Jul 03, 2006 5:43 pm
Location: Wellington, New Zealand
Contact:

Re: GLK12232 Keypad - Rows/columns swapped?

Post 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.
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.

Tino
Matrix Orbital
Matrix Orbital
Posts: 158
Joined: Wed May 22, 2013 9:04 am
Location: Matrix Orbital

Re: GLK12232 Keypad - Rows/columns swapped?

Post 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
Martino DeLeon
Matrix Orbital
Technical Support Representative

Post Reply