Introduction

  • LCD 16x2 pinout
  • LCD commands
  • ASCII
  • Example

(30 minutes)


LCD 16x2 pinout

Pay attention to the connection of the LCD to the microcontroller. We can use any output pin of any PORT.


Pin

Type

Description

RS

Control

Register Select

1 => Data

0 => Command

R/ Ŵ

Control

Read / Write

0 => Write to register

1 => Read from register

E

Control

Enable

D0-D7

Data

Bidirectional data bus