Skip to the content
2 layers70 × 80 mmMacropad V1, the printed circuit board in 3D

Custom macropad peripheral for PC

Size
70 × 80 mm
Copper layers
2
Thickness
1.6 mm
Parts
45
Nets
57
Pads
202
Tracks, vias
463, 39
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
12 Oct 2026
Updated
30 Oct 2026

Overview

Macropad V1 is an open-source printed circuit board by Cogman-1, from the Cogman-1/Macropad_V1_PCB repository on GitHub. It is a 2-layer board of 70 × 80 mm with 45 parts on 57 nets, routed with 463 tracks and 39 vias.

It is built around the AP2112K-3.3 and USBLC6-2SC6. Its parts include 13 resistors, 9 diodes, 9 switches, 5 capacitors and 3 ICs. It belongs with the keyboards and input boards and the STM32 boards of this library.

Main components

2

README

README.md

Macropad V1 — Hardware

Custom 9-key USB macropad designed using KiCad, based on an STM32G4 microcontroller.

Project Status: Early Development / Prototype

Macropad V1 is currently in its first hardware revision. The design is subject to changes as development and testing progress.

Overview

Macropad V1 is a custom-designed USB macropad intended to provide programmable buttons and LED indicators through a dedicated host application.

The project focuses on developing a compact, extensible hardware platform with custom firmware and software.

The device communicates with the host using USB 2.0 Full Speed, with a vendor-defined HID interface.

Hardware Specifications

ComponentDescription
MicrocontrollerSTM32G4 Series
USB InterfaceUSB 2.0 Full Speed
ConnectorUSB Type-C
Buttons9 mechanical switches
LEDs9 reverse-mounted green LEDs
Power SupplyUSB 5V / 3.3V LDO regulator
Programming & DebuggingSWD (Tag-Connect)
PCB2-layer custom PCB
Design SoftwareKiCad 9

Main Features

  • Custom-designed PCB and schematic
  • 9 individually readable mechanical switches
  • 9 independently controllable LEDs
  • USB-C connectivity
  • On-board 3.3V voltage regulation
  • USB ESD protection
  • SWD interface for programming and debugging
  • Designed for automated PCB assembly where applicable

PCB Design

The PCB was designed in KiCad 9.

The design uses two copper layers and includes dedicated power distribution, ground planes and decoupling capacitors for the STM32 microcontroller.

Some components, including the mechanical switches, are intended for manual assembly.

Manufacturing and assembly are planned around JLCPCB services.

Repository Contents

This repository contains the hardware design files required to inspect, modify and manufacture the PCB.

These include:

  • KiCad project files
  • Circuit schematic
  • PCB layout
  • Component footprints and related design files

Opening the Project

  1. Install KiCad 9 or a compatible version.
  2. Clone this repository.
  3. Open the .kicad_pro project file.
  4. Open the schematic or PCB editor as required.

Firmware & Software

Macropad V1 uses custom firmware developed for the STM32G4 platform.

The firmware is responsible for:

  • Reading button states
  • Controlling individual LEDs
  • Managing USB HID communication
  • Exchanging data with the host computer

Firmware Repository Link

A separate host application is planned to provide configurable button actions, macros and LED behavior.

The host software will consist of a background daemon and a configuration GUI.

Parts

45
QtyValueFootprintReferences
9330Resistor_SMD:R_0805_2012MetricR4, R5, R6, R7, R8, R9, R10, R11, R12
9LEDLED_SMD:LED_1206_3216Metric_ReverseMount_Hole1.8x2.4mmD1, D2, D3, D4, D5, D6, D7, D8, D9
9SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9
210 uFCapacitor_SMD:C_0805_2012MetricC1, C2
2100 nFCapacitor_SMD:C_0805_2012MetricC3, C4
210kResistor_SMD:R_0805_2012MetricR3, R13
25.1kResistor_SMD:R_0805_2012MetricR1, R2
1100 nfCapacitor_SMD:C_0805_2012MetricC5
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U2
1STM32G431CBTxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1TC2030Connector:Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_VerticalJ2
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U3
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_XKB_U262-16XN-4BVC11J1

The 41 most common of 45 parts.

Similar boards

  • 4 layers60.8 × 61.3 mmOS3M Mouse, the printed circuit board in 3D

    OS3M Mouse

    spoter368/os3m-hardware

    All the hardware needed to build your own OS3M Mouse!

    51 parts399
  • 2 layers390 × 120.2 mmKeyboard, the printed circuit board in 3D

    Keyboard

    joshajohnson/entropy

    Strange keyboard with a left hand numpad

    334 parts97
  • 2 layers89 × 124 mmHub20, the printed circuit board in 3D

    Hub20

    joshajohnson/Hub20

    Hub20 is a numpad with a bunch of features you never knew you needed.

    183 parts68
  • 2 layers84.2 × 100 mmFabpack out v5 8, the printed circuit board in 3D

    Fabpack out v5 8

    yuz207/agentpad13

    agentpad13 — open-source 13-key macropad for agentic work (RP2040, vial-qmk, planar joystick, Raw HID agent-status protocol)

    126 parts41
  • 2 layers80.8 × 30 mmStm32 dev, the printed circuit board in 3D

    Stm32 dev

    brainstorm/bbtrackball-rs

    Experimenting with Blackberry trackball for keyboard ergonomics

    61 parts34
  • 2 layers46.8 × 52 mmUsb dev board, the printed circuit board in 3D

    Usb dev board

    cs2dsb/stm32-usb.rs

    A dev board designed to facilitate the development of USB firmware for STM32

    57 parts30Apache-2.0
  • 2 layers64.3 × 25.4 mmFranzininho WiFi, the printed circuit board in 3D

    Franzininho WiFi

    Franzininho/Franzininho-WiFi

    Franzininho WiFi is a board with ESP32-S2.

    38 parts24

Questions

How big is the Macropad V1 PCB?

It measures 70 × 80 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Macropad V1 use?

45 parts, built around the AP2112K-3.3 and USBLC6-2SC6. 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 Macropad V1 KiCad files?

From the Cogman-1/Macropad_V1_PCB repository on GitHub, at the commit this page was made from: the board is Macropad_V1.kicad_pcb and its schematic Macropad_V1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Macropad V1 design in my own project?

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