

Macro4
4 key macro pad with encoder support, based of STM32F072
- Size
- 48 × 48 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 29
- Nets
- 19
- Pads
- 153
- Tracks, vias
- 276, 36
- Pours
- 66
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 4 Jan 2020
- Updated
- 26 Jul 2020
Overview
Macro4 is an open-source printed circuit board by joshajohnson, from the joshajohnson/macro4 repository on GitHub. It is a 2-layer board of 48 × 48 mm with 29 parts on 19 nets, routed with 276 tracks and 36 vias.
It is built around the AP2112K-3.3, WS2812B and BSS138. Its parts include 6 switches, 5 capacitors, 3 diodes, 2 resistors and 2 ICs. It belongs with the STM32 boards of this library.
Main components
3AP2112K-3.3
SOT253.3V 600mA CMOS Low Dropout Linear Regulator with EnableDiodes IncorporatedUncategorisedWS2812B
5mm X 5mm Surface Mount RGB LED with Intelligent ControlWorldsemiUncategorisedBSS138
SOT-23-55℃~+150℃ 1 N-channel 1.1Ω@10V、1.2Ω@4.5V 1.2V 1.7nC@10V 17.5pF 340mA 350mW 50V 6.5pF N-Channel SOT-23 MOSFETs ROHShongjiachengMOSFETs
README
README.mdmacro4 - A small macro pad
Status: V0.2 tested and working
Features:
- 2x2 layout with encoder support on top locations
- STM32F072 with Type C connector
- Somewhat cost optimised / JLCSMT optimised design

Parts
29| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | M3 | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 3 | 100n | Capacitor_SMD:C_0603_1608Metric | C2, C4, C5 |
| 3 | CHERRY_MX | josh-keyboard:MX_KEYSWITCH | SW3, SW5, SW6 |
| 3 | WS2812B | LED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm | D1, D2, D3 |
| 2 | 10K | Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R1, R2 |
| 2 | 1u | Capacitor_SMD:C_0603_1608Metric | C1, C3 |
| 1 | 5K1 | Resistor_SMD:R_Array_Convex_4x0603 | RN1 |
| 1 | AP2112K-3.3 | Package_TO_SOT_SMD:SOT-23-5 | U1 |
| 1 | BSS138 | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | DFU | josh-buttons-switches:SW_Push_EVQPUL_EVQPUC | SW1 |
| 1 | F-Silk-Art | art:pattern_top | LOGO4 |
| 1 | Josh-Details | josh-logos:josh-details | LOGO2 |
| 1 | Josh-Logo | josh-logos:josh-johnson-logo-11x2 | LOGO1 |
| 1 | OSHW Logo | josh-logos:OSHW_Logo_3.6x3.6_F.Mask | LOGO3 |
| 1 | RST | josh-buttons-switches:SW_Push_EVQPUL_EVQPUC | SW2 |
| 1 | Rotary_Encoder_MX | josh-keyboard:MX_KEYSWITCH_ENCODER | SW7 |
| 1 | STM32F072C8Tx | Package_QFP:LQFP-48_7x7mm_P0.5mm | U2 |
| 1 | USB_C_Receptacle_USB2.0 | josh-connectors:USB_C_U262-161N-4BVC11 | J1 |
Questions
How big is the Macro4 PCB?
It measures 48 × 48 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Macro4 use?
29 parts, built around the AP2112K-3.3, WS2812B and BSS138. 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 Macro4 KiCad files?
From the joshajohnson/macro4 repository on GitHub, at the commit this page was made from: the board is hardware/0.1/macro4.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Macro4 design in my own project?
Its repository states no licence, so its author keeps all rights: ask joshajohnson before reusing the design.
More from joshajohnson/macro4
1- 2 layers48 × 48 mm

Similar boards
- 2 layers390 × 120.2 mm

- 2 layers89 × 124 mm

Hub20
joshajohnson/Hub20
Hub20 is a numpad with a bunch of features you never knew you needed.
183 parts68 - 2 layers220 × 70 mm

Bemini rp
ianklug/bemini
A miniature mechanical keyboard controller with a rotary encoder for staggered-key rhythm games.
70 parts55CC-BY-SA-4.0 - 2 layers80 × 50 mm

- 2 layers90 × 50 mm

- 2 layers52 × 25 mm

Logicool K275
h7ga40/RP2040_Logicool_K275_PCB
Replace PCB of Logitech K275 keyboard with RP2040
36 partsCC0-1.0 - 2 layers84.3 × 65 mm

- 2 layers87.7 × 40.5 mm
