
Panel2
sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.
Panel4 is an open-source printed circuit board by sean618, from the sean618/MakerTiles repository on GitHub, published under the MIT licence. It is a 2-layer board of 104.5 × 184.9 mm with 191 parts on 177 nets, routed with 1,900 tracks and 309 vias.
It is built around the STM32G030F6P6, STM32F103C8T6 and DRV8833PWP, with the LTR-381RGB-01, MAX98357AEWL+T and ME6211C33M5G-N among its other parts. It belongs with the STM32 boards of this library.
MakerTiles is a system of modular, snap-together electronic tiles. Each tile is a small STM32-based board with a single job — a strip of LEDs, a joystick, a motor, a distance sensor, a screen, a speaker, and so on. Tiles connect on a shared bus, a USB tile bridges the bus to a PC, and a Python daemon on the PC discovers every connected tile and lets you read its inputs and drive its outputs.
This repository holds the whole stack: the hardware (KiCad board designs), the firmware (STM32 board projects + shared driver libraries), the protocols that move data over the bus, and the daemon that talks to it all from a PC.
[ tile ]──[ tile ]──[ tile ]── … ──[ USB tile ]──USB──▶ [ PC / Python daemon ]
└───────────────────────────────────┘
shared SPI bus (MicroBus + Field Protocol)Two protocols stacked on top of each other carry everything:
One tile acts as the master (the USB tile, which also bridges the bus to a host PC). Every other tile is a node. On the PC, the daemon opens the USB serial port, discovers the attached tiles, and exposes each one as an object you can interact with.
hardware/ KiCad designs for every tile (Boards/) + shared symbol/footprint
libraries, 3D models and BOMs (Libraries/). Old/ holds retired
prototype boards.
firmware/ STM32 firmware.
Boards/ One STM32CubeIDE project per tile (Button, LedStrip, Motor,
Joystick, Screen, USB, …). Mostly STM32G030 nodes; the USB
master is an STM32F103.
Libraries/ Shared C/C++ drivers used across boards (ledStrip, screen,
imu, speaker, servos, …) plus helpers (myAssert, fonts).
Documents/ NewBoardSetup.txt — the checklist for bringing up a new tile
(CubeMX peripheral config + firmware wiring).
protocol/ The shared protocol code, host-buildable and testable.
microbus/ MicroBus transport (C++). Leaf component.
fieldprotocol/ Field Protocol (C++), depends on microbus. Also built as the
masterNodeSystem shared library the Python daemon loads.
stm32/ STM32 glue binding the protocols to real SPI hardware
(stm32F1SpiMaster, stm32Node). Boards reach this via a
Core/stm32 symlink.
daemon/ Python daemon (the PC side). Opens the USB serial port, runs
board discovery, and drives tiles over the Field Protocol.
src/makertiles/ is the package; tests/ holds its test suites.The daemon is a Python package (makertiles, src-layout under daemon/). At a
high level you point it at a serial port and it hands you back the discovered
tiles:
import makertiles
tiles, manager = makertiles.start(port_name="/dev/ttyUSB0")
tiles.led_strip.colour = makertiles.red # set an output field
position = tiles.dial.position # read an input fieldIt can drive the C protocol two ways: over serial to real hardware in
production, or — in tests — by loading the masterNodeSystem shared library
directly via ctypes, so the real Python daemon exercises the real C protocol
without any hardware attached. That same library is what catches drift between
the C and Python sides of the wire contract.
Optional extras: Pillow (images) for the screen image-drawing helpers.
The C components and the Python daemon build in one CMake tree, and every test suite runs from a single command:
./build_and_test.shThis configures, builds (MicroBus, the Field Protocol + its shared library, and
the system test), then runs ctest. Python test deps (pytest, pyserial) are
installed automatically if missing.
To re-run only the failures, verbosely:
ctest --test-dir build --rerun-failed --output-on-failure| CTest name | What it covers |
|---|---|
microbus_unit | MicroBus transport unit tests (host). |
fieldprotocol_unit | Field Protocol unit tests against a mock MicroBus. |
system_integration | Full C stack (node + master) over the real MicroBus. |
python_unit | Python Field-Protocol encode/decode round trips. |
python_integration | The real Python daemon driving the C protocol via the .so. |
python_integration is the suite that exercises both languages together, so it
is the one that catches C↔Python wire-contract drift.
The firmware board projects under firmware/Boards/ are separate
STM32CubeIDE/CMake projects and are not part of the host build above — they
are flashed to real tiles. See firmware/Documents/NewBoardSetup.txt for the
per-board hardware and firmware bring-up checklist.
Each firmware/Boards/<Tile>/ directory is its own STM32 project (.ioc for
CubeMX, a linker script for the target part, and CubeIDE debug launch configs).
Nodes are generally STM32G030; the USB master is an STM32F103. The protocol
sources are shared into each board via symlinks (Core/stm32,
Core/Libraries, etc.) rather than copied — see the setup checklist for the
exact links and the required SPI/timer/interrupt peripheral configuration.
Released under the MIT License.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 22 | 4.7uF | boards:C_0402_1005Metric | BATC2, BATC4, BATC8, BATC9, BATC13, BATC14, LIGC2, LIGC3, LIGC4, LIGC5, LIGC8, LIGC9, LIGC10, MOTC1, MOTC2, MOTC26 +6 |
| 16 | 75R | boards:R_0402_1005Metric | BATR1, BATR2, BATR3, BATR4, LIGR1, LIGR2, LIGR3, LIGR4, MOTR11, MOTR12, MOTR13, MOTR14, SPKR4, SPKR6, SPKR7, SPKR9 |
| 12 | M2.5MountingHole | boards:MountingHole_2.7mm_M2.5_ISO7380 | BATH1, BATH2, LIGH1, LIGH2, MOTH1, MOTH2, MOTH3, MOTH4, SPKH1, SPKH2, SPKH3, SPKH4 |
| 11 | 22uF_25V | boards:C_0805_2012Metric | BATC5, BATC10, BATC11, MOTC4, MOTC10, MOTC11, MOTC12, MOTC13, MOTC14, MOTC15, MOTC16 |
| 8 | FFC_connector_16p_hinge_lock | boards:FFC_connector_16p_hinge_lock | BATJ1, BATJ3, LIGJ3, LIGJ5, MOTJ1, MOTJ11, SPKJ12, SPKJ13 |
| 6 | 0.1uF | boards:C_0402_1005Metric | BATC1, BATC3, BATC12, LIGC1, MOTC3, SPKC15 |
| 6 | 10K | boards:R_0402_1005Metric | BATR5, BATR6, BATR18, BATR19, LIGR9, LIGR12 |
| 5 | - | boards:BoardText | BATIGNORE5, BATIGNORE5, BATIGNORE5, BATIGNORE6, BATIGNORE6 |
| 4 | + | boards:BoardText | BATIGNORE4, BATIGNORE4, BATIGNORE7, BATIGNORE7 |
| 4 | 01x06_2.54mm_Female | boards:01x06_2.54mm_Female | BATJ6, LIGJ2, MOTJ7, SPKJ3 |
| 4 | 01x06_2.54mm_Male | boards:01x06_2.54mm_Male | BATJ7, LIGJ1, MOTJ5, SPKJ1 |
| 4 | Conn_02x03_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical_SMD | MOTJ2, MOTJ6, MOTJ8, MOTJ9 |
| 4 | ME6211C33M5G-N | boards:SOT-23-5 | BATU2, LIGU2, MOTU2, SPKU2 |
| 4 | swd_4pin | boards:swd_header | BATJ4, LIGJ4, MOTJ4, SPKJ4 |
| 3 | 100K | boards:R_0402_1005Metric | BATR14, BATR15, BATR20 |
| 3 | 5.1K | boards:R_0402_1005Metric | BATR11, BATR12, BATR17 |
| 3 | STM32G030F6P6 | boards:TSSOP-20_4.4x6.5mm_P0.65mm | BATU3, LIGU3, SPKU3 |
| 2 | 0.2R | Resistor_SMD:R_1210_3225Metric | MOTR5, MOTR6 |
| 2 | 220pF | boards:C_0402_1005Metric | SPKC4, SPKC10 |
| 2 | 22K | boards:R_0402_1005Metric | LIGR8, LIGR10 |
| 2 | ConnBattery_JST_S2B-PH-K-S | boards:JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal | BATJ5, BATJ8 |
| 2 | PMOS_2A | boards:SOT-23 | BATQ2, BATQ6 |
| 2 | TerminalBlock_2P_3.5mm | boards:TerminalBlock_2P_3.5mm | MOTJ3, MOTJ10 |
| 1 | 0.01R | boards:R_0805_2012Metric | BATR13 |
| 1 | 0.1uF_50V | boards:C_0402_1005Metric | MOTC5 |
| 1 | 1 battery! | boards:BoardText | BATIGNORE9 |
| 1 | 10nF | boards:C_0402_1005Metric | BATC6 |
| 1 | 10pF | boards:C_0402_1005Metric | BATC7 |
| 1 | 150K | boards:R_0402_1005Metric | BATR10 |
| 1 | 1K | boards:R_0402_1005Metric | BATR7 |
| 1 | 1uF | boards:C_0402_1005Metric | LIGC6 |
| 1 | 1uH_3.2A | Inductor_SMD:L_1008_2520Metric | BATL1 |
| 1 | 2.2uF | boards:C_0402_1005Metric | MOTC6 |
| 1 | 27pF | boards:C_0402_1005Metric | LIGC7 |
| 1 | 2p_picoblade | boards:Molex_PicoBlade_53261-0271_1x02-1MP_P1.25mm_Horizontal | SPKJ2 |
| 1 | 300K | boards:R_0402_1005Metric | LIGR11 |
| 1 | 330R | boards:R_0402_1005Metric | BATR16 |
| 1 | 4.7K | boards:R_0402_1005Metric | LIGR7 |
| 1 | 510K | boards:R_0402_1005Metric | BATR9 |
| 1 | 5V | boards:BoardText | MOTIGNORE13 |
| 1 | 750K | boards:R_0402_1005Metric | SPKR2 |
| 1 | Battery v0.5 | boards:BoardText | BATIGNORE1 |
| 1 | DATA | boards:BoardText | MOTIGNORE14 |
| 1 | DRV8833PWP | boards:HTSSOP-16-1EP_4.4x5mm_P0.65mm_EP3.4x5mm_Mask2.46x2.31mm_ThermalVias | MOTU1 |
| 1 | GND | boards:BoardText | MOTIGNORE12 |
| 1 | INA180A3 | boards:SOT-23-5 | BATU6 |
| 1 | LIS3DHTR | Package_LGA:LGA-16_3x3mm_P0.5mm_LayoutBorder3x5y | LIGU6 |
| 1 | LMA2718T421 | boards:SMD-4P-2.8x1.9mm | LIGU4 |
| 1 | LTR-381RGB | boards:LTR-381RGB | LIGU1 |
| 1 | LightSound v0.6 | boards:BoardText | LIGIGNORE1 |
| 1 | MAX98357AEWL+T | Package_BGA:WLP-9_1.448x1.468mm_Layout3x3_P0.4mm_Ball0.27mm_Pad0.25mm | SPKU1 |
| 1 | Motor 0 | boards:BoardText | MOTIGNORE2 |
| 1 | Motor 1 | boards:BoardText | MOTIGNORE3 |
| 1 | Motor v0.7 | boards:BoardText | MOTIGNORE1 |
| 1 | N_MOSFET | boards:SOT-23 | BATQ5 |
| 1 | OFF | boards:BoardText | BATIGNORE3 |
| 1 | ON | boards:BoardText | BATIGNORE2 |
| 1 | Only connect | boards:BoardText | BATIGNORE8 |
| 1 | STM32F103C8T6 | Package_QFP:LQFP-48_7x7mm_P0.5mm | MOTU4 |
| 1 | Servo1 | boards:BoardText | MOTIGNORE4 |
| 1 | Servo2 | boards:BoardText | MOTIGNORE5 |
| 1 | Servo3 | boards:BoardText | MOTIGNORE6 |
| 1 | Servo4 | boards:BoardText | MOTIGNORE7 |
| 1 | Servo5 | boards:BoardText | MOTIGNORE8 |
| 1 | Servo6 | boards:BoardText | MOTIGNORE9 |
| 1 | Servo7 | boards:BoardText | MOTIGNORE10 |
| 1 | Servo8 | boards:BoardText | MOTIGNORE11 |
| 1 | Speaker v0.8 | boards:BoardText | SPKIGNORE1 |
| 1 | SpeakerSmt | boards:Speaker1.8x1.8 | SPKLS2 |
| 1 | TP4057 | boards:SOT-23-6 | BATU8 |
| 1 | TPS2116DRL | Package_TO_SOT_SMD:SOT-583-8 | BATU1 |
| 1 | TPS61230A | boards:TPS61230A | BATU5 |
| 1 | TestPoint_2Pole | TestPoint:TestPoint_2Pads_Pitch2.54mm_Drill0.8mm | SPKTP1 |
| 1 | USBLC6-2P6 | boards:USBLC6-2P6 | BATIC1 |
| 1 | USB_C_power_only_connector | boards:USB_C_Receptacle_power_only_6P | BATJ2 |
| 1 | XB7608AJ | boards:XB7608AJ | BATU4 |
| 1 | op_amp_mcp6001 | Package_TO_SOT_SMD:SOT-23-5 | LIGU5 |
| 1 | red_led | boards:LED_SML-D12D1WT86 | BATD2 |
| 1 | side_spst_switch | boards:side_spst_switch | BATSW1 |
The 187 most common of 191 parts.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.

sean618/MakerTiles
Modular STM32 electronic-tile system: hardware, firmware, the MicroBus + Field Protocol stack, and a Python daemon.





fahreddinaykut/Cereyan
Battery-powered ESP32-C3 smart ventilation fan with magnetic mounting, ESP-NOW synchronization, USB-C charging and programmable mobile control.

potpurri/LIR2032-charger
Charing board for LIR2032 batteries (or other lithium type button/coin cell batteries with the same diamater and mx voltage of 4.2V)


It measures 104.5 × 184.9 mm and has 2 copper layers, 1.6 mm thick.
191 parts, built around the STM32G030F6P6, STM32F103C8T6, DRV8833PWP and LTR-381RGB-01. 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.
From the sean618/MakerTiles repository on GitHub, at the commit this page was made from: the board is hardware/Boards/Extra/Panel4/v0.8/Panel4.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).