LCD2041Technical ManualRevision: 2.0
Figure 9: RS-232 and Power ConnectorTable 3: RS-232 PinoutPin Number Direction Description LCD Host2 Data from LCD Data out (LCD Tx Rx3 Data to LCD Da
Pin 4 GroundPin 3 RxPin 2 TxPin 1 VdcFigure 11: Power Connector2.2.3 TTL communicationsThe display can be talked to at TTL (logic 0V to +5V) levels. T
Figure 13: RS-232 JumpersThe module is supplied with jumpers J1 and J2 installed, which gives an RS-232 baud rate of 19200 andan I2C address of 0x5C.•
2.3 I2C CommunicationsI2C communications runs at 100Kbps and supports up to 16 units on a single communications line. TheI2C data line operates on 5 v
Pin 4 GroundPin 3 SDA (12C Data)Pin 2 SLC (I2C Clock)Pin 1 VdcFigure 15: Power Connector2.4 General Purpose OutputThe display has a general purpose ou
Figure 17: Bypassing 240 ohm ResistorNOTE The GPOs do not have any over current or over / under voltage protection so caremust be taken when using the
3.1 GeneralText is displayed on the display using the built in 5x7 dot matrix font, in addition to up to 8 user definedcharacters.3.2 The built in Char
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.This command move
ContentsContents ii1 Introduction 11.1 What to Expect From the LCD2041 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 What Not to Ex
4.1.4 Initialize horizontal bar graph (254 104)This command defines the 8 special / user characters to be blocks suitable for use in drawing horizontal
Table 5: 8 Byte MapMSB LSB* * * 1 2 3 4 5 Data Byte 1* * * 6 7 8 9 10 Data Byte 2* * * 11 12 13 14 15 Data Byte 3* * * 16 17 18 19 20 Data Byte 4* * *
txUart.sendByte(0);txUart.sendByte(0x00); //display custom character 05 Miscellaneous CommandsThe commands listed in this chapter don’t readily fit in
5.1.6 Set backlight brightness (254 153 [brightness])This command sets the display’s brightness to [brightness], where [brightness] is a value between
commands in hex, ASCII and decimal form. All commands begin with the prefix character 0xFE (254decimal). These commands are issued on the serial commun
Table 9: Example of an ASCII TableLetter/ Number Decimal Value Hex ValueA 65 41a 97 610 48 309 57 39This gives rise to the possibility of confusion wh
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.The c
6.5 Bar Graphs and Special CharactersThe commands in this section are used to define and display bar graphs and special characters.Table 12: Bar Graph
6.6 Miscellaneous CommandsTable 14: Miscellaneous CommandsCommand Syntax Default NotesClear display FE 58254 88254 ’X’n/a Clears screen oftext and gra
7 Appendix: Specifications7.1 SpecificationsTable 16: Environmental SpecificationsStandard Temperature Extended TemperatureOperating Temperature 0◦C to +
4 Bar Graphs and Special Characters 164.1 Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164.1.1 Initi
Figure 20: Physical LayoutMatrix Orbital LCD2041 27
7.2 OptionsTable 19: Options Available on LCD2041Inverse Blue LCD WB WBInverse Yellow LCD IYWhite backlight with Gray glass (Ice Blue) GWExtended Temp
Configuration The way a system is set up, or the assortment of com-ponents that make up the system. Configuration canrefer to either hardware or softwar
Primitive A low-level object or operation from which higher-level, more complex objects and operations can beconstructed. In graphics, primitives are
1 IntroductionThe LCD2041 comes equipped with the following features;• 20 column by 4 line text display• Built in font with provision for up to 8 user
Figure 1: Connections for Testing1. Refer to the Figure above for the following steps.2. Wire the connector to the power supply. On most connectors th
Figure 2: Electrical ConnectionsThe display has three connectors;Table 1: Connectors & FunctionsConnector Function2 pin General purpose output4 pi
Connector pinout is as follows;Figure 3: Power ConnectorTable 2: Pinout ConnectionsPin 4 GroundPin 3 SDA (I2C data) / RxPin 2 SCL (I2C clock) / TxPin
Figure 5: Five Volt Power Cable2.1.3 Wide Voltage Range ModulesNOTE Do not use this cable unless the display module has the "Wide voltage range&q
2.1.4 Applying Power through the DB-9 ConnectorPower may be provided to the module by pin 9 of the DB-9 connector instead of through the 4-pin SIP.If
Comentários a estes Manuais