How to Use an LCD - Arduino

Introduction: How to Use an LCD - Arduino

About: Hi! I'm Hugo, 15 yo student from the Alps. I spend most of my spare time programming, tinkering, building electronic stuff, observing planets through my telescope, learning to pilot airplanes, reading and day…

Let's learn how to use an LCD (Liquid Crystal Display) with an Arduino board.

Step 1: Hardware Needed

-An Arduino Uno

-A breadboard

-Jumper wires

-A 10K potentiometer

-And an LCD of course !

You won't need any tool.

Step 2: Build the Circuit

The steps here correspond to the image above...

First, pin your LCD on the breadboard and power the breadboard by connecting a wire from "5V" (power) on your Arduino to the positive row on the breadboard and another one from "GND" (ground or 0V) to the negative row.

Then connect the LCD to the Arduino:

LCD pin 4 - Arduino pin 2

Pin 6 - pin 3

Pin 11 - pin 4

Pin 12 - pin 5

Pin 13 - pin 6

Pin 14 - pin 7

After that, power the LCD:

LCD pin 1 = GND on the breadboard

Pin 2 = 5V

Pin 5 = GND

Pin 15 = 5V

Pin 16 = GND

Then connect pin 3 on your LCD to the central pin of the 10K potentiometer.
Finally, power the potentiometer with one pin on GND and the other one on 5V (on the breadboard).

Step 3: Code

Now let's write the code...

#include <LiquidCrystal.h> //Include the library that enables you to use the LCD.
LiquidCrystal lcd(2,3,4,5,6,7);//Declare that your LCD is connected to pins 2,3,4,5,6 & 7 on your arduino.
void setup() {
  lcd.begin(16, 2);//16 by 2 are the dimensions of the LCD (in number of characters)
  lcd.print("My name is Bond");//print "My name is Bond," on the LCD
  lcd.setCursor(0, 1); //break a line
  lcd.print("controlled LCD!");//print "James Bond" on the second line of the LCD.
  void loop() {

1 Person Made This Project!


  • Cheese Challenge

    Cheese Challenge
  • Plywood Contest

    Plywood Contest
  • Back to School: Student Design Challenge

    Back to School: Student Design Challenge



7 years ago on Introduction

Thank you for your reply
I would like learn Arduino / LCD microcontrllemicrcontroller

Hugo Trombert
Hugo Trombert

Reply 7 years ago

I learned the basics with autodesk 123d circuits and with their YouTube tutorials and then, I bought the Arduino starter kit and partly learned from the book inside and from Roman Kozak's YouTube channel.
It is interesting to start with 123d circuits because you can program, design, and simulate your project for free. And the Arduino starter kit is cool because it has a great book inside, many components and it is not very expensive...


7 years ago

Thank you the info
I am new to programming. Can you please tell me where to start ? Thanks

Hugo Trombert
Hugo Trombert

Reply 7 years ago on Introduction


Would you like to start learning computer programming (apps, games...) or electronic programming (microcrontrollers like Arduino, small electronic devices like LCDs...) ?