Matrix Orbital LK204-24-USB Manual Download Page 1

LK204-24-USB

Technical Manual

Revision: 1.0

www.DataSheet4U.com

Summary of Contents for LK204-24-USB

Page 1: ...LK204 24 USB Technical Manual Revision 1 0 www DataSheet4U com...

Page 2: ...GPO s 1 to 4 10 2 2 2 Advanced GPO Power Select 11 2 2 3 GPO 5 GPO 6 and GPO 7 12 2 2 4 Dallas 1 Wire Bridge 12 2 3 General 12 2 4 The Built In Character Font 13 2 5 Writing Text to the Display 14 2...

Page 3: ...20 4 1 7 Remember Custom Character 254 194 c 8 bytes 21 5 Fan and GPO Commands 21 5 1 Display Return Protocol 21 5 2 Fan and GPO Commands 23 5 2 1 General Purpose Output Off 254 86 gpo 23 5 2 2 Gener...

Page 4: ...te1 byte2 31 7 1 12 Read Serial Number 254 53 31 7 1 13 Read Version Number 254 54 32 8 Appendix Command Summary 32 8 1 General 32 8 2 Issuing Commands 32 8 3 On Numbers 32 8 3 1 ASCII Characters 33 8...

Page 5: ...What to Expect From the LK204 24 USB The LK204 24 USB is designed as the display unit for an associated controller The controller may be anything from a single board special purpose micro controller...

Page 6: ...red USB source USB Drivers which can be located on Matrix Orbital s website and e CD Test software such as Alpha Demo or Display Tuner Figure 1 Connections for Testing Once the above test requirements...

Page 7: ...e keypad should be a matrix style or momentary switches It is possible to simulate key strokes by shorting out a row and column pin 1 6 1 Here s what to do 1 The PC should be running a terminal progra...

Page 8: ...onnectors Functions Connector Function 14 Pin dual header General Purpose Outputs and 5V Output Rx Tx Receive and Transmit LED outputs 10 Pin header Keypad USB Communication Power Alt USB Alternate US...

Page 9: ...The display will require between 150mA to 250mA depending on the model and the number of GPOs being used Table 3 GPO Power Levels GPO Maximum Power 5V Low Power 20mA 5V High Power 1000mA Please note...

Page 10: ...igure 3 Header Table 4 Connector Pinout Pin Description Pin 4 5 0 VDC normally from PC power supply Pin 3 Ground Pin 2 Ground Pin 1 12 0 VDC normally from PC power supply Make certain to have sufficie...

Page 11: ...ata to the display There are two ways of communicating to the display Under Windows the user will have direct access to the display drivers or create a virtual COM Port VCP With the VCP a new COM Port...

Page 12: ...2 1 4 Alternate USB Communications Figure 6 USB Alternate USB Table 6 Connector Pinout Pin Number Description 5 Ground 4 Not Used 3 D 2 D 1 5V Matrix Orbital LK204 24 USB 8 www DataSheet4U com...

Page 13: ...not power or communicate by USB and Serial TTL at the same time 2 1 6 LED Headers The LED headers provide a visual indication of communication over the Rx and Tx line if a LED is connected The LEDs b...

Page 14: ...Outputs GPO s 1 to 4 These outputs are capable of controlling high current draw devices saving power up state being switched to PWM mode and repeat back RPM via Hall effect sensor Figure 9 GPOs 1 to 4...

Page 15: ...e setting is 12V 2 2 2 Advanced GPO Power Select 12 Volt 5 Volt Figure 10 High Low Power Select When the jumper is placed in the high power position the unit supplies 12V to the advanced GPOs If the j...

Page 16: ...2 4 Dallas 1 Wire Bridge The display offers one Dallas 1 wire bridge All 6 headers are inter connected to one communication line A maximum of 32 1 wire devices can be connected to the display at a ti...

Page 17: ...of extended characters as shown in the Figure below Figure 13 Character Set In addition to the built in characters users may define up to 8 special characters which once defined occupy positions 0x00...

Page 18: ...h an R may be Remembered to set new defaults that will be in effect each time the unit is powered on 2 6 1 Auto Line Wrap On 254 67 R Enables automatic line wrapping Note that this word is not word wr...

Page 19: ...cursor Does not affect the blinking block cursor 2 6 9 Turn On Block blinking Cursor 254 83 R Turns on the blinking block cursor The cursor shows the current text insertion point Both blinking and un...

Page 20: ...OW 4 Figure 14 Keypad Connector The connector is not keyed so the keypad will probably plug in either of two ways The display will not be damaged by reversing the connector However the keypad will gen...

Page 21: ...mand 1 Resend Key Mode This mode is similar to the action of a keyboard on a PC In this mode when a key is held down the key code is transmitted immediately followed by a 1 2 second delay 2 Key down K...

Page 22: ...ext any following key presses may be inaccurate and can be cleared out of the buffer between menu changes to prevent jumping around the menu tree It may also be used to in effect reset the keypad in c...

Page 23: ...54 4 1 Command List 4 1 1 Initialize Wide Vertical Bar Graph 254 118 This command defines the 8 special user characters to be blocks suitable for use in drawing wide 5 pixel vertical bar graphs Any pr...

Page 24: ...allows up to 8 user defined custom characters These characters occupy the first 8 0x00 to 0x07 places in the character set Custom characters occupy a 5x8 pixel matrix Built in characters are 5x8 the...

Page 25: ...haracter 254 194 c 8 bytes This command will store a custom character to be used with the Custom startup screen It does not affect or alter the current custom characters that are stored in the unit Th...

Page 26: ...es The next byte is described in the Table below The CONT flag specifies that the data will be continued in the next DRP packet The lower seven bits contains the size of the data section excluding the...

Page 27: ...will return a packet to the host with the fan RPM contained in it The structure of the fan is described in the Table below Table 13 Return RPM Structure Offset Size Description 0 2 0x232A 2 1 0x03 3 1...

Page 28: ...equency 254 196 index NOTE This command was added in Firmware Version 1 1 It is not present in previous versions This command sets the base frequency for the PWM modulation The index selects a present...

Page 29: ...s is capable of communicating with many devices over a single wire plus a ground refer ence This chapter deals with the capabilities of the display and a brief introduction to the 1 Wire standard For...

Page 30: ...or communication or all devices to be included This manual only presents the three most used ROM commands For a more detailed listing and description of all the ROM commands consult the data sheet for...

Page 31: ...Data section 2 1 Recieve Bits The number of bits to read off the bus after the data to be put on the bus has been sent 3 Variable Send Data The data to be transmitted onto the bus The data is transmi...

Page 32: ...rch Return Packet Offset Bytes Length Bytes Description 0 2 0x232A Preamble 2 1 0x8A Packet 10 bytes long an other address will follow 0x0A Packet is 10 bytes long this is the last address 3 1 0x31 1...

Page 33: ...mber function Any number of commands may be entered between the Remember ON and Remember OFF com mands and all settings will be memorized 7 1 2 Clear display 254 88 This command clears the display and...

Page 34: ...light Brightness 254 153 brightness This command sets the display s backlight brightness 7 1 8 Set and Save Backlight Brightness 254 152 brightness This command saves brightness as default 7 1 9 Load...

Page 35: ...x0B VFD2041 0x0C VFD4021 0x0D VK202 25 0x0E VK204 25 0x0F GLC12232 0x10 GLC24064 0x13 GLK24064 25 0x15 GLK12232 25 0x22 LK404 AT 0x31 LK402 12 0x33 LK162 12 0x34 LK204 25PC 0x35 LK202 24 USB 0x36 VK20...

Page 36: ...k USB at the currently defined baud rate For example using a BASIC setup the user could issue the command to clear the screen on the display by including the line R S 4 T E U7 V F W0X 8 7 V H H Or wit...

Page 37: ...A few examples will do here Table 25 Example of an ASCII Table The letter A has a value of 65 decimal or 41 hex The letter a has a value of 97 decimal or 61 hex The number 0 has a value of 48 decimal...

Page 38: ...roll off FE 52 254 82 254 R off R Disables auto scroll Text will wrap to top left and overwrite existing text Set cursor position FE 47 col row 254 71 col row 254 G col row n a Moves cursor to the spe...

Page 39: ...is already at the end of a line it will move to the beginning of the other line 8 5 Keypad Interface Commands NOTE The letter R in the default column indicates that this state can be saved to non vol...

Page 40: ...time FE 55 time 254 85 time 254 U time 52 ms R Resolution 1 0 6554 ms time is a numeric mul tiplier 8 6 Bar Graphs and Special Characters The commands in this section are used to define and display b...

Page 41: ...ith direction d 0 is right 1 is left of length length Length is measured in pixels 0x00 to 0x64 if starting in column 1 User must first use the h command to initialize char acters 8 7 Fan and GPO Comm...

Page 42: ...aneous Commands NOTE The letter R in the default column indicates that this state can be saved to non volatile memory with the Remember command Table 34 Miscellaneous Commands Command Syntax Default N...

Page 43: ...ht brightness and save FE 98 brightness 254 152 brightness 254 0xFF 255 Same as Set backlight bright ness but saves brightness as default Load startup screen FE 40 40 char 254 64 40 char 254 40 char M...

Page 44: ...ers of the module Read version number FE 36 254 54 254 6 Reads the firmware ver sion number of the module Enter flow control mode FE 3A full empty 254 58 full empty 254 full empty Off Sets full and em...

Page 45: ...ply Backlight Current 115 mA typical Table 38 Optical Characteristics Number of characters 40 20 characters by 2 lines Matrix format 5x8 with underline Display area 82 2 x 18 20 mm XxY Character size...

Page 46: ...Figure 16 Physical Layout Matrix Orbital LK204 24 USB 42 www DataSheet4U com...

Page 47: ...ersets are often called extended ASCII character sets Backlight A backlit display is illuminated from behind to provide nighttime and improved daytime readability Baudrate The data and signaling bit t...

Page 48: ...he base 16 number system which consists of 16 unique symbols the numbers 0 to 9 and the let ters A to F For example the decimal number 15 is represented as F in the hexadecimal numbering sys tem The h...

Page 49: ...A number that is one of a series and is used for identi fication of the module Serial Port A port or interface that can be used for serial commu nication in which only 1 bit is transmitted at a time...

Reviews: