1. Overview
This is the same 16×2 HD44780 character LCD as 10.2, but mounted on a small PCF8574 I2C backpack — a tiny I/O-expander chip that turns the 6 parallel control/data lines into a 2-wire I2C bus (SDA/SCL). It trades a fixed I2C address and a slightly slower refresh for using only 2 GPIO pins instead of 6, and lets several I2C devices share the same bus.
2. Pinout
Verified against simulator/components/lcd 16x2 (i2c).ts (4-pin header on the backpack):
3. Key Specifications
| Spec | Value |
|---|
| Controller | HD44780 (behind a PCF8574 I2C-to-parallel expander) |
| Character grid | 16 columns × 2 rows, 5×8 pixels per cell |
| Interface | I2C, 400kHz |
| Default address | 0x27 (PCF8574T) — 0x3F (PCF8574AT) also supported |
| Logic voltage | 5V |
| Backlight | Controlled through the same I2C bus (no separate A/K pins to wire) |
4. Libraries Used
- C++ (Arduino):
LiquidCrystal_I2C — the widely used community fork built specifically for PCF8574 backpacks.
- MicroPython: a community
lcd_i2c module exposing an LCD class (move_to(), putstr(), backlight_on()/off(), cursor_on()/off(), blink_on()/off()) over machine.I2C.
5. Component Properties
From the real props: [...]:
line1 (text) — Row 1 content. Default: "OpenMakerStudio".
line2 (text) — Row 2 content. Default: "I2C LCD 16x2 Ready".
theme (select) — Backlight color: Blue Backlight (White text) (default) or Green-Yellow (Dark text).
i2cAddress (select) — 0x27 (Default PCF8574T) (default) or 0x3F (PCF8574AT).
Powered state comes from VCC: above 3.0V the backlight and text render; below 4.5V while powered, a LOW VCC fault is raised.
6. Simulator Behavior
Identical rendering to the parallel variant (10.2): a live 16×2 character grid on-canvas driven by line1/line2, plus an editable text bar during simulation.
[!IMPORTANT]
Same disclosed gap as 10.2: OMS has no I2C-transaction decoder for this component, so the on-canvas text is always just the current line1/line2 props — not a reflection of the real putstr()/print() calls your compiled program sends over SDA/SCL. Compare with the OLED (10.6), whose I2C traffic genuinely is decoded and rendered pixel-for-pixel.
7. Supported Blockly Blocks (10 Blocks)