Project showcase
Easily Wire a 16x2 LCD

Easily Wire a 16x2 LCD © GPL3+

Wire a 16x2 LCD.

  • 7,715 views
  • 0 comments
  • 15 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

DHT11 Humidity + Temperature Sensor with 16x2 LCD display

Project showcase by onatto22

  • 28,411 views
  • 6 comments
  • 44 respects

LCD Backlight and Contrast Control

Project showcase by zurrealStudios

  • 16,037 views
  • 2 comments
  • 7 respects

4 Wire LCD Control with BL and Contrast Using Shift Register

Project showcase by Mike Kowalski

  • 2,792 views
  • 1 comment
  • 11 respects

Displaying Sensor Values on LCD

by Wimpie van den Berg

  • 73,659 views
  • 6 comments
  • 52 respects

LCD (Liquid Crystal Display)

by MicroBob

  • 54,602 views
  • 69 comments
  • 168 respects

Ultrasonic Sensor with Alarm, LCD and Temperature

Project tutorial by MichDragstar

  • 12,142 views
  • 7 comments
  • 26 respects
Add projectSign up / Login