LCD Basics

Description

       This is a simple project on Arduino with an LCD(Liquid Crystal Display). Here we are going to print a simple word  "Hello World" on LCD screen.

Components Required

 1. Arduino UNO  * 1
 2. LCD (16*2) * 1
 3. Resister(220 Ohm)  * 1
 4.  Jumper Wires  * 1

Circuit Diagram
Program
 
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
 
void setup()
{
  lcd.begin(16, 2);
  lcd.print("Hello World!");
}

void loop() 
{
  lcd.setCursor(0, 1);
  lcd.print(millis() / 1000);
}