

Trackpad
A big QMK powered trackpad
- Size
- 172 × 152.9 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 102
- Nets
- 132
- Pads
- 606
- Tracks, vias
- 1,557, 598
- Pours
- 386
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 15 Dec 2023
- Updated
- 3 Feb 2025
Overview
Trackpad is an open-source printed circuit board by george-norton, from the george-norton/peacock repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 172 × 152.9 mm with 102 parts on 132 nets, routed with 1,557 tracks and 598 vias.
It is built around the RP2040, W25Q16JVUXIQ and MIC5504-3.3YM5, with the SN74LVC1T45DRL, USBLC6-2P6 and SK6812MINI-EA among its other parts. Its parts include 39 capacitors, 15 resistors, 11 connectors, 7 ICs and 7 diodes. It belongs with the keyboards and input boards and the RP2040 boards of this library.
Main components
6RP2040
LQFN-56(7x7)12bit 133MHz 30 LQFN-56(7x7) Microcontrollers (MCU/MPU/SOC) ROHSRaspberry PiMicrocontrollers (MCU/MPU/SOC)W25Q16JVUXIQ
USON-8-EP(2x3)-40℃~+85℃ 100,000 cycles 10uA 133MHz 16Mbit 2.7V~3.6V 20 Years 3ms SPI USON-8-EP(2x3) NOR FLASH ROHSWinbond ElecNOR FLASHMIC5504-3.3YM5
SOT-23-5-40℃~+125℃@(Tj) 1 120uVrms 15uA 180mV@(300mA) 3.3V 300mA 5.5V 75dB@(1kHz) Fixed Over Temperature Protection、Enable Positive SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSTECH PUBLICVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsSN74LVC1T45DRL
SOT-5x3-6-40℃~+85℃ 1 1 1.65V~5.5V 1.65V~5.5V 420Mbps Auto Direction Detection、Power-Off Protection Bidirectional CMOS CMOS Tri-State SOT-5x3-6 Translators, Level Shifters ROHSTexas InstrumentsTranslators / Level ShiftersUSBLC6-2P6
SOT-666-6-40℃~+125℃ 150nA 17V 2 3.5pF 5.25V 5A@8/20us 6V ESD IEC 61000-4-2 Unidirectional SOT-666-6 ESD and Surge Protection (TVS/ESD) ROHSSTMicroelectronicsESD And Surge Protection (TVS/ESD)SK6812MINI-EA
SMD-4P,3.2x2.8mm-40℃~+85℃ 0.6mA 1.78mm 100ns 100ns 120mcd~240mcd 120° 160mcd~320mcd 1kHz 2.8mm 2000V 3.2mm 3.7V~5.5V 460nm~470nm 500ns 520nm~530nm 620nm~625nm 800Kbit/s 815mcd~1275mcd Built-in power-on reset circuit Translucent Frosted Lens SMD-4P,3.2x2.8mm RGB LEDs(Built-in IC) ROHSOPSCO OptoelectronicsRGB LEDs(Built-In IC)
README
README.mdPeacock
Peacock is an RP2040 powered trackpad running QMK. It features an integrated Microchip MaxTouch sensor IC which is connected to a 7" capacitive sensor. I also designed some little trackpads which you can integrate into your own keyboards, see Procyon.

The Ploopy trackpad is like a more polished Peacock, with a higher resolution sensor. It runs code build from the same QMK/ZMK branches, and is easier to buy.
Features
- Fully PCBA, this other than switches and encoders, this board is designed to be fully factory assembled.
- Integrated RP2040 controller, no need to a separate controller.
- 7 inch 16:9 capacitive sensor.
- 5 Choc/MX switches and 2 EC11/EC12 encoders.
- A VIK connection between the controller and sensor board.
But how does it work?
The capacitive sensing IC is wired to a grid of diamond shaped electrodes. The diamonds are connected to form rows and columns. The IC scans the matrix by applying a small voltage to the rows in turn, and then measuring voltage on the columns. Any conductive objects nearby (like your finger) will distrupt the electrical field and can be detected.

Sensor capabilities
The mXT336UD-MAU002 sensor IC used in this design is in fact a touchscreen controller rather than a trackpad controller. I have chosen to use a touchscreen controller as they tend to be designed for much larger sensor areas than touchpad controller. This sensor can:
- Detect 10 concurrent touch events.
- Can support both mutual capacitance and self capacitance measurements.
- Has integrated signal processing capabilities to reduce noise, reject large touches (grip or palms) etc..
- Can be configured as a digitizer, or an array of up to 16 buttons.
- The sensor also supports a passive stylus, although the electrodes in Peacock are larger than the recommended size, so this may not perform well.
Software support
Currently there are experimental QMK and ZMK branches with Peacock support.
The QMK multitouch_experiment branch exteneds the QMK digitizer feature to implement real trackpad support. On this branch, the MaxTouch driver reports 5 separate finger positions to the host and it detects gestures. You should get all the same gesture support you would expect from a modern trackpad. This branch is a large changeset which will likely take some time to get merged into QMK. There are some pre-built QMK firmware images in my userspace.
The ZMK Maxtouch module builds against Petes feat/pointers-move-scroll-ptp ZMK branch. It is currently missing LED support, and fallback to mouse emulation (so no MacOS support).
Sensor tuning
The sensor sensitivity may require tuning depending on the type of surface you use on your build. This can be done by adjusting the touch threshold, and if required the transmit gain. If your sensor is not detecting touches well, reduce the touch threshold. If your sensor is jittery, or is detecting spurious touches increase the touch threshold, or if there is any ungrounded metal by the sensor, move it. Increasing the transmit gain will require a larger touch threshold, but it should enable you to use thicker overlays and it will give you more room to adjust the touch threshold.
The mouse emulation gestures are implemented in software, they rely on various parameters that can be tuned by defining macros.
If you flash the QMK debug firmware, you can use the Maxtouch debug tool to adjust the sensor tuning in real time and see how it works.
BOM
To build a Peacock you will need:
- Factory assembled PCBs (from, for example JLCPCB).
- 5 Choc v1 or MX switches.
- 5 keycaps.
- 2 Encoders (ec11/ec12).
- 2 Encoder knobs.
- 1 Type-A 12P 0.5 mm pitch FFC cable (ideally around 5cm long) aliexpress.
- A 3D printed case and its mounting fixtures.
- Some sort of nice feeling insulating surface to put over the sensor, for example sticky vinyl wrap or acrylic. Ideally this should not have any air gaps, so FDM printed surfaces should be printed with 100% infill. If the surface is too thin the trackpad will not perform well, multiple layers of vinyl may be required.
- 4 rubber bumpons.
PCB ordering guide
Use the gerbers files in the releases, most options are not critical although a thicker PCB is probably best so it does not flex too much when you press against the sensor. I have tested with 1.6mm thickness, lead free HASL from JLCPCB.
The sensor IC is not available from LCSC, you will need to use JLCPCB's global parts sourcing service to order chips from Digikey, the digikey part number is 150-ATMXT336UD-MAU002-ND, expect a lead time of 1-2 weeks. You may also find the flash memory and LED parts go in and out of stock, so it might also be worth preordering those. The LEDs are optional, if the are not available you can always hand solder some at a later time.
You can see the correct part orientation here, when ordering ensure that all parts are correctly rotated:

The v1.0 release has been tested and it works, but there is an issue with the I2C pin allocation. As a result it requires two additional bodge wires, and the encoder switches will not work.
The v1.01 release has the issue fixed, you should order this version.
Assembly guide
Assembly is simple as the majority of the work is done by the manufacturer. You will need to:
- Remove the edge rails by breaking them off with a pair of pliers, then cut or break the mousebites to separate the two PCBs.

- Test your PCB. Plug it in and hopefully you will see a new mass storage device. Drag and drop a firmware (uf2) file to flash it. If sucessfull, the LEDs should light up.
- Solder 5 MX/Choc switches.
- Solder 2 EC11/EC12 encoders.

- Connect both boards together using the FFC cable, the black parts of the connector can be opened to enable you to insert the cable.

- Use a thread tapping tool to create threads in the case.
- Place the boards into the case.
- Screw it in with 8xM3 6mm screws and optionally 1xM2 6mm screw near the USB port.
- Stick your surface to the sensor area. The surface is critical to the performance of the trackpad, without a surface you will likley get no movement at all. Depending on its thickness, a single piece of vinyl will likely be insufficient for the trackpad to track well, a two or three layers will work much better. I noticed that some battery powered USB hosts require additional surface thickness to track multiple fingers well.

If you build a Peacock, please post a picture in the show and tell.
Firmware
Peacock support has not yet been merged back to QMK. You can find a branch with pointing device support here or the multitouch branch here Note, this branch currently does not work with MacOS.
VIK support
This trackpad is a VIK device, so you should be able to discard the controller portion of the build and wire the trackpad directly to a different VIK enabled controller (such as those sold by fingerpunch and splitkb). You could also replace the controller board with one of your own design.
VIK certification
Trackpad module
| Category | Classification | Response |
|---|---|---|
| FPC connector | Required | :heavy_check_mark: |
| Breakout pins | Recommended | :heavy_check_mark: |
| Uses: SPI | Optional | :x: |
| SPI used for SPI only | Strongly recommended | N/A |
| Uses: I2C | Optional | :heavy_check_mark: |
| I2C used for I2C only | Strongly Recommended | :heavy_check_mark: |
| I2C pull ups | Required | 3.3k |
| Uses: RGB | Optional | :x: |
| Uses: Extra GPIO 1 | Optional | :heavy_check_mark: |
| Uses: Extra GPIO 2 | Optional | :x: |
| Standard PCB Size/Mount | Strongly recommended | :x: |
Peacock controller
| Category | Classification | Response |
|---|---|---|
| FPC connector | Required | :heavy_check_mark: |
| Breakout pins | Recommended | :heavy_check_mark: |
| Supplies: SPI | Required | :heavy_check_mark: |
| Supplies: I2C | Required | :heavy_check_mark: |
| I2C on main PCB | Discouraged | :x: |
| I2C pull ups | Informative | N/A |
| Supplies: RGB | Required | :heavy_check_mark: |
| Supplies: Extra GPIO 1 | Required | Analog/Digital |
| Supplies: Extra GPIO 2 | Required | Analog/Digital |
Schematic

Parts
102| Qty | Value | Footprint | References |
|---|---|---|---|
| 18 | 100n | Capacitor_SMD:C_0402_1005Metric | C2, C3, C5, C6, C7, C10, C11, C29, C31, C32, C33, C34, C35, C36, C37, C38 +2 |
| 8 | 1µ | Capacitor_SMD:C_0402_1005Metric | C1, C4, C14, C15, C18, C22, C28, C30 |
| 6 | SK6812-MINI-E | Trackpad:LED_6028R | LED1, LED2, LED3, LED4, LED5, LED6 |
| 5 | 22n | Capacitor_SMD:C_0402_1005Metric | C19, C21, C23, C25, C27 |
| 5 | SW_Push | PCM_marbastlib-xp-choc:SW_choc_MxCombo_1u | SW2, SW3, SW4, SW5, SW6 |
| 4 | 10k | Resistor_SMD:R_0402_1005Metric | R1, R11, R12, R17 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3_Pad_Via | H5, H7, H8, H9 |
| 4 | MountingHole_Pad | MountingHole:MountingHole_3.2mm_M3_Pad_Via | H1, H2, H3, H4 |
| 3 | 2.2µ | Capacitor_SMD:C_0402_1005Metric | C20, C24, C26 |
| 2 | 10nF | Capacitor_SMD:C_0402_1005Metric | C16, C39 |
| 2 | 15p | Capacitor_SMD:C_0402_1005Metric | C12, C13 |
| 2 | 1k | Resistor_SMD:R_0402_1005Metric | R2, R3 |
| 2 | 27 | Resistor_SMD:R_0402_1005Metric | R8, R9 |
| 2 | 3.3k | Resistor_SMD:R_0402_1005Metric | R13, R14 |
| 2 | 330 | Resistor_SMD:R_0402_1005Metric | R15, R18 |
| 2 | 5.1k | Resistor_SMD:R_0402_1005Metric | R6, R7 |
| 2 | MIC5504-3.3YM5 | Package_TO_SOT_SMD:SOT-23-5 | U3, U5 |
| 2 | RotaryEncoder_Switch | Trackpad:ROT_Alps_EC11E-Switch | SW1, SW7 |
| 1 | 12k | Resistor_SMD:R_0402_1005Metric | R10 |
| 1 | 2.2nF | Capacitor_SMD:C_0603_1608Metric | C17 |
| 1 | B5817 | Diode_SMD:D_SOD-323 | D1 |
| 1 | Conn_01x01_Pin | Connector_PinHeader_1.27mm:PinHeader_1x01_P1.27mm_Vertical | J10 |
| 1 | Conn_01x02_Pin | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J9 |
| 1 | Conn_01x03 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J3 |
| 1 | Conn_01x04_Pin | Connector_PinSocket_1.00mm:PinSocket_1x04_P1.00mm_Vertical | J11 |
| 1 | Conn_01x04_Pin | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J7 |
| 1 | Conn_01x05_Pin | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J6 |
| 1 | Conn_01x07_Pin | Connector_PinHeader_1.27mm:PinHeader_1x07_P1.27mm_Vertical | J5 |
| 1 | Conn_01x08_Pin | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J8 |
| 1 | Crystal_GND24 | Crystal:Crystal_SMD_2520-4Pin_2.5x2.0mm | Y1 |
| 1 | MountingHole | MountingHole:MountingHole_2.2mm_M2_Pad_Via | H6 |
| 1 | Polyfuse | Fuse:Fuse_0603_1608Metric | F1 |
| 1 | RP2040 | Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm | U1 |
| 1 | SN74LVC1T45DRL | Trackpad:SN74LVC1T45DRLR | U6 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_CK_KXT3 | SW_BOOT1 |
| 1 | SolderJumper_3_Open | Jumper:SolderJumper-3_P1.3mm_Bridged2Bar12_RoundedPad1.0x1.5mm | JP1 |
| 1 | USBLC6-2P6 | Package_TO_SOT_SMD:SOT-666 | U7 |
| 1 | USB_C_Receptacle_USB2.0 | Trackpad:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | W25Q16JVUXIQ | Trackpad:USON-8-1EP_3x2mm_P0.5mm_EP0.25x1.65mm | U2 |
| 1 | mXT336UD-MAU002 | Trackpad:QFN-56_EP_6x6_Pitch0.35mm | U4 |
| 1 | ~ | Vik:vik-keyboard-connector-horizontal | J2 |
| 1 | ~ | Vik:vik-module-connector-vertical | J4 |
The 99 most common of 102 parts.
Similar boards
- 4 layers95.6 × 73.6 mm

- 2 layers130 × 51 mm

OSUMGP RP2040
NickGuyver/OSUMGP-RP2040
KiCanvas link so you don't have to download to just review the files is here
92 parts18CC-BY-4.0 - 2 layers40 × 18 mm

- 2 layers303.3 × 119 mm

- 2 layers41.4 × 41.9 mm

Earring
sequoia-hope/ultraroute
PCB autorouting experiments around copperroute: route jobs, leaderboards, board morphing
105 parts1MIT - 6 layers49.3 × 39.3 mm

VoronToolheadPCB
shxshxshxshx/VoronToolheadPCB
USB Toolhead Board for Voron Stealthburner
99 parts2GPL-3.0 - 2 layers60 × 60 mm

Arcboard stm32-mk2
christrotter/arcboard-stm32-mk2
Next iteration of the stm32f405 board; paradigm shift means new repo.
94 partsMIT - 2 layers236.9 × 86.8 mm

Questions
How big is the Trackpad PCB?
It measures 172 × 152.9 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Trackpad use?
102 parts, built around the RP2040, W25Q16JVUXIQ, MIC5504-3.3YM5 and SN74LVC1T45DRL. 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 Trackpad KiCad files?
From the george-norton/peacock repository on GitHub, at the commit this page was made from: the board is trackpad.kicad_pcb and its schematic macropad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Trackpad design in my own project?
Its repository publishes it under the CERN-OHL-S-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).