LCD Screen

LCD Screen

Components:

1-Arduino

 

2-LCD Screen

 

3-220 Ohm resistor

 

3-Wires

Connections:

VSS : Gnd

SVD : 5v

RS : D12

RW : Gnd

E : Digital 11

D4 : Digital 10

D5 : Digital 9

D6 : Digital 8

D7 : Digital 7

A : 220 Ohm Resistor : 5v

K : Gnd

Code:

// LCD1602 to Arduino Uno connection example
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);
void setup() {  lcd.begin(16, 2);  // you can now interact with the LCD, e.g.:  lcd.print(“Hello World!”);}
void loop() {  // …}

Leave a comment

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