LCD Display 16 x 2 Introduction

In our blog post today we will present our AZ-Delivery 16x2 LCD Display before and show you how to set it up right.



Using an LCD (Liquid Crystal Display), such as the AZ-Delivery 16x2 LCD Display kann man Text und andere Symbole ausgeben. In this case, 16x2 means that the display has 16 characters per line and a total of two lines. Another typical display size would be 20x4, that is, 20 characters per line at four lines. The space for each character consists of eight pixels by five. So you can also have your own symbols, such as Smileys, display alongside the alphabet and numbers.



Around the AZ-Delivery 16x2 LCD Display with aMicrocontroller compatible with Arduino UNO R3 You can simply place the display over the breadboard and lead the Jumper Wire through the individual contacts to the breadboard. This allows you to use the LCD without soldering. Another way would be to solder a pin bar to the display. The pins of the display are numbered from 1 to 16, which is why the wiring is easily off hand: pin 1, 3, 5, 16 of the display must be connected to the ground of the Arduino, pin 2 with the +5V. Pin 15 is responsible for the background lighting. Typically, however, it is connected to +3.3V, but it can also be connected to +5V, for a particularly strong background lighting or a digital pin of the Arduino to change the strength. The remaining pins must be connected as follows:

Pin on display pin des arduino
4 / RS 12
6 / E 11
11 / D4 5
12 / D5 4
13 / D6 3
14 / D7 2


Use of the LCD display

To now display something on the LCD display, you can use the LiquidCrystal library (see Insert Library Manager in Arduino IDE under Sketch > Library > Manage Libraries).

In the file > examples > LiquidCrystal > Hello World you can get a simple example sketch, using the “Hello World” to display on the display.
The first step is to

#include <LiquidCrystal.h>

reloaded the bibibliothek.

Then you can create the command

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

an object of the type LiquidCrystal called lcd, which represents the LCD display.

With this object we can now address the LCD display and output text (see setup part of the skit). In the repetitive loop part, the cursor is then constantly set to the first character of the second line (counting begins at zero therefore setCursor(0, 1);) and then from there the number of milliseconds since the start of the Arduino is issued. The cursor must be reset to this spot each time, otherwise after the first edition it is at the end of the number, and then the second value would not overwrite the first, but be written behind the first.

We hope our introduction to AZ-Delivery 16x2 LCD Display hat dir gefallen - über Rückmeldungen dazu mithilfe der Kommentarfunktion freuen wir uns sehr!

In unserem nächsten Blog Post gibt es eine Einführung in die Handhabe mit unserem HC-05 Bluetooth module. You will find the tutorial on our blog from tomorrow onwards, so best to stop by daily to find exciting tutorials and great projects!


Team AZ-Delivery


1 comment



Hallo, habt ihr das 16×2 Display auch mit eingelöteten Pins für das Breadboard?
Grüße Peter

Leave a comment

All comments are moderated before being published

Recommended blog posts

  1. Install ESP32 now from the board manager
  2. Lüftersteuerung Raspberry Pi
  3. Arduino IDE - Programmieren für Einsteiger - Teil 1
  4. ESP32 - das Multitalent
  5. OTA - Over the Air - ESP programming via WLAN