Arduino: Arduino LCD Tutorial




What do you think about this video?

Clément Galas: Hi nice video thanks what is the exact name of your display ?

Dartec: Fantastic and easy to follow video, many thanks, I feel ready to LCD to my projects. You dont do a video on the 4D OLED displays I have the 160 with connected to my Picaxe would like to use with Arduino?

Ron Sprenkels: mine suffers from the exact same problem. See the item at hobbyking. Tried lots of things, nothing so far has helped a thing.

flymerlion: Wow, that was quick! Thanks a lot... I needed the PWM pins to control my servos so couldn't compromise them for the LCD. Oh and is there a way to control my servos without PWM? I'm planning to use an Arduino Mega 2560 which has 54 digital I/O pins out of which 14 and PWM. But My project uses 17 servos...

000Plasma000: Double check your code and connections! 99% of the time its the connections that are the issue. Wire it up as per the LiquidCrystal "Hello World" example and run the example sketch to test your display (although it's very unlikely that your display itself has a problem)! Once you get it up and running, play around with some of the other features of the device :)

iampkify: Excellent video - it gave me everything I wanted and more. Many thanks!

Shockszzbyyous: hey i recently made a way you can hook up more lcd's only with two wire's with the ic i used you could controle 8 displays! with only two wire's ... tkkrlab(dot)nl/wiki/Lcd_through_IOexpander

iMacPwn: Help my lcd is a 16x2 blue and white and it only shows white blocks on the first line nothing else what do i do :/

fabiuh991: any way to connect more than 1 16x2 lcd to the arduino? (5lcd)

igrewold: I think LadyADA website.

m1n2b3v4: That was really helpful, thank you

000Plasma000: Double check your code and connections! 99% of the time its the connections that are the issue. Wire it up as per the LiquidCrystal "Hello World" example and run the example sketch to test your display (although it's very unlikely that your display itself has a problem)! The row of white blocks only on top indicates your contrast and all is fine, but the display isn't receiving the right signals. Once you get it up and running, play around with some of the other features of the device :)

000Plasma000: The TX/RX pins are only used for serial communications. In the case of this example program, the only time the Arduino is going to be using those pins for that purpose is when uploading the program to the chip (as there is no serial data being sent/received in this program). When this happens, the bootloader firmware inside the Arduino multiplexes the pins for serial comms to let the file be uploaded, then lets the program do whatever with them after burning the it onto the chip.

Sandy Lloyd Jr: He says it exactly at 1:45 - 2.01. Everything you need to know, he mentions in the video. Watch it and pay attention.

Nephthalem: Great tutorial. However, I noticed that, in the schematic, the E pin on the LCD is connected to the TX pin 0 on the Arduino and that the D0 pin is connected to the RX pin 1. In the sketch, pins 0 and 1 are listed. I wouldn't think that the LiquidCrystal.h library would allow the inclusion of the TX/RX pins. I'm just wondering how that works.

Shockszzbyyous: @lolypopboy777 i/o expander or shiftregisters can save you some pins :)

revengeofsuperman: Can I use other I/O pins to the LCD? Because I want to use PWM also. And can I adjust frequency and duty cycle with PWM using buttons in arduino?

BanquoTheMaker: Americans don't pronounce it, the rest of the world does ^^

Al Roids: Very informative and easy to understand! very informational! thanks for the upload!

WirkalaGomes: Great starting point, but there is an error in the code. The way the wires are setup, the order of LiquidCrystal initialization needs to switch the first two numbers. So the right line is: LiquidCrystal lcd(12, 13, 0, 1, 2, 3, 4, 5, 6, 7, 8);

whitemousegary: Your code has a bug in it. A 16-character-string requires 17 character space. So, "char outputCount[16];" will give you a memory corruption whenever your program write to the sixteenth character. In your case, the problem would happen at itoa() and printIn().

SaimSaeed96: may i please know how you got that code

MarsSheep: Hi, can you do video about connetcting arduino with TFT01-3.2 or TFT01-2.4 TFTLCD moduls? Thanks

000Plasma000: Really nice video, it provides a good, solid foundation for beginners (...that frustrating time when you just can't get anything to work - I remember it!), with enough information to let people actually learn from what they're doing!

Shockszzbyyous: uh is it that handy to put wire connections on pin 0 and 1 ? since these are serial pins ...

flymerlion: Hey umm, do you need to connect the LCD digital pins to the Arduino's PWM outputs or is it alright if we connect them to the normal digital I/O pins?

HustleTV: Thank You!

rotjesenmatjes: @DerekMolloyDCU I really hoped you could give me some ideas on this, i want to make a hacked calculator with the arduino, looking like a normal calculator, but on the inside an Arduino, once pressing a code onto the calculator, you get into a game mode, or maby a notepad mode, so you can.. write secret stuff, or play games on it once your done with lets say, a test. Thanks in advance. Olaf.

robot797: boo for lead free solder 2% flux lead thin 40/60 best

dallatorretdu: I bought an LCD like yours (just the lcd on the green board) for about 8 euros... I must try how to make it work someday

Curtis Newton: why dont you use the regular library ? it works fine in 4 bits mode

lolypopboy777: Ohh god.. I need an Aarduino mega now! There is no inputs/outputs left!!! :o

PozR: IMO there is too many displays shown, the code posted at 1:45 doesn't work. I have a screen with boxes as iMacPwn mentioned except mine are on the second line. If you had separated the various screens it may had been clearer to newbies such as myself. Seems to be a case of knowing too much to teach the basics. There are a lot of these on youtube. For myself I wanted the counting function of your display to sense a light that is draining a battery charged on my Bedini pulse oscillator.

twankyparty: Thanks - very helpful video, just one thing: you don't pronounce the "L" in "solder" (see dictionary d-o-t com) thanks for the video though.

PaulStoffregen: Looks like you've used (without permission) my 8051 development board schematic as the background image for your "DCU Engineering" intro.

iamdatdude1619: HI I LOVE UR VIDS! please answer this for me.ive been learning a bit of arduino and c++ so how come we didn't use printf function? also what happen to namespace and stdio.h how come every thing looks different?

Rating:
Arduino: Arduino LCD Tutorial 4.9 out of 5

Shared by Others

Arduino (Uno R3) Starter Kit Unboxing and Review
Arduino (Uno R3) Starter Kit Unboxing and Review
Review of the Arduino Starter Kit
Review of the Arduino Starter Kit
Arduino Quadcopter - Phase 3 (The Rebuild. Part Reviews and Tips)
Arduino Quadcopter - Phase 3 (The Rebuild. Part Reviews and Tips)
DFRobot Arduino Comparison - RUG Community Robot Reviews
DFRobot Arduino Comparison - RUG Community Robot Reviews
Arduino Quadcopter - Phase 2 (Mobile Control)
Arduino Quadcopter - Phase 2 (Mobile Control)
Arduino Quadcopter  - Phase 1 (Xbee Test)
Arduino Quadcopter - Phase 1 (Xbee Test)
Arduino Starter Kit Unboxing
Arduino Starter Kit Unboxing
DFRobot Arduino Mobile Platform Review - Part 1 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 1 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 9 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 9 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 2 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 2 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 3 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 3 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 5 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 5 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 4 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 4 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 7 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 7 - RUG Community Robot Review
Heart Rate Monitor using Android and Arduino
Heart Rate Monitor using Android and Arduino
DFRobot Arduino Mobile Platform Review - Part 8 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 8 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 6 - RUG Community Robot Review
DFRobot Arduino Mobile Platform Review - Part 6 - RUG Community Robot Review
Arduino Mega (2560) and Uno r3 unbox / discussion
Arduino Mega (2560) and Uno r3 unbox / discussion

Featured Video