apandy85
Published © GPL3+

How to use a 16x2 LCD

How to use a 16x2 LCD easy tutorial

BeginnerProtip41
How to use a 16x2 LCD

Things used in this project

Hardware components

10K Potentiometer
×1
Jumper wires
×1
16x2 JHD162A LCD
×1
Breadboard
×1
Arduino UNO R3
×1

Software apps and online services

Arduino IDE 1.8
Arduino IDE For Proggraming
Windows 10
Microsoft Windows 10
Microsoft Win10 OS

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free

Story

Read more

Schematics

where to connect the pins of the lcd.txt

connect the pins of the lcd to the arduino using the file

Code

LCD_Sketch.ino

C/C++
Read the Comments And Upload
#include <LiquidCrystal.h> // include the LCD library

const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; // where the LCD Interface pins are Conneceted to the arduino pins
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);  // initialize the LCD interface pins needed

void setup() {
  lcd.begin(16, 2); //Setup the LCD's columns and rows:
  lcd.print("Hello World !"); //Print "Hello World" to the 16x2 LCD
}

void loop() {
}

Credits

apandy85
0 projects • 1 follower
Contact

Comments

Please log in or sign up to comment.