LCD4041Technical ManualRevision: 1.0
2.1.4 Power through the DB-9 ConnectorThe display can be powered by pin 9 on the DB-9 connector. If power is applied here, power cannot beapplied to t
The RS-232 connector on the PC cable is wired so that a standard ’straight through’ 9 pin D-sub cablemay be used to connect the modules to a standard
for this one needs to understand something about how a Matrix Orbital module processes data. Basically thereason why a Matrix Orbital module might fai
Figure 13: Clamping a Relay3 Displaying TextThis chapter describes the various text display commands in detail. Before issuing commands to theLCD4041
Figure 14: Character SetIn addition to the built in characters, users may define up to 8 special characters which once defined,occupy positions 0x00 to
3.4 Text CommandsIn this section commands are identified by their names and decimal values. Hex and ASCII equivalentsare given in the summary.3.4.1 Aut
3.4.8 Turn off block (blinking) cursor (254 84)Turns off the blinking block cursor. Does not affect the underline cursor.3.4.9 Cursor left (254 76)Mov
4.1.2 Initialize narrow vertical bar graph (154 115)This command defines the 8 special / user characters to be blocks suitable for use in drawing narro
Table 6: 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* * *
4.1.8 Place large digit (254 35 [col] [digit])This command allows the large digits to be drawn on the display screen. Numbers of almost full displayhe
ContentsContents ii1 Introduction 11.1 What to Expect From the LCD4041 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 What Not to Ex
5.1.4 Backlight off (254 70)This command turns the backlight of the display off.5.1.5 Load startup screen (254 64 [32 characters])This command sets an
The change in address is immediate. This address is 0x50 by default, and is reset temporarily back to thatvalue when the ’manual over-ride’ jumper is
change and the module will return to the originally set serial number.5.1.12 Read Serial Number (254 53)This command will return, over the RS-232 inte
5.2.2 Exit Flow Control Mode (254 59)This command turns off flow control. Bytes may overflow the buffer without warning.6 Appendix: Command Summary6.1 G
Table 12: Hex Value TableBinary Hex Decimal Binary Hex Decimal0000 0 0 1000 8 80001 1 1 1001 9 90010 2 2 1010 A 100011 3 3 1011 B 110100 4 4 1100 C 12
Table 14: Text CommandsCommand Syntax Default NotesAuto scroll on FE 51254 81254 ’Q’Off Enables scroll atbottom of screen.Text will pushdisplay up one
Command Syntax Default NotesCursor left FE 4C254 76254 ’L’Moves the cur-sor one positionto the left. If thecursor is alreadyat the beginningof a line
Command Syntax NotesDraw vertical bar graph FE 3D [col][length]254 61 [col][length]254 ’=’ [col][length]Draws a vertical bar graph at column[col] of l
Command Syntax Default NotesBacklight on FE 42 [minutes]254 66 [minutes] 254 ’B’[minutes]on Backlight willstay on for [min-utes]. If [minutes]= 0 back
Command Syntax Default NotesRead Version Number FE 36254 54254 ’6’Reads thefirmware ver-sion numberof the module.Returns a 1-bytevalue.Enter flow contro
4.1.7 Initialize large digits (254 110) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154.1.8 Place large digit (254 35 [col] [digit]) . .
Table 22: Optical SpecificationsNumber of Characters 160 (40 characters by 4 lines)Matrix Format 5 x 7 with underlineDisplay Area 155.1 x 16.5 mm XxYCh
Figure 15: Physical Layout7.2 OptionsTable 23: Options Available on LCD4041Extended Temperature EWide Voltage VWide Voltage with Efficient Switching Po
8 Appendix: GlossaryTable 24: Appendix: GlossaryASCII American Standard Code for Information Interchange.A 7 bit binary code representing the English
Font A design for a set of characters. A font is the combina-tion of typeface and other qualities, such as size, pitch,and spacing.Font Metric A defini
Volatile Memory Temporary memory. Once the power supply is turnedoff volatile memory is then erased.Matrix Orbital LCD4041 31
1 IntroductionThe LCD4041 comes equipped with the following features;• 40 column by 4 line text display• Built in font with provision for up to 8 user
• A 9 or 25 pin RS-232 serial cable. If using a 25 conductor cable, a 9 to 25 pin adapter will be requiredFigure 1: Connections for Testing1. Refer to
Table 1: Common ASCII Control CharactersCharacter Hex Value FunctionCR 0x0D Moves cursor to the beginning of thecurrent lineLF 0x0A Moves cursor to th
2 Connections2.1 Connector PinoutRefer to the diagram below for this chapter.Figure 3: Electrical ConnectionsThe display has three connectors;Table 2:
Connector pinout is as follows;Figure 4: Power ConnectorTable 3: Connector PinoutPin 4 GroundPin 3 SDA (I2C data)Pin 2 SCL (I2C clock)Pin 1 +5.0 VDC (
Figure 6: Five Volt Power Cable2.1.3 Wide Voltage Range ModulesNOTE This cable should not be used with a display module which has the "Wide volta
Commenti su questo manuale