Big/Medium numbers on a LK204-24-USB

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

Moderators: Henry, Mods

Post Reply
Xtrophic
LCD?
Posts: 3
Joined: Sun Jul 16, 2006 3:52 pm

Big/Medium numbers on a LK204-24-USB

Post by Xtrophic »

Greetings!

I recently bought a LK204-24-USB (MX412) display which I am in the process of experimenting with.

I started reading and there seems to be large and medium numbers that the displays may support. When I look at the examples they say:
"Display Used: Any 4 line Matrix Orbital alphanumeric display"

But I cannot get it to work, nor do I find the commands mentioned in the manual either. So my question is, does my display support it?

For your reference: Firmware 1.7 (or 17 as the display returns it)
PCB version: 1.1

And if it doesn't support it nativly, is there a way to do it manually by uploading custom characters and then write a function on my own that will print the digits? And if so, would you be so kind as to post what these custom characters are made up of, and how to combine them :)

Raquel
Matrix Orbital
Matrix Orbital
Posts: 796
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Post by Raquel »

Hi Xtrophic,

Thank you for posting on the forum.

I checked the code for the LK204-24-USB, and unfortunately, it does not implement medium nor large numbers. But you are right, you should be able to do it manually.

I'll try to write an app note and post it as soon as possible to help you out.

Best Regards,
Raquel Malinis
Design and Development
Matrix Orbital

Raquel
Matrix Orbital
Matrix Orbital
Posts: 796
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Post by Raquel »

Hi John,

So something like the following should work for you:

Create the following custom chars (this is initializing the custom chars)
Use command 78 for the following:
0 - 00 00 1F 1F 1F 1F 00 00
1 - 1F 1F 1F 1F 1F 1F 00 00
2 - 00 00 1F 1F 1F 1F 1F 1F
3 - 1F 1F 1F 1F 1F 1F 1F 1F
4 - 00 00 03 0F 0F 1F 1F 1F
5 - 00 00 18 1E 1E 1F 1F 1F
6 - 1F 1F 1F 0F 0F 03 00 00
7 - 1F 1F 1F 1E 1E 18 00 00

And then, when actually drawing them, send the custom char address as per above (0-7). So for eg, for '0' try something like this:

first row - 0x04 0x00 0x05
second row - 0x03 0x20 0x03 (0x20 is a space)
third row - 0x03 0x20 0x03 (0x20 is a space)
fourth row - 0x06 0x00 0x07

Please let me know how it turns out.
Raquel Malinis
Design and Development
Matrix Orbital

Xtrophic
LCD?
Posts: 3
Joined: Sun Jul 16, 2006 3:52 pm

Post by Xtrophic »

It works like a charm! :)

I assume you are sitting on the rest of the numbers layouts as well? If it's not too much to ask - could you please post them as well. And if you have the time I'd appreciate the same kind of solution for medium numbers.

Thank you for the solution and a rather quick response! :)

Image

Raquel
Matrix Orbital
Matrix Orbital
Posts: 796
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Post by Raquel »

Here's the rest:

A little different representation, you can probably do the changes yourself:

'f' means 0x20 (space)
for '1' 42f f3f f3f 010

this means:
first line - 0x04 0x02 0x20
second line - 0x20 0x03 0x20
third line - 0x20 0x03 0x20
fourth line - 0x00 0x01 0x00

and so the rest:
'2' - 405 407 3ff 100
'3' - 405 f03 ff3 607
'4' - 3f3 101 ff3 ff3
'5' - 200 605 ff3 607
'6' - 405 3ff 305 607
'7' - 002 F47 F3F F1F
'8' - 405 303 3f3 607
'9' - 405 603 ff3 607
Raquel Malinis
Design and Development
Matrix Orbital

mwm
LCD?
Posts: 1
Joined: Sun Jun 23, 2013 4:04 am

Re: Big/Medium numbers on a LK204-24-USB

Post by mwm »

Any chance of getting this information (the data in the character bank and the pairs to output to produce them) for the medium size numbers?

Clark
Matrix Orbital
Matrix Orbital
Posts: 881
Joined: Fri Aug 17, 2007 10:58 am
Location: Matrix Orbital
Contact:

Re: Big/Medium numbers on a LK204-24-USB

Post by Clark »

Hello mwm,

Not a problem, please find the bytes to create the custom characters for medium numbers below.

0: 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
1: 0x0E 0x11 0x11 0x11 0x11 0x11 0x11 0x0E
2: 0x1E 0x01 0x01 0x01 0x01 0x01 0x01 0x01
3: 0x0F 0x10 0x10 0x10 0x10 0x10 0x10 0x10
4: 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x0E
5: 0x0E 0x11 0x11 0x11 0x11 0x11 0x11 0x11
6: 0x0F 0x10 0x10 0x10 0x10 0x10 0x10 0x0F
7: 0x1E 0x01 0x01 0x01 0x01 0x01 0x01 0x1E

Thanks,
Troy
Troy Clark
Design & Development
Matrix Orbital

Post Reply