Header Ads Widget

Arduino LCD display connections and Hello World Program

 friends in this section we know about how to use 16*2  LCD display and how to connect this display to the Arduino. and also write small program and print the hello word


Components :

  • Arduino                          BuyNow
  • LCD                               BuyNow
  • breadboard and wires    BuyNow

If you want to buy Arduino components, I am giving my affiliate links. If you buy the components using my affiliate links, it will help to our channel and website growth. so do these small help.

 now first connect this display to the Arduino as shown in the circuit diagram. 


then after uploading the below code to the Arduin . 

#include <LiquidCrystal.h>
int rs=7;
int en=8;
int d4=9;
int d5=10;
int d6=11;
int d7=12;
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
void setup() {
  // put your setup code here, to run once:
lcd.begin(16,2);
}
void loop() {
lcd.setCursor(0,0);
lcd.print("Hello World ");
}
for more information watch the below video to get batter undertand about this . 


now ew print the numbers from 1 to 10 on this LCD display.watch this video
 

 . 
#include <LiquidCrystal.h>
int rs=7;
int en=8;
int d4=9;
int d5=10;
int d6=11;
int d7=12;
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
void setup() {
  // put your setup code here, to run once:
lcd.begin(16,2);
}
void loop() {
lcd.setCursor(0,0);
lcd.print("NUMBER COUNT");
for (int j=1;j<=10;j=j+1){
  lcd.setCursor(0,1);
  lcd.print(j);
  delay(500);
}
lcd.clear();
}
if you have any doubts regarding to this project, contact me on Instagram or comment on YouTube video. I will help my best.

Post a Comment

0 Comments