LCD stands for Liquid Crystal Display . Iam discussing the LCD interface with Arduino.
PINOUT :
The function of each pins in LCD are discussed below
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!!!
1 Comment
ROBLOX
(March 16, 2018 - 12:41 pm)I must say, as a lot as I enjoyed reading what you had to say, I couldnt help but lose interest after a while.