Skip to the content
PCBKitNew board
2 layers45 × 45 mmMouse, the printed circuit board in 3D

A custom, high-performance wireless mouse project featuring custom PCB design, high-end optical sensors, and Hall effect switches.

Size
45 × 45 mm
Copper layers
2
Thickness
1.6 mm
Parts
36
Nets
47
Pads
152
Tracks, vias
335, 44
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
9 May 2024
Updated
2 Nov 2026

Overview

Mouse is an open-source printed circuit board by lordor5, from the lordor5/Mouse repository on GitHub. It is a 2-layer board of 45 × 45 mm with 36 parts on 47 nets, routed with 335 tracks and 44 vias.

It is built around the PAW3395DM-T6QU and TLV70019DDCR. Its parts include 14 capacitors, 3 connectors, 2 switches, 1 resistor and 1 IC. It belongs with the nRF52 and nRF5x boards of this library.

Main components

2

README

README.md

Open Source Wireless Mouse

A custom, high-performance wireless mouse project featuring custom PCB design, high-end optical sensors, and Hall effect switches. This repository contains all hardware schematics, PCB layouts, and firmware source code required to build the mouse from scratch.

⚠️ WORK IN PROGRESS (WIP) / UNTESTED HARDWARE ⚠️
This project is currently in active development. The custom PCB design and firmware have not yet been physically tested or manufactured. The files are provided as-is. Build at your own risk!

Vista frontal de la PCB

Project Overview

This project is built around the popular Nice!Nano (nRF52840) footprint and uses a combination of modern frameworks like Zephyr for the firmware. The hardware design is fully documented in KiCad and utilizes magnetic Hall effect sensors for durable, debounce-free clicking.

Key Features

  • Custom KiCad PCB: Fully routed custom board (mouse.kicad_pcb) with production-ready Gerber/BOM files.
  • High-End Optical Sensor: Utilizes the PAW3395 mouse sensor.
  • Magnetic Switches: Implements the TLE493DP2B6A2HTSA1 Hall effect sensor for primary buttons.
  • Multi-Environment Firmware: Codebase includes implementations in Zephyr RTOS.

🛠️ Hardware & Bill of Materials (BOM)

The hardware relies on readily available components. Below is the core BOM based on the current design:

ComponentDescriptionEstimated Cost
PAW3395Primary Mouse Sensor10.00€
TLE493DP2B6A2HTSA1Hall Effect Sensor (Switches)2.59€
LDO RegulatorPower Management0.753€
Nice!NanonRF52840 Microcontroller Board-
TMAG5170A2QDGKRAlternative Magnetic Sensor-
SSSS811101Power Switch-

Note on Power: The 2V LDO regulator is required for stable sensor operation and is currently sourced via Mouser, as it is difficult to find on AliExpress.


📂 Repository Structure

text
.
├── Code/
│   ├── nrf/                  # Rust-based firmware using nrf-hal (blinky, pwm, i2s, usb)
│   ├── PMW3389DM-master/     # Arduino polling/interrupt examples for the sensor
│   └── zephyr/               # Zephyr RTOS implementation and board overlays
├── Img/                      # Project images and renders (e.g., PCBFront.png)
└── PCB/
    ├── Components/           # Custom KiCad footprints and symbols (.step, .kicad_mod)
    ├── production/           # Manufacturing files (BOM, positions, netlist, zip)
    └── mouse.kicad_pro       # Main KiCad project file

💻 Firmware & Software

This repository offers multiple paths for firmware development depending on your preferred tech stack:

  1. Rust (Code/nrf): Bare-metal Rust implementation utilizing embassy or nrf-hal for maximum memory safety and low power consumption (NOT TESTED).
  2. Zephyr RTOS (Code/zephyr): Includes board overlays (e.g., nrf52840dk, esp32c3) and HID peripheral configurations for scalable RTOS development (NOT TESTED).
  3. Arduino / ESP32 (Code/PMW3389DM-master): For rapid prototyping, utilizing the standard ESP32 BLE Mouse library.

Building the Firmware (Rust)

Navigate to the Code/nrf directory and use Cargo to build the project for the thumbv7em-none-eabi target:

bash
cd Code/nrf
cargo build --release

🏭 Manufacturing the PCB

All necessary files to order the PCB from fabricators (like JLCPCB or PCBWay) are located in the PCB/production/ folder.

  • mouse.zip: Contains the Gerber files.
  • bom.csv: Bill of Materials for SMT assembly.
  • positions.csv: CPL/Pick-and-place files.

Parts

36
QtyValueFootprintReferences
8100nfCapacitor_SMD:C_0805_2012MetricC2, C4, C5, C10, C11, C12, C13, C14
310ufCapacitor_SMD:C_0805_2012MetricC3, C6, C7
2.1Resistor_SMD:R_1206_3216MetricRL3, RL4
22.2Resistor_SMD:R_0805_2012MetricRL1, RL2
2AH8503-FDC-7Package_DFN_QFN:DFN-6-1EP_2x2mm_P0.65mm_EP1.01x1.7mmHALL1, HALL2
2TMAG5170A2QDGKRTMAG5170A2QDGKR:SOP65P490X110-8N3DHALL1, 3DHALL2
11Resistor_SMD:R_0805_2012MetricRL5
110kResistor_SMD:R_0805_2012MetricR1
11ufCapacitor_SMD:C_0805_2012MetricC8
122ufCapacitor_SMD:C_0805_2012MetricC9
14.7ufCapacitor_SMD:C_0805_2012MetricC1
1Bat53261-4002:532614002J3
1Conn_01x04_MountingPinConnector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_HorizontalJ2
1Conn_01x05_ShieldedConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ1
1PAW3395PAW3395:DIP-16_PAW3395OpticalSensor1
1SW_DPDT_x2SSSS811101:SSSS811101SW2
1SW_PushPCM_JLCPCB:SW_TS-1088-AR02016SW1
1TLV70019DDCRSOT95P280X110-5N:SOT95P280X110-5NLDO1.9
1nice_nanoNice_nano:nice_nanoU2

The 32 most common of 36 parts.

Questions

How big is the Mouse PCB?

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

What parts does the Mouse use?

36 parts, built around the PAW3395DM-T6QU and TLV70019DDCR. 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 Mouse KiCad files?

From the lordor5/Mouse repository on GitHub, at the commit this page was made from: the board is PCB/mouse.kicad_pcb and its schematic PCB/mouse.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mouse design in my own project?

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

Similar boards

  • 4 layers64 × 94 mmMouse, the printed circuit board in 3D

    Mouse

    geoffgun15/openmice

    Custom PAW3395 wireless mouse and receiver PCBs, firmware, and web configurator.

    51 partsMIT
  • 2 layers34.2 × 31.3 mmNrf52820 hiiri, the printed circuit board in 3D

    Nrf52820 hiiri

    samuwall/hiiri-v1

    open-source wireless gaming mouse (nRF52 + PAW3395)

    46 parts7
  • 2 layers82 × 38.5 mmLabMouse, the printed circuit board in 3D

    LabMouse

    dzervas/labMouse

    29 parts1
  • 2 layers30 × 20 mmBOB PMW3610-SEIBOKU, the printed circuit board in 3D

    BOB PMW3610-SEIBOKU

    snize/BOB-PMW3610-SEIBOKU

    This project is licensed under the CERN OHL-P v2. You may use, distribute, and modify this design under the terms of the CERN OHL-P v2. Original design by snize.

    17 parts20CERN-OHL-P-2.0
  • 2 layers235.5 × 200 mmRKD07 Assemble BUILD, the printed circuit board in 3D

    RKD07 Assemble BUILD

    rikkodo/Rikkodo_PCB

    This project is licensed under the CERN OHL-P v2. You may use, distribute, and modify this design under the terms of the CERN OHL-P v2. Original design by snize.

    248 parts
  • 2 layers65 × 30 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    36 parts1kGPL-3.0