Home

User's Manual of Graphic LCD “ET-NOKIA LCD 5110”

image

Contents

1. MGL640 Figure 4 shows the increase of address value on the horizontal line Horizontal Addressing Mode V 0 4 www ett co th Applications of Graphic LCD Display ET NOKIA LCD 5110 Connection for controlling LCD Displa The signal connection for controlling operation of LCD is Serial format and there are several pins as follows GND VCC 2 7 5V Figure 5 shows the pin positions of LCD Table 1 Function of Pin LCD Pin s Name Functions Pin VCC using Power Supply from 2 7 5 VCD 5 www ett co th Applications of Graphic LCD Display LCD 5110 3 Pin CHIP ENABLE to control operation of Pin Controllers RESET Signal RESET for operation of LCD SDIN Pin DATA SERIAL DATA LINE 7 Pin CLOCK SERIAL CLOCK LINE 8 LED Pin to control operation of LED Back Light Communication Format GND e OCE 4 Se D C Pin to configure the data formats between Data and Command 6 Oe LED The format of command that is used to communicate with LCD is divided into 2 modes Command Mode and Data Mode In this case it uses Pin D C to divide and control signals if D C 0 the data that is sent to LCD is Command see more detailed information of commands in the Table 13 and 3f D C 1 the data that is sent to LCD will be Data and it will placed in DDRAM Memory Display Data RAM to be displayed on LCD Display Afte
2. 8m Wm RES pulse wath Serial bus timing characteristics 11 T Tee E E mo m Ho as Notes 1 T Fork ext frame 480 2 RES may LOW before Vpp goes HIGH 3 ths IS the time from the previous SCLK positive edge irrespective of the state of SCE to the negative edge of SCE Table 3 Commands Sets for controlling LCD Display 10 www ett co th Applications of Graphic LCD Display LCD 5110 H 0 or 1 NOP o po Reoperation set H power down control entry mode extended instruction set control H Write data 1 De 65 Ds Ds 02 __ writes data to display RAM Reserved o po o p p p i X X re Reserved Jo o x x x X donotuss Y address of Yo sets Y address of RAM hal Ml AlN a set X address of 1 Xs X X4 sets X address of w TC Temperature Coefficient control Reseed fo 0 i X X X onts Bias system lo i o 852 BS setBias System ES Reserved 100 X x x x X X ontse Set Vor _ Vors Vors Vora write to register
3. Table 4 Detail of Parameter values from Table 3 chip is in Power down mode horizontal vertical addressing use basic instruction set use extended instruction set display blank normal mode all display segments on inverse video mode TC and TC 00 Vicp temperature coefficient 0 01 Vicp temperature coefficient 1 10 Vicp temperature coefficient 2 11 Vicp temperature coefficient 3 Detail of Commands 11 www ett co th Applications of Graphic LCD Display LCD 5110 Command NOP No Operation D C DB DB6 DB5 084 DB3 DB2 DB1 DBO o ojojo ojo ojo o0 Command Function Set is command to set function for operations of LCD D C DB 086 DB5 084 DB3 DB2 DB1 DBO PD It is Bit to select operation mode PD 0 Active Mode PD 1 Power Down Mode V It is Bit to select the format of increasing address value of DDRAM Memory V 0 It increases address value on the horizontal line Horizontal Addressing Mode see figure 4 above V It increases address value on the vertical line Vertical Addressing Mode see figure 3 above H It is Bit to select format of using commands of SCD H 0 Using the basic commands see more information from Table 3 H 1 Using the additional commands see more information from table 3 Command Write Data is command to write data into DDRAM Memory to display result on LCD Display D C DB D
4. LOW SCE 0 until data byte will be sent successfully as shown in the figure 9 www ett co th Applications of Graphic LCD Display LCD 5110 D C 5 SCLK ooog Serial bus reset function SCE MGL632 Figure 9 shows diagram of signal RES that is in status of High The method to create Signal RESET RES 15 to create Pulse Low at Pin RES if Signal RESET is occurred RES 0 while sending 8 bit data 1 byte is not complete data in that byte will be canceled When status of signal RES is in High RES 1 at the next Signal Clock will be data that starts at Bit 7 of data again as shown in the figure 10 SCE RES D C a SCLK SDIN MGL633 Serial bus reset function RES Figure 10 shows diagram of signal RES that is in the status of RESET 8 www ett co th Applications of Graphic LCD Display LCD 5110 VDD WL RES RES 645 Reset timing Figure 11 shows the period of occurring Signal RESET toy th a tWH2 gt SCE D C SCLK SDIN Serial interface timing Figure 12 shows the period of signals Table 2 Parameter values 9 www ett co th Applications of Graphic LCD Display LCD 5110 FIT commos wax UNIT jw je We
5. Applications of Graphic LCD Display ET NOKIA LCD 5110 EI User s Manual of Graphic LCD ET NOKIA LCD 5110 Specifications of LCD 5110 48 x 84 Dot LCD Display Serial Bus Interface with maximum high speed 4 0 Mbits S Internal Controller No PCD8544 LED Back Light R n at Voltage 2 7 3 0 Volt Low power consumption it is suitable for battery applications Temperature range from 25 C to 70 C Support Signal CMOS Input LCD 5110 is 48 x 84 Dot LCD Graphic that has internal Controller Driver PCD8544 to control all displays and operations Diagrammatic structure of internal Controller PCD8544 is shown as in figure 1 1 www ett co th Applications of Graphic LCD Display LCD 5110 C1 to C83 RD to SOLUMN DRIVERS ROW DRIVERS des Vi CD2 VOLTAGE GENERATOR DATA LATCHES SHIFT REGISTER RES OSCILLATOR OSC Gens LCD ER GENERATOR DISPLAY DATA RAM DDRAM T ical _TIMING Vpp1 to Vpp2 Vss4 t0 Vss2 DISPLAY mE ADDRESS T1 ADDRESS COUNTER COUNTER T24 DATA 3e REGISTER dcn T4 BUFFER MGLEZ9 Figure 1 shows internal structure of Controller PCD8544 Handling of LCD Address Addressing The address arrangement of memory that is shown on LCD Display DDRAM is Matrix that consists of 6 rows Y Address from Y Address 0 to Y Address 5 and 84 columns X Address from X Address 0 to X Address 83 If user wants to access to
6. B6 DB5 DB4 DB3 DB2 DB1 DBO D7 D6 05 04 D3 D2 D1 00 IC Bit data that must be writien to display on LCD Display Command Set in Basic Mode H 0 Command Display Control It is command to control displaying result on LCD Display 12 www ett co th Applications of Graphic LCD Display LCD 5110 D C DB 086 DB5 084 DB3 DB2 DB1 DBO 0 Table 5 Meaning of setting values in Bit D and E LEES Meaning Data on the LCD Display is in status of blank or not display Display Blank t It displays results as usual Normal Mode is da status of om o display is in status of ON inverse Mode Command Set Y Address of RAM It is command to set value of Y Address in RAM Memory in this case Y value is in the range Or UD X Ss D C DB 086 DB5 084 DB3 DB2 DB1 0 Table 6 Meaning of setting values into Y2 Y1 and YO 13 www ett co th Applications of Graphic LCD Display LCD 5110 EI Position of Y Address 10100 BakO0 O10 1 Bank3 0 0 4 110111 BankS Command Set X Address of RAM It is command to set value of X Address of RAM Memory D C DB 086 DB5 084 DB3 DB2 DB1 DBO 5 rpspepepepe pa pe Value of X Address on LCD Display is in the range of 0 to 83 so the method to set position address of X Ad
7. US BYTE STEP DISPLAY OPERATION 6 oer pee pas ee nes sz oer 555 start SCEisgoing LOW IS SCEisgoingLOW LOW ER set PD 0 and V 0 select extended instruction set H 1 mode Is Set to a 2353555 x b V function set PD 0 and V 0 select normal instruction set 0 mode display control set normal mode D 1 and E 0 data write Y and X are initialized to by default so they are not set here data write LI l Table 10 Continue Example of creating characters LCD Display 19 www ett co th Applications of Graphic LCD Display LCD 5110 SEP eee DISPLAY OPERATION oa ss ose data write LT Tt yt L EBENEN MGLa display control set inverse video mode D 1 and E 1 set X address of RAM set address to 0000000 notes 20 www ett co th
8. d BSO 15 www ett co th Applications of Graphic LCD Display LCD 5110 1 40 1 34 1 10 1 9 1 8 Table 9 Bias Voltage SYMBOL BIAS VOLTAGES BIAS VOLTAGE FOR 1 BIAS n 3 n 4 Command Set it is command to set voltage for Vrep Voltage Operation DIC DB 086 DBS 084 DB3 DB2 DB1 DBO 21 a User can set it from Bit Voro and can calculate value of Voltage Vicp from following equation VLCD a VoPeto x b Coefficient value a 3 06 b 0 06 16 www ett co th Applications of Graphic LCD Display LCD 5110 EI VLCD 00 01 02 03 04 05 06 07 08 09 OA 643 3 06 b 0 06 to programmed 00 to 7 FH Figure 14 shows graph of Voltage VLCD from Parameter a and b Example If user wants value of at 5 volt 5 3 06 VOP6 to VOPO x 0 06 VOP6 to VOPO 5 3 06 0 06 VOP6 to VOPO 32 33 approximately 32 20H or 0100000B So the command that will be sent to LCD to set value of VOP is 11000000B or COH NOTE Do not set value of VOP too high the maximum serm ou nore iden aso WOES Initial recommendation to write program for LCD applications The method to write program for controlling operation of LCD whichever Microcontroller family or number is the same because user must writes program to create signals for controlling operat
9. dress of X6 X5 X2 and XO must be in the range of 0000000 00H to 1010011 53H Command Set in addition mode H 1 Command Temperature Control 15 command to control temperature to be in the suitable range From the Specification of LCD that is fluid if it is in too low temperature it maybe sticky and display results incompletely So it is necessary to compensate the temperature value to be in the suitable range in this case user must select value of coefficient Vicp suitably There are 4 values and can set them by ICI and TOO 14 www ett co th Applications of Graphic LCD Display LCD 5110 VL CD 1 Upper limit 2 Typical curve 3 4 4 Temperature coefficient of IC Lower limit 0 temperature MGL641 Figure 13 displays graph of the relationship between VLCD and temperature DIC DB 086 DBS DB4 DB3 DB2 DB1 DBO 0 Table 7 Meaning of setting Bit and TCO Coefficient value of Vicp and Temperature Vicp temperature coefficient 0 temperature coefficient 0 vi pe oe Vicp temperature coefficient 1 Vicp temperature coefficient 2 Vicp temperature coefficient 3 Command Bias System is command to set value of Bias Voltage Level by Bit BS2 51 and 50 DIC DB 086 DBS 084 DB3 DB2 DB1 DBO 21 11 Table 8 Meaning of setting Bit BS2 BS1 an
10. ion of LCD If using function SPI we recommend user to use Mode MSB First The method to write program for controlling operation of LCD is to set operation of LCD first or called Initial LCD Normally its operation order 15 To create signal RESET LCD 17 www ett co th Applications of Graphic LCD Display LCD 5110 send Command 21H for selecting the Command Set in addition mode H 1 To send Command Set Voltage VOP for example sending Command COH VOP 5V Y To send Command for setting value of Temp Control for example sending Command 07H Vico temperature coefficient 3 Y To send Command to set value of Voltage Bias System for example 13H n 4 1 48 To send Command 20H for selecting the Command Set in basic mode To send Command OCH D 1 E 0 for setting LCD to display results in Normal Mode After the procedure of Initial LCD is completely user can write program and send data to display at positions of LCD Generally user must specify the required positions of X Address and Y Address to display results first For example setting position X 0 Y 0 as follows D C DB7 DB6 DBS DB4 DB3 DB2 DB1 DBO Lo 1je ojojo ojo o D C DB7 DB6 DB5 DB4 DB3 DB2 DB1 DBO o Table 10 Example of creating characters on LCD Display 18 www ett co th Applications of Graphic LCD Display LCD 5110 SERIAL B
11. r 1 byte data has already been written 1 value of DDRAM address will be increased automatically The format of data will be serial and it will send MSB The Most Significant Bit first Generally its structure is displayed as follows MSB DB LSB DBO ee MGL666 General format of data stream Figure 6 shows the general format of Data There are 2 methods to send data into LCD firstly sending 1 Byte data in each time and secondly sending many continuous bytes The Data format 15 shown as follows Sending 1 byte data in each time 6 www ett co th Applications of Graphic LCD Display LCD 5110 D C SCLK MGL630 Serial bus protocol transmission of one byte Figure 7 shows the format of sending 1 byte data in each time Sending continuous data more than 1 byte SCLK SDIN MGL631 Serial bus protocol transmission of several bytes Figure 8 shows the format of sending the continuous bytes data If Pin SCE is in the status of High any change at signal SCLK is not be affected on LCD user can send data to LCD when Pin SCE is in status of LOW only Data will be shifted to Pin SDIN follows the interval of signal CLOCK Rising Edge In this case LCD determines the data to be either Command Mode or Data Mode from status of Pin D C if D C 0 it is Command Mode but if D C 1 it is Data Mode Pin SCE is still Status
12. the position of displaying result on LCD Display must refer to the relationship between X Address and Y Address Data that will be sent to display is 8 bit 1 Byte and it will be arranged as vertical line in this case Bit MSB will be lower and Bit LSB will be upper as shown in the following picture 2 www ett co th Applications of Graphic LCD Display LCD 5110 1 LSB Y address X address 83 foooooooooo0o00000 RO OOOOOO0000 00000 OOOOOUOOOOO0O0O0000 OOOOOOO000000000 OOOOODOOOOO000000 OOOOOUOOOOO0O000 OOOOOOOOOOO0O0O 0000000000600 OO0O0O0O000000 R8 0000000000 0000000000 OOOOOOOOOO OOOOOOOOOO0 OOOOOOO0OOO Figure 2 shows structure of Address and Data of LCD Display 3 www ett co th Applications of Graphic LCD Display LCD 5110 We can write data into the address of memory DDRAM continuously and values of X Address and Y Address will be increased automatically In this case there are 2 methods to configure the operation format of address firstly Vertical Addressing Mode V 1 1 value of Y Address will be increased every time see figure 3 and secondly Horizontal Addressing Mode V 0 1 value of X Address will be increased every time see figure 4 Y address X address MGL639 Figure 3 shows the increase of address value on the vertical line Vertical Addressing Mode V 1 CICCNE CCCNM Y address mp

Download Pdf Manuals

image

Related Search

Related Contents

Techofielt 3000  Sony DSC-H300/B Limited Warranty    Manual Tecnico Indola  仕様一覧表  ACON-SE コントローラ シリアル通信タイプ 取扱説明書第9版 第 版  Serial Link Troubleshooting  泌尿器科領域における感染制御ガイドライン  Pan-Tilt Unit User Manual  

Copyright © All rights reserved.
Failed to retrieve file