LCD INTERFACE WITH ARDUINO

LCD stands for Liquid Crystal Display . Iam discussing the LCD interface with Arduino.

PINOUT :

The function of each pins in LCD are discussed below16x2-LCD-Module-Pinouts

Pin No  Symbol Function
1 VSS Ground
2 VDD Power supply input (+5 v)
3 V0 LCD Operation voltage test pin
4 RS Data and  Control register select input
H : Data bus as display data
L : Data bus as control data
5 R/W Write signal input – LOW
6 E A start signal to read and write data
7 DB0 Data bus bit 0
8 DB1 Data bus bit 1
9 DB2 Data bus bit 2
10 DB3 Data bus bit 3
11 DB4 Data bus bit 4
12 DB5 Data bus bit 5
13 DB6 Data bus bit 6
15 DB7 Data bus bit 7
16 LED_A Backlight +ve
17 LED_K Backlight -ve

CONNECTIONS

 

PROGRAM :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
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!");
 delay(1000);
}
void loop() {
 lcd.print("Message 1");
 delay(1000);
 lcd.print("Message 2");
 delay(1000);
}
Thank you
SHARE THIS!!!

Gowtham S

Gowtham is a programming enthusiast. His field of interest includes Arduino, NodeMCU, Raspberry Pi, and Python. To know more about him visit https://mybtechprojects.tech/about-us/.

1 Comment

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.