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
Big/Medium numbers on a LK204-24-USB
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,
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
Design and Development
Matrix Orbital
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.
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
Design and Development
Matrix Orbital
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
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
Design and Development
Matrix Orbital
Re: Big/Medium numbers on a LK204-24-USB
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?
Re: Big/Medium numbers on a LK204-24-USB
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
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
Design & Development
Matrix Orbital