Page 1 of 1

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

Posted: Sun Oct 06, 2002 5:43 pm
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.

Posted: Sun Oct 06, 2002 7:54 pm
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.

Posted: Sun Oct 06, 2002 9:21 pm
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!