Matrix Orbital LK204-25-USB Скачать руководство пользователя страница 12

Figure 9: Keypad Interface Connector

2.3

Manual Override

The Manual Override is provided to allow the LK204-25-USB to be reset to factory defaults. This can

be particularly helpful if the display module has been set to an unknown baud rate and you are no longer
able to communicate with it. If you wish to return the module to its default settings you must:

1. Power off the display module.

2. Place a Jumper on the Manual Override pins.

3. Power up the display module.

4. The display module is now set to its default values listed below in

table 1

.

5. Edit and save settings.

Matrix Orbital

LK204-25-USB

8

Содержание LK204-25-USB

Страница 1: ...LK204 25 USB Technical Manual Revision 1 1...

Страница 2: ...play does not turn on when power is applied 14 3 2 The display module is not communicating 14 3 3 The display module is communicating however text cannot be displayed 15 4 Communications 15 4 1 Introd...

Страница 3: ...ialize Large Numbers 29 6 9 Place Large Number 29 6 10 Initialize Horizontal Bar 29 6 11 Place Horizontal Bar Graph 30 6 12 Initialize Narrow Vertical Bar 30 6 13 Initialize Wide Vertical Bar 30 6 14...

Страница 4: ...12 1 Introduction 45 12 2 Read Version Number 45 12 3 Read Module Type 46 13 Command Summary 48 13 1 Communications 48 13 2 Text 48 13 3 Special Characters 49 13 4 General Purpose Output 50 13 5 Dall...

Страница 5: ...rs such as character sets for bar graphs medium and large numbers may be stored in the non volatile memory to be easily recalled and displayed at any time 1 1 Display Options Available The LK204 25 US...

Страница 6: ...Figure 1 3ft mini B USB Figure 2 Keypad Mountings Figure 3 Mounting Kits Matrix Orbital LK204 25 USB 2...

Страница 7: ...font with provision for up to 8 user defined characters Standard One Wire bus that is capable of communicating with up to 32 devices Fully buffered so that no delays in transmission are ever necessar...

Страница 8: ...mply plug the mini B USB cable from the PC to the USB connector on the display NOTE The LK204 25 USB unit can also be powered via a standard PC power cable shown in figure 5 Figure 5 Alternate Display...

Страница 9: ...meric displays To install uProject from the Matrix Orbital website follow the following steps 1 Go to the website location http www matrixorbital ca software software_alpha uproject 2 Click on Downloa...

Страница 10: ...Bridge 4 USB Header 8 Protocol Select Jumpers Figure 7 LK204 25 USB 2 1 Power Connector The LK204 25 USB provides a Power Connector to allow the device to be powered externally In order to power the d...

Страница 11: ...to the display module Key presses are generated when a short is detected between a row and a column When a key press is generated a character which is associated with the particular key press is auto...

Страница 12: ...dule has been set to an unknown baud rate and you are no longer able to communicate with it If you wish to return the module to its default settings you must 1 Power off the display module 2 Place a J...

Страница 13: ...ps NOTE The display module will revert back to the old settings once turned off unless the settings are saved 2 4 USB Header The USB Header provides USB connector for communication and power of the di...

Страница 14: ...ation Do not apply any voltage other than the specified voltage 2 5 Serial Header The LK202 25 USB also offers an alternative Serial Header option to permit serial communication with the device Please...

Страница 15: ...provide up to 20 mA of current and 5Vdc from the positive side of the GPO This is limited by a 240 ohm resistor which is located to the above right of the GPOs as pictured below in figure 13 If the de...

Страница 16: ...diode and capacitor in order to absorb any electro motive force EMF which will be generated 2 7 Dallas 1 Wire Bridge In addition to the six general purpose outputs the LK204 25 USB offers a standard...

Страница 17: ...ay module between USB power and external power As a default the jumpers are set to USB mode with solder jumps on the USB jumpers In order to place the display module in external power mode you must fi...

Страница 18: ...support to resolve this matter please contact Matrix Orbital using one of the mehods described in section 14 6 The last step will be to check the USB Cable on the LK202 25 USB If the USB Cable has bec...

Страница 19: ...l the master clocks a read of the slave The I2C data lines operate at 5V normally or 3 3V for 1U style units The LK204 25 USB uses 8 bit addressing with the 8th or Least Significant Bit LSB bit design...

Страница 20: ...hexadecimal value the default to write to the unit is 0x50 while read is 0x51 Then information can be sent to the unit even when reading a command must first be sent to let the unit know what type of...

Страница 21: ...nd driver limitations please contact technical support 4 2 Changing the I2C Slave Address Syntax Hexadecimal 0xFE 0x33 adr Decimal 254 51 adr ASCII 254 3 adr Parameters Parameter Length Description ad...

Страница 22: ...10 57600 8 115200 Remembered Always Default 19 200 bps 4 4 Setting a Non Standard Baud Rate Syntax Hexadecimal 0xFE 0xA4 speed Decimal 254 164 speed Parameters Parameter Length Description speed 2 Inp...

Страница 23: ...aud rate must be within 3 of the intended baud rate for the device to communicate 5 Text 5 1 Introduction The LK204 25 USB is an intelligent display module designed to reduce the amount of code necess...

Страница 24: ...ol Characters In addition to a full text set the LK204 25 USB display supports the following ASCII Control characters 0x08 Backspace 0x0C Clear screen New page 0x0D Carriage return 0x0A Line feed New...

Страница 25: ...when the text reaches the end of last row Remembered Yes 5 4 Clear Screen Syntax Hexadecimal 0xFE 0x58 Decimal 254 88 ASCII 254 X Description This command will immediately clear all of the contents of...

Страница 26: ...line configuration The normally sequentional progression becomes an alternating pattern Rather than moving from line 1 to 2 to 3 the display will write from line 1 to 3 to 2 For a two line display th...

Страница 27: ...of the display area identified as row one column one Remembered No 5 10 Move Cursor Back Syntax Hexadecimal 0xFE 0x4C Decimal 254 76 ASCII 254 L Description This command will move the cursor back one...

Страница 28: ...xadecimal 0xFE 0x4A Decimal 254 74 ASCII 254 J Description This command will cause the LK204 25 USB to display an underline cursor at the current text insertion point Remembered Yes 5 13 Underline Cur...

Страница 29: ...eight can be recalled from memory at any time and selected characters can be written to the display screen Characters and sets can be created at any time saved for later use and displayed to the scre...

Страница 30: ...elect the memory location in which you wish to save the character in The available mem ory locations for this command are zero through to seven After sending the memory location or refID you may then...

Страница 31: ...ee Sec tion 6 2 on page 25 only use 254 193 Bank Number before sending the ID and character Data Remembered Yes 6 4 Loading Custom Characters Syntax Hexadecimal 0xFE 0xC0 Bank Decimal 254 192 Bank Par...

Страница 32: ...ers into the volatile memory If you have stored your own custom medium numbers use the Load Custom Characters command to load your custom character data into the volatile memory This command will allo...

Страница 33: ...eters Parameter Length Description Col 1 The column number Digit 1 Large number to place 0 9 Description This command will place a large number four columns high at the row and col specified NOTE Larg...

Страница 34: ...n pixels of the bar graph NOTES Horizontal Bars must be initialized before this command is executed Bar graphs may be one directional only Remembered No 6 12 Initialize Narrow Vertical Bar Syntax Hexa...

Страница 35: ...n Length Parameters Parameter Length Description Column 1 The column number Length 1 The length of the bar data Description This command will place a bar graph at the specified Column with the specifi...

Страница 36: ...Hexadecimal 0xFE 0x57 Num Decimal 254 87 Num ASCII 254 W Num Parameters Parameter Length Description Num 1 GPO number Description This command turns ON general purpose output num The standard GPO s o...

Страница 37: ...25 USB 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 t...

Страница 38: ...ress 3 1 0x31 1 Wire Packet Type 4 1 Error Code 0x00 for success 5 8 1 Wire Address 13 1 CRC8 0x00 means the last address was valid Remembered No 8 3 Dallas 1 Wire Transaction Syntax Hexadecimal 0xFE...

Страница 39: ...re transaction 1 Wire Error Codes Code Description 0x00 Success 0x01 Unknown 1 Wire Command 0x02 No devices on the bus 0x03 Fatal search error Remembered No 9 Keypad 9 1 Introduction The LK204 25 USB...

Страница 40: ...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 Remembered Yes Default On 9 3 Auto Transmit Key Presses Of...

Страница 41: ...d key presses In a menu application if the user presses a key which changes the menu context any following key presses may be inaccurate and can be cleared out of the buffer between menu changes to pr...

Страница 42: ...e unacceptable or if the unit is being operated in polled mode The host system detects the press of a key and simulates an auto repeat inside the host system until the key release is detected In this...

Страница 43: ...for the key up codes Key Down 1 2 3 4 5 1 A B C D E 2 F G H I J 3 K L M N O 4 P Q R S T 5 U V W X Y Key Up 1 2 3 4 5 1 a b c d e 2 f g h i j 3 k l m n o 4 p q r s t 5 u v w x y Remembered Always 10 D...

Страница 44: ...il a Display On command has been received Remembered Yes 10 4 Set Brightness Syntax Hexadecimal 0xFE 0x99 brightness Decimal 254 153 brightness Parameters Parameter Length Description brightness 1 Dis...

Страница 45: ...on values for optimal viewing while the display backlight is on may differ from values used when backlight is off This command does not save the contrast value and is lost after power down but this co...

Страница 46: ...contrast value so that it is not lost after power down Remembered Yes Default 128 11 Data Security 11 1 Introduction Ensuring that your LK204 25 USB display s exactly what you want it to can be the di...

Страница 47: ...display settings to ensure that all the settings have been saved If you wish to use remember again after cycling the power you must set it to on again NOTES Writing to non volatile memory is time cons...

Страница 48: ...the display settings such as backlight contrast and GPO settings are locked Internal EEPROM 5 Reserved Should be left 0 6 Command Lock When this bit is set 1 all commands but commands 202 203 are lock...

Страница 49: ...tomer data Description Writes the customer Data 16 Bytes of data can be saved in non volatile memory Remembered No 11 6 Read Customer Data Syntax Hexadecimal 0xFE 0x35 Decimal 254 53 ASCII 254 5 Descr...

Страница 50: ...d will return a byte representing the version of the module see the following table as an example Hex Value Version Number 0x19 Version 1 9 0x57 Version 5 7 Remembered No 12 3 Read Module Type Syntax...

Страница 51: ...7T 1U 2C LK204 7T 1U USB 31 LK404 AT 32 MOS AV 162A 33 LK402 12 34 LK162 12 35 LK204 25PC 36 LK202 24 USB 37 VK202 24 USB 38 LK204 24 USB 39 VK204 24 USB 3A PK162 12 3B VK162 12 3C MOS AP 162A 3D PK2...

Страница 52: ...cimal 0xFE 0x51 Decimal 254 81 ASCII 254 Q 20 Auto Scroll Off Hexadecimal 0xFE 0x52 Decimal 254 82 ASCII 254 R 21 Clear Screen Hexadecimal 0xFE 0x58 Decimal 254 88 ASCII 254 X 21 Changing the Startup...

Страница 53: ...mal 0xFE 0x4E refID data Decimal 254 78 refID data ASCII 254 N refID data 25 Saving Custom Characters Hexadecimal 0xFE 0xC1 Bank ID Data Decimal 254 193 Bank ID Data 26 Loading Custom Characters Hexad...

Страница 54: ...Decimal 254 61 Column Length ASCII 254 Column Length 31 13 4 General Purpose Output Description Syntax Page General Purpose Output Off Hexadecimal 0xFE 0x56 Num Decimal 254 86 Num ASCII 254 V Num 32 G...

Страница 55: ...peat Mode Off Hexadecimal 0xFE 0x60 Decimal 254 96 ASCII 254 38 Assign Keypad Codes Hexadecimal 0xFE 0xD5 KDown KUp Decimal 254 213 KDown KUp 39 13 7 Display Functions Description Syntax Page Display...

Страница 56: ...us Description Syntax Page Read Version Number Hexadecimal 0xFE 0x36 Decimal 254 54 ASCII 254 6 45 Read Module Type Hexadecimal 0xFE 0x37 Decimal 254 55 ASCII 254 7 46 13 10 Command By Number Command...

Страница 57: ...ose Output Off 32 0x57 87 W General Purpose Output On 32 0x58 88 X Clear Screen 21 0x60 96 Auto Repeat Mode Off 38 0x68 104 h Initialize Horizontal Bar 29 0x6D 109 m Initialize Medium Number 28 0x6E 1...

Страница 58: ...XYZ directions 14 1 2 Electrical Table 71 Electrical Specifications Supply Voltage 5Vdc 0 25V Minimum Current 45mA typical Backlight On YG IY add 135mA 180mA typical Backlight On R add 150mA 1905mA t...

Страница 59: ...NOTE To prolong life it is recommended that the backlight be turned off when the display is not in use Matrix Orbital LK204 25 USB 55...

Страница 60: ...14 3 Physical Layout Figure 17 Physical Diagram Matrix Orbital LK204 25 USB 56...

Страница 61: ...rial Bus Only 7 Color Text Background NP Standard Grey Yellow Green GW Grey White WB White Blue R Red Black IY Yellow Black 8 Temperature NP Standard 0 C to 50 C E Extended Temperature 20 C to 70 C Ta...

Страница 62: ...3750 On The Web Sales http www MatrixOrbital com Support http www MatrixOrbital ca Forums http www lcdforums com 14 7 Revision History Table 75 Revision History Revision Description Author 1 0 Initia...

Отзывы: