Skip to the content
4 layers91.9 × 12.4 mmButton board r2, the printed circuit board in 3D

A 32x8 bicolor LED matrix module composed of 4 8x8 matrices based on the Holtek HT16K33A I2C LED driver. V1 paired it with a stacked adapter (RP2040 Zero + DS3231 module); V2 redesigns the matrix routing and puts an…

Size
91.9 × 12.4 mm
Copper layers
4
Thickness
1.6 mm
Parts
12
Nets
10
Pads
43
Tracks, vias
82, 19
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
17 Aug 2026
Updated
9 Sep 2026

Overview

Button board r2 is an open-source printed circuit board by picafe, from the picafe/bicolor-matrix-v2 repository on GitHub. It is a 4-layer board of 91.9 × 12.4 mm with 12 parts on 10 nets, routed with 82 tracks and 19 vias.

It is built around the TTP223-BA6-TD and VEML6030. Its parts include 5 capacitors, 3 ICs and 2 connectors. It belongs with the lEDs and displays boards of this library.

Main components

2

README

README.md

Bicolour Matrix

A 32x8 bicolor LED matrix module composed of 4 8x8 matrices based on the Holtek HT16K33A I2C LED driver. V1 paired it with a stacked adapter (RP2040 Zero + DS3231 module); V2 redesigns the matrix routing and puts an ESP32-C3, RTC, and environment sensors on a half-length adapter board behind the display.

V1 assembled clock showing the time

V1 running as a clock

Inspiration

Inspired by the common 32x8 red LED matrix modules that use the MAX7219 IC, I wanted to make my own module but with more colours and functionality, while keeping the same asthetic.

I found these modules while browsing Aliexpress and thought they could look be a cool alternative, costing ~$15 for 10 modules. With the red and light green variant, you can have red, a light green, and orange all in one module. As far as I'm aware, there aren't RGB modules in a similar form factor, although you can take generic WS2818 8x8 matricies and 3D print a diffuser for them, although the footprint is much bigger. This project was also partially inspired by bitluni's LED magnet tiles which I found really cool.

Unlike the single colour matricies with 16 pins, these had 24. I found this Adafruit module and followed a similar schematic with the Holtek HT16K33A I2C LED driver.

For V2 I revisited the HT16K33A datasheet and realized any ROW/COL pin can map to any matrix row/column, thus routing got a lot simpler than matching Adafruit's pinout exactly.

Structure

BoardRole
bicolour-matrix32×8 display: 4× HT16K33A + 4× 8×8 bicolour matrices
adapter-board-r2ESP32-C3-WROOM-02, CH340X USB-UART, YSN8900 RTC + CR2032, STCC4 (default CO₂; optional SCD41), SHT4x, BMP580, LIS2DW12
button-board-r2 (optional / WIP)OLED + light sensor + touch pads

The adapter is half the length of the matrix board and mates with a pin header between the middle modules so that the stack stays stable without a case.

The button board is a separate interface that is connected to the adapter board with a 7-pin JST SH connector. This is meant to be customized and built by the user themselves, although I've included a sample design with an OLED, light sensor, and 2x touch pads you can start from. What you include and how you integrate it is up to you and how you want to design an enclosure.

Pictures

Assembled (V1)

V1 boards laid out - adapter, button board, matrix

V1 side / stack view

V2

3D

Adapter board R2 3D view

Adapter board R2 (3D)

Matrix board R2 3D view

Matrix board R2 (3D)

Schematics

Matrix board schematic Matrix board module schematic

Matrix board schematic

Adapter board schematic Adapter board R2 schematic

PCB

Matrix board R2 PCB layout

Matrix board PCB (four HT16K33A modules)

Adapter board R2 PCB layout

Adapter board R2 PCB

Bill of materials

Prices are estimated from LCSC single-board quantities and AliExpress for the LED matrices.

Matrix board (bicolour-matrix)

DesignatorValueFootprintQtyLCSCUnit cost (est.)Line total (est.)
C1, C610 µF08052C440198$0.02$0.04
C2, C3, C4, C5100 nF06034C14663$0.01$0.04
D1, D2, D3, D41N4148WSSOD-3234C2128$0.01$0.04
J1, J21×04 pin headerThrough hole2—$0.05$0.10
J3, J4JST SH 1×04 (Qwiic-style)SMD2—$0.15$0.30
J51×02 socketThrough hole1—$0.05$0.05
LED1, LED2, LED3, LED48×8 bicolour matrixModule4AliExpress$2.00$8.00
R3, R4, R5, R9, R10, R11, R13, R14, R15, R18, R19, R2047 kΩ060312C25819$0.002$0.02
U1, U2, U3, U4HT16K33ASSOP-284C5444738$0.54$2.16
Total (matrix, components only)~$10.75

Adapter board (adapter-board-r2)

Default build uses the STCC4 for CO₂. An SCD41 (U7) can be fitted instead if R6/R8 are left open and the unpopulated R5/R7 0 Ω jumpers are fitted (routes the SHT4x onto the main I²C bus instead of the STCC4 compensation bus).

DesignatorValueFootprintQtyLCSCUnit cost (est.)Line total (est.)
BT1CR2032 holderSMD1C7498149$0.15$0.15
C11 µF06031C15849$0.01$0.01
C3, C5, C11, C12, C18100 nF06035C14663$0.01$0.05
C4, C8, C9, C10, C13, C14, C16, C17100 nF04028C1525$0.005$0.04
C1510 µF06031C19702$0.02$0.02
C210 µF08051C15850$0.03$0.03
C6, C74.7 µF12062C29823$0.03$0.06
D1B5817WSSOD-3231C7420329$0.05$0.05
F1, F21.1 A fuse08052—$0.05$0.10
J1USB-C receptacle 14PThrough hole1C3151746$0.30$0.30
J2JST SH 1×07SMD1—$0.25$0.25
J31×02 socketThrough hole1—$0.05$0.05
J41×04 socketThrough hole1—$0.08$0.08
Q1UMH3NSOT-3631—$0.08$0.08
Q2, Q3BSS138WSOT-3232C28646265$0.03$0.06
R1, R210 kΩ06032C25804$0.002$0.004
R3, R45.1 kΩ06032C23186$0.002$0.004
R6, R80 Ω (STCC4 / SHT4x compensation)04022C17168$0.004$0.008
R9, R10, R11, R124.7 kΩ06034C23162$0.002$0.008
S1, S2Tactile button, 160 gfPTS8102C720477$0.10$0.20
U1ESP32-C3-WROOM-02Module1C2934560$3.13$3.13
U2USBLC6-2SC6SOT-23-61C7519$0.18$0.18
U3CH340XMSOP-101C3035748$0.67$0.67
U4AP2114HA-3.3TRG1SOT-2231C460314$0.25$0.25
U5YSN8900AP3SMD3225-10P1C54780223$1.46$1.46
U6SHT4xDFN-41—$1.20$1.20
U8BMP580LGA-101C22391138$0.96$0.96
U9LIS2DW12TRLGA-121C189624$1.26$1.26
U10STCC4LGA1C49191471$10.06$10.06
Total (adapter, default build)~$20.73

Optional (not in default total): U7 SCD41 (~$18, C3659421) with R5/R7 fitted and R6/R8 open; leave U10 unpopulated.

Combined components (matrix + adapter, default): ~$31.48
(PCBs: ~$30 matrix + ~$12 adapter at JLCPCB)

Parts

12
QtyValueFootprintReferences
3100nFPCM_JLCPCB:C_0603C1, C3, C5
222pFPCM_JLCPCB:C_0603C2, C4
2TTP223-BA6-TDeasyeda2kicad:SOT-23-6_L2.9-W1.6-P0.95-LS2.9-BLU2, U3
2TestPointTestPoint:TestPoint_Pad_D4.0mmTP1, TP2
1Conn_01x04_Socketcustom:SSD1306-0.91-OLED-4pin-128x32J1
1Conn_01x07_PinConnector_JST:JST_SH_SM07B-SRSS-TB_1x07-1MP_P1.00mm_HorizontalJ2
1VEML6030easyeda2kicad:SENSORS-SMD_VEML6030U1

More from picafe/bicolor-matrix-v2

2
  • 4 layers68.4 × 33.3 mmAdapter board r2, the printed circuit board in 3D

    Adapter board r2

    picafe/bicolor-matrix-v2

    A 32x8 bicolor LED matrix module composed of 4 8x8 matrices based on the Holtek HT16K33A I2C LED driver. V1 paired it with a stacked adapter (RP2040 Zero + DS3231 module); V2 redesigns the matrix routing and puts an…

    54 parts
  • 4 layers132.4 × 33.4 mmBicolour matrix, the printed circuit board in 3D

    Bicolour matrix

    picafe/bicolor-matrix-v2

    A 32x8 bicolor LED matrix module composed of 4 8x8 matrices based on the Holtek HT16K33A I2C LED driver. V1 paired it with a stacked adapter (RP2040 Zero + DS3231 module); V2 redesigns the matrix routing and puts an…

    51 parts

Similar boards

  • 6 layers90 × 90 mmCodex micro wired revA route nognd, the printed circuit board in 3D

    Codex micro wired revA route nognd

    slopus/codex-keybored

    A 100% vibe-coded hardware build: Fusion 360, six-layer KiCad PCB, STM32 firmware, and live JLC factory handoff.

    97 parts10
  • 4 layers25.6 × 23.6 mmCANNONBALL, the printed circuit board in 3D

    CANNONBALL

    user-will/PCB_CANNONBALL

    An ESP32-C3 dev board with more sensors and features then you could know what to do with

    61 parts14
  • 4 layers44.5 × 50.6 mmKompic Mk1b, the printed circuit board in 3D

    Kompic Mk1b

    porupski/kompic-wearable

    Compact Open Multi-sensor Platform & Apparat.

    149 parts3GPL-3.0
  • 2 layers25.4 × 25.4 mmPiicoDev Ambient Light Sensor VEML6030, the printed circuit board in 3D

    PiicoDev Ambient Light Sensor VEML6030

    CoreElectronics/CE-PiicoDev-Ambient-Light-Sensor-VEML6030

    Hardware repo for the Core Electronics PiicoDev Ambient Light Sensor VEML6030

    23 parts
  • 2 layers52.7 × 48.7 mmAirQualitymonitoringESP, the printed circuit board in 3D

    AirQualitymonitoringESP

    sankarax/AQM420

    Air Quality Monitoring project which includes the Arduino script integrating everything into the Blynk IoT app, schematics and the pcb build

    20 parts
  • 2 layers47.6 × 31.8 mmLight sensor module, the printed circuit board in 3D

    Light sensor module

    valveteam/lighting-module

    Light sensor module for the valve

    29 parts
  • 2 layers17.4 × 14 mmSateLight LightSensor, the printed circuit board in 3D

    SateLight LightSensor

    ChrisMeletis/satelight_pcb

    A repository containing all the printed circuit boards for the SateLight project.

    12 partsGPL-2.0
  • 4 layers39 × 119.5 mmFieldcam, the printed circuit board in 3D

    Fieldcam

    EmbryoPhenomics/FieldCam

    Submersible field camera and sensor instrument

    135 parts

Questions

How big is the Button board r2 PCB?

It measures 91.9 × 12.4 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Button board r2 use?

12 parts, built around the TTP223-BA6-TD and VEML6030. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Button board r2 KiCad files?

From the picafe/bicolor-matrix-v2 repository on GitHub, at the commit this page was made from: the board is button-board-r2/button-board-r2.kicad_pcb and its schematic adapter-board-r2/adapter-board-r2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Button board r2 design in my own project?

Its repository states no licence, so its author keeps all rights: ask picafe before reusing the design.