Instructables
loading
loading
Picture of Connect A 16x2 LCD Display To An Arduino
Welcome to my FIRST instructable,

i will show you how to connect a 16x2 lcd display to an arduino,

follow these simple step by step instructions and you will have it done in no time :)
 
Remove these adsRemove these ads by Signing Up

Step 1: Gather All The Items You Need :)

Picture of Gather All The Items You Need :)
You Need The Following Items :

Arduino
LCD Display 16x2
Jumper Wires
Breadboard
Stripboard
Header Pins
Electrical Tape ( White If Possible )

Tools Needed :

Soldering Iron
Wire Strippers
Pliers
Soldering Iron
Flux ( Liquid Or Solid )
Soldering Iron Cleaner
Tape Dispenser ( Makes Life So Much Easier )
Small Side Cutters
Permanent Marker Pen

Step 2: Solder Header Pins To LCD Display

Picture of Solder Header Pins To LCD Display
IMG-20130410-02330.jpg
IMG-20130410-02336.jpg
IMG-20130410-02337.jpg
IMG-20130410-02339.jpg
IMG-20130410-02340.jpg
IMG-20130410-02341.jpg
We need to solder the header pins to the LCD display,

the header pins i have are 2.0mm and you need the 2.5mm pins to fit the LCD display,

so mine didn't fit because the were to close together, so i decided to cut my header pins into groups of 2,

after i cut them into groups of 2, i could put 1 group of 2 in 2 pins, 

when you insert them, turn the display over and apply a small amount of solder to each terminal,

ensuring that all the terminals are soldered,

they should all be the same length, not bent, loose or too short.
pabell2 months ago

Great instructable, What is I wanted to display different information on lcd, would can this be accomplished using your model? with slight modification of code and pins?

shanecoley (author)  pabell2 months ago
TO CHANGE the text of the display, find the following values :

lcd.print(" **Text for line 1 of LCD**");

lcd.print(" **Text for line 2 of LCD**");

And then change the part that says :

**Text for line 1 of LCD**

**Text for line 2 of LCD**
pabell shanecoley2 months ago

Ok thanks, I figured that part. In your "added Extras" you have 2 LCD's what if I wanted to add different txt to each LCD? would it be be a simple matter of duplicating the code and renaming LCD. to lcd2 and changing the pin?

Amjadalbarail3 months ago

good job !
thanks