Project tutorial
LCD I2C Tutorial

LCD I2C Tutorial © CC BY

Learn how to use an LCD with I2C ASAP.

  • 99,357 views
  • 2 comments
  • 23 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

  • 53,241 views
  • 19 comments
  • 62 respects

Soil Moisture Sensor With LCD Display

Project tutorial by Patel Darshil

  • 37,817 views
  • 10 comments
  • 56 respects

Easily Wire a 16x2 LCD

Project showcase by ThomTronics

  • 5,032 views
  • 0 comments
  • 14 respects

Portable Arduino Temp/Humidity Sensor with LCD

Project tutorial by ThothLoki

  • 214,474 views
  • 134 comments
  • 296 respects

Lcd Display in Real Time.

Project tutorial by Youssef Sabaa

  • 33,365 views
  • 8 comments
  • 79 respects
Add projectSign up / Login