3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Connecting an LCD to the Arduino

Connecting an LCD to the Arduino
In this instructable we’ll be looking at how to connect a parallel LCD to an Arduino. The LCD that I am using uses the common HD44780 interface.  Many LCDs have this, you can usually tell by the 16-pin interface. You only need to solder 10 of the 16 wires to use the LCD, but this will only enable you to use the 4-bit interface.
 
Materials:
 
Arduino (with USB cable)
 
HD44780-compatible LCD screen
 
10 Jumper wires

1 10k Potentiometer
 
Tools:
 
Soldering Iron
 
Helping Hands (optional)
 
Let’s get started!
 
Remove these adsRemove these ads by Signing Up
 

Step 1Connecting the Jumper Wires

Connecting the Jumper Wires

     The first step we need to do is connect the pins to the LCD.  For those interested, you can find the datasheet here.
    
     I got my LCD from sparkfun, and you can buy one here.
As I mentioned before, you only need to connect 10 pins.  Solder jumpers to these wires:


Pin 1 - Ground
Pin 2 - +5V
Pin 3 - Contrast Adjustment
Pin 4 - H/L Register Select
Pin 5 - H/L Read/Write
Pin 6 - H/L Enable
Pin 11 - DB4
Pin 12 - DB5
Pin 13 - DB6
Pin 14 - DB7

As shown in the picture below:

Pin 1 to GND
Pin 2 to 5V
Pin 3 to wiper
Pin 4 to Arduino pin 12
Pin 5 to GND
Pin 6 to Arduino pin 11
Pin 11 to Arduino pin 5 
Pin 12 to pin 4
Pin 13 to pin 3
Pin 14 to pin 2

Because we will only be writing, pin 5 will be dropped to ground to show that there will be no reading.  For those who wish to use the backlight, connect LCD pin 16 to GND and LCD pin 15 to +4.2V. 

Connect one side of the pot to GND, the opposite to %v, and the center to LCD pin 3.  Now you're in business.

 

« Previous StepDownload PDFView All StepsNext Step »
17 comments
Nov 11, 2011. 5:30 AMcoder512 says:
What do you mean by the wiper part , i didn't get that !!
Pin 3 to wiper ?????
Apr 30, 2012. 5:31 PMTheBookworm says:
the middle pin of your potentometer

Connect either end to +5v and ground, and wiper will be the middle pin
Dec 4, 2011. 1:19 PMJeff_ says:
followed the guide and i only get some weird signs on it but no hello world
Jul 3, 2011. 10:47 AMprateekk says:
hi ! can u plz tell me the link to the software with the help of which i can boot a programe/code into my arduino...??
like i hav avr for atmel micro controllers.
plz help!!
Oct 7, 2010. 8:02 AMandy70707 says:
Thanks, great instructable, I just got my arduino today and this was my first project!
May 3, 2011. 7:11 PMThe nerdling says:
ardino's are awesome your rate of fun projects will go up by the hundreds
Oct 7, 2010. 7:17 PManselmi says:
i wired mine just like this and the lcd wont light up or show any thing
if any one could help me i would really appreciate it
May 3, 2011. 7:08 PMThe nerdling says:
have you connected the enable pin to 5v or gnd or pin 5?
May 3, 2011. 7:07 PMThe nerdling says:
everyone pin 15 and 16 are the backlight pins.
i connected them into 5v with a 140& resistor
if your wondering how i got the ohm sighn i used character map in windows
Apr 6, 2011. 10:49 AMheleniovix says:
i will try in proto-board.
Sep 27, 2010. 4:47 PMRobot Lover says:
I set it up right but all i get are boxes. What should i do?
May 15, 2010. 4:27 AMDerin says:
Help! I did all you said but I only get black boxes on the LCD. What should I do?
Mar 9, 2010. 4:41 AMfrollard says:
May I recommend hooking the backlight led to a pwm pin via a resistor, or with a protection resistor via a transistor (if the backlight pulls too much current for the atmega pin to handle).  Variable brightness ftw!

Good writeup!

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
1
Followers
3
Author:crocboy
I love to build stuff.