By dave | August 3, 2020

LiquidCystalIO with PCF8574 i2c backpack

An I2C LCD backpack based on the PCF8574 chip provides an easy way to get started with LiquidCrystalIO on most Arduino boards. It is usually in one of two configurations as listed below. This library works correctly with the display and even has a shorthand way of creating the LCD for this case.

Connectivity combinations for i2c backpacks

Pin Option1 Option2
3 Backlight Backlight
4 D4 D4
5 D5 D5
6 D6 D6
7 D7 D7

Construction for Option 1 outside of any functions (global):

LiquidCrystalI2C_RS_EN(lcdVariableName, addr, invertBacklight)

Construction for Option 2 outside of any functions (global):

LiquidCrystalI2C_EN_RS(lcdVariableName, addr, invertBacklight)


  • lcdVariableName is the name of the global variable to create
  • addr is the I2C address of the backpack
  • invertBacklight to invert the backlight function. Note that the backlight function can sometimes be inverted.

Examples of connecting to PCF8574 i2c backpack

Back to the main page

Other pages within this category

comments powered by Disqus

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.