Skip to the content
2 layers58 × 49.5 mmGary the mouse, the printed circuit board in 3D

A custom mouse with TTC wheel encoder (8mm), lipo battery 1 200mAh, 4x kailh gm 8.0 micro switch and seeed studio nrf52840 all on my custom pcb, but sensor PAW3395 LM19 on badjeffs pcb.

Size
58 × 49.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
18
Pads
45
Tracks, vias
53, 6
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
31 May 2026
Updated
6 Aug 2026

Overview

Gary the mouse is an open-source printed circuit board by Small-doge128, from the Small-doge128/Gary-the-mouse repository on GitHub. It is a 2-layer board of 58 × 49.5 mm with 11 parts on 18 nets, routed with 53 tracks and 6 vias.

It is built around the EC10E1220501. Its parts include 4 switches, 1 IC and 1 connector. It belongs with the power boards and the nRF52 and nRF5x boards of this library.

Main components

1

README

README.md

about

A custom mouse that's small and lightweight like a cookie, a little inspiration is from the zero mouse. It's my second using kicad, but it still took a lot of time. Also i used this repository for the sensor pcb.

features

A powerful microcontroller with bluetooth and usb-c for charging the lipo battery, nice scroll wheel encoder, optical sensor with up to 12 000 dpi which is low power and sometimes used for gaming and four small micro switches, two for main and other two for the side buttons, you can map them however you want. Last but really good is a build in LED in the microcontroller that is the normal red, yellow and green

step by step tutorial for firmware

1 - download the file called firmware.uF2
2 - connect your seeed studio via usb-c
3 - put it into bootloader mode (double tap the RESET button the build in led shall start pulsing).
4 - now open your file manager and you should see a new USB drive called XIAO-BLE
5 - drag and drop the file we installed earlier into it and the USB drive should dissaper which means good now it shloud work enjoy

dimensions

pcb - 49.5 mm and 50 mm

why did i create it

My mouse is not that bad, but my felt that it was heavy and actually when I take the top cover off It's more comfortable. I did weanted to spice it up with my preferences, so It's more like my mouse then a customer mouse and I know I had the skills to make that, but still I've learnt a lot.

pictures

2026-06-29-114429_hyprshot WhatsApp Image 2026-06-11 at 17 54 53 image 2026-06-29-114401_hyprshot image
NamePurposeQtyTotal (USD)DistributorLink
TTC Mouse Encoder (Silver Core, 8mm)Scroll wheel scroll detection16.58AliExpressLink
Seeed Studio XIAO BLE nRF52840Main microcontroller and wireless chip for the mouse113.03AliExpressLink
3.7V 400mAh LiPo BatteryWireless power source for the mouse14.88AliExpressLink
Kailh GM 8.0 Micro Switch (2pcs)Main left and right click switches11.47AliExpressLink
Kailh GM 8.0 Micro Switch (3pcs)Side buttons and a extra switch11.94AliExpressLink
PixArt PAW3395 Sensor + LM19-LSI Lens KitHigh-performance optical tracking sensor and matching lens111.97AliExpressLink
Custom Main Mouse PCB (gerber drill files_Y7)Main board hosting the MCU and switches (White Solder Mask)54.0JLCPCBLink
Custom Sensor breakout PCB (gerbers_Y6)Breakout board for the PAW3395 sensor (White Solder Mask)52.1JLCPCBLink
C96446 (10uF ±20% 25V Ceramic Capacitor)Decoupling/Filter Capacitor201.29LCSCLink
C30197477 (TLV74318PDBVR-MS Linear Voltage Regulator IC)1.8V Voltage Regulator for Sensor Power Rail50.46LCSCLink
C86295 (22uF ±20% 10V Ceramic Capacitor)Decoupling/Filter Capacitor100.78LCSCLink
C4241878 (MCT0603MD2004BP500 2MΩ Thin Film Resistor)Pull-up/Pull-down Resistor50.43LCSCLink
C313771 (CRCW06034R70FKEAHP 4.7Ω Thick Film Resistor)Current Limiting / Filter Resistor50.52LCSCLink
C51412 (CL10A335KP8NNNC 3.3uF ±10% 10V Ceramic Capacitor)Decoupling/Filter Capacitor100.31LCSCLink
C161117 (GCJ188R72A104KA01D 100nF ±10% 100V Ceramic Capacitor)Decoupling/Filter Capacitor200.87LCSCLink
C92759 (EMK107B7105KA-T 1uF ±10% 16V Ceramic Capacitor X7R)Decoupling/Filter Capacitor200.65LCSCLink
C394535 (PTFR0603B10K0N9 10kΩ 100V Thin Film Resistor)Pull-up/Pull-down Resistor50.77LCSCLink
total without shipping and taxes52.05
total with shipping and taxes85.43

Parts

11
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_2.2mm_M2_DIN965_PadH1, H2, H3, H4
2SW_Push_SPDTswitch:KailhSw sidemountSW8, SW9
2SW_Push_SPDTswitch:KailhSwSW6, SW7
1Battery_CellConnector_Wire:SolderWire-0.1sqmm_1x02_P3.6mm_D0.4mm_OD1mmBT1
1EC10E1220501footprints:CONN03_EC10E_9P8X6P1_ALPSJ2
1XIAO-nRF52840-DIPNew_XIAO_Series_Footprints:XIAO-nRF52840-SMDU1

Similar boards

  • 2 layers34 × 107.5 mmEnvOpenMouse, the printed circuit board in 3D

    EnvOpenMouse

    Envious-Data/EnvOpenMouse

    An Open-source mouse for the UK market.

    74 parts6MIT
  • 2 layers57.2 × 78.7 mmMouse Micro, the printed circuit board in 3D

    Mouse Micro

    jacksterb1234/Mouse-Micro

    A fully custom gaming mouse built from scratch — from clay hand modeling and photogrammetry all the way to a custom KiCad PCB.

    22 parts
  • 2 layers45.1 × 74.3 mmCobalt X Zero, the printed circuit board in 3D

    Cobalt X Zero

    RealSynarix/Cobalt-X-Zero

    Custom Gaming Mouse

    49 partsGPL-3.0
  • 4 layers68 × 40 mmSmc-4, the printed circuit board in 3D

    Smc-4

    TommyPersson/modular-keypads

    26 parts
  • 2 layers60 × 30 mmController, the printed circuit board in 3D

    Controller

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    11 parts3kApache-2.0
  • 2 layers103 × 30.5 mmTS Front Endcap, the printed circuit board in 3D

    TS Front Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    11 parts1.3kMIT

Questions

How big is the Gary the mouse PCB?

It measures 58 × 49.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Gary the mouse use?

11 parts, built around the EC10E1220501. 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 Gary the mouse KiCad files?

From the Small-doge128/Gary-the-mouse repository on GitHub, at the commit this page was made from: the board is ki cad files/gary the mouse/gary the mouse.kicad_pcb and its schematic ki cad files/gary the mouse/gary the mouse.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Gary the mouse design in my own project?

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