Skip to the content
PCBKitNew board
2 layers55 × 56.4 mmCosmicMouse, the printed circuit board in 3D

6DOF Cad Mouse; Uses Hall Effect Sensors with a Physics-based Dipole Model and the Levenberg-Marquardt Algo to Achieve Highly Accurate Measurements.

Size
55 × 56.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
17
Pads
125
Tracks, vias
401, 32
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
7 Oct 2026
Updated
31 Oct 2026

Overview

CosmicMouse is an open-source printed circuit board by tylerebowers, from the tylerebowers/CosmicMouse repository on GitHub. It is a 2-layer board of 55 × 56.4 mm with 32 parts on 17 nets, routed with 401 tracks and 32 vias.

Its parts include 14 capacitors, 8 diodes, 5 ICs, 3 resistors and 2 switches. It belongs with the sensors and measurement boards and the RP2350 boards of this library.

README

README.md

Cosmic Mouse

This is 6DOF mouse for CAD, inspired by the Space Mouse by 3DConexion, it uses 3x 3D Hall effect sensors over I2C with a custom single-piece isotropic spring which floats the knob in space. Firmware compensates for magnetic cross-talk by using a physics-based magnetic dipole model and the Levenberg-Marquardt algorithm to iteratively solve for the knob's pose by minimizing the difference between measured and predicted magnetic fields (see firmware/model.md). The enclosure knob, and diffuser are resin printed vis MSLA for smoothness. The knob shaft is printed in PETG and sping in TPU. I also used a steel base weight and non-slip silicone pad to keep it planted during movements. This project is sponsored by PCBWay.

The Cosmic Mouse is likely capable of emulating a real Space Mouse... On an unrelated note, you should see firmware/src/config.h for some random funny strings.

The design process post can be seen on my website here. I am working on a Youtube video.

Working Model:

Cross Section:

PCB:

Isotropic Spring:

Parts

32
QtyValueFootprintReferences
14C_1206_3216MetricPCM_JLCPCB:C_1206C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14
8LED_IN-PI55TAT_INLspace_mouse:LED_IN-PI55TAT_INLLED1, LED2, LED3, LED4, LED5, LED6, LED7, LED8
3DBV0006A-IPC_Aspace_mouse:DBV0006A-IPC_AU3, U4, U5
3R_1206_3216MetricPCM_JLCPCB:R_1206R1, R2, R3
2SW_EVQ-P7J01Pspace_mouse:SW_EVQ-P7J01PSW1, SW2
1DBV5space_mouse:DBV5U1
1XIAO-RP2350-DIPspace_mouse:XIAO-RP2350-DIPU2

Questions

How big is the CosmicMouse PCB?

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

What parts does the CosmicMouse use?

32 parts. 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 CosmicMouse KiCad files?

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

Can I use the CosmicMouse design in my own project?

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

Similar boards

  • 2 layers50 × 23.2 mmAnalog, the printed circuit board in 3D

    Analog

    hoglet67/RGBtoHDMI

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

    32 parts1kGPL-3.0
  • 2 layers136.8 × 54.2 mmRetropie zero, the printed circuit board in 3D

    Retropie zero

    hackclub/OnBoard

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

    32 parts915
  • 2 layersMooltipass top, the printed circuit board in 3D

    Mooltipass top

    limpkin/mooltipass

    Github repository dedicated to the mooltipass project

    32 parts531
  • 2 layers16 × 20 mmESPKey, the printed circuit board in 3D

    ESPKey

    octosavvi/ESPKey

    Wiegand data logger, replay device and micro door-controller

    32 parts353GPL-2.0
  • 2 layers82 × 40.9 mmDisplay7447, the printed circuit board in 3D

    Display7447

    zmaker/arduino_cookbook

    gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

    32 parts269
  • 2 layers40 × 38 mmShield, the printed circuit board in 3D

    Shield

    murexrobotics/electrical

    Highly integrated electronics design and printed circuit boards (PCBs) for the MATE ROV Competition. Attempt the impossible.

    32 parts192MIT
  • 2 layers47 × 39 mmQrss clock tx, the printed circuit board in 3D

    Qrss clock tx

    swharden/AVR-projects

    A collection of standalone AVR projects written in C

    32 parts184MIT
  • 2 layers30.9 × 63 mmStm32-io extend, the printed circuit board in 3D

    Stm32-io extend

    hardenedlinux/cheap-pcb

    Cheap PCB: Better understanding the current status of hardware supply chain

    32 parts170CC0-1.0