LCD Screen + Arduino

2,847

28

4

Introduction: LCD Screen + Arduino

About: I love to make projects based on microcontrollers including robots and IoT technologies. Absolutely, truly, madly, deeply in love with planes. I also dabble in the art of Origami and play chess in my spare ti…

Hello World!
This is my first Instructables and I thought I'd like to share my vast knowledge of the Arduino to all you makers of all skills and strengths!
Here, we will learn how to connect, control, and code the Liquid Crystal Display with any Arduino or microcontroler board (like NodeMCU, ESP8266, Beaglebone, etc). I'm demonstrate it on my Arduino, but I will also add notes on the steps in italics to show which parts are transferrable to any micro controller device you have at your disposal

Step 1: Materials

* Arduino or any other microcontroller board

* Wires

* Potentiometer

* Breadboard

Step 2: Connections

The connections are labeled in the picture and the wires corresponding to the images are noted below

1a

  • Connect the Brown wire (pin 16) to the GND pin on the Arduino
  • Connect the Red wire (pin 15) to the 3.3V VCC pin on the Arduino
  • Connect the Orange, Yellow, Green, Blue (pins 14-11) to pins 2 to 5 on the Arduino

2

  • Connect the White wire (pin 1 on the LCD) to the common ground (pin 16)
  • Connect the Grey wire (pin 2 on the LCD) to the common VCC source (pin 15)
  • Connect the Purple wire to the signal pin of the potentiometer (pin 2 on the potentiometer)

3

  • Connect the Purple wire (pin 1 on the potentiometer) to the common ground (pin 16)
  • Connect the Grey wire (pin 3 on the potentiometer) to the common VCC source (pin 15)

4

  • Connect the Yellow wire (pin 4 on the LCD) to pin 12 on the Arduino
  • Connect the Black wire (pin 5 on the LCD) to the common ground (pin 1 on the potentiometer or pin 16 on the LCD, either works)
  • Connect the Green wire (pin 6 on the LCD) to pin 11 on the Arduino

Step 3: Programming

// built in arduino library
#include 
<liquidcrystal.h></liquidcrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
void setup()
{
  lcd.begin(16, 2);
  // clear old screen data
  lcd.clear();
  // text to be dispalyed on the screen
  lcd.print("Unicorn");
}
void loop()
{
  
  // (column 0) of the second line (line 1):
  lcd.setCursor(0,1);
  lcd.print ("Clockworks");
  
  // (column 0) of the second line (line 12):
  lcd.setCursor (12, 1);
  lcd.print("...");
}

Step 4: You're Done

Try making it yourself. Let me know how you like the guide and thanks for reading!

Unicorn Clockworks Out!

Makerspace Contest 2017

Participated in the
Makerspace Contest 2017

First Time Author Contest

Participated in the
First Time Author Contest

Be the First to Share

    Recommendations

    • Battery Powered Contest

      Battery Powered Contest
    • Plywood Challenge

      Plywood Challenge
    • Plastic Contest

      Plastic Contest

    4 Discussions

    0
    langdoncobbb
    langdoncobbb

    Question 1 year ago on Step 4

    Hey, how would I go about connecting an aux data input port? For example a device speaks certain words and I would like the words to be displayed on the LCD screen. Older devices I’ve seen are called DTD’s. If you have any how this would work I’d appreciate any help. Thanks!

    0
    mendelecha1
    mendelecha1

    3 years ago

    I miss a "where to buy list" ;)

    -Arduino uno: 3,99

    -Wires: 3,35€

    -Potentiometer: 1,20

    -Breadboard: 1,69€

    0
    UnicornClockworks
    UnicornClockworks

    3 years ago

    I really enjoyed making this. It took quite a bit of time editing all the pictures, but I hope you found it useful! I am thinking of making a bunch of these for the maker community out there. What do you guys think?

    0
    DIY Hacks and How Tos
    DIY Hacks and How Tos

    Reply 3 years ago

    Looks pretty cool. LCD screens are really useful for making Arduino projects with outputs.