MagMouse

sbarisic·MagMouse·hardware/kicad/MagMouse.kicad_pcb

MagMouse PCB layout, top view — open source ESP32 board by sbarisic

About the MagMouse PCB

MagMouse is an open source ESP32 PCB design by sbarisic, published on GitHub under the Custom license license. It is a 4-layer board measuring 60 × 95 mm, with 273 components from 66 distinct parts.

Its main chip is the ESP32-S3-MINI-1-N8, from the ESP32 family. Other key parts include the TPD2EUSB30DRTR, TPS62162DSGR, DRV8231ADSGR, TMAG5253BA2IQDMRR and ADS7038IRTER. By type, the board carries 129 resistors, 88 capacitors, 38 ICs, 5 transistors, 5 connectors and 5 diodes.

It belongs with the sensors and robotics & motion designs in this gallery.

From the project

Open source hall-effect based mouse - no mechanical contacts - no failure points

This directory is the retained monolithic reference. Current work uses the independent Main project and Wheel project, both now routed with zero unrouted/DRC/parity issues. See the modular package. The revision and instructions below describe the older reference project.

Revision 0.8, 2026-09-09, KiCad 10.0.6. USB-C power, MCU allocation and wheel/brake, IMU, RGB and PMW3360 circuits are connected. A 60 x 95 mm motherboard placement is available as of 2026-09-09, with all 317 footprints on-board. U27/C62 and J7 are in a separate, fully routed 14 x 18 mm encoder project. Both are editable…

Main components on the MagMouse

MagMouse bill of materials (BOM)

273 components, 66 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
TPD2EUSB30DRTR
Texas Instruments
U1
1
TPS62162DSGR
Texas Instruments
U2
1
ESP32-S3-MINI-1-N8
Espressif Systems
U3
3
DRV8231ADSGR
Texas Instruments
U4, U5, U6
3
TMAG5253BA2IQDMRR
Texas Instruments
U7, U8, U9
2
ADS7038IRTER
Texas Instruments
U10, U23
1
TUSB320LAIRWBR
Texas Instruments
U11
2
TPS259470LRPWR
Texas Instruments
U12, U13
1
SN74LVC2G04DCKR
Texas Instruments
U14
1
SN74LVC1G123DCUR
Texas Instruments
U15
4
SN74LVC08APWR
Texas Instruments
U16, U17, U18, U22
1
TLV9001IDBVR
Texas Instruments
U19
1
TPD2E2U06DCKR
Texas Instruments
U20
1
DRV8316RRGFR
Texas Instruments
U21
5
SN74LVC125APWR
Texas Instruments
U24, U25, U26, U29, U37
1
TPS22919DCKR
Texas Instruments
U28
1
TLV1811DBVR
Texas Instruments
U30
1
LM4040AIM3-2.5/NOPB
Texas Instruments
U31
1
ICM-42688-P
TDK InvenSense
U32
1
TPS7A2450DBVR
Texas Instruments
U33
Show 46 more
QtyPartRefs
1
SN74LV1T34DBVR
Texas Instruments
U34
1
PMW3360DM-T2QU
PixArt
U35
1
TLV75519PDBVR
Texas Instruments
U36
1
TPS22918DBVR
Texas Instruments
U38
1
SN74LVC1G125DBVR
Texas Instruments
U39
4
2N7002
Jiangsu Changjing Electronics Technology
Q1, Q2, Q3, Q4
1
AO3400A
Alpha & Omega Semiconductor
Q5
1
TYPE-C-31-M-12
Korean Hroparts Elec
J1
1
B2B-PH-SM4-TBT(LF)(SN)
COIL_L
JST
J2
1
B2B-PH-SM4-TBT(LF)(SN)
COIL_M
JST
J3
1
B2B-PH-SM4-TBT(LF)(SN)
COIL_R
JST
J4
1
SM08B-SRSS-TB(LF)(SN)
ENCODER_8P
JST
J6
1
TS-1088-AR02016
RESET
XUNPU
SW1
1
TS-1088-AR02016
BOOT
XUNPU
SW2
1
SMBJ12A
Littelfuse
D1
1
SMBJ6.0A
Littelfuse
D2
2
BAT54-7-F
Diodes Incorporated
D3, D4
1
SK6805-EC15
OPSCO Optoelectronics
D5
1
SWPA4020S3R3MT
Sunlord
L1
21
CL21A106KAYNNNE
10uF/25V
Samsung Electro-Mechanics
C1, C2, C3, C5, C8, C11, C14, C23 +13
13
CL10A105KB8NNNC
1uF/50V
Samsung Electro-Mechanics
C4, C19, C20, C21, C24, C27, C46, C48 +5
40
CC0603KRX7R9BB104
100nF
YAGEO
C6, C7, C9, C10, C12, C13, C15, C16 +32
2
0603B103K500NT
10nF
Guangdong Fenghua Advanced Tech
C25, C26
1
CL10B473KB8NNNC
47nF/50V
Samsung Electro-Mechanics
C47
1
CL21A226MAQNNNE
22uF/25V
Samsung Electro-Mechanics
C50
4
CL10C220JB8NNNC
22pF/50V
Samsung Electro-Mechanics
C59, C60, C61, C67
3
CL10B225KP8NNNC
2.2uF/10V
Samsung Electro-Mechanics
C71, C81, C82
1
CL10B103KB8NNNC
10nF
Samsung Electro-Mechanics
C72
1
CL10B102KB8NNNC
1nF/50V
Samsung Electro-Mechanics
C79
1
CL10A475KP8NNNC
4.7uF/10V
Samsung Electro-Mechanics
C84
48
0603WAF1002T5E
10k
UNI-ROYAL
R3, R4, R7, R8, R9, R10, R11, R14 +40
3
0603WAF330JT5E
33R
UNI-ROYAL
R5, R6, R58
8
0603WAF3301T5E
3.3k
UNI-ROYAL
R12, R18, R24, R42, R43, R56, R57, R60
1
0603WAF8873T5E
887k
UNI-ROYAL
R25
37
0603WAF1003T5E
100k
UNI-ROYAL
R26, R27, R31, R32, R33, R34, R35, R36 +29
5
0603WAF1001T5E
1k
UNI-ROYAL
R28, R44, R45, R64, R69
4
0603WAF2212T5E
22.1k
UNI-ROYAL
R29, R41, R65, R68
2
0603WAF4701T5E
4.7k
UNI-ROYAL
R59, R87
1
0603WAF220JT5E
22R
UNI-ROYAL
R81
4
0603WAF3300T5E
330R
UNI-ROYAL
R102, R103, R104, R128
6
0603WAF0000T5E
0R
UNI-ROYAL
R105, R106, R107, R108, R109, R125
1
0603WAF3482T5E
34.8k
UNI-ROYAL
R113
3
0603WAF1004T5E
1M
UNI-ROYAL
R115, R116, R117
1
0603WAF1000T5E
100R
UNI-ROYAL
R119
4
RC2512JK-7W47RL
47R/2W
YAGEO
R121, R122, R123, R124
1
0603WAF390JT5E
39R
UNI-ROYAL
R132

MagMouse design files

The KiCad project lives in the sbarisic/MagMouse repository on GitHub; these links point at the commit this page was built from.

MagMouse: common questions

What microcontroller does the MagMouse use?

The MagMouse is built around the ESP32-S3-MINI-1-N8, from the ESP32 family.

How big is the MagMouse PCB?

The MagMouse measures 60 × 95 mm, has 4 copper layers and is 1.578 mm thick.

How many components are on the MagMouse?

273 components, from 66 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.

Where can I download the MagMouse design files?

From the sbarisic/MagMouse repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.

Can I use the MagMouse design in my own project?

It is published under Custom license, which limits how it may be reused; read the license before building on it.

Can I test firmware for the MagMouse without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.

More boards in MagMouse

Similar boards