soldr.ai

Docs  /  Components

20x4 I2C LCD (PCF8574): specs and pinout

I2C backpack with a PCF8574 expander that drives an HD44780-compatible 20x4 character LCD over a 4-bit parallel bus.

Every value cites its sourceChip-level pinout

Buy on Compoden

Specs

SpecValueSource
PCF8574 supply VCC2.5 V to 6 Vsource
Features (p.1)
PCF8574 absolute maximum VCC-0.5 V to 6.5 Vsource
Section 5.1 Absolute Maximum Ratings (p.4)
PCF8574 standby current10 uA maxsource
Features (p.1)
PCF8574 operating supply current ICC40 uA (operating mode, fSCL = 100 kHz, VCC 2.5-6 V; listed value)source
Electrical Characteristics (p.5)
PCF8574 I2C clock fSCL100 kHzsource
Section 5.6 I2C timing (p.5)
PCF8574 input high VIH0.7 x VCCsource
Electrical Characteristics (p.4)
PCF8574 input low VIL0.3 x VCCsource
Electrical Characteristics (p.4)
PCF8574 slave address0100 A2 A1 A0 (binary; A2-A0 set by address pins)source
Slave address (p.10)
HD44780 logic supply VCC2.7 V to 5.5 Vsource
Features (p.1); pin table (p.8)
HD44780 LCD drive voltage (VCC - V5)11 V maxsource
Pin table, power supply for LCD drive (p.8)
HD44780 display RAM (DDRAM)80 x 8-bit (80 characters max)source
Features (p.1)
HD44780 power-on busy timebusy for 10 ms after VCC rises to 4.5 Vsource
Initialization (p.23)

Power

ValueSource
SupplyPCF8574 VCC 2.5-6 V; HD44780 VCC 2.7-5.5 V (chip ratings)source
PCF8574 Electrical Characteristics (p.5)
CurrentPCF8574 ICC 40 uA (operating mode, fSCL 100 kHz); LCD backlight current not in datasheetsource
PCF8574 Electrical Characteristics (p.5)

Chip pins

These are the pins of the chip on the module, from the chip datasheet. The module's own header may label or expose them differently. Module header labels come from the Compoden listing, not an official module schematic.

PinFunctionVoltageNotesSource
PCF8574 VCCVoltage supply2.5-6 V; absolute max 6.5 Vsource
Table 4-1 Pin Functions (p.3); Section 5.1 Absolute Maximum Ratings (p.4)
PCF8574 GND (VSS)Ground0 Vsource
Table 4-1 Pin Functions (p.3)
PCF8574 SDASerial data line, I/O; connect to VCC through a pullup resistorVIH min 0.7 x VCC, VIL max 0.3 x VCC; Input absolute max -0.5 V to VCC + 0.5 VAt VCC = 5 V, VIH is 3.5 V; a 3.3 V host may not meet it. Datasheet states no 5 V tolerance when VCC is lower.source
Table 4-1 Pin Functions (p.3); Section 5.1 Absolute Maximum Ratings (p.4)
PCF8574 SCLSerial clock line, input; connect to VCC through a pullup resistorVIH min 0.7 x VCC, VIL max 0.3 x VCC; Input absolute max -0.5 V to VCC + 0.5 VSame note as SDA. Datasheet timing is given at 100 kHz.source
Table 4-1 Pin Functions (p.3); Section 5.1 Absolute Maximum Ratings (p.4)
PCF8574 A0, A1, A2Address inputs 0 to 2; connect directly to VCC or groundInput absolute max -0.5 V to VCC + 0.5 VAddress 0100 A2 A1 A0 (binary). On the module these are the A0/A1/A2 solder jumpers (listing).source
Table 4-1 Pin Functions (p.3)
PCF8574 INTInterrupt output; connect to VCC through a pullup resistorNot used on the listing's four-pin header.source
Table 4-1 Pin Functions (p.3)
PCF8574 P0-P7P-port input/output, push-pullOutput absolute max -0.5 V to VCC + 0.5 VHow P0-P7 are wired to the LCD on the backpack is not in any official source.source
Table 4-1 Pin Functions (p.3)
HD44780 VCC / GNDLCD controller logic supply / groundVCC 2.7-5.5 V, GND 0 V; VCC - V5 = 11 V maxsource
Pin Functions (p.8)
HD44780 RSRegister select: 0 instruction register (write) / busy flag + address counter (read); 1 data registersource
Pin Functions (p.8)
HD44780 R/WRead/write select: 0 write, 1 readsource
Pin Functions (p.8)
HD44780 EStarts data read/writesource
Pin Functions (p.8)
HD44780 DB4-DB7Four high-order bidirectional data bus pins (4-bit operation); DB7 can be the busy flagDB0-DB3 are not used in 4-bit operation.source
Pin Functions (p.8)

Common mistakes

What we could not confirm

Sources

Building with the 20x4 I2C LCD (PCF8574)? Describe your project on Soldr: it assigns pins from the board's published pinout, checks power and logic levels, and shows how to wire every part.