MagMouse
sbarisic·MagMouse·hardware/kicad/MagMouse.kicad_pcb
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.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | TPD2EUSB30DRTR Texas Instruments | Texas_DRT-3 | U1 |
| 1 | TPS62162DSGR Texas Instruments | Texas_DSG0008A_WSON-8-1EP_2x2mm_P0.5mm_EP0.9x1.6mm | U2 |
| 1 | ESP32-S3-MINI-1-N8 Espressif Systems | ESP32-S2-MINI-1 | U3 |
| 3 | DRV8231ADSGR Texas Instruments | Texas_DSG0008A_WSON-8-1EP_2x2mm_P0.5mm_EP0.9x1.6mm | U4, U5, U6 |
| 3 | TMAG5253BA2IQDMRR Texas Instruments | Texas_X2SON-4-1EP_1.1x1.4mm_P0.5mm_EP0.8x0.6mm | U7, U8, U9 |
| 2 | ADS7038IRTER Texas Instruments | WQFN-16-1EP_3x3mm_P0.5mm_EP1.68x1.68mm | U10, U23 |
| 1 | TUSB320LAIRWBR Texas Instruments | Texas_X2QFN-12_1.6x1.6mm_P0.4mm | U11 |
| 2 | TPS259470LRPWR Texas Instruments | Texas_RPW0010A | U12, U13 |
| 1 | SN74LVC2G04DCKR Texas Instruments | SOT-363_SC-70-6 | U14 |
| 1 | SN74LVC1G123DCUR Texas Instruments | VSSOP-8_2.3x2mm_P0.5mm | U15 |
| 4 | SN74LVC08APWR Texas Instruments | TSSOP-14_4.4x5mm_P0.65mm | U16, U17, U18, U22 |
| 1 | TLV9001IDBVR Texas Instruments | SOT-23-5 | U19 |
| 1 | TPD2E2U06DCKR Texas Instruments | SOT-323_SC-70 | U20 |
| 1 | DRV8316RRGFR Texas Instruments | Texas_RGF0040E | U21 |
| 5 | SN74LVC125APWR Texas Instruments | TSSOP-14_4.4x5mm_P0.65mm | U24, U25, U26, U29, U37 |
| 1 | TPS22919DCKR Texas Instruments | SOT-363_SC-70-6 | U28 |
| 1 | TLV1811DBVR Texas Instruments | SOT-23-5 | U30 |
| 1 | LM4040AIM3-2.5/NOPB Texas Instruments | SOT-23 | U31 |
| 1 | ICM-42688-P TDK InvenSense | LGA-14_3x2.5mm_P0.5mm_LayoutBorder3x4y | U32 |
| 1 | TPS7A2450DBVR Texas Instruments | SOT-23-5 | U33 |
Show 46 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | SN74LV1T34DBVR Texas Instruments | SOT-23-5 | U34 |
| 1 | PMW3360DM-T2QU PixArt | PixArt_PMW3360DM_T2QU | U35 |
| 1 | TLV75519PDBVR Texas Instruments | SOT-23-5 | U36 |
| 1 | TPS22918DBVR Texas Instruments | SOT-23-6 | U38 |
| 1 | SN74LVC1G125DBVR Texas Instruments | SOT-23-5 | U39 |
| 4 | 2N7002 Jiangsu Changjing Electronics Technology | SOT-23 | Q1, Q2, Q3, Q4 |
| 1 | AO3400A Alpha & Omega Semiconductor | SOT-23 | Q5 |
| 1 | TYPE-C-31-M-12 Korean Hroparts Elec | USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | B2B-PH-SM4-TBT(LF)(SN) COIL_L JST | JST_PH_B2B-PH-SM4-TB_1x02-1MP_P2.00mm_Vertical | J2 |
| 1 | B2B-PH-SM4-TBT(LF)(SN) COIL_M JST | JST_PH_B2B-PH-SM4-TB_1x02-1MP_P2.00mm_Vertical | J3 |
| 1 | B2B-PH-SM4-TBT(LF)(SN) COIL_R JST | JST_PH_B2B-PH-SM4-TB_1x02-1MP_P2.00mm_Vertical | J4 |
| 1 | SM08B-SRSS-TB(LF)(SN) ENCODER_8P JST | JST_SH_SM08B-SRSS-TB_1x08-1MP_P1.00mm_Horizontal | J6 |
| 1 | TS-1088-AR02016 RESET XUNPU | SW_SPST_TS-1088-xR020 | SW1 |
| 1 | TS-1088-AR02016 BOOT XUNPU | SW_SPST_TS-1088-xR020 | SW2 |
| 1 | SMBJ12A Littelfuse | D_SMB | D1 |
| 1 | SMBJ6.0A Littelfuse | D_SMB | D2 |
| 2 | BAT54-7-F Diodes Incorporated | SOT-23 | D3, D4 |
| 1 | SK6805-EC15 OPSCO Optoelectronics | OPSCO_SK6805_EC15 | D5 |
| 1 | SWPA4020S3R3MT Sunlord | L_Sunlord_SWPA4020S | L1 |
| 21 | CL21A106KAYNNNE 10uF/25V Samsung Electro-Mechanics | C_0805_2012Metric | C1, C2, C3, C5, C8, C11, C14, C23 +13 |
| 13 | CL10A105KB8NNNC 1uF/50V Samsung Electro-Mechanics | C_0603_1608Metric | C4, C19, C20, C21, C24, C27, C46, C48 +5 |
| 40 | CC0603KRX7R9BB104 100nF YAGEO | C_0603_1608Metric | C6, C7, C9, C10, C12, C13, C15, C16 +32 |
| 2 | 0603B103K500NT 10nF Guangdong Fenghua Advanced Tech | C_0603_1608Metric | C25, C26 |
| 1 | CL10B473KB8NNNC 47nF/50V Samsung Electro-Mechanics | C_0603_1608Metric | C47 |
| 1 | CL21A226MAQNNNE 22uF/25V Samsung Electro-Mechanics | C_0805_2012Metric | C50 |
| 4 | CL10C220JB8NNNC 22pF/50V Samsung Electro-Mechanics | C_0603_1608Metric | C59, C60, C61, C67 |
| 3 | CL10B225KP8NNNC 2.2uF/10V Samsung Electro-Mechanics | C_0603_1608Metric | C71, C81, C82 |
| 1 | CL10B103KB8NNNC 10nF Samsung Electro-Mechanics | C_0603_1608Metric | C72 |
| 1 | CL10B102KB8NNNC 1nF/50V Samsung Electro-Mechanics | C_0603_1608Metric | C79 |
| 1 | CL10A475KP8NNNC 4.7uF/10V Samsung Electro-Mechanics | C_0603_1608Metric | C84 |
| 48 | 0603WAF1002T5E 10k UNI-ROYAL | R_0603_1608Metric | R3, R4, R7, R8, R9, R10, R11, R14 +40 |
| 3 | 0603WAF330JT5E 33R UNI-ROYAL | R_0603_1608Metric | R5, R6, R58 |
| 8 | 0603WAF3301T5E 3.3k UNI-ROYAL | R_0603_1608Metric | R12, R18, R24, R42, R43, R56, R57, R60 |
| 1 | 0603WAF8873T5E 887k UNI-ROYAL | R_0603_1608Metric | R25 |
| 37 | 0603WAF1003T5E 100k UNI-ROYAL | R_0603_1608Metric | R26, R27, R31, R32, R33, R34, R35, R36 +29 |
| 5 | 0603WAF1001T5E 1k UNI-ROYAL | R_0603_1608Metric | R28, R44, R45, R64, R69 |
| 4 | 0603WAF2212T5E 22.1k UNI-ROYAL | R_0603_1608Metric | R29, R41, R65, R68 |
| 2 | 0603WAF4701T5E 4.7k UNI-ROYAL | R_0603_1608Metric | R59, R87 |
| 1 | 0603WAF220JT5E 22R UNI-ROYAL | R_0603_1608Metric | R81 |
| 4 | 0603WAF3300T5E 330R UNI-ROYAL | R_0603_1608Metric | R102, R103, R104, R128 |
| 6 | 0603WAF0000T5E 0R UNI-ROYAL | R_0603_1608Metric | R105, R106, R107, R108, R109, R125 |
| 1 | 0603WAF3482T5E 34.8k UNI-ROYAL | R_0603_1608Metric | R113 |
| 3 | 0603WAF1004T5E 1M UNI-ROYAL | R_0603_1608Metric | R115, R116, R117 |
| 1 | 0603WAF1000T5E 100R UNI-ROYAL | R_0603_1608Metric | R119 |
| 4 | RC2512JK-7W47RL 47R/2W YAGEO | R_2512_6332Metric | R121, R122, R123, R124 |
| 1 | 0603WAF390JT5E 39R UNI-ROYAL | R_0603_1608Metric | 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
ESP32
Panel
sbarisic
151 × 139 mm292 parts4LCustom license2ESP32
Main
sbarisic
80 × 125 mm207 parts4LCustom license2ESP32
Lower
sbarisic
70 × 100 mm92 parts2LCustom license2Wheel
sbarisic
55 × 60 mm82 parts4LCustom license2Upper
sbarisic
70 × 100 mm81 parts2LCustom license2Encoder
sbarisic
14 × 18 mm3 parts4LCustom license2
Similar boards
ESP32
OSO-BOOK-B1
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Powertrain
byrantech
64 × 45.4 mm171 parts4LMIT4.3kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8k