How to Interface LCD (16X2) to Arduino

Introduction: How to Interface LCD (16X2) to Arduino

This instructables explains you regarding interfacing LCD(Liquid Crystal Dispaly ) 16X2 to arduino.

Some basics Points regarding LCD :-

  • LCD consists of 16 rows and 2 columns of 5×7 or 5×8 LCD dot matrices.
  • LCD is available in a 16 pin package with back light ,contrast adjustment function and each dot matrix has 5×8 dot resolution.
  • The JHD162A has two built in registers namely data register and command register.
  • Data register is for placing the data to be displayed , and the command register is to place the commands.

  • The 16×2 LCD module has a set of commands each meant for doing a particular job with the display.

Hardware Components Required:-

1) LCD JHD162A (Liquid Crystal Display)

2) Arduino

3)10k Resistor Pot

4) BreadBoard

Step 1: Hardware Connections

LCD (Liquid Crystal Display) Interfacing to Arduino and Resistor 10k Pot

LCD Pin 1 (GND) Connected to Arduino ground and Resistor 10k Pot One End.

LCD Pin 2 (Vcc) Connected to Arduino 5volts and Resistor 10k Pot One End.

LCD Pin 3 Connect to Resistor 10k Pot Middle pin.

LCD Pin 4 Connected to Arduino 7th Pin

LCD Pin 5 Connected to Arduino Ground Pin

LCD Pin 6 Connected to Arduino 6th Pin

LCD Pin 11 Connected to Arduino 8th Pin
LCD Pin 12 Connected to Arduino 9th Pin

LCD Pin 13 Connected to Arduino 10th Pin

LCD pin 14 Connected to Arduino 11th Pin

LCD pin 15 Connected to Arduino 5v Pin // Used for Back light

LCD pin 16 Connected to Arduino Ground Pin // Used for Back light

Step 2: Program and Results

Copy and Paste below code in Arduino New sketch. Compile and Upload it to Arduino Uno.

// include the library code:


// initialize the library with the numbers of the interface pins

LiquidCrystal lcd(7, 6, 8, 9, 10, 11);

void setup()


// set up the LCD's number of columns and rows:

lcd.begin(16, 2); // Print a message to the LCD.

lcd.print("TechPonder"); }

void loop()

{ // set the cursor to column 0, line 1 // (note: line 1 is the second row, since counting begins with 0): lcd.setCursor(0, 0);

lcd.print(" TechPonder ");


lcd.print(" Arduino LCD ");


Please View the Results in below Video



2 People Made This Project!


  • For the Home Contest

    For the Home Contest
  • Make It Bridge

    Make It Bridge
  • Big and Small Contest

    Big and Small Contest



Question 2 years ago on Step 2

" LCD"n'a pas été déclaré dans se domaine voilà mon message d'erreur quelqu'un peut m'aider


6 years ago

this isnt very clear if you could show step by step wiring using a bread bord it would be preffered


6 years ago

Hey anyone could tell me please how to learn programming arduino


7 years ago

Did you follow the same steps as mentioned above ..


7 years ago

why my arduino not display any word ..