User Manual
Table Of Contents
VMP502
V. 02 – 25/10/2019 42 ©Velleman nv
6.12 LCD1602 Module
We will see how to use the LCD1602 to display character strings.
Required Hardware
• 1 x Raspberry Pi
®
• 1 x breadboard
• 1 x LCD1602
• 1 x potentiometer
• jumper wires as needed
The LCD1602 is a dot matrix used to display characters, symbols, etc. It uses the standard 16-pin port:
Pin 1 (GND)
Connect to ground.
Pin 2 (Vcc)
Connect to 5 V positive power supply.
Pin 3 (Vo)
Used to adjust the contrast of the LCD1602. The level is lowest when it is connected to
positive power supply, and highest when connected to ground. You can connect a 10K
potentiometer to adjust its contrast when using the LCD1602.
Pin 4 (RS)
Selects the data register when supplied with high level (1) and instruction register when
supplied with low level (0).
Pin 5 (R/W)
Reads the signals when supplied with high level (1) and writes signals when supplied with
low level (0). Here, we only need to write data to the LCD1602.
Pin 6 (E)
Enable pin when supplied with low level. The LCD module will execute relevant
instructions.
Pin 7 (D0-D7)
Pins reading and writing data.
A and K
Power source for LCD backlight.
The LCD1602 has two operating modes: 4-bit and 8-bit. When the IOs of the microprocessor are insufficient,
choose the 4-bit mode, under which only pins D4 to D7 are used.










