LK202-25Technical ManualRevision: 3.0
Table 2: Connectors and FunctionsConnector Function12 pin dual header General purpose outputs(6)4 pin Power (5.0 VDC), Data(Rx,Tx), I2C communica-tion
Table 3: Connector PinoutPin 1 +5.0 VDC (+7 to +15 VDC with wide voltage option)Pin 2 SDL (I2C clock), RxPin 3 SCA (I2C data), TxPin 4 Ground2.1.2 Fiv
2.1.3 Wide Voltage Range ModulesNOTE Do not use this cable unless the display module has the "Wide voltage range"option (option V). Use of t
WARNINGS• Do not apply any voltage other than the specified voltage.• Do not apply voltage to the DB-9 connector AND power connec-tor.• Do not apply mo
Table 4: RS-232 PinoutPin Number Direction Description LCD Host2 Data from LCD Data out (LCD) Tx Rx3 Data to LCD Data in (LCD) Rx Tx5 - Ground gnd gnd
2.2.2 TTL CommunicationsA standard DB-9F or 4 pin power connector/communication (female) connector is needed for TTL com-munications. Power may also b
Table 7: Connector PinoutPin 1 +5.0 VDC (+7 to +15 VDC with wide voltage option)Pin 2 Rx (receive data)Pin 3 Tx (transmit data)Pin 4 Ground2.2.3 I2C C
Table 8: Connector PinoutPin 1 +5.0 VDC (+7 to +15 VDC with wide voltage option)Pin 2 I2C SCL (clock)Pin 3 I2C SDA (data)Pin 4 Ground2.2.4 ACKThe idea
GNDData+5VFigure 16: 1-Wire Pinout2.3 General Purpose OutputsThe display has six general purpose outputs. These are provided to control relays or othe
Figure 18: Bypassing 240 ohm ResistorNOTE The GPOs do not have any over current or over / under voltage protection so caremust be taken when using the
ContentsContents ii1 Introduction 11.1 What to Expect From the LK202-25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 What Not to E
3.1 GeneralText is displayed on the LK202-25 using the built in 5x8 dot matrix font, in addition to up to 8 userdefined characters.3.2 The Built In Cha
fonts.3.3 Writing Text to the DisplayWhen the display receives a character, it displays that character at the position currently defined. Thenext chara
3.4.5 Set cursor position (254 71 [column] [row])This command sets the cursor position (text insertion point) to the [column] and [row] specified. Colu
3.4.12 Cursor right (254 77)Moves the cursor one position to the right but does not erase any character that may be in that position.Note that this co
Table 9: Keypad LayoutColumns1 2 3 4 51 A B C D ERows 2 F G H I J3 K L M N O4 P Q R S T5 U V W X YNOTE The keypad connector must be wired with columns
4.5.1 Auto repeat mode on (254 126 [mode]) (R)[mode] = 0x00 gives Resend Key Code mode[mode] = 0x01 gives Key Down / Key Up code modeTwo Modes of auto
4.5.4 Auto transmit keypresses off (254 79) (R)In this mode, up to 10 keypresses are buffered until the unit is polled by the host system via the poll
5.1 Command List5.1.1 Initialize wide vertical bar graph (254 118)This command defines the 8 special / user characters to be blocks suitable for use in
5.1.6 Define custom character (254 78 [c] [8 bytes])The display allows up to 8 user defined (custom) characters. These characters occupy the first 8 (0x0
5.1.7 Initialize Medium Digits (254 109)This command defines the 8 special characters to be blocks suitable for use in drawing medium digits.Any previo
4 Keypad Interface 194.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194.2 Connections . . . . .
6.1.3 Set Contrast (254 80 [contrast]) (R)This command sets the display’s contrast to [contrast], where [contrast] is a value between 0x00 and0xFF (be
6.1.9 Load startup screen (254 64 [40 characters])This command sets and memorizes the startup screen that will appear each time the display is turned
6.1.13 Set I2C address (254 51 [address]) (R)This command sets the I2C write address of the module. This value must be an even number and theread addr
6.1.16 Set Serial Number (254 52 [byte1] [byte2])Modules may be delivered with the serial number blank. In this case the user may set the desired 2 by
size of the FIFO. The reason for this is that the FIFO may be full when the host system receives 0xFE. In thecase of 16550 UART the size at its maximu
7.3 ROM CommandsThe ROM commands allow a device to be singled out for communication or all devices to be included.This manual only presents the three
Table 16: 1-Wire TransactionOffset(Bytes)Length(Bytes)Name Description0 1 Flags The flags byte controls the optionalcomponents of the transaction.1 1 S
7.4.2 Search command (254 200 2)This is used to find the addresses of all 1-Wire devices on the bus. After this command the display willreturn one or m
In the BASIC program.Or, with C the user could (using Zcomm serial library)8.3 On NumbersLike all computerized devices, the display operates with comm
Table 21: Example of an ASCII TableThe letter A has a value of 65 Decimal or 41 HexThe letter a has a value of 97 Decimal or 61 HexThe number 0 has a
6.2.1 Enter Flow Control Mode (254 58 [full][empty]) . . . . . . . . . . . . . . . . . . . 296.2.2 Exit Flow Control Mode (254 59) . . . . . . . . . .
Command Syntax Default NotesSet cursor position FE 47 [col] [row] 254 71[col] [row] 254 ’G’ [col][row]N/A Moves cursorto the specifiedcolumn and row.Th
8.5 Keypad Interface CommandsTable 24: Keypad Interface CommandsCommand Syntax Default NotesAuto repeat mode on FE 7E [0x00|0x01] 254126 [0|1]254 ’~’
8.6 Bar Graphs and Special CharactersThe commands in this section are used to define and display bar graphs and special characters.Table 26: Bar Graphs
Command Syntax NotesDraw medium digits FE 6F [r][c][digit]254 111 [r][c][digit]254 ’o’ [r][c][digit]Draws a medium digit in [row] and[column] using th
Command Syntax Default NotesBacklight on FE 42 [minutes]254 66 [minutes]254 ’B’ [minutes]OnRBacklight willstay on for [min-utes]. If [minutes]= 0 back
Command Syntax Default NotesRead module type FE 37254 55254 ’7’see table Reads the moduletype.Set RS-232 port speed FE 39 [speed]254 57 [speed]254 ’9’
9 Appendix: Specifications and Options9.1 SpecificationsTable 30: Environmental SpecificationsStandard Temperature Extended TemperatureOperating Temperat
Figure 23: Physical Layout9.2 OptionsTable 33: Options Available on LK202-25Extended Temperature EWide Voltage V10 Appendix: GlossaryTable 34: Appendi
ASCII American Standard Code for Information Interchange.A 7 bit binary code representing the English alpha-bet, decimal numbers and common punctuatio
Hexadecimal Refers to the base-16 number system, which consistsof 16 unique symbols: the numbers 0 to 9 and the let-ters A to F. For example, the deci
1 IntroductionThe LK202-25 comes equipped with the following features:• 20 column by 2 line text display• Built in font with provision for up to 8 use
Version Number This refers to the firmware revision number of themodule.Volatile Memory Temporary memory. Once the power supply is turnedoff volatile m
control any aspect of the operation of the display, it acts simply as a matrix to serial converter. To use thekeypad to control the display, the contr
1.5 Trying Out the LK202-25The unit should be connected to power. The PC and display should be on. To experiment with typingtext, run a PC terminal pr
NOTES• The keypad connector must be wired with columns on one side and rows on the otherside of the center of the connector. If the keypad isn’t wired
GPOs Configuration JumpersPower/Data Connector DB9 ConnectorKeypad Connector1-Wire ConnectorFigure 2: Electrical ConnectionsThe display has four conne
Comentários a estes Manuais