Skip to the content
4 layers26 × 52 mmBT MacroPad with STM, the printed circuit board in 3D

BT MacroPad with STM

AntranigB/BT-MacroPad

All of these make it hard to handle keyboard, especially from afar. BUT what if while you're doing those you want to:

Size
26 × 52 mm
Copper layers
4
Thickness
1.6 mm
Parts
35
Nets
69
Pads
227
Tracks, vias
475, 73
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
8 Jul 2026
Updated
22 Aug 2026

Overview

BT MacroPad with STM is an open-source printed circuit board by AntranigB, from the AntranigB/BT-MacroPad repository on GitHub. It is a 4-layer board of 26 × 52 mm with 35 parts on 69 nets, routed with 475 tracks and 73 vias.

It is built around the CH340C, XC6206P332MR-G and KT-0805G, with the TPTVS0571P, USB-TYPE-C-018 and USBLC6-2SC6 among its other parts. Its parts include 8 capacitors, 5 resistors, 3 ICs, 3 diodes and 3 connectors. It belongs with the keyboards and input boards and the STM32 boards of this library.

Main components

6

README

README.md

Bluetooth Macropad README

Inspiration (why did I do this?)

Imagine you're:

  • Washing Dishes
  • Gaming
  • Eating Food, etc

All of these make it hard to handle keyboard, especially from afar. BUT what if while you're doing those you want to:

  • unmute your mic on Discord?
  • Pause a video?
  • Speed up a video (using a playback speed extension like this one)
  • Program a specific macro?

None of that can be done wirelessly with current headsets on the market and no macropads are made for such a small application (that can easily stick to a headset). That is what I set out to create. First step is to understand the hardware. What small bluetooth microcontrollers are like, how is working with the bluetooth stack, a real time operating system, what is the power consumption I can expect, how should I plan layout and PCB?

Technical

4 Layer PCB Board. Layer Breakdown:

  1. Signal Traces
  2. Ground
  3. Power (V_BUS (5V), 3.3V) (+ few signal traces I couldn't fit on those 2 layers)
  4. Signal Traces

Overall Layout

USB-C --> LDO (5V -> 3.3V) --> BT Chip --> Header Pins

Nitty Gritty

Components

Schematic

Access the schematic here alt text alt text

PCB

Access the KiCad PCB file here.

Composite Layer View

Composite view of all four BT MacroPad PCB layers

All four copper layers shown together.

Individual Layers
Layer 1: SignalLayer 2: Ground
PCB layer 1 signal routingPCB layer 2 ground plane
Layer 3: PowerLayer 4: Signal
PCB layer 3 power planePCB layer 4 signal routing
Fabricated Board

Fabricated BT MacroPad PCB held in a hand for scale

The assembled BT MacroPad PCB, shown in hand for scale.

Design Decisions:

Current Workflow

Code

The intial code is for an ESP-32 and written in C++ as an Arduino Sketch (found here as: BLE_Test_Jul28_RunningAverage.ino) It looked like this: ESP-32 microcontroller on breadboard

Future Envisionments

  1. Minituatrize the macropad. Implement a 3 position switch to go between 3 differnet devices connected to it.
  2. Test driving 50mm drivers.
  3. Work on BT stack that can reliably stream audio
  4. Detachable Microphone
  5. Analog potentiometer for volume control

Parts

35
QtyValueFootprintReferences
51uFEasyEDA:C0603C1, C2, C3, C6, C8
2100nFEasyEDA:C0402C4, C7
2Conn_01x18Connector_PinHeader_2.54mm:PinHeader_1x18_P2.54mm_VerticalJ1, J2
2RResistor_SMD:R_0201_0603MetricR1, R2
2TS263065A 340GF SX BD SMD TACTILE SWITCHEasyEDA:SW-SMD_4P-L3.0-W2.6-P1.80-LS3.4-TLSW1, SW2
10805GEasyEDA:LED0805-R-RDLED1
1100kRResistor_SMD:R_0201_0603MetricR4
110kRResistor_SMD:R_0201_0603MetricR5
110uFCapacitor_SMD:C_0201_0603MetricC5
12.2kEasyEDA:R0603R3
1CH340CEasyEDA:SOP-16_L10.0-W3.9-P1.27-LS6.0-BLU4
1CH340C_RXDConnector_Pin:Pin_D1.0mm_L10.0mmTP2
1CH340C_TXDConnector_Pin:Pin_D1.0mm_L10.0mmTP1
1Conn_01x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ4
1D+_FilteredConnector_Pin:Pin_D1.0mm_L10.0mmTP4
1D+_SolderJumperJumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mm_NumberLabelsJP1
1D-_FilteredConnector_Pin:Pin_D1.0mm_L10.0mmTP3
1D-_SolderJumperJumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mm_NumberLabelsJP2
1RXDSTMConnector_Pin:Pin_D1.0mm_L10.0mmTP5
1STM32WBA5MMGH6TRSTM32WBA5MMGH6TR:SIP-LGA76_STMU1
1STM_USB_D+Connector_Pin:Pin_D1.0mm_L10.0mmTP8
1STM_USB_D-Connector_Pin:Pin_D1.0mm_L10.0mmTP7
1TPTVS0571PEasyEDA:DFN-2_L1.6-W1.0-P1.10-RDD2
1TXDSTMConnector_Pin:Pin_D1.0mm_L10.0mmTP6
1USB-TYPE-C-018EasyEDA:USB-C_SMD-TYPE-C-31-M-12USB1
1USBLC6-2SC6EasyEDA:SOT-23-6_L2.9-W1.6-P0.95-LS2.8-BLD1
1XC6206P332MREasyEDA:SOT-23-3_L2.9-W1.6-P1.90-LS2.8-BRU3

More from AntranigB/BT-MacroPad

2
  • 4 layers28 × 52 mmBT MacroPad Before PajoPCB, the printed circuit board in 3D

    BT MacroPad Before PajoPCB

    AntranigB/BT-MacroPad

    All of these make it hard to handle keyboard, especially from afar. BUT what if while you're doing those you want to:

    21 parts
  • 4 layers28 × 49.5 mmBT MacroPad, the printed circuit board in 3D

    BT MacroPad

    AntranigB/BT-MacroPad

    All of these make it hard to handle keyboard, especially from afar. BUT what if while you're doing those you want to:

    20 parts

Similar boards

  • 4 layers74 × 66.8 mmEsp32s3-poc devboard, the printed circuit board in 3D

    Esp32s3-poc devboard

    Galacs/esp32s3-poc-devboard

    ESP32-S3 based PoC board made to test step-down power supply design, 24v level shifter, crystal circuits and RF circuit

    107 parts
  • 2 layers123.4 × 123.4 mmEink mahjong compass, the printed circuit board in 3D

    Eink mahjong compass

    ikuto0815/eink_mahjong_compass

    This repo contains all the files neccesary to build a bluetooth controlled digital mahjong compass.

    55 parts4AGPL-3.0
  • 4 layers25.4 × 75 mmFiit esp32-kit pcb, the printed circuit board in 3D

    Fiit esp32-kit pcb

    999matej999/fiit-esp32-kit

    FIIT ESP32 Kit

    81 partsGPL-3.0
  • 4 layers80 × 60 mmKcell faker, the printed circuit board in 3D

    Kcell faker

    karlp/kcell-faker

    fake a load cell, for testing functional behaviour with changing loads.

    75 parts
  • 4 layers64.6 × 55.2 mmWhisker, the printed circuit board in 3D

    Whisker

    HeyPCB/whisker

    Drop-in controller for Petoi's Nybble robot cat running the stock OpenCat firmware: ATmega328P, PCA9685, MPU-6050, USB-C, 3 A buck, protected battery input. 4-layer KiCad 10 board plus printed cradle.

    118 partsCERN-OHL-S-2.0
  • 2 layers80 × 52 mmLPC1114-LCD, the printed circuit board in 3D

    LPC1114-LCD

    MarceloSalazar/LPC1114-LCD

    Las librerías del proyecto se referencian con ${KIPRJMOD} en sym-lib-table y fp-lib-table, así que el proyecto se abre directamente sin configurar nada.

    59 partsMIT
  • 2 layers105.4 × 86.5 mmGood Boy Limiter, the printed circuit board in 3D

    Good Boy Limiter

    JohnanLuca02/BYTE_Electronics

    Repository for everything concerning the electronics (PCB, Electrical schemes, BOM, ...) of the robot dog project of the AiTeam called BYTE.

    111 parts1
  • 2 layers39.2 × 36.6 mmLink101, the printed circuit board in 3D

    Link101

    robocore-labs/link101-hardware

    link101 is a multi-protocol USB interface board. One Type-C cable gives you CAN-FD, RS485, Dynamixel, Feetech, UART, I2C, and MIT Cheetah-protocol ports, all as stable Linux devices.

    71 parts1CERN-OHL-S-2.0

Questions

How big is the BT MacroPad with STM PCB?

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

What parts does the BT MacroPad with STM use?

35 parts, built around the CH340C, XC6206P332MR-G, KT-0805G and TPTVS0571P. 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 BT MacroPad with STM KiCad files?

From the AntranigB/BT-MacroPad repository on GitHub, at the commit this page was made from: the board is BT_MacroPad/PCB_BT MacroPad/Previous Named Versions/BT MacroPad _ with STM.kicad_pcb and its schematic BT_MacroPad/PCB_BT MacroPad/BT MacroPad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the BT MacroPad with STM design in my own project?

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