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

A high-side N-MOSFET electrical switch module

Size
45 × 45 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
13
Pads
67
Tracks, vias
100, 28
Pours
5
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
7 Mar 2024
Updated
14 Mar 2024

Overview

ESwitch is an open-source printed circuit board by snalvc, from the snalvc/ESwitch repository on GitHub, published under the MIT licence. It is a 2-layer board of 45 × 45 mm with 23 parts on 13 nets, routed with 100 tracks and 28 vias.

It is built around the LM5060MM, MSK12C02 and XT90PW-F, with the XT90PW-M.G.Y among its other parts. Its parts include 6 resistors, 4 connectors, 2 capacitors, 1 IC and 1 transistor.

Main components

4

README

readme.md

ESwitch

Schematics

This is a high-side N-channel MOSFET electrical switch module. The power MOSFET (DMTH8003SPS) is driven by a high-side protection controller (LM5060). The schematics and PCB layout are designed in KiCad and available in the kicad directory. All the components are available in LCSC at least at the time of writing. It is also designed for single-sided PCBA with a few exceptions in the high current traces because you'll want them to be reinforced. Plus, I doubt XT90 can be assembled by cheap PCBAs anyway. There are also some Python utilities which are helpful for you to determine the required component values for various protections provided by the LM5060. In short:

  • Calculate the required component values for the LM5060 with the help of programs in utils.
  • Modify and generate the necessary manufacturing files in kicad.
  • Have the PCB manufactured and assembled if you desire.
  • Assemble the module with the instructions in assemble. You can also find the BOM there.

TODO

  • Fix XT90 socket and plug polarity
  • Add LCSC part numbers into schematics
  • Add assemble instructions
  • Add test results

Debug Notes

I should have positioned the high-current traces on the bottom layer, allowing for reinforcement by adding solder or copper plates onto them.

Fortunately, by chance, I made a mistake with the XT90 socket and plug. Consequently, I can easily swap the socket and plug, relocating them to the back side of the board, thereby preventing any interference with the high-current traces.

Assembled Module

Schematics Schematics

Not the prettiest welding nor photography, but it works. You get the idea of the bugs that canceled each other out. The XT90s were meant to be on the top side, but the polarity (socket and plug) was wrong. In order to get the polarity (socket, plug) right, the XT90s need to be positioned on the bottom side when swapped, which luckily achieved the desired outcome (leaving top traces for reinforcement).

Notes

2024-03-13: I have a module that has become consistently conductive. Electrostatic discharge (ESD) is suspected as the cause, especially considering it was originally functioning properly.

Parts

23
QtyValueFootprintReferences
4RResistor_SMD:R_0805_2012MetricR1, R2, R3, R4
10.1uCapacitor_SMD:C_0805_2012MetricC1
110kResistor_SMD:R_0805_2012MetricR7
168nFCapacitor_SMD:C_0805_2012MetricC2
175kResistor_SMD:R_0805_2012MetricR6
1Conn_01x02_PinConnector_PinHeader_2.00mm:PinHeader_1x02_P2.00mm_VerticalJ3
1Conn_01x03_SocketConnector_PinSocket_2.00mm:PinSocket_1x03_P2.00mm_VerticalJ4
1DMTH8003SPS-13Components:PowerDI5060-8 (Type K)Q1
1Jumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mmJP2
1LM5060Package_SO:MSOP-10_3x3mm_P0.5mmU1
1MSK12C02LIB_MSK12C02:MSK12C02SW1
1SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP1
1XT90PW-FXT90PW-F:AMASS_XT90PW-FJ1
1XT90PW-MXT90PW-M:AMASS_XT90PW-MJ2

The 17 most common of 23 parts.

Questions

How big is the ESwitch PCB?

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

What parts does the ESwitch use?

23 parts, built around the LM5060MM, MSK12C02, XT90PW-F and XT90PW-M.G.Y. 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 ESwitch KiCad files?

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

Can I use the ESwitch design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 4 layers100 × 100 mmPdb, the printed circuit board in 3D

    Pdb

    javierveras/projectav-telemetry-pdb-2026

    Our power distribution and telemetry system's hardware, firmware, and technical documentation.

    104 parts
  • 4 layers47 × 62.5 mmRoboboat bms v2, the printed circuit board in 3D

    Roboboat bms v2

    MHSeals/MHSeals-BMS

    Battery management board for 4S Li-Po

    37 parts
  • 2 layers240 × 39.6 mmRACK CONNECTOR V2, the printed circuit board in 3D

    RACK CONNECTOR V2

    sebritt/VOLTN_SOLEX

    This is the official VOLT'N SOLEX

    28 parts
  • 2 layers37.5 × 45 mmDianome, the printed circuit board in 3D

    Dianome

    motionlayer/Dianome

    Docs, Schematic and Board file for the Dianome PDB

    49 parts10CERN-OHL-W-2.0
  • 4 layers89.8 × 64 mmStinger V2.0, the printed circuit board in 3D

    Stinger V2.0

    Project-Stinger/Electronics

    Electronics for Stinger foam dart blasters

    126 parts4
  • 2 layers53.1 × 36.3 mmAntispark, the printed circuit board in 3D

    Antispark

    Jana-Marie/otterprotect

    This HW does not work, please don't use it as is!

    32 parts
  • 4 layers210 × 100 mmPower distributor, the printed circuit board in 3D

    Power distributor

    zeabusTeam/power_management

    Power management module for Zeabus AUV

    199 parts
  • 2 layers140.3 × 89.3 mmAVPCB, the printed circuit board in 3D

    AVPCB

    Paarseus/AVPCB

    Autonomous Vehicle PCB - KiCad project

    48 parts1