Skip to the content
2 layers52 × 99 mmDIY Mouse, the printed circuit board in 3D

A fully custom gaming mouse using an Arduino Pro Micro ATmega32U4 and a PixArt PMW3389

Size
52 × 99 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
26
Pads
81
Tracks, vias
128, 22
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
22 Jul 2026
Updated
27 Oct 2026

Overview

DIY Mouse is an open-source printed circuit board by aSharcc, from the aSharcc/PMW3389-Custom-Mouse repository on GitHub, published under the MIT licence. It is a 2-layer board of 52 × 99 mm with 21 parts on 26 nets, routed with 128 tracks and 22 vias.

It is built around the XC6206-1.8V. Its parts include 9 capacitors, 3 ICs, 3 switches and 2 resistors.

Main components

1

README

README.md

https://github.com/user-attachments/assets/145927b7-b68a-468a-8b0a-571980a8af83

PMW3389 Custom DIY Mouse

A fully custom gaming mouse using a PixArt PMW3389.

2 versions. 3.3V/8MHz Arduino Pro Micro (ATmega32U4) and Seeed Studio XIAO ESP32C3.

I also intend for this mouse to be easily repairable.

Be sure to read BOM.md

Thanks to PCBWay for collaborating on this project

  • Provided PCBs for v2 and v3 prototyping
  • High quality
  • Manufactured and shipped quickly
  • No faults
  • Fast reviewing

Key Features

  • High performance sensor: 16,000 DPI via PixArt PMW3389
  • Modular and Repairable
    • Hotswap Main Switches: Uses Mill-Max 3305 so can be replaced with no soldering
    • Replaceable MCU: Mounted using through-hole pin headers
  • Wireless and wired versions.
  • Sensor communication through SPI

Version Comparison

Featuresv2 (Wired)v3 (Wireless)
MCU3.3V/8MHz Arduino Pro Micro (ATmega32U4)Seeed Studio XIAO ESP32C3
ConnectivityMicro-USBBluetooth / 2.4GHz Wireless
Power SourceMicro-USBLiPo Battery
Production FilesFiles v2Files v3

v2

Mouse v2 pcb render

v3

Mouse v3 shell Mouse v3 pcb render

How To Use

DETAILED INSTRUCTIONS and BOM HERE

  1. Order the PCB from a PCB manufacturer (e.g. JLCPCB) with files from specific release.
  2. Either:
    • Order PCBA for the SMD components, or
    • Purchase the SMD components and hand solder them.
  3. Purchase the components listed in the BOM that are not included in PCBA.
  4. Hand solder/install the components not included in PCBA.
  5. Download the PMW3389 library.
  6. Download Firmware
  7. Flash the firmware to the MCU.
  8. Download and print the 3D models.
  9. Add threaded heat inserts to the shell.
  10. For Wireless Only:
    • Not Completed Will include power switch and battery stuff.
  11. Assemble the mouse.

Components

  • Sensor: PixArt PMW3389 and LM19-LCT Lens

  • MCU: 3.3V/8MHz Arduino Pro Micro (ATmega32U4) or Seeed Studio XIAO ESP32C3

  • Switches: 2 x Huano Blue Shell Pink Dot Mouse Switches

  • Scroll Wheel: Rotary Encoder w/Switch (EC11)

  • Hot Swap Socket for Switches: 6 x Mill-Max 3305

  • SMD Components (0805)

    • 1 x 13 ohm resistor
    • 1 x 10k ohm resistor
    • 5 x 0.1uF capacitor
    • 3 x 10uF capacitor
    • 1 x 4.7uF capacitor
    • 1 x XC6206-1.8V LDO
  • PTFE Mouse Skates

  • Micro USB Cable for v2 or USB-C cable for v3 charging

  • Mounting Hardware

    • 7 x Heat Inserts M2 x 3 x 3.2
    • 3 x M2 x 4 Screw
    • 4 x M2 x 7 Screw
  • FOR V3 ONLY:

    • 500mAh battery with JST connector
    • SPDT / 1P2T PCB slide switch
    • 10cm male to female USB-C cable

Pinout

ComponentUsagev2 (3.3v/8MHz Pro Micro)v3 (XIAO ESP32)
PMW3389NCSD10D3
MOSID16 (MOSI)D10 (MOSI)
MISOD14 (MISO)D9 (MISO)
SCLKD15 (SCLK)D8 (SCLK)
MOTD2 (INT 1)D4
Rotary Encoder w/SwitchRotary Encoder AD3 (INT 0)D6
Rotary Encoder BD7 (INT 6)D0
Encoder Switch S2 (Middle Click)D8D7
SwitchesSwitch 1 (Left Click)D4D1
Switch 2 (Right Click)D9D2

Documentation & Credits

Parts

21
QtyValueFootprintReferences
50.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C3, C6, C8, C10
310uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC5, C7, C9
2Mouse SwitchCustom_Footprints:SW_D2FC-F-7N_100M_S1, S2
110kΩResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3
113ΩResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
14.7uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1
1Arduino Pro Micro 3.3vCustom_Footprints:MODULE_DEV-12587U1
1LOGOLOGOG***
1PMW3389DM-T3QUCustom_Footprints:PMW3360U2
1Rotary Encoder w/SwitchRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW1
1XC6206-1.8VPackage_TO_SOT_SMD:SOT-23U3

The 18 most common of 21 parts.

More from aSharcc/PMW3389-Custom-Mouse

1
  • 2 layers48 × 83 mmMouse v3, the printed circuit board in 3D

    Mouse v3

    aSharcc/PMW3389-Custom-Mouse

    A fully custom gaming mouse using an Arduino Pro Micro ATmega32U4 and a PixArt PMW3389

    21 parts2MIT

Similar boards

  • 4 layers254.5 × 153.1 mmMQ-1p5, the printed circuit board in 3D

    MQ-1p5

    kitspace-test-repos/kicad6-file-collection

    200 partsMIT
  • 2 layers28.3 × 39.8 mmLevelShifter, the printed circuit board in 3D

    LevelShifter

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    21 parts5.1kGPL-3.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard before pour, the printed circuit board in 3D

    Amiga gfxcard before pour

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    21 parts1k
  • 2 layers93.9 × 46 mmRectifier, the printed circuit board in 3D

    Rectifier

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    21 parts990GPL-3.0
  • 2 layers45.5 × 42.9 mmEsphome han reader, the printed circuit board in 3D

    Esphome han reader

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    21 parts915
  • 2 layers31.8 × 14.5 mmEsp prog, the printed circuit board in 3D

    Esp prog

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    21 parts744MIT
  • 2 layers23.5 × 15.8 mmQuiverAttachPCB, the printed circuit board in 3D

    QuiverAttachPCB

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    21 parts617CERN-OHL-S-2.0
  • 2 layers69.9 × 41.3 mmHeaterMeterLCD, the printed circuit board in 3D

    HeaterMeterLCD

    CapnBry/HeaterMeter

    HeaterMeter and LinkMeter Arduino BBQ Controller

    21 parts557MIT

Questions

How big is the DIY Mouse PCB?

It measures 52 × 99 mm and has 2 copper layers, 1.6 mm thick.

What parts does the DIY Mouse use?

21 parts, built around the XC6206-1.8V. 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 DIY Mouse KiCad files?

From the aSharcc/PMW3389-Custom-Mouse repository on GitHub, at the commit this page was made from: the board is Hardware/v2 (wired)/DIY_Mouse.kicad_pcb and its schematic Hardware/v2 (wired)/DIY_Mouse.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the DIY Mouse design in my own project?

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).