PalmOrb : Instructions : Emulation
PalmOrb is a fairly complete emulation of the Matix Orbital LK204-25.
The whole range of Matrix Orbital products use a simular protocol, which is easy to develop for (just send data to the serial port!). Why not consider writing your own software to drive PalmOrb and then your software will also be able to drive the whole range of Matrix Orbital products! [Some sample code]
The LK204-25 manual is available on Matix Orbital's website, and contains a full list of commands, the full built-in font, and explains things like what an output is for. The LK202-25 manual is also recommended reading.
The following is a list of functions supported by the LK204-25 - see LK204-25 manual for full details:Function | Data Sent | Supported by PalmOrb |
---|---|---|
Normal text | A (65), B (66), etc. | Yes |
Carriage Return | 13 | Yes |
LineFeed | 10 | Yes |
Form Feed | 12 | Yes |
Back Space | 8 | Yes |
Auto Line Wrap On | 254 67 | Yes |
Auto Line Wrap Off | 254 68 | Yes |
Auto Scroll On | 254 81 | Yes |
Auto Scroll Off | 254 82 | Yes |
Set Cursor Position | 254 71 x y (hex: FE 47 x y) | Yes |
Send Cursor Home | 254 72 | Yes |
Turn On Underline Cursor | 254 74 | No; but we do record the current setting. |
Turn Off Underline Cursor | 254 75 | No; but we do record the current setting. |
Turn On Block Cursor | 254 83 | No; but we do record the current setting. |
Turn Off Block Cursor | 254 84 | No; but we do record the current setting. |
Cursor Left | 254 76 | Yes |
Cursor Right | 254 77 | Yes |
Auto Repeat Mode On | 254 126 mode | No; but we do record the current setting. |
Auto Repeat Mode Off | 254 96 | No; but we do record the current setting. |
Auto Transmit Keypresses On | 254 65 | Yes |
Auto Transmit Keypresses Off | 254 79 | Yes |
Clear Key Buffer | 254 69 | Yes |
Poll Keypad | 254 38 | Yes |
Set Debounce Time | 254 85 time | No; but we do record the current setting. |
Initialize Wide Vertical Bar Graph | 254 118 | Yes |
Initialize Narrow Vertical Bar Graph | 254 115 | Yes |
Draw Vertical Bar Graph | 254 61 x h | Yes |
Initialize Horizontal Bar Graph | 254 104 | Yes |
Draw Horizontal Bar Graph | 254 124 y x d l | Yes |
Define Custom Character | 254 78 c 8Bytes | Yes |
Initialize Large Digits | 254 110 | Yes |
Place Large Digit | 254 35 x d | Yes |
Clear Display | 254 88 (hex: FE 58) | Yes |
Set Contrast | 254 80 level | No; but we do record the current setting. |
Backlight On | 254 66 mins | Yes; if "Allow Backlight Control" is enabled. Time is ignored. |
Backlight Off | 254 70 | Yes |
General Purpose Output Off | 254 86 gpo# | Yes |
General Purpose Output On | 254 87 gpo# | Yes |
Read Module Type | 254 55 | Yes; we send 9 for LK204-25. |
Read Serial Number | 254 53 | Yes |
Read Version Number | 254 54 | Yes; we give 127 |
The Matrix Orbital LK202-25 supports a few extra commands than the LK204-25 (these are documented in the LK202-25 documentation); we support some of these. [The reason we state we're a LK204-25 is because it has the same size screen; 20x4.]
Function | Data Sent | Supported by PalmOrb |
---|---|---|
Set I2C address | 254 51 addr | No; but we do record the current setting. |
Set Serial Number | 254 52 byte1 byte2 | Yes |
Set Baud Rate | 254 57 speed | Yes; but only if "Allow baud changes via serial" is selected. |
Set Software Flow Control On | 254 58 full empty | No; but we do record the current setting. |
Set Software Flow Control Off | 254 59 | No; but we do record the current setting. |
Set Startup Screen | 254 64 40Bytes | No |
Set Contrast and save | 254 145 level | No; but we do record the current setting. |
Remember Settings | 254 147 | No |