Alternatively, you can also drive the screen directly from the Raspberry Pi with the following connections:
LCD |
VSS |
VDD |
V0 |
RS |
RW |
E |
DB4 |
DB5 |
DB6 |
DB7 |
LCD Pin |
1 |
2 |
3 |
4 |
5 |
6 |
11 |
12 |
13 |
14 |
Raspberry Pi GPIO |
6 (GND) |
2 (5V) |
Contrast |
11 |
13 (GND) |
15 |
12 |
16 |
18 |
22 |
The preceding table lists the connections required between the Raspberry Pi and the HD44780-compatible, alphanumeric display module.
The contrast pin (V0) can be connected to a variable resistor as before (with one side connected to the 5 V supply and the other to GND); although, depending on the screen, you may find you can connect directly ...