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.

Beginning LCDs

Beginning LCDs
NOTE: I finally got my camera figured out so there should only be 1 or 2 blurry images. On with the Instructable!


LCDs are one of the coolest things to add to any project right now. You can use them to display things from the speed of your bike, to the amount of room being used up on your RAM. This Instructable will give you a general description on how LCDs work, and how to get started using them. The information provided here will give you enough information to even develop control circuits on any Microcontroller. LCDs are a lot simpler than you think!
 
Remove these adsRemove these ads by Signing Up
 

Step 1How They Work

How They Work
Most LCDs have a HD44780 LCD driver in them. The HD44780 is the most common LCD driver and is very easy to connect to. A LCD with this driver typically has 14 or 16 pin, with the first being ground and the second being 5V+. This is the only LCD type I will cover today being it is so common. Very common. LCDs of this type are parallel devices. That means that 8 bits of data are sent side by side (or parallel to each other) instead of in line. This is also the way parallel printer ports work which is why it such a popular decision to connect a LCD to a parallel port. Data is sent to LCD screens in a kind of 8-bit Binary ASCII code. For example: 01000001 translates to a capital a. 01000001=A. There are special symbols too like: 11110100=the Pi sign. In the instance of HD44780 driven LCDs, the first bit of data is the 14th pin and the last bit of data is the 7th pin. Unless you haven't figured it out already, this means that building a test rig, or interfacing to a microcontroller would be very simple.
« Previous StepDownload PDFView All StepsNext Step »
87 comments
1-40 of 87next »
Mar 2, 2012. 7:55 PMmgingerich says:
No need for a debounce circuit. A transistor and 100 ohm resistor did the trick for me. I connected the output pin of a microcontroller to the base, wired one gate to the LCD's enable pin, and put a 100 ohm resistor between the last pin and ground.
Mar 2, 2012. 7:57 PMmgingerich says:
Oh, and by the way, nice instructable. You really helped me figure out my LCD
Aug 7, 2011. 3:56 AMmazoo says:
Hi could you please advise using the following on how to connect the lcd as per pics.?
thanks
this is a v5 shield which is supposed to handle this.

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=150632164582&ssPageName=ADME:L:OC:US:1123

just not 100 percent sure on how to proceed!
Are you able to advise
thanks

Aug 8, 2011. 2:47 PMmazoo says:
Thanks for your prompt input!

I had already tried the sketch from the mnfrs. site but get errors. The unit is connected correctly onto the board and I get a "blue lit' screen so that works. when you mention "addressing" should the original code registers ? this is the original code error.

I am fighting with this and have checked out all the I2C tuts...
much appreciated in advance any further input will be appreciated !
Aug 3, 2011. 8:52 AMjacques3 says:
sorry i dont know the wiring diagram for this model numger here- it says
80041R03
HP19507RBU-XO-CO
G 070517
what is toe model number and wiring diagram pls! pls!! pls!!!
thank you alot
Jul 19, 2009. 10:21 AMrobot+more says:
mine is off a couculater and hase 28
Aug 4, 2011. 7:12 AMjacques3 says:
how do you wire it up
Aug 3, 2011. 9:00 AMjacques3 says:
oh my lcd has 23 pins
May 21, 2010. 1:14 AMrahimkv says:
how can i add bigger lcd to a mp3 modulators used in cars lighter socket? anybody has some idea?
Oct 14, 2009. 2:03 PMKentaGrace says:
My LCD has a backlight, but only 14 pins.  The model number isRT0802B, its got 8 characters per line, and 2 lines.
This is what the unit looks like on the bottom.  I'm not quite surehow the wiring is different on this one?  Can you help me out?

Oct 14, 2009. 2:57 PMakatsuki666 says:
i <3 u!!!!!!!!!!!!!!i <3 u!!!!!!!!!!!!!!i <3 u!!!!!!!!!!!!!!i<3 u!!!!!!!!!!!!!!
Sep 12, 2009. 6:45 AMColonel88 says:
That is so complicated O.o
Aug 31, 2009. 7:22 PMmacattackct says:
How can i use a computer keyboard to type on an LCD display?
Aug 31, 2009. 8:22 PMalex-sharetskiy says:
if you program it right
Sep 7, 2009. 6:37 PMmacattackct says:
Yes, but how? what code, serial inputs...?
Sep 8, 2009. 6:37 AMalex-sharetskiy says:
that i'm not sure ask
klee27x, he is an experienced PIC programmer
Apr 13, 2009. 8:43 AMChewy1993 says:
Anyone know how to connect the LCD that's in a kodak easyshare c330? I've had this piece of crap camera for years, and it's been sitting in a drawer for half that (new camera!) It's a color AU a015an03 screen. I was trying to convert the camera to only see near IR/ IR. I put in the wrong filter (don't use floppies, they turn out very red, and it's quality isn't great.). I went in again, to take it out/wait for later, and broke a ribbon cable -.- so i salvaged parts (capacitors, etc) and the screen was one of the parts i took. :D
Feb 12, 2009. 11:08 AMa_d777 says:
Hey nice instructable... well, i am having some problem out here with my projects... i just entered into the world of LCD and discovered there are 2 types of 'em...i.e. Common cathode and common anode. which LCD is better and most widely used?? also ,i want to make a temp/humidity sensor using pic16f628a and a sensirion sensor that shows the data on an LCD...which LCD do i use(common cathode or anode??) ... if anyone has the compiled code+schematic for this project, plzzzz mail it to me! Thanks
Mar 25, 2009. 6:24 PMbman22 says:
I'm sorry, but that didn't make much sense. common cathode and common anode sound like LED's to me. There are different kinds of lcd's (different controllers and interface types), but neither of those are them. Also, this has no code. It is for directly controlling the LCD. If you want code for controlling the lcd via a microcontroller, well, it depends on the kind of controller you are using.
Mar 2, 2009. 2:43 PMMario1 says:
So pin 4 of the lcd display puts it in write mode right?
Feb 12, 2009. 12:53 PMgeoper2 says:
when u r soldering in this board wats the best way to solder them together cause i tried like that and i saw that it needs much solder
Feb 1, 2009. 11:28 AMl96470fps says:
please could could you give me any tips or information on changing lcd's, eg. take green lcd from sky/ virgin media box and change it with the screen on a calculator?
Dec 21, 2008. 5:51 PMbman22 says:
i have a 3.3 volt lcd. do i still use the 4.7k resistors, or should i use something else.
Dec 24, 2008. 1:13 PMbman22 says:
can you recommend a value to try. I don't really have any resistors lying around, so I have to buy them. It would be nice to only have to buy what I need
Dec 9, 2008. 5:02 PM8bit says:
This will help a lot! Thanks!
Oct 1, 2008. 8:34 AMmedian says:
can someone please tell me where to buy a LCD screen? one that is used in this project
Oct 19, 2008. 4:31 PMturtleshane says:
yeah i couldnt find that driver
Oct 26, 2008. 4:01 PMturtleshane says:
cool thanx then i know exactly which one to buy
Oct 19, 2008. 2:06 PMturtleshane says:
sooo i was thinkin bout making this thing like a texting device, the general idea would be to send the binary code to another rigs lcd (rig being this lcd project)
would these work http://parallax.com/Store/Accessories/Communication/tabid/161/CategoryID/36/List/0/Level/a/ProductID/111/Default.aspx?SortField=ProductName%2cProductName yeah the link long but i think it could work but im a little confused how

1-40 of 87next »

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!
11
Followers
5
Author:gimmelotsarobots
Making a better tomorrow, tomorrow.