Project Name:- LCD interface with Arduino
In this project, i am going to interface LCD display with arduino. Essential components for this project are listed below
1> LCD [16*2]
2>Arduino
3>Arduino cable
4>Jumper wires
5>Preset (for making voltage divider circuit)
6>PC
Circuit diagram
fig :- circuit diagram
Arrange the complete circuit as shown in above figure.Connect the arduino with the PC using arduino cable and upload the following code.
Code
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
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("WELCOME TO");
}
void loop() {
lcd.setCursor(0, 1);
lcd.print("MIRACLEBYECE");
}
we get the following result after uploading the code