SlideShare a Scribd company logo
https://technoelectronics44.blogspot.com/2020/08/16x2-lcd-
display.html
you can download source code
16X2 LCD DISPLAY
LCD-Liquid Crystal Display
Generally, these are small size displays, these are mainly useful in embedded products
such as Coin box, Digital Energy meters, calculators, etc. These are different sizes in
width like 16x1 LCD, 16x2 LCD, 16x4 LCD.
16x2 means 16- Rows and 2-columns, so it can print up to 32 characters. It has a
5x8 dot matrix to print a single character, so for a single character, it takes 5x8=40
pixels and for 32 characters it has 40x32=1280 pixels.
16x2 LCD Module
16x2 LCD - Pin diagram
Features
 Operating Voltage: 4.5v-5.5v
 Output maximum current: 5ma
 Total pins: 16
 Built-in controller (HD44780 or Equivalent)
 Back led color: Blue, Green, Yellow.
 Rows /column: 16x2
 Total characters: 16
 Alphanumeric LCD display
 It can operate in an 8-bit or 4-bit data mode.
 5x8 dot matrix for character representation
Pin configuration
1 Vss Ground
2 Vcc/Vdd 5v(Positive terminal)
3 VE Contrast (brightness adjustment)
4 RS Register Select (to select Data mode or command
mode)
5 R/W Read / Write Operation
6 EN Enable
7 D0 Data pin 0
8 D1 Data pin 1
9 D2 Data pin 2
10 D3 Data pin 3
11 D4 Data pin 4
12 D5 Data pin 5
13 D6 Data pin 6
14 D7 Data pin 7
15 A Anode (Backlight positive terminal)
16 K Cathode (Backlight negative terminal)
Power supply pins
 Vdd – is the power supply positive pin
 Vss – is the power supply negative pin
 A – Anode terminal (positive terminal of Back Light LED)
 K – Cathode terminal (Negative terminal of Back Light LED)
Contrast pin
Vee – to adjust the Backlight LED brightness
By adjusting the voltage across this pin brightness will be adjust.
Control pins
 RS – Register select, it is useful to select the command mode or data mode of
operation RS=0 for command mode, whereas RS=1 for data
mode.
 R/W – To perform the Read and write operation (Write Operation is an active
LOW signal)
 En –Enable pin, we can assign the instructions by triggering the Enable pin.
Data pins
D0-D8 = Usually it has 8-data pins. It supports two modes of operations.
 8-bit data mode
 4-bit data mode
You can select any one of the modes by using the commands, and there is no effect on
performance.
Commands
Sr. No Code Command description
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)/Entry mode
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
10 0x0E Display on, cursor on
11 0x0F Display on, cursor blinking
12 0x10 Shift cursor position to left by one character
13 0x14 Shift cursor position to right by one character
14 0x18 Shift the entire display to the left
15 0x1C Shift the entire display to the right
16 0x80 Force cursor to the beginning ( 1st line)
17 0xC0 Force cursor to the beginning ( 2nd line)
18 0x38 2 lines and 5×7 matrix
19 0x28 1 Line and 5x7 matrix
HOW TO USE LCD?
HOW TO IMPLEMENT LCD PROGRAM?
Applications
 Digital Energy meters
 Telephone Coin boxes.
 Gaming devices
 Calculators
Alternative Displays
8x1 LCD, 8x2 LCD, 16x4 LCD, I2C 16x2 LCD Display
Related Articles
16x2 LCD interface with Arduino

More Related Content

What's hot

slide_logic_family_pune_SE_comp
slide_logic_family_pune_SE_compslide_logic_family_pune_SE_comp
slide_logic_family_pune_SE_comp
hello_priti
 
Low Power VLSI Design
Low Power VLSI DesignLow Power VLSI Design
Low Power VLSI Design
Mahesh Dananjaya
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
Muthu Manickam
 
MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration
AKHIL MADANKAR
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
Gaurav Verma
 
Packaging of vlsi devices
Packaging of vlsi devicesPackaging of vlsi devices
Packaging of vlsi devices
Ashu0711
 
CMOS Topic 5 -_cmos_inverter
CMOS Topic 5 -_cmos_inverterCMOS Topic 5 -_cmos_inverter
CMOS Topic 5 -_cmos_inverter
Ikhwan_Fakrudin
 
8086
80868086
CMOS Logic Circuits
CMOS Logic CircuitsCMOS Logic Circuits
CMOS Logic Circuits
Marmik Kothari
 
Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051
Pantech ProLabs India Pvt Ltd
 
8086 modes
8086 modes8086 modes
8086 modes
PDFSHARE
 
Hardware View of Intel 8051
Hardware View of Intel 8051Hardware View of Intel 8051
Hardware View of Intel 8051
Sudhanshu Janwadkar
 
Layout & Stick Diagram Design Rules
Layout & Stick Diagram Design RulesLayout & Stick Diagram Design Rules
Layout & Stick Diagram Design Rules
varun kumar
 
Short Channel Effect In MOSFET
Short Channel Effect In MOSFETShort Channel Effect In MOSFET
Short Channel Effect In MOSFET
Sudhanshu Srivastava
 
8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
KanchanPatil34
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
Rashmi
 
CMOS
CMOS CMOS
Smart traffic light controller using verilog
Smart traffic light controller using verilogSmart traffic light controller using verilog
Smart traffic light controller using verilog
VaishaliVaishali14
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
Sudhanshu Janwadkar
 
8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
THANDAIAH PRABU
 

What's hot (20)

slide_logic_family_pune_SE_comp
slide_logic_family_pune_SE_compslide_logic_family_pune_SE_comp
slide_logic_family_pune_SE_comp
 
Low Power VLSI Design
Low Power VLSI DesignLow Power VLSI Design
Low Power VLSI Design
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
 
Packaging of vlsi devices
Packaging of vlsi devicesPackaging of vlsi devices
Packaging of vlsi devices
 
CMOS Topic 5 -_cmos_inverter
CMOS Topic 5 -_cmos_inverterCMOS Topic 5 -_cmos_inverter
CMOS Topic 5 -_cmos_inverter
 
8086
80868086
8086
 
CMOS Logic Circuits
CMOS Logic CircuitsCMOS Logic Circuits
CMOS Logic Circuits
 
Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051
 
8086 modes
8086 modes8086 modes
8086 modes
 
Hardware View of Intel 8051
Hardware View of Intel 8051Hardware View of Intel 8051
Hardware View of Intel 8051
 
Layout & Stick Diagram Design Rules
Layout & Stick Diagram Design RulesLayout & Stick Diagram Design Rules
Layout & Stick Diagram Design Rules
 
Short Channel Effect In MOSFET
Short Channel Effect In MOSFETShort Channel Effect In MOSFET
Short Channel Effect In MOSFET
 
8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
CMOS
CMOS CMOS
CMOS
 
Smart traffic light controller using verilog
Smart traffic light controller using verilogSmart traffic light controller using verilog
Smart traffic light controller using verilog
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
8051 MICROCONTROLLER
8051 MICROCONTROLLER 8051 MICROCONTROLLER
8051 MICROCONTROLLER
 

Similar to Lcd display

Lcd interfacing
Lcd interfacingLcd interfacing
Lcd interfacing
AshuKaranam
 
LCD Interacing with 8051
LCD Interacing with 8051LCD Interacing with 8051
LCD Interacing with 8051
Sudhanshu Janwadkar
 
Arduino based applications part 2
Arduino based applications part 2Arduino based applications part 2
Arduino based applications part 2
Jawaher Abdulwahab Fadhil
 
Hd44780a00 dtasheet
Hd44780a00 dtasheetHd44780a00 dtasheet
Hd44780a00 dtasheet
Santiago Diosdado
 
LCD (2).pptx
LCD (2).pptxLCD (2).pptx
LCD (2).pptx
AjayPrajapathi
 
Basic of Firmware & Embedded Software Programming in C
Basic of Firmware & Embedded Software Programming in CBasic of Firmware & Embedded Software Programming in C
Basic of Firmware & Embedded Software Programming in C
Kapil Thakar
 
Interfacing with LCD
Interfacing with LCDInterfacing with LCD
Interfacing with LCD
Ariel Tonatiuh Espindola
 
Microcontroller part 4
Microcontroller part 4Microcontroller part 4
Microcontroller part 4
Keroles karam khalil
 
Lecture mp 7(interface)
Lecture mp 7(interface)Lecture mp 7(interface)
Lecture mp 7(interface)
Salman Yousafzai
 
LCD WITH 8051.docx
LCD WITH 8051.docxLCD WITH 8051.docx
LCD WITH 8051.docx
bhattparthiv23
 
8051.pdf
8051.pdf8051.pdf
2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx
ISMT College
 
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
SoumyaGupta836456
 
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
Mafaz Ahmed
 
8085 micro processor
8085 micro processor8085 micro processor
8085 micro processor
Poojith Chowdhary
 
Introduction to embedded system & density based traffic light system
Introduction to embedded system & density based traffic light systemIntroduction to embedded system & density based traffic light system
Introduction to embedded system & density based traffic light system
Rani Loganathan
 
08_lcd.pdf
08_lcd.pdf08_lcd.pdf
08_lcd.pdf
ssusera55490
 
MCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016AMCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016A
Arkhom Jodtang
 
Calculator design with lcd using fpga
Calculator design with lcd using fpgaCalculator design with lcd using fpga
Calculator design with lcd using fpga
Hossam Hassan
 
ARM LCD Interfacing
ARM LCD Interfacing ARM LCD Interfacing
ARM LCD Interfacing
Veera Kumar
 

Similar to Lcd display (20)

Lcd interfacing
Lcd interfacingLcd interfacing
Lcd interfacing
 
LCD Interacing with 8051
LCD Interacing with 8051LCD Interacing with 8051
LCD Interacing with 8051
 
Arduino based applications part 2
Arduino based applications part 2Arduino based applications part 2
Arduino based applications part 2
 
Hd44780a00 dtasheet
Hd44780a00 dtasheetHd44780a00 dtasheet
Hd44780a00 dtasheet
 
LCD (2).pptx
LCD (2).pptxLCD (2).pptx
LCD (2).pptx
 
Basic of Firmware & Embedded Software Programming in C
Basic of Firmware & Embedded Software Programming in CBasic of Firmware & Embedded Software Programming in C
Basic of Firmware & Embedded Software Programming in C
 
Interfacing with LCD
Interfacing with LCDInterfacing with LCD
Interfacing with LCD
 
Microcontroller part 4
Microcontroller part 4Microcontroller part 4
Microcontroller part 4
 
Lecture mp 7(interface)
Lecture mp 7(interface)Lecture mp 7(interface)
Lecture mp 7(interface)
 
LCD WITH 8051.docx
LCD WITH 8051.docxLCD WITH 8051.docx
LCD WITH 8051.docx
 
8051.pdf
8051.pdf8051.pdf
8051.pdf
 
2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx
 
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
 
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
 
8085 micro processor
8085 micro processor8085 micro processor
8085 micro processor
 
Introduction to embedded system & density based traffic light system
Introduction to embedded system & density based traffic light systemIntroduction to embedded system & density based traffic light system
Introduction to embedded system & density based traffic light system
 
08_lcd.pdf
08_lcd.pdf08_lcd.pdf
08_lcd.pdf
 
MCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016AMCS51 Training board Model CATC2016A
MCS51 Training board Model CATC2016A
 
Calculator design with lcd using fpga
Calculator design with lcd using fpgaCalculator design with lcd using fpga
Calculator design with lcd using fpga
 
ARM LCD Interfacing
ARM LCD Interfacing ARM LCD Interfacing
ARM LCD Interfacing
 

Recently uploaded

VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
PIMR BHOPAL
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
Yasser Mahgoub
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
PriyankaKilaniya
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
upoux
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
mahaffeycheryld
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Gas agency management system project report.pdf
Gas agency management system project report.pdfGas agency management system project report.pdf
Gas agency management system project report.pdf
Kamal Acharya
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
Prakhyath Rai
 

Recently uploaded (20)

VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 
Generative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdfGenerative AI Use cases applications solutions and implementation.pdf
Generative AI Use cases applications solutions and implementation.pdf
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Gas agency management system project report.pdf
Gas agency management system project report.pdfGas agency management system project report.pdf
Gas agency management system project report.pdf
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
 

Lcd display

  • 1. https://technoelectronics44.blogspot.com/2020/08/16x2-lcd- display.html you can download source code 16X2 LCD DISPLAY LCD-Liquid Crystal Display Generally, these are small size displays, these are mainly useful in embedded products such as Coin box, Digital Energy meters, calculators, etc. These are different sizes in width like 16x1 LCD, 16x2 LCD, 16x4 LCD. 16x2 means 16- Rows and 2-columns, so it can print up to 32 characters. It has a 5x8 dot matrix to print a single character, so for a single character, it takes 5x8=40 pixels and for 32 characters it has 40x32=1280 pixels. 16x2 LCD Module 16x2 LCD - Pin diagram
  • 2. Features  Operating Voltage: 4.5v-5.5v  Output maximum current: 5ma  Total pins: 16  Built-in controller (HD44780 or Equivalent)  Back led color: Blue, Green, Yellow.  Rows /column: 16x2  Total characters: 16  Alphanumeric LCD display  It can operate in an 8-bit or 4-bit data mode.  5x8 dot matrix for character representation Pin configuration 1 Vss Ground 2 Vcc/Vdd 5v(Positive terminal) 3 VE Contrast (brightness adjustment) 4 RS Register Select (to select Data mode or command mode) 5 R/W Read / Write Operation 6 EN Enable 7 D0 Data pin 0 8 D1 Data pin 1 9 D2 Data pin 2 10 D3 Data pin 3 11 D4 Data pin 4 12 D5 Data pin 5 13 D6 Data pin 6 14 D7 Data pin 7 15 A Anode (Backlight positive terminal) 16 K Cathode (Backlight negative terminal) Power supply pins  Vdd – is the power supply positive pin  Vss – is the power supply negative pin  A – Anode terminal (positive terminal of Back Light LED)  K – Cathode terminal (Negative terminal of Back Light LED) Contrast pin
  • 3. Vee – to adjust the Backlight LED brightness By adjusting the voltage across this pin brightness will be adjust. Control pins  RS – Register select, it is useful to select the command mode or data mode of operation RS=0 for command mode, whereas RS=1 for data mode.  R/W – To perform the Read and write operation (Write Operation is an active LOW signal)  En –Enable pin, we can assign the instructions by triggering the Enable pin. Data pins D0-D8 = Usually it has 8-data pins. It supports two modes of operations.  8-bit data mode  4-bit data mode You can select any one of the modes by using the commands, and there is no effect on performance. Commands Sr. No Code Command description 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)/Entry mode 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 10 0x0E Display on, cursor on 11 0x0F Display on, cursor blinking 12 0x10 Shift cursor position to left by one character
  • 4. 13 0x14 Shift cursor position to right by one character 14 0x18 Shift the entire display to the left 15 0x1C Shift the entire display to the right 16 0x80 Force cursor to the beginning ( 1st line) 17 0xC0 Force cursor to the beginning ( 2nd line) 18 0x38 2 lines and 5×7 matrix 19 0x28 1 Line and 5x7 matrix HOW TO USE LCD? HOW TO IMPLEMENT LCD PROGRAM? Applications  Digital Energy meters  Telephone Coin boxes.  Gaming devices  Calculators Alternative Displays 8x1 LCD, 8x2 LCD, 16x4 LCD, I2C 16x2 LCD Display Related Articles 16x2 LCD interface with Arduino