16x2 LCD Display | Code | Circuit |Pin configuration | Specifications

LCD DISPLAY-16x2  

LCD-Liquid Crystal Display-HD44780

Generally, these are small size displays and are mainly used 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.


LCD-Module-16x2-TechnoElectronics44
 LCD Module 16x2
                                                              



LCD-Module-16x2-TechnoElectronics44
LCD-Module-16x2





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

LCD-Pin-Diagram-TechnoElectronics44
LCD_Pin_Diagram

 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

LCD-Brightness-TechnoElectronis44
LCD-Brightness

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 the operation, RS=0 for command mode, whereas RS=1 for data model.
  • 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, the cursor on

9

0x0C

Display on, cursor off

10

0x0E

Display on, a 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


DATASHEET






Other Articles








                

                        >>>HOME-TechnoElectronics44>>>

 

Post a Comment

0 Comments