How to Make "HELLO WORLD' on a LCD Display(Arduino Nano)

18,937

25

2

About: I love electronics and Arduino.Stay creative!

This project is for beginners who just bought a 16x2 LCD display.

if you want to make a simple and small project of this LCD,then...

"HELLO WORLD" Is perfect for you!

see the schematic and build the circuit then copy paste the program on your Arduino IDE software

And then you have a simple LCD display circuit,displaying "HELLO WORLD!"

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Order Your Components:

the components required for this build are:

1xLCD Display(16x2)

1x220 ohm resistor

1xArduino Nano

1xBreadboard

1x10K Potentiometer

some jumper wires or single strand wires.

You can buy all your components from Amazon.com.

Step 2: The Schematic:

Build this small schematic...

the connections:

LCD RS pin to digital pin 12

LCD Enable pin to digital pin 11

LCD D4 pin to digital pin 5

LCD D5 pin to digital pin 4

LCD D6 pin to digital pin 3

LCD D7 pin to digital pin 2

then wire a 10k pot to +5V and GND, with it's wiper (output) to LCD screens VO pin (pin3). A 220 ohm resistor is used to power the backlight of the display, usually on pin 15 and 16 of the LCD connector.

Step 3: The Code:

The code:

#include <LiquidCrystal.h>//Don't forget to enter this library

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {

// set up the LCD's number of columns and rows:

lcd.begin(16, 2);

// Print a message to the LCD.

lcd.print("HELLO WORLD!");
}

void loop() {

// set the cursor to column 0, line 1

// (note: line 1 is the second row, since counting begins with 0):

lcd.setCursor(0, 1);

// print the number of seconds since reset:

lcd.setCursor(0, 1); // print the number of seconds since reset: lcd.print(millis() / 1000);

}

Step 4: SUCCESS!

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    2 Discussions

    None
    Jerzy2

    1 year ago

    I'm confused. STEP2 shows the schematic with Arduino Uno, not Nano.

    Am I missing something?

    None
    The creator sid

    2 years ago

    I am very sad to say that I cannot upload instructables for some time cuz my Arduino nano got burned when I was working on my new project.