The I2C address of PCF8574 in Proteus is typically 0x20 (for A2=A1=A0=0). Adjust depending on pin connections in the schematic.
Example address setting (binary):
A2 A1 A0 → Device Address (7-bit)
0 0 0 0x20 (010 0000)
0 0 1 0x21
...
Date: October 26, 2023 Subject: Integration, Configuration, and Simulation of the JHD I2C LCD Module jhd-2x16-i2c proteus
The PCF8574 provides 8 I/O pins (P0–P7). The standard mapping for I2C LCD backpacks is: The I2C address of PCF8574 in Proteus is
| PCF8574 Pin | LM016L (LCD) Pin | Function | | :--- | :--- | :--- | | P0 | D4 | Data bit 4 (4-bit mode) | | P1 | D5 | Data bit 5 | | P2 | D6 | Data bit 6 | | P3 | D7 | Data bit 7 | | P4 | RS | Register Select | | P5 | RW | Read/Write (usually grounded) | | P6 | EN | Enable strobe | | P7 | (Backlight) | Optional – not used for simulation logic | Note : In most I2C libraries (LiquidCrystal_I2C), RW
Note: In most I2C libraries (LiquidCrystal_I2C), RW (P5) is tied to GND for write-only operation to simplify code.