Project showcase
Easily Wire a 16x2 LCD

Easily Wire a 16x2 LCD © GPL3+

Wire a 16x2 LCD.

  • 3,967 views
  • 0 comments
  • 13 respects

Components and supplies

Apps and online services

About this project

Here is an easy example for wiring a 16x2 LCD screen.

Code

CodeC/C++
// include library code
#include <LiquidCrystal.h>

// initialize library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
  lcd.begin(16, 2);
  // Text goes in here |
  //                   \/
  lcd.print("Hello, Hacksterio!");
}

void loop() {
  lcd.setCursor(0, 1);
  lcd.print(millis() / 1000);
}

Schematics

Schematic
Ezlcd3 ia0mnedpan

Comments

Similar projects you might like

Using 16x2 LCD with Arduino

by Techmirtz

  • 19,422 views
  • 3 comments
  • 34 respects

DHT11 Humidity + Temperature Sensor with 16x2 LCD display

Project showcase by onatto22

  • 9,057 views
  • 1 comment
  • 17 respects

LCD Backlight and Contrast Control

Project showcase by zurrealStudios

  • 3,496 views
  • 2 comments
  • 6 respects

4 Wire LCD Control with BL and Contrast Using Shift Register

Project showcase by Mike Kowalski

  • 1,816 views
  • 0 comments
  • 11 respects

AI LCD friend!

Project tutorial by aip06

  • 2,988 views
  • 8 comments
  • 7 respects

Displaying Sensor Values on LCD

by Wimpie van den Berg

  • 42,779 views
  • 4 comments
  • 36 respects
Add projectSign up / Login