Lesson 35 LCD1602 Display
Introduction
LCD1602:
1602 crystal, or 1602 character crystal, is a dot-matrix crystal display module used
specially to display letters, numbers, symbol, etc. It's composed of several dot-matrix
character bits, each of which can display one character. The character bits are separated
by one dot pitch and there's a gap between each line. Therefore, characters are spaced
within and between lines.
The name 1602 LCD indicates that the display is 16x2, that is, two lines with 16 characters
in each.
PCF8574-based I2C Interface Module:
Since there are limited I/O ports on the Raspberry Pi, if you use them to drive the
LCD1602, it needs many of the ports and there may be insufficient to connect other
devices. To solve this problem, an IIC (or I2C) Interface Module based on PCF8574 is
designed to extend the I/O ports of the Raspberry Pi. You only need two wires (SDA and
SCL) to control the LCD1602 and save many ports for the board to connect more sensors.
Components
- 1 * Raspberry Pi
- 1 * GPIO Extension Board
- 1 * 40-Pin GPIO Cable
- 1 * Breadboard
- 1 * LCD1602
- 1 * Potentiometer Module
- 1 * I2C Interface Module
- 1 * 3-Pin Wires
- 1 * 4-Pin Wires
- Several Jumper Wires
Experimental Principle
The Fritzing image:
The Physical picture: