1.2 Accessories NOTE Matrix Orbital provides all the interface accessories needed to get your display up and running. You will find these accessories and others on our e-commerce website at http://www.matrixorbital.com. To contact a sales associate see Section 14.5 on page 56 for contact information.
Page 7
Figure 4: Breadboard Cable Figure 5: Serial Cable 4FT Matrix Orbital LK204-25...
Page 8
Figure 6: Communication and 5V Power Cable Figure 7: Aluminum Mountings Matrix Orbital LK204-25...
• Software controlled contrast and brightness with configurable time-out setting up to 90 minutes • Use of up to a 25 key keypad with a 10 key buffer • Horizontal or vertical bar graphs • Extended temperature option • Fits Matrix Orbital’s mountings without any modifications Matrix Orbital LK204-25...
1.4 Connecting to a PC The LK204-25 connects seamlessly to a PC and it is an excellent means of testing the functionality. To connect your display to a PC, you will require a standard RS-232 9-pin serial cable such as the one pictured , as well as a modified 5V power adapter such as the one pictured in...
1.5 Installing the Software 1.5.1 uProject uProject was designed by Matrix Orbital to provide a simple and easy to use interface that will allow you to test all of the features of our alpha numeric displays. To install uProject from the Matrix Orbital CD, follow the following steps: 1.
2.1 DB-9 Connector The LK204-25 provides a DB-9 Connector to readily interface with serial devices which use the EIA232 standard signal levels of ±12V to ±12V. It is also possible to communicate at TTL levels of 0 to +5V by setting the Protocol Select Jumpers to TTL.
In order to provide power through pin 9 of the DB-9 Connector you must place a solder jumper on the Power through DB-9 Jumper pictured in below. The LK204-25 allows all voltage models to use the figure 15 power through DB-9 option, see table 1 on the following page for display module voltage requirements.
C mode and have a default slave address of 0x50 unless it has been changed. Similarly, in order to change the display to TTL mode, simply remove the zero ohm resistors from the 232 or I C jumpers and solder them to the TTL jumpers. Matrix Orbital LK204-25...
2.4 General Purpose Outputs A unique feature of the LK204-25 is the ability to control relays and other external devices using a General Purpose Output, which can provide up to 20 mA of current and +5Vdc from the positive side of the GPO.
Figure 19: Dallas 1-Wire Bridge 2.6 Manual Override The Manual Override is provided to allow the LK204-25 to be reset to factory defaults. This can be particularly helpful if the display module has been set to an unknown baud rate or I C Slave Address and you are no longer able to communicate with it.
2.7 Keypad Interface Connector The LK204-25 provides a Keypad Interface Connector which allows for up to a five by five matrix style keypad to be directly connected to the display module. Key presses are generated when a short is detected between a row and a column.
• The last step will be to check the Power / Data Connector on the LK204-25. If the Power / Data Connector has become loose, or you are unable to resolve the issue, please contact Matrix Orbital, see 14.5 on page 56 for contact information.
NOTE Optimal contrast settings may vary according to factors such as temperature, view- ing angle and lighting conditions. If you are unable to resolve any issue please contact Matrix Orbital. See 14.5 on page 56 for contact information. 4 Communications 4.1 Introduction...
$50 (0101 0000) , since the LSB has to be 0 for an I2C master write. When the I2C master wishes www.DataSheet4U.com to read the LK204-25, the effective address is $51 (0101 0001), since the LSB has to be 1 for an I2C master read.
12 to 2047 which corresponds to a baud range of 977 to 153,800 baud. Setting the baud rate out of this range could cause the display to stop working properly and require the Manual Override jumper to be set. Remembered Always Matrix Orbital LK204-25...
5 Text 5.1 Introduction The LK204-25 is an intelligent display module, designed to reduce the amount of code necessary to begin displaying data. This means that it is able to display all characters and strings that are sent to it, which are defined in the current character set.
5.1.1 Character Set www.DataSheet4U.com Figure 22: Character Set 5.1.2 Control Characters 0x08 Backspace 0x0C Clear screen / New page 0x0D Carriage return 0x0A Line feed / New line 5.2 Auto Scroll On Matrix Orbital LK204-25...
Description In order to change the text that is displayed by the LK204-25 when it starts up simply send the command bytes 254 64 followed by the characters that you wish to display, starting from the top left. This command will automatically line wrap the characters that are sent to it.
NOTE All characters written to the display past the end of a line will be lost. Remembered 5.8 Set Cursor Position Hexadecimal 0xFE 0x47 [col] [row] Syntax Decimal 254 71 [col] [row] ASCII 254 “G” [col] [row] Parameter Length Description Parameters Column Matrix Orbital LK204-25...
Hexadecimal 0xFE 0x4A Syntax Decimal 254 74 ASCII 254 “J” Description This command will cause the LK204-25 to display an underline cursor at the current text insertion point. Remembered 5.13 Underline Cursor Off Hexadecimal 0xFE 0x4B Syntax Decimal 254 75 ASCII 254 “K”...
Description The LK204-25 allows for upta to eight custom defined characters to be added onto the the character set. A custom character is a five by eight pixel matrix with each row represented by a byte value. For example: Custom Character ’h’...
Description New to the LK204-25 has added five non-volatile memory banks for custom character storage. This is intended to allow you to create your own custom bar graphs, medium/large numbers and startup screen. However, each memory bank may be used to store a set of any eight custom characters;...
Parameter Length Description The row number. The column number. Digit Medium number to place (0-9). Description This command will place a medium number (two columns high) at the [row] and [col] specified. Remembered 6.8 Initialize Large Numbers Matrix Orbital LK204-25...
This command will allow you to use the ’Place Horizontal Bar’ command. Remembered 6.11 Place Horizontal Bar Graph Hexadecimal 0xFE 0x7C [Col] [Row] [Dir] [Length] Syntax Decimal 254 124 [Col] [Row] [Dir] [Length] ASCII 254 “|” [Col] [Row] [Dir] [Length] Matrix Orbital LK204-25...
This command will allow you to use the ’Place Vertical Bar’ command. NOTE Narrow bars have a width of two pixels. Remembered 6.13 Initialize Wide Vertical Bar Hexadecimal 0xFE 0x76 Syntax Decimal 254 118 ASCII 254 “v” Matrix Orbital LK204-25...
General purpose outputs allow you to connect devices, such as LEDs, to the LK204-25 and supply them with up to 20mA of current at 5V. The LK204-25 has 6 GPOs which are software controlled, with functions to turn them on/off and set the power state for the next startup.
Description Parameters GPO number. Description This command turns ON general purpose output [num]. The standard GPO’s on the LK204-25 output 20mA of current at 5V. NOTE The output is pulled high. Remembered 7.4 Set Startup GPO state Hexadecimal 0xFE 0xC3 [Num] [state]...
8 Dallas 1-Wire 8.1 Introduction Another convenient feature of the LK204-25 is that it provides a Dallas 1-wire interface in order to readily communicate with up to thirty two 1-wire devices on a single bus. 1-wire communication is begun by discovering the address of the device that you wish to communicate with. To do this you must send the “Search for a 1-Wire Device’...
SndBits The number of bits you will be transmitting on the bus. RcvBits The number of bits you will be www.DataSheet4U.com reading on the bus. Data variable Data to be transmitted, LSB to MSB. Matrix Orbital LK204-25...
9 Keypad 9.1 Introduction The LK204-25 supports up to a 25 key, matrix style, keypad and may be configured to allow key presses to be automatically transmitted via RS-232 or polled through I C. The LK204-25 also allows for auto- repeating key presses, and remapping of all keypad character codes.
In this mode, all key presses are sent immediately to the host system without the use of the poll keypad command. This is the default mode on power up. NOTE This command is not available in I2C. Remembered Default 9.3 Auto Transmit Key Presses Off Matrix Orbital LK204-25...
No preceding commands are necessary. If there are no keys pressed the read will result in a 0x00. Remembered 9.5 Clear Key Buffer Syntax Hexadecimal 0xFE 0x45 Decimal 254 69 ASCII 254 “E” Matrix Orbital LK204-25...
10 Display Functions 10.1 Introduction The LK204-25 employs software controlled display settings, which allow for control over, clearing the screen, changing the brightness and contrast or setting timers for turning it on or off. The combination of these allow you complete software control over your display’s appearance.
11.1 Introduction Ensuring that your LK204-25 display’s exactly what you want it to can be the difference between a projects success and failure. This is why we incorporate features such as Data Lock into the LK204-25 With Matrix Orbital LK204-25...
• Non-volatile memory has a ‘write limit’ and may only be changed approximately 100,000 times. Remembered Default Do not remember 11.3 Data Lock Hexadecimal 0xFE 0xCA 0xF5 0xA0 [level] Syntax Decimal 254 202 245 160 [level] Parameters Parameter Length Description level Sets the data lock level Matrix Orbital LK204-25...
• Data lock levels may be combined. Remembered Always Default Examples Binary Description 0x00 Unlock 0x50 01010000 Setting and Command Lock 11.4 Set and Save Data Lock Hexadecimal 0xFE 0xCB 0xF5 0xA0 [level] Syntax Decimal 254 203 245 160 [level] Matrix Orbital LK204-25...
This command will return a byte representing the version of the module, see the following table as an example: Hex Value Version Number 0x10 Version 1.0 0x20 Version 2.0 0x42 Version 4.2 Remembered 12.3 Read Module Type Hexadecimal 0xFE 0x37 Syntax Decimal 254 55 ASCII 254 “7” Matrix Orbital LK204-25...
General Purpose Output Off 0x57 “W” General Purpose Output On 0x58 “X” Clear Screen 0x60 “‘” Auto Repeat Mode Off 0x68 “h” Initialize Horizontal Bar 0x6D “m” Initialize Medium Number 0x6E “n” Initialize Large Numbers 0x6F “o” Place Medium Numbers Matrix Orbital LK204-25...
Storage Temperature C to +70 C to +80 Operating Relative Humidity 90% max non-condensing Vibration (Operating) 4.9 m/s XYZ directions Vibration (Non-Operating) 19.6 m/s XYZ directions Shock (Operating) 29.4 m/s XYZ directions Shock (Non-Operating) 490 m/s XYZ directions Matrix Orbital LK204-25...
Character x Lines 20 columns x 2 rows Module Size 98.00 mm x 60.00 mm x 30.63 mm Character Size 3.20 mm x 5.55 mm Display Size 76.30 mm x 25.00 mm LED Backlight Life 100, 000 hours typical Matrix Orbital LK204-25...
GW Grey Text / White Background WB White Text / Blue Background www.DataSheet4U.com R Inverse Red IY Inverse Yellow MSB Most Significant Byte LSB Least Significant Byte 14.5 Contacting Matrix Orbital Telephone Sales and Support: 1(403)229-2737 On The Web Sales: http://www.MatrixOrbital.com Support: http://www.MatrixOrbital.ca Forums: http://www.lcdforums.com...
Need help?
Do you have a question about the LK204-25 and is the answer not in the manual?
Questions and answers