YUNZII B75 LCD
All projects

YUNZII B75 LCD Puts now playing, weather, prices, prayer times, scores and alerts on the 160 × 96 screen of a YUNZII B75 PRO MAX keyboard. A Python program for Windows that talks to the keyboard over USB, with no firmware changes and no YUNZII app.

github.com/syauqi/yunzii-b75-lcdActive2026Keyboard screen app
syauqi.github.io
YUNZII B75 LCD screenshot
Facts

Facts Stack and numbers.

Status
Active
Year
2026
Kind
Keyboard screen app
Built with
python + hid
  • Python
  • hidapi
  • Pillow
  • WinRT
  • Astro
Screen
160 × 96
One upload
30,720 B · 1.5 s
Cards
10
Themes
9
Problem

Problem

The B75 PRO MAX has a small screen in its top-right corner that shows a clock, a GIF, or pictures uploaded by hand through YUNZII's web configurator. I wanted it to show what is happening on my PC, the song, the weather, a message, without leaving what I'm doing. There is no public API for it.

Approach

Approach

I mapped the vendor HID interface (usage page 0xFF60), starting from reverse-engineering notes on the YUNZII AL80. Three opcodes drive the screen, and a picture is 30,720 bytes of RGB565 that takes about 1.5 seconds to send. Every upload writes to flash with unknown endurance, so each card gets a slot in the keyboard's own picture list: switching cards is one short command that uploads nothing, and a card is sent again only when its content changes, under a daily cap. Five priority layers decide who gets the screen, from a pinned card down to the rotation.

Snippet

In the code The only opcodes it may send, and the ones it never will.

python
OP_INFO, OP_DATA, OP_FINISH = 0x40, 0x41, 0x42

# The only outer opcodes this project may ever send.
ALLOWED_OPS = frozenset({OP_INFO, OP_DATA, OP_FINISH})
# Bootloader / firmware-upgrade opcodes. Checked separately from the allow-list
# so that widening the allow-list by mistake still cannot reach them.
DENIED_OPS = frozenset(range(0xB0, 0xB8))


def check_op(op: int) -> None:
    if op in DENIED_OPS:
        raise ForbiddenCommand(f"opcode 0x{op:02X} is a bootloader/DFU command and is never sent")
    if op not in ALLOWED_OPS:
        raise ForbiddenCommand(f"opcode 0x{op:02X} is not on the allow-list (0x40, 0x41, 0x42)")
Notes

Notes Things worth remembering from the build.

  • Firmware and bootloader opcodes (0xB0 to 0xB7) are blocked twice, by the allow-list and again by a deny-list, so widening the allow-list by mistake still can't reach them. Nothing is sent without --write.
  • Tested on one keyboard only. The WhatsApp and Steam cards haven't seen real data yet, and nobody has run it for weeks.