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.
Содержание VMP502
Страница 1: ...VMP502 BASIC LEARNING KIT FOR RASPBERRY PI USER MANUAL...
Страница 8: ...VMP502 V 02 25 10 2019 8 Velleman nv Programming C Programming Python Programming...
Страница 11: ...VMP502 V 02 25 10 2019 11 Velleman nv Programming C Programming...
Страница 17: ...VMP502 V 02 25 10 2019 17 Velleman nv Programming C Programming...
Страница 18: ...VMP502 V 02 25 10 2019 18 Velleman nv Python Programming...
Страница 21: ...VMP502 V 02 25 10 2019 21 Velleman nv Programming C Programming Python Programming...
Страница 27: ...VMP502 V 02 25 10 2019 27 Velleman nv Programming C Programming Python Programming...
Страница 30: ...VMP502 V 02 25 10 2019 30 Velleman nv...
Страница 31: ...VMP502 V 02 25 10 2019 31 Velleman nv Python Programming...
Страница 32: ...VMP502 V 02 25 10 2019 32 Velleman nv...
Страница 36: ...VMP502 V 02 25 10 2019 36 Velleman nv Python Programming...
Страница 40: ...VMP502 V 02 25 10 2019 40 Velleman nv...
Страница 41: ...VMP502 V 02 25 10 2019 41 Velleman nv Python Programming...
Страница 44: ...VMP502 V 02 25 10 2019 44 Velleman nv...
Страница 45: ...VMP502 V 02 25 10 2019 45 Velleman nv Python Programming...
Страница 46: ...VMP502 V 02 25 10 2019 46 Velleman nv...
Страница 47: ...VMP502 V 02 25 10 2019 47 Velleman nv...
Страница 48: ...VMP502 V 02 25 10 2019 48 Velleman nv...
Страница 49: ...VMP502 V 02 25 10 2019 49 Velleman nv...