Recommend Projects

IIC LCD1602 Driver Display

4 years ago 3242
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments


Arduino drives I2C LCD Controller based on a LCD1602 module

LCD Software Library Information

ALL the displays will use the IMPORTANT Library written by Francisco Malpartida.You can download the Library:

the great Library

you must have the library installed correctly.

And Check the small backpack interface board on the back. These small boards on the back interface a 2wire IIC bus (unless Ground and +5V power) to the many pins on the LCD display itself. This allows running the display from only 2 signal pins on MEGA 2560.

These I2C interface displays have a built-in address. If you try to run the show and do not react or not show any code you are using the wrong address. You can check the address on the display when you run the Arduino address scanner in your IIC.

Scanner CODE:

// I2C Scanner
// Written by Nick Gammon
// Date: 20th April 2011


void setup() {
  Serial.begin (115200);

  // Leonardo: wait for serial port to connect
  while (!Serial) 

  Serial.println ();
  Serial.println ("I2C scanner. Scanning ...");
  byte count = 0;

  for (byte i = 8; i < 120; i++)
    Wire.beginTransmission (i);
    if (Wire.endTransmission () == 0)
      Serial.print ("Found address: ");
      Serial.print (i, DEC);
      Serial.print (" (0x");
      Serial.print (i, HEX);
      Serial.println (")");
      delay (1); 
      } // end of good response
  } // end of for loop
  Serial.println ("Done.");
  Serial.print ("Found ");
  Serial.print (count, DEC);
  Serial.println (" device(s).");
}  // end of setup

void loop() {}

on the back

To directly use this type of liquid crystal Arduino, it takes 6 pins: RS, EN, D7, D6, D5, D4, and LCD. If you are more than a simple project, you may be out of the use of the ordinary LCD shield pin. With this I2C interface LCD module, you only need 2 lines (I2C) to display information. If you already have I2C devices in your project, this LCD module is actually using no more pins.

Top to bottom: GND - GND VCC - +5V SDA - communication Pin 20 SCL - communication pin 21

Example Software code for 4 line 20 character Displays:


LiquidCrystal_I2C lcd(0x3F,16,2);  

void setup()

  // Print a message to the LCD.
  lcd.print("Hello, body!");

void loop()



IIC LCD1602 Arduino


ID Name Designator Footprint Quantity
1 LCD1602 X1 LCD1602 1
2 PCF8574ADGVR U1 TSSOP-20 1
3 1k R1,R2,R3 R3 3
4 Arduino MEGA 2560 U2 DIP 1
5 100k R4 TRIM_POT_PTH 1
6 0.1u C1 C1 1




The owner does not allow comments in this project now

Comments (1)

Arun karan Reply

Thanks for the given this post so look find wifi password windows 10 all function here and seen the update for install latest version.

如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.