Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.

Ladyada'a LCD tutorial
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Ladyada'a LCD tutorial

by Transistor on Sat Mar 14, 2009 2:12 am


I am new to Arduino. I have purchased all necessary materials required for "Wiring up an LCD to an Arduino"

I have 2 questions;

1-) Can somone one please confirm that the pinout diagram is correct? I have the feeling that the text and the images showing the inserted cables are not identical.
For example;
The 1st numbers indicate the pin numbers on LCD and D is on the prototyping shield ki, the digital pins. is that corret? If that is so, the image below is incorrect.
1 -> (D7)
2 -> (D6)
3 -> (D5)
4 -> (D4)

2-) Related to the 1st question, can someone explain how to connect this Arduino.

Thank you very much
Posts: 1
Joined: Sat Mar 14, 2009 2:00 am

Re: Ladyada'a LCD tutorial

by eil on Sun Mar 15, 2009 1:10 am

Wow, I didn't even know ladyada had an LCD tutorial for the Arduino.

Your best bet is to look at the datasheet for your LCD to figure out what connects to what. You need to connect the following pins to the Arduino digital pins in order for it work: D4, D5, D6, D7, R/S, R/W, and ENABLE. It doesn't matter much which digital pins on the Arduino are connected to which pins of the LCD, because you define the pins in code anyway.

The tutorial is using the LCD4Bit library which I think is obsolete. Newer versions of the Arduino software come with the LiquidCrystal library which can drive these displays just fine. See the reference for more detail:
Posts: 440
Joined: Sun Aug 31, 2008 11:09 pm

Please be positive and constructive with your questions and comments.