Data Sheet
UCTRONICS Ultimate Starter Leaning Kit for Raspberry Pi #K0064
85 www.uctronics.com
8.11 Project 11: LCD1602
8.11.1 Overview
In this lesson, we will learn how to use a character display device — LCD1602 on the
Raspberry Pi platform. First, we make the LCD1602 display a string "Hello Geeks!" scrolling,
then display“ Uctronics” and“ www.uctronics.com” static.
8.11.2 Requirement
Raspberry Pi x 1
1x LCD1602 x 1
1x 10KΩ Potentiometer x 1
1x Breadboard x 1
Several Jumper wires
8.11.3 Principle
1. What
’
s LCD display ?
Please refer to chapter 3.6. LCD1602
2. The interface consists of the following pins
● A register select (RS) pin that controls where in the LCD's memory you're writing data to.
You can select either the data register, which holds what goes on the screen, or an
instruction register, which is where the LCD's controller looks for instructions on what to do
next.
● A Read/Write (R/W) pin that selects reading mode or writing mode
● An Enable pin that enables writing to the registers
● 8 data pins (D0-D7). The status of these pins (high or low) are the bits that you're writing
to a register when you write, or the values when you read.
● There's also a display contrast pin (Vo), power supply pins (+5V and Gnd) and LED
Backlight (Bklt+ and BKlt-) pins that you can use to power the LCD, control the display
contrast, and turn on or off the LED backlight respectively.
The process of controlling the display involves putting the data that form the image of what
you want to display into the data registers, then putting instructions in the instruction