SlideShare a Scribd company logo
1 of 9
LCD
 LCD stands for liquid crystal display
 Generally LCD is also called as alpha numeric display
• Because by using LCD we can display alphabets as well as numeric
values
 In general we have LCD’s in so many sizes
• 16 x 2
• 16 x 4
• 32 x 2
• 32 x 4
 But the size of the LCD will doesn’t matter all LCD displays will
have same type of GPIO pins (16 pins)
 We can able to interface LCD to any device through this pins
We have total 16 pins
 PIN_1 – GROUND
 PIN_2 – VCC
 PIN_3 – CONTRAST
 PIN_4 – RS
 PIN_5 – R/W
 PIN_6 – EN
 PIN_15 – VCC
 PIN_16 - GROUND
 PIN_7 – D0
 PIN_8 – D1
 PIN_9 – D2
 PIN_10 – D3
 PIN_11 – D4
 PIN_12 – D5
 PIN_13 – D6
 PIN_14 – D7
We can operate the LCD in 2 modes
• 8 bit mode
 We have to use 8 data lines during the program
• 4 bit mode
 We have to use only 4 data lines during the program
(d4, d5, d6, d7)
In order to operate LCD we must have to
send 2 types of data
 Command
 Used to give any instruction to LCD
 Text
 Message what we actually want to display
 LCD will have total 16 pins
• 10 programmable pin’s
• 6 hardware pin’s
 Hardware pins
• Pin_1 – ground
• Pin_2 – vcc
 These 2 pins are used to apply power to the lcd
• Pin_15 – vcc
• Pin_16 – ground
 These 2 pin’s are used to apply power to the back light
• Pin_3 – contrast
 This pin is used to control the brightness of the massage
displayed on the LCD
 Contrast pin is connected to 10k potentiometer
• Pin_5 – read / write
 This pin is used to operate LCD in read mode or write mode
 But we never going to operate LCD in read mode we always use
write mode
 So we will connect this pin to ground (active low)
Programmable pin’s
• Pin_4 – RS
 Rs stands for register select
 Rs = 0
 Received data is command
 Rs = 1
 Received data is text
• Pin_6 – en
 En stands for enable
 During the program for each 8bit data transmission we
should enable the enable pin and disable the enable pin
• Pin_7 to pin_14
 These 8 pins are called as data pins we can pass the
data to the LCD through this pin’s
Sr.No. Hex Code Command to LCD instruction Register
1 0X01 Clear display screen
2 0X02 Return home
3 0X04 Decrement cursor (shift cursor to left)
4 0X06 Increment cursor (shift cursor to right)
5 0X05 Shift display right
6 0X07 Shift display left
7 0X08 Display off, cursor off
8 0X0A Display off, cursor on
9 0X0C Display on, cursor off
Sr.No. Hex Code Command to LCD instruction Register
10 0X0E Display on, cursor blinking
11 0X0F Display on, cursor blinking
12 0X10 Shift cursor position to left
13 0X14 Shift cursor position to right
14 0X18 Shift the entire display to the left
15 0X1C Shift the entire display to the right
16 0X80 Force cursor to beginning ( 1st line)
17 0XC0 Force cursor to beginning ( 2nd line)
18 0X38 2 lines and 5×7 matrix in 8 bit mode
19 0X28 2 lines and 5×7 matrix in 4 bit mode

More Related Content

Similar to LCD (2).pptx

Moving message display
Moving message displayMoving message display
Moving message displayviraj1989
 
SIMPLE Frequency METER using AT89c51
SIMPLE Frequency METER using AT89c51 SIMPLE Frequency METER using AT89c51
SIMPLE Frequency METER using AT89c51 aroosa khan
 
Lcd interface with atmega32 avr best.ppt
Lcd interface with atmega32 avr best.pptLcd interface with atmega32 avr best.ppt
Lcd interface with atmega32 avr best.pptSoumyaGupta836456
 
1 PageAlarm Clock Design Using PIC18F45E.docx
1  PageAlarm Clock Design Using PIC18F45E.docx1  PageAlarm Clock Design Using PIC18F45E.docx
1 PageAlarm Clock Design Using PIC18F45E.docxmercysuttle
 
8051 basic programming
8051 basic programming8051 basic programming
8051 basic programmingANJUSHA R
 
fixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.pptfixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.pptRavikumarR77
 
Applications of microcontroller(8051)
Applications of microcontroller(8051) Applications of microcontroller(8051)
Applications of microcontroller(8051) vijaydeepakg
 
Automatic room light controller with visible counter
Automatic room light controller with visible counterAutomatic room light controller with visible counter
Automatic room light controller with visible counterMafaz Ahmed
 
Customizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA BoardCustomizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA BoardBharat Biyani
 
ARM LCD Interfacing
ARM LCD Interfacing ARM LCD Interfacing
ARM LCD Interfacing Veera Kumar
 
An application of 8085 register interfacing with LCD
An application  of 8085 register interfacing with LCDAn application  of 8085 register interfacing with LCD
An application of 8085 register interfacing with LCDTaha Malampatti
 
Digital clock presentation
Digital clock presentationDigital clock presentation
Digital clock presentationAditya Jha ✅
 
AVR_Course_Day5 avr interfaces
AVR_Course_Day5 avr interfacesAVR_Course_Day5 avr interfaces
AVR_Course_Day5 avr interfacesMohamed Ali
 

Similar to LCD (2).pptx (20)

Moving message display
Moving message displayMoving message display
Moving message display
 
131080111003 mci
131080111003 mci131080111003 mci
131080111003 mci
 
Microcontroller part 4
Microcontroller part 4Microcontroller part 4
Microcontroller part 4
 
SIMPLE Frequency METER using AT89c51
SIMPLE Frequency METER using AT89c51 SIMPLE Frequency METER using AT89c51
SIMPLE Frequency METER using AT89c51
 
Lcd interface with atmega32 avr best.ppt
Lcd interface with atmega32 avr best.pptLcd interface with atmega32 avr best.ppt
Lcd interface with atmega32 avr best.ppt
 
1 PageAlarm Clock Design Using PIC18F45E.docx
1  PageAlarm Clock Design Using PIC18F45E.docx1  PageAlarm Clock Design Using PIC18F45E.docx
1 PageAlarm Clock Design Using PIC18F45E.docx
 
8051 basic programming
8051 basic programming8051 basic programming
8051 basic programming
 
fixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.pptfixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.ppt
 
Applications of microcontroller(8051)
Applications of microcontroller(8051) Applications of microcontroller(8051)
Applications of microcontroller(8051)
 
Lcd & keypad
Lcd & keypadLcd & keypad
Lcd & keypad
 
Hd44780a00 dtasheet
Hd44780a00 dtasheetHd44780a00 dtasheet
Hd44780a00 dtasheet
 
report cs
report csreport cs
report cs
 
LCD WITH 8051.docx
LCD WITH 8051.docxLCD WITH 8051.docx
LCD WITH 8051.docx
 
Automatic room light controller with visible counter
Automatic room light controller with visible counterAutomatic room light controller with visible counter
Automatic room light controller with visible counter
 
Customizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA BoardCustomizable Microprocessor design on Nexys 3 Spartan FPGA Board
Customizable Microprocessor design on Nexys 3 Spartan FPGA Board
 
ARM LCD Interfacing
ARM LCD Interfacing ARM LCD Interfacing
ARM LCD Interfacing
 
An application of 8085 register interfacing with LCD
An application  of 8085 register interfacing with LCDAn application  of 8085 register interfacing with LCD
An application of 8085 register interfacing with LCD
 
Password based door locksystem
Password  based door locksystemPassword  based door locksystem
Password based door locksystem
 
Digital clock presentation
Digital clock presentationDigital clock presentation
Digital clock presentation
 
AVR_Course_Day5 avr interfaces
AVR_Course_Day5 avr interfacesAVR_Course_Day5 avr interfaces
AVR_Course_Day5 avr interfaces
 

Recently uploaded

如何办理(CSU毕业证书)圣马科斯分校毕业证成绩单原件一模一样
如何办理(CSU毕业证书)圣马科斯分校毕业证成绩单原件一模一样如何办理(CSU毕业证书)圣马科斯分校毕业证成绩单原件一模一样
如何办理(CSU毕业证书)圣马科斯分校毕业证成绩单原件一模一样qyguxu
 
如何办理(UW毕业证书)滑铁卢大学毕业证成绩单原件一模一样
如何办理(UW毕业证书)滑铁卢大学毕业证成绩单原件一模一样如何办理(UW毕业证书)滑铁卢大学毕业证成绩单原件一模一样
如何办理(UW毕业证书)滑铁卢大学毕业证成绩单原件一模一样qyguxu
 
如何办理(PITT毕业证书)匹兹堡大学毕业证成绩单原件一模一样
如何办理(PITT毕业证书)匹兹堡大学毕业证成绩单原件一模一样如何办理(PITT毕业证书)匹兹堡大学毕业证成绩单原件一模一样
如何办理(PITT毕业证书)匹兹堡大学毕业证成绩单原件一模一样qyguxu
 
如何办理(NEU毕业证书)东北大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(NEU毕业证书)东北大学毕业证成绩单本科硕士学位证留信学历认证如何办理(NEU毕业证书)东北大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(NEU毕业证书)东北大学毕业证成绩单本科硕士学位证留信学历认证gakamzu
 
We’re looking for a Technology consultant to join our Team!
We’re looking for a Technology consultant to join our Team!We’re looking for a Technology consultant to join our Team!
We’re looking for a Technology consultant to join our Team!Juli Boned
 
如何办理(Indiana State毕业证书)印第安纳州立大学毕业证成绩单原件一模一样
如何办理(Indiana State毕业证书)印第安纳州立大学毕业证成绩单原件一模一样如何办理(Indiana State毕业证书)印第安纳州立大学毕业证成绩单原件一模一样
如何办理(Indiana State毕业证书)印第安纳州立大学毕业证成绩单原件一模一样qyguxu
 
如何办理(CBU毕业证书)浸会大学毕业证成绩单原件一模一样
如何办理(CBU毕业证书)浸会大学毕业证成绩单原件一模一样如何办理(CBU毕业证书)浸会大学毕业证成绩单原件一模一样
如何办理(CBU毕业证书)浸会大学毕业证成绩单原件一模一样qyguxu
 
如何办理(laurentian毕业证书)劳伦森大学毕业证成绩单原件一模一样
如何办理(laurentian毕业证书)劳伦森大学毕业证成绩单原件一模一样如何办理(laurentian毕业证书)劳伦森大学毕业证成绩单原件一模一样
如何办理(laurentian毕业证书)劳伦森大学毕业证成绩单原件一模一样muwyto
 
WIOA Program Info Session | PMI Silver Spring Chapter | May 17, 2024
WIOA Program Info Session | PMI Silver Spring Chapter | May 17, 2024WIOA Program Info Session | PMI Silver Spring Chapter | May 17, 2024
WIOA Program Info Session | PMI Silver Spring Chapter | May 17, 2024Hector Del Castillo, CPM, CPMM
 
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样muwyto
 
Rahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdfRahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdfrach3246
 
Master SEO in 2024 - The Complete Beginner's Guide
Master SEO in 2024 - The Complete Beginner's GuideMaster SEO in 2024 - The Complete Beginner's Guide
Master SEO in 2024 - The Complete Beginner's GuideTechEasifyInfotech
 
Rahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdfRahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdfrach3246
 
如何办理纽约大学毕业证(NYU毕业证)成绩单硕士学位证原版一比一
如何办理纽约大学毕业证(NYU毕业证)成绩单硕士学位证原版一比一如何办理纽约大学毕业证(NYU毕业证)成绩单硕士学位证原版一比一
如何办理纽约大学毕业证(NYU毕业证)成绩单硕士学位证原版一比一ovxelckll
 
如何办理(USC毕业证书)南加利福尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USC毕业证书)南加利福尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(USC毕业证书)南加利福尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USC毕业证书)南加利福尼亚大学毕业证成绩单本科硕士学位证留信学历认证gakamzu
 
CV OF Dr. David Burkett | Cardiologist and Electrophysiologist .
CV OF Dr. David Burkett | Cardiologist and Electrophysiologist .CV OF Dr. David Burkett | Cardiologist and Electrophysiologist .
CV OF Dr. David Burkett | Cardiologist and Electrophysiologist .Dr. David Burkett
 
如何办理(UW毕业证书)西雅图华盛顿大学毕业证成绩单原件一模一样
如何办理(UW毕业证书)西雅图华盛顿大学毕业证成绩单原件一模一样如何办理(UW毕业证书)西雅图华盛顿大学毕业证成绩单原件一模一样
如何办理(UW毕业证书)西雅图华盛顿大学毕业证成绩单原件一模一样muwyto
 
We’re looking for a junior patent engineer to join our Team!
We’re looking for a junior patent engineer to join our Team!We’re looking for a junior patent engineer to join our Team!
We’re looking for a junior patent engineer to join our Team!Juli Boned
 

Recently uploaded (20)

如何办理(CSU毕业证书)圣马科斯分校毕业证成绩单原件一模一样
如何办理(CSU毕业证书)圣马科斯分校毕业证成绩单原件一模一样如何办理(CSU毕业证书)圣马科斯分校毕业证成绩单原件一模一样
如何办理(CSU毕业证书)圣马科斯分校毕业证成绩单原件一模一样
 
如何办理(UW毕业证书)滑铁卢大学毕业证成绩单原件一模一样
如何办理(UW毕业证书)滑铁卢大学毕业证成绩单原件一模一样如何办理(UW毕业证书)滑铁卢大学毕业证成绩单原件一模一样
如何办理(UW毕业证书)滑铁卢大学毕业证成绩单原件一模一样
 
如何办理(PITT毕业证书)匹兹堡大学毕业证成绩单原件一模一样
如何办理(PITT毕业证书)匹兹堡大学毕业证成绩单原件一模一样如何办理(PITT毕业证书)匹兹堡大学毕业证成绩单原件一模一样
如何办理(PITT毕业证书)匹兹堡大学毕业证成绩单原件一模一样
 
如何办理(NEU毕业证书)东北大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(NEU毕业证书)东北大学毕业证成绩单本科硕士学位证留信学历认证如何办理(NEU毕业证书)东北大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(NEU毕业证书)东北大学毕业证成绩单本科硕士学位证留信学历认证
 
We’re looking for a Technology consultant to join our Team!
We’re looking for a Technology consultant to join our Team!We’re looking for a Technology consultant to join our Team!
We’re looking for a Technology consultant to join our Team!
 
如何办理(Indiana State毕业证书)印第安纳州立大学毕业证成绩单原件一模一样
如何办理(Indiana State毕业证书)印第安纳州立大学毕业证成绩单原件一模一样如何办理(Indiana State毕业证书)印第安纳州立大学毕业证成绩单原件一模一样
如何办理(Indiana State毕业证书)印第安纳州立大学毕业证成绩单原件一模一样
 
如何办理(CBU毕业证书)浸会大学毕业证成绩单原件一模一样
如何办理(CBU毕业证书)浸会大学毕业证成绩单原件一模一样如何办理(CBU毕业证书)浸会大学毕业证成绩单原件一模一样
如何办理(CBU毕业证书)浸会大学毕业证成绩单原件一模一样
 
如何办理(laurentian毕业证书)劳伦森大学毕业证成绩单原件一模一样
如何办理(laurentian毕业证书)劳伦森大学毕业证成绩单原件一模一样如何办理(laurentian毕业证书)劳伦森大学毕业证成绩单原件一模一样
如何办理(laurentian毕业证书)劳伦森大学毕业证成绩单原件一模一样
 
The Best VFX Course with Job Placement near Dunlop
The Best VFX Course with Job Placement near DunlopThe Best VFX Course with Job Placement near Dunlop
The Best VFX Course with Job Placement near Dunlop
 
WIOA Program Info Session | PMI Silver Spring Chapter | May 17, 2024
WIOA Program Info Session | PMI Silver Spring Chapter | May 17, 2024WIOA Program Info Session | PMI Silver Spring Chapter | May 17, 2024
WIOA Program Info Session | PMI Silver Spring Chapter | May 17, 2024
 
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样
如何办理(UST毕业证书)圣托马斯大学毕业证成绩单原件一模一样
 
Rahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdfRahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdf
 
Master SEO in 2024 - The Complete Beginner's Guide
Master SEO in 2024 - The Complete Beginner's GuideMaster SEO in 2024 - The Complete Beginner's Guide
Master SEO in 2024 - The Complete Beginner's Guide
 
Rahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdfRahul Chauhan - Data Scientist Resume.pdf
Rahul Chauhan - Data Scientist Resume.pdf
 
如何办理纽约大学毕业证(NYU毕业证)成绩单硕士学位证原版一比一
如何办理纽约大学毕业证(NYU毕业证)成绩单硕士学位证原版一比一如何办理纽约大学毕业证(NYU毕业证)成绩单硕士学位证原版一比一
如何办理纽约大学毕业证(NYU毕业证)成绩单硕士学位证原版一比一
 
如何办理(USC毕业证书)南加利福尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USC毕业证书)南加利福尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(USC毕业证书)南加利福尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USC毕业证书)南加利福尼亚大学毕业证成绩单本科硕士学位证留信学历认证
 
CV OF Dr. David Burkett | Cardiologist and Electrophysiologist .
CV OF Dr. David Burkett | Cardiologist and Electrophysiologist .CV OF Dr. David Burkett | Cardiologist and Electrophysiologist .
CV OF Dr. David Burkett | Cardiologist and Electrophysiologist .
 
如何办理(UW毕业证书)西雅图华盛顿大学毕业证成绩单原件一模一样
如何办理(UW毕业证书)西雅图华盛顿大学毕业证成绩单原件一模一样如何办理(UW毕业证书)西雅图华盛顿大学毕业证成绩单原件一模一样
如何办理(UW毕业证书)西雅图华盛顿大学毕业证成绩单原件一模一样
 
We’re looking for a junior patent engineer to join our Team!
We’re looking for a junior patent engineer to join our Team!We’re looking for a junior patent engineer to join our Team!
We’re looking for a junior patent engineer to join our Team!
 
Abortion pills in Jeddah Saudi Arabia (+966572737505) buy cytotec
Abortion pills in Jeddah Saudi Arabia (+966572737505) buy cytotecAbortion pills in Jeddah Saudi Arabia (+966572737505) buy cytotec
Abortion pills in Jeddah Saudi Arabia (+966572737505) buy cytotec
 

LCD (2).pptx

  • 1. LCD
  • 2.  LCD stands for liquid crystal display  Generally LCD is also called as alpha numeric display • Because by using LCD we can display alphabets as well as numeric values  In general we have LCD’s in so many sizes • 16 x 2 • 16 x 4 • 32 x 2 • 32 x 4  But the size of the LCD will doesn’t matter all LCD displays will have same type of GPIO pins (16 pins)  We can able to interface LCD to any device through this pins
  • 3. We have total 16 pins  PIN_1 – GROUND  PIN_2 – VCC  PIN_3 – CONTRAST  PIN_4 – RS  PIN_5 – R/W  PIN_6 – EN  PIN_15 – VCC  PIN_16 - GROUND  PIN_7 – D0  PIN_8 – D1  PIN_9 – D2  PIN_10 – D3  PIN_11 – D4  PIN_12 – D5  PIN_13 – D6  PIN_14 – D7
  • 4. We can operate the LCD in 2 modes • 8 bit mode  We have to use 8 data lines during the program • 4 bit mode  We have to use only 4 data lines during the program (d4, d5, d6, d7) In order to operate LCD we must have to send 2 types of data  Command  Used to give any instruction to LCD  Text  Message what we actually want to display
  • 5.  LCD will have total 16 pins • 10 programmable pin’s • 6 hardware pin’s
  • 6.  Hardware pins • Pin_1 – ground • Pin_2 – vcc  These 2 pins are used to apply power to the lcd • Pin_15 – vcc • Pin_16 – ground  These 2 pin’s are used to apply power to the back light • Pin_3 – contrast  This pin is used to control the brightness of the massage displayed on the LCD  Contrast pin is connected to 10k potentiometer • Pin_5 – read / write  This pin is used to operate LCD in read mode or write mode  But we never going to operate LCD in read mode we always use write mode  So we will connect this pin to ground (active low)
  • 7. Programmable pin’s • Pin_4 – RS  Rs stands for register select  Rs = 0  Received data is command  Rs = 1  Received data is text • Pin_6 – en  En stands for enable  During the program for each 8bit data transmission we should enable the enable pin and disable the enable pin • Pin_7 to pin_14  These 8 pins are called as data pins we can pass the data to the LCD through this pin’s
  • 8. Sr.No. Hex Code Command to LCD instruction Register 1 0X01 Clear display screen 2 0X02 Return home 3 0X04 Decrement cursor (shift cursor to left) 4 0X06 Increment cursor (shift cursor to right) 5 0X05 Shift display right 6 0X07 Shift display left 7 0X08 Display off, cursor off 8 0X0A Display off, cursor on 9 0X0C Display on, cursor off
  • 9. Sr.No. Hex Code Command to LCD instruction Register 10 0X0E Display on, cursor blinking 11 0X0F Display on, cursor blinking 12 0X10 Shift cursor position to left 13 0X14 Shift cursor position to right 14 0X18 Shift the entire display to the left 15 0X1C Shift the entire display to the right 16 0X80 Force cursor to beginning ( 1st line) 17 0XC0 Force cursor to beginning ( 2nd line) 18 0X38 2 lines and 5×7 matrix in 8 bit mode 19 0X28 2 lines and 5×7 matrix in 4 bit mode