Adding the HD44780-compatible 16x2 character display

Let's start our project by connecting the 16x2 character display to the Raspberry Pi and show some text on it using Java. When looking around on the Internet for a 16x2 character display, this will often be a HD44780-compatible one. These displays are quite affordable and are used in a lot of projects. Before we attach this display to the Raspberry Pi, we need to check what kind of backlight is being used as there are both LED and EL types. In our schematic and connections, we will be connecting a LCD with an LED backlight.

The character display has a parallel interface, which means we will need a lot of pins to connect the display. We will be communicating in 4-bit mode with the display ...

Get Raspberry Pi 3 Projects for Java Programmers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.