Why we Need to Display ?

There are some projects where we need to display instant result on Arduino Board . For Example Room Temperature,Fingerprint Attendance ,Games , Locking System,Ultrasound Sensor Distance,Voltage & Ampere,Digital Clock.

How To Connect Display with Arduino ?

Requirement

  1. Arduino Uno / Mega.
  2. LCD 16×2 .
  3. Wires.
  4. Male pin header / Female pin header.
  5. Potentiometer 10k.
  6. PCB to make custom shield for further use.

These Things Are Available At Amazon if Not available in Local Stores.

Schematic

Understanding Arduino Display LCD 16x2

 

Result

Understanding Arduino Display LCD 16x2

 

Program

Its is also available in Arduino in Example-> LiquidCrystal  -> Hello World .

Here are Some Changes so you Understand Better.

OUTPUT

Understanding Arduino Display LCD 16x2

Understanding Arduino Display LCD 16x2

LiquidCrystal Library Functions

  1. Begin
  2. Clear
  3. Print
  4. Write
  5. SetCursor
  6. CreateChar LINK
  7. Cursor
  8. Scroll
  9. Text-Direction
  10. Serial-Display

 1. Begin

lcd_begin
lcd_begin


 2. Clear

lcd_clear
lcd_clear


3. Print

Method 1

lcd_print_method_1
lcd_print_method_1

Method 2

lcd_print_method_2
lcd_print_method_2

Method 3

Method 4

lcdprintstring
lcdprintstring

Method 5

lcd_print Method 5
lcd_print Method 5

Method 6

lcd_print_method_6
lcd_print_method_6

4. Write

lcd_write
lcd_write


5. Set Cursor

Understanding Arduino Display LCD 16x2

Understanding Arduino Display LCD 16x2


6. Create Char

Understanding Arduino Display LCD 16x2


7. Cursor

It Control the underscore-style cursor in Define Location

Understanding Arduino Display LCD 16x2


8. Scroll

Scroll text left and right.

scroll
scroll


9. Text-Direction

Control which way text flows from the cursor.

lcd_text_direction
lcd_text_direction


10. Serial-Display

It Accepts serial input Store in Buffer And then displays it.it clear After Reset.

Need Serial Monitor To Send data Set Baud Rate.
In Arduino IDE : Examples -> LiquidCrystal -> SerialDisplay

lcdserial
lcdserial

lcd_serial_write
lcd_serial_write

(Visited 193 times, 1 visits today)
Understanding Arduino Display LCD 16×2

Tagged on:                 

One thought on “Understanding Arduino Display LCD 16×2

  • 19/08/2018 at 1:58 pm
    Permalink

    I like the article

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *