Skip to content

Displays

foonerd edited this page Oct 31, 2026 · 2 revisions

Displays

Every 16x2 character module speaks the HD44780 command set in the end; what differs is the wire it hangs on, how it is brought up, and what drives its backlight. The plugin knows these:

Controllers

Controller Wire Start-up Found as Modules
AiP31068L Native I2C: a control byte (0x80 command, 0x40 data) then the byte; data in runs The HD44780's, three function sets then display on 0x3E, automatically Waveshare LCD1602 I2C and RGB, Grove LCD RGB Backlight, DFRobot Gravity RGB LCD1602
ST7032i Native I2C, as above The extended set: oscillator, contrast, booster, follower, a 200 ms wait 0x3E, which the AiP31068 also answers at: choose it on the settings page Midas MCCOG21605, Newhaven NHD-C0216CiZ, other Sitronix modules
US2066 (SSD1311) Native I2C, as above Its own: regulator, clock, segment pins, contrast, phase, VCOMH, then the HD44780 set 0x3C or 0x3D, automatically Winstar WEO/WEA character OLEDs with I2C, Newhaven NHD-0216CW slim OLED
HD44780 on a PCF8574 backpack Four bits at a time through the expander: a nibble with E high, then low; the backlight pin rides on every write The four-bit sync (three 0x3 nibbles, then 0x2), then the HD44780's 0x27 or 0x3F, automatically; other jumpered addresses on the settings page The common "I2C LCD1602" adapter soldered to a parallel module
WS0010 on a PCF8574 backpack As the HD44780's Five zero nibbles to sync, then the four-bit set with the English/Japanese font table; longer clears As the backpack; choose Winstar OLED on the settings page Winstar WEH001602 and other WS0010 character OLEDs behind an adapter

Automatic detection tries 0x3E, 0x27, 0x3F, 0x3C and 0x3D in that order and takes the first that answers. Two things it cannot tell: an ST7032 from an AiP31068 (same address, same wire; an ST7032 brought up as an AiP31068 shows nothing or a faint row), and a WS0010 from an HD44780 behind a backpack. Both are a choice on the settings page.

Backpack pins

Nearly every backpack wires RS, RW, E and the backlight to P0 to P3 and the data lines to P4 to P7; a few (mjkdz and the like) do it the other way round. The setting is "Backpack pins"; garbled characters on a backpack that otherwise answers are the sign of the wrong layout.

RGB backlight drivers

Driver Address Registers Modules
PCA9633 0x60 MODE1 0x00, MODE2 0x01, PWM red 0x04, green 0x03, blue 0x02, LEDOUT 0x08 Waveshare LCD1602 RGB, DFRobot v1
PCA9633 0x62 as above Grove LCD RGB Backlight v4 and earlier
Grove v5 driver 0x30 PWM red 0x06, green 0x07, blue 0x08, 192 steps Grove LCD RGB Backlight v5
DFRobot v2 driver 0x6B PWM red 0x06, green 0x05, blue 0x04, latch 0x07 DFRobot Gravity RGB LCD1602 v2
SGM31323 0x2D PWM red 0x01, green 0x02, blue 0x03 DFRobot Gravity RGB LCD1602 v2.1 and later

Automatic detection tries the five addresses in that order. A module without an RGB driver gets "None"; a backpack's backlight pin then stands in for the colour: any colour but black is on.

Glyphs

A controller has eight user glyph slots. The bars use five for the style's cells, one for the peak marker, one each for play and pause. The large standby clock swaps them for a top bar, a bottom bar, both, a stroke and a dot; the bars' come back when music plays.

Verified and described

Verified on a player: the AiP31068 with the PCA9633 (Waveshare LCD1602 RGB), the module this plugin is developed against; and the HD44780 on a PCF8574 (the Freenove 1602IIC, an integrated module without a contrast trimmer, at 0x27, which needs 5 V). The PCF8574 backpack follows the layout every Arduino and Python library uses. The ST7032, US2066 and WS0010 start-ups are written from their data sheets and the reference libraries; a report from a module in hand, working or not, is welcome as an issue.

Clone this wiki locally