How To Work With 16/2 LCD Display


In this article, we are going to see how to work with 16/2 LCD Display using Arduino. We are going to display the "Hello World" cursor from left to right. 
“The world will know you when you display what you are to the world.”
Requirements are,
  1. LCD Display 16/2.
  2. Arduino UNO
  3. Arduino Software
  4. Bread Board
  5. Jumper cables
We have LCD 16/2 Display and the pin configurations are:
  • 1st pin and 16th pin are Ground pins
  • 2nd  and 15th pins are Vcc pins
  • 3rd pin is contrast control pins
  • 4th  pin is Registry select pins
  • 5th pin is Read and Write pins, High to this pins is for the Read function and Low to this pin is Write function. We use Low here.
  • 6th pin is Enable pin which enables the Liquid Crystal.
  • There are 8 Data pins from the  7th pin to the 14th pin. It can be operated from the 8-bit mode and 4-bit mode. In our case, a 4-bit mode can do everything. That is using Pins 11 to 14 of the Liquid Crystal.
Circuit Diagram
As per the Circuit Diagram, we have to give the connection and move on to the Arduino Software.
Steps to follow
Step 1
Open the Arduino Software.
Step 2
Include Liquid Crystal Header File. 
Step 3
Initialize the library with the number of Interface pins.
Step 4
Set up a number of rows and columns and print the message.
Step 5
In Void Loop, turn on and off the cursor with a delay of 500 milliseconds. 
Step 6
Verify the code and upload it to the Arduino. 


From this article, we have learned how to use Liquid Crystal with Arduino. We also learned how to display a message on the LCD display. We have learned about the pins of the Liquid Crystal.