top of page


Public·227 members

Liquid Crystal I2c Library Download !!BETTER!!


How to Download and Use the LiquidCrystal I2C Library for Arduino

If you want to use an I2C LCD display with your Arduino, you need to download and install the LiquidCrystal I2C library. This library allows you to control I2C displays with functions similar to the LiquidCrystal library that comes with the Arduino IDE.

In this article, we will show you how to download and use the LiquidCrystal I2C library for Arduino. We will also provide some examples of how to display text and custom characters on the I2C LCD.

What is an I2C LCD Display

An I2C LCD display is a type of LCD display that uses the I2C protocol to communicate with the Arduino. I2C stands for Inter-Integrated Circuit, and it is a serial bus that allows multiple devices to communicate with each other using only two wires: SDA (data) and SCL (clock).

One of the advantages of using an I2C LCD display is that it reduces the number of pins required to connect it to the Arduino. Instead of using 6 or more pins as in a regular LCD display, you only need 4 pins: VCC (power), GND (ground), SDA and SCL. Another advantage is that you can connect multiple I2C devices on the same bus, as long as they have different addresses.

How to Download the LiquidCrystal I2C Library

The LiquidCrystal I2C library is not included in the Arduino IDE by default, so you need to download it from an external source. There are several versions of this library available online, but we recommend using the one maintained by Marco Schwartz, which is based on the original library by Frank de Brabander.

To download the LiquidCrystal I2C library, you can follow these steps:

Go to and click on the green "Code" button.

Select "Download ZIP" and save the file on your computer.

Extract the ZIP file and rename the folder to "LiquidCrystal_I2C".

Move the folder to your Arduino sketchbook folder, under the "libraries" subfolder. If you don't know where your sketchbook folder is, you can check it in File > Preferences in the Arduino IDE.

Restart the Arduino IDE and you should see the LiquidCrystal I2C library under Sketch > Include Library > Contributed Libraries.

How to Use the LiquidCrystal I2C Library

To use the LiquidCrystal I2C library, you need to include it in your sketch with this line:


Then, you need to create an object of the LiquidCrystal_I2C class, passing as parameters the address of your I2C LCD display, and the number of columns and rows it has. For example, if your display has an address of 0x27 and has 16 columns and 2 rows, you can write:

LiquidCrystal_I2C lcd(0x27, 16, 2);

If you don't know the address of your display, you can use an I2C scanner sketch to find it out.

Next, you need to initialize the display with this line:


This will turn on the backlight and clear the screen. You can also use lcd.backlight() and lcd.noBacklight() to control the backlight manually.

Finally, you can use various methods of the LiquidCrystal_I2C class to display text and custom characters on the screen. Some of these methods are:

lcd.print(): prints a string or a value on the screen.

lcd.setCursor(): sets the cursor position on the screen.

lcd.clear(): clears the screen.

lcd.home(): moves the cursor to the home position ( ec8f644aee


Welcome to the group! You can connect with other members, ge...


Group Page: Groups_SingleGroup
bottom of page