?Simple? Keypad problem (LK-162-12)

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

Moderators: Henry, Mods

Post Reply
nesta
LCD?
Posts: 2
Joined: Fri Oct 04, 2002 10:55 pm

?Simple? Keypad problem (LK-162-12)

Post by nesta »

I've had my LK-162-12 for quite some time now, but it wasn't until recently I tried getting the keypad working (to no avail). I have it hooked up via serial and have no problem displaying stuff but I can't get any keypad input (in a serial communications prog or Alphademo). The keypad is just a standard Picofab 4x4 (I should be able to use 4x3). I tested the keypad with a battery and LED and it worked fine. As far as I know, the LCD is set to auto transmit keys. Does anybody have any suggestions to get this to work?

Thank you very much.
Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3014
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Post by Henry »

Make sure you have the Keypad/GPO pins set to keypad mode and not GPO mode since they share the same pins. The program is called IO Mode and is available on our website here
http://www.matrixorbital.com/downloads.htm#A_SOFTWARE

or on the cd under downloads.
nesta
LCD?
Posts: 2
Joined: Fri Oct 04, 2002 10:55 pm

Post by nesta »

I had forgotten to mention that I had tried to use the I/O Test program already and it did not work. However I have managed to resolve the problem. Inside a program I am making I sent "\xfe\x25\x00" to the LCD (which is supposed to switch to keypad mode). I beleive when I last tried to switch to keypad mode I used (254 126 0 <-- this is what the LK162-12 says is the code on page 25 of the manual, contrary to page 30).

After correctly setting the keypad mode the I/O prog worked aswell.

Please take note of this small mistake in the manual.

Thanks!
Post Reply