Project tutorial
LCD I2C Tutorial

LCD I2C Tutorial © CC BY

Learn how to use an LCD with I2C ASAP.

  • 215,137 views
  • 6 comments
  • 38 respects

Components and supplies

About this project

A Liquid crystal display is a form of visual display used in electronic devices, in which a layer of a liquid crystal is sandwiched between two transparent electrodes... not gonna bore you with details but just watch the video to learn how to hook up basic-generic 16x2 liquid crystal display (i2c bus module version) with an arduino.

Thanks UTSOURCE.net to offer electronic components for this project!

you can check UTSOURCE.net, they deal in all kinds of electronic components, for example, Arduino board, Ultrasonic sensor, LCD and many more.


Code

disp_hello.inoC/C++
#include <Wire.h> 
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,20,4);  // set the LCD address to 0x27 for a 16 chars and 2 line display

void setup()
{
  lcd.init();                      // initialize the lcd 
  lcd.init();
  // Print a message to the LCD.
  lcd.backlight();
  lcd.setCursor(1,0);
  lcd.print("hello everyone");
  lcd.setCursor(1,1);
  lcd.print("konichiwaa");
}


void loop()
{
}

Custom parts and enclosures

enclosure
you can 3D print this

Schematics

Schematics
Fritzing sketch for lcd1602 and arduino vnxiwtehlv

Comments

Similar projects you might like

Arduino DTH22 Humidity Temperature With LCD I2C 16x2 Display

Project tutorial by Team GiftedMedia

  • 76,654 views
  • 23 comments
  • 87 respects

Getting Started with ILI9255 TFT LCD

Project tutorial by Arnov Sharma

  • 3,772 views
  • 2 comments
  • 4 respects

Soil Moisture Sensor With LCD Display

Project tutorial by Patel Darshil

  • 58,054 views
  • 19 comments
  • 86 respects

Easily Wire a 16x2 LCD

Project showcase by ThomTronics

  • 9,805 views
  • 0 comments
  • 15 respects
Add projectSign up / Login