16x2 LCD with I2C backpack (PCF8574)
The 16 × 2 LCD with an I2C adapter already soldered, so it needs only four wires.
What is the 16x2 LCD with I2C backpack (PCF8574) and what is it used for?
The 16 × 2 LCD with an I2C adapter already soldered, so it needs only four wires. Makers use it for menus and readouts with few pins.
An HD44780 character LCD driven by a PCF8574 I/O expander, so it needs only two data wires.
Key specifications
| Display spec | Value |
|---|---|
| Type | Character LCD with backlight |
| Size | 16 characters × 2 lines |
| Driver IC | HD44780 + PCF8574 I2C expander |
| Interface | I2C |
| I2C address | 0x27 or 0x3F |
| Supply voltage | 5 V (contrast trimmer on the back) |
Pinout
How to use it
Use the LiquidCrystal_I2C library with address 0x27 (PCF8574T) or 0x3F (PCF8574AT), and run an I2C scanner if unsure. If you see a row of boxes or nothing, turn the contrast trimmer.
Applications
Builds that use it
Min-max thermometer with LCD
Keypad password door lock
Digital weighing scale
0 to 25 V DC voltmeter with LCD
Bidirectional visitor counter with room light
Capacitance meter
Frequency counter
Morse code practice oscillator
Alternatives
- 20x4 LCD with I2C backpackMore lines
- SSD1306 OLED DisplayGraphics in a smaller size
Common questions
What is the 16x2 LCD with I2C backpack (PCF8574) used for?
In maker projects: menus and readouts with few pins.
How does the 16x2 LCD with I2C backpack (PCF8574) work?
An HD44780 character LCD driven by a PCF8574 I/O expander, so it needs only two data wires.
What voltage does the 16x2 LCD with I2C backpack (PCF8574) need?
5 V (contrast trimmer on the back).
How do I connect the 16x2 LCD with I2C backpack (PCF8574) to an Arduino or ESP32?
I2C. Pins: GND (Ground), VCC (5 V), SDA (I2C data), SCL (I2C clock), Jumper (Backlight on or off), Trimmer (Contrast).
What can I use instead of the 16x2 LCD with I2C backpack (PCF8574)?
20x4 LCD with I2C backpack and SSD1306 OLED Display.
