Skip to the content
PCBKitNew board
4 layers58 × 58 mmRgb matrix, the printed circuit board in 3D

Rgb matrix

joh/rgb-matrix3

RGB Matrix with USB and 48-bit colors!

Size
58 × 58 mm
Copper layers
4
Thickness
1.6 mm
Parts
138
Nets
125
Pads
436
Tracks, vias
1,409, 147
Pours
4
Routed
Yes
KiCad
KiCad 4
Created
3 Oct 2017
Updated
18 Dec 2023

Overview

Rgb matrix is an open-source printed circuit board by joh, from the joh/rgb-matrix repository on GitHub. It is a 4-layer board of 58 × 58 mm with 138 parts on 125 nets, routed with 1,409 tracks and 147 vias.

It is built around the STM32F405RGT6, 74AC244PC and LD3985M33R, with the ULN2803A and USBUF01W6 among its other parts. Its parts include 29 resistors, 22 capacitors, 16 connectors, 7 ICs and 2 diodes. It belongs with the lEDs and displays boards and the STM32 boards of this library.

Main components

5

README

hardware/README.md

Hardware

The board is based around an STM32F405 microcontroller which drives each LED with 16-bit hardware PWM. It also handles USB, SPI, etc.

RGB Matrix PCB

Each column is driven by SN74AC244 buffers, while the rows are driven by TBD62783 (common anode) or TBD62083/ULN2803A (common cathode).

PCB

The PCB is 4 layers and connects with the LED matrix like a backpack.

PCB front PCB back

The PCB was designed to handle currents up to 6A, which typically means max 8 panels in series, with the limiting component being the pin headers.

RGB Matrix front RGB Matrix side RGB Matrix back

BOM

TODO

Assembly

TODO: Some tips on soldering the board

Common cathode / common anode

TODO: info on components for CA/CC + jumpers

Power options

TODO: info about the jumpers

Tiling

TODO: how to set jumpers

Supported RGB displays

The board was originally designed for the 8x8 RGB Matrix sold by SparkFun (now sadly discontinued). Luckily there are plenty of displays on the market which are pin compatible. Some of them are listed below.

Any display with the same form factor should work, as long as the rows are on pins 7-10 and 23-26. Exactly which rows and columns are where is less important: they can be easily remapped in firmware.

TODO: picture

If you find a display that looks compatible which is not in the list below, please let me know so I can add it!

Tested displays:

Should work:

Parts

138
QtyValueFootprintReferences
24100rgb-matrix:R_0805R1, R2, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23 +8
12100nFrgb-matrix:C_0805C1, C5, C6, C7, C11, C12, C15, C16, C17, C18, C21, C22
310krgb-matrix:R_0805R25, R26, R27
31uFrgb-matrix:C_0805C4, C9, C14
374AC244Housings_SSOP:TSSOP-20_4.4x6.5mm_Pitch0.65mmU1, U2, U3
210uFrgb-matrix:C_0805C19, C20
21krgb-matrix:R_0805R28, R29
22.2uFrgb-matrix:C_0805C8, C10
226pFrgb-matrix:C_0805C2, C3
110nFrgb-matrix:C_0805C13
13.3VLEDs:LED_1206D1
15VLEDs:LED_1206D2
18MHzCrystals:Crystal_SMD_5032_2PadsX1
1BOOTButtons_Switches_SMD:SW_SPST_SKQGSW2
1CArgb-matrix:SMD-solder-bridge-1mmJP1
1CCrgb-matrix:SMD-solder-bridge-1mmJP2
1EASTPin_Headers:Pin_Header_Straight_1x03P15
1FILTERrgb-matrix:R_0805FB1
1LD3985M33RTO_SOT_Packages_SMD:SOT-23-5U6
1MATRIX_BOTSocket_Strips:Socket_Strip_Straight_1x16P1
1MATRIX_TOPSocket_Strips:Socket_Strip_Straight_1x16P2
1NORTHPin_Headers:Pin_Header_Straight_1x03P13
1PEASTPin_Headers:Pin_Header_Angled_1x07_Pitch2.54mmP11
1PNORTHPin_Headers:Pin_Header_Angled_1x07_Pitch2.54mmP9
1PSOUTHSocket_Strips:Socket_Strip_Angled_1x07P10
1PWESTSocket_Strips:Socket_Strip_Angled_1x07P8
1RESETButtons_Switches_SMD:SW_SPST_SKQGSW1
1SOUTHPin_Headers:Pin_Header_Straight_1x03P14
1SPI3Pin_Headers:Pin_Header_Straight_1x06P4
1STM32F405RHousings_QFP:TQFP-64_10x10mm_Pitch0.5mmU5
1SWDPin_Headers:Pin_Header_Straight_1x06P3
1UART5Pin_Headers:Pin_Header_Straight_1x06P5
1ULN2803AHousings_SOIC:SOIC-18W_7.5x11.6mm_Pitch1.27mmU4
1USBUF01W6rgb-matrix:SOT323-6LU7
1USB_BConnect:USB_Micro-BP7
1VEXTrgb-matrix:BARREL_JACKCON1
1VEXTPin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmP6
1Vbusrgb-matrix:SMD-solder-bridge-3mmJP4
1Vextrgb-matrix:SMD-solder-bridge-3mmJP3
1WESTPin_Headers:Pin_Header_Straight_1x03P12

The 84 most common of 138 parts.

Questions

How big is the Rgb matrix PCB?

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

What parts does the Rgb matrix use?

138 parts, built around the STM32F405RGT6, 74AC244PC, LD3985M33R and ULN2803A. 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 Rgb matrix KiCad files?

From the joh/rgb-matrix repository on GitHub, at the commit this page was made from: the board is hardware/rgb-matrix.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rgb matrix design in my own project?

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

Similar boards

  • 4 layers406.4 × 254 mmConsole, the printed circuit board in 3D

    Console

    mrieker/pdp8i

    101 parts
  • 2 layers42.5 × 21 mmPS2USB, the printed circuit board in 3D

    PS2USB

    meerstern/PS2USB_CONVERTER

    PS/2 USB CONVERTER for old computers with USB keyboard

    25 parts9
  • 2 layers60 × 60 mmProjectionball, the printed circuit board in 3D

    Projectionball

    meerstern/ProjectionBallUnit

    ProjectionBall v7.x with RP2040

    76 parts7
  • 2 layers22 × 26.4 mmConverter, the printed circuit board in 3D

    Converter

    meerstern/USBSerial_I2C_Converter

    USBSerial I2C Converter

    26 parts3
  • 2 layers45 × 45 mmFlight ctrl v2, the printed circuit board in 3D

    Flight ctrl v2

    MickAvery/flight-controller-design

    Design of my flight controller using KiCAD

    50 parts1
  • 2 layers99.1 × 95.3 mmTmb musicplayer, the printed circuit board in 3D

    Tmb musicplayer

    janfietz/tmb_board

    Hardware design for toddlerMusicBox project

    203 partsCC-BY-SA-4.0
  • 4 layers40 × 49 mmADC, the printed circuit board in 3D

    ADC

    maknoll/MRI_ADC_Probe

    This repository includes all hard- firm- and software resources realated to MRI ADC Probe developed for measuring gradient fields in a running MRI scanner.

    69 parts
  • 2 layers23.9 × 19.8 mm.watch, the printed circuit board in 3D

    .watch

    silardg/.watch

    PCB for a small watch

    28 parts