Skip to the content
PCBKitNew board
2 layers40.3 × 21.5 mmMagsafe trigger, the printed circuit board in 3D

Schematic and PCB design for using MagSafe 2 power adapter to power other things

Size
40.3 × 21.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
7
Pads
43
Tracks, vias
38, 26
Pours
9
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
16 Jan 2020
Updated
18 May 2020

Overview

Magsafe trigger is an open-source printed circuit board by jonathonlui, from the jonathonlui/magsafe-trigger repository on GitHub. It is a 2-layer board of 40.3 × 21.5 mm with 12 parts on 7 nets, routed with 38 tracks and 26 vias.

It is built around the IRF3708S-VB. Its parts include 6 connectors, 3 resistors, 2 diodes and 1 transistor. It belongs with the interfaces and adapters boards of this library.

Main components

1

README

README.md

MagSafe Trigger

Use a MagSafe 2 Power Adapter to power other devices.

Based on info from Macbook charger teardown from Ken Shirriff's blog (see section Operation of the charger and footnote 15 and 16)

Schematic

schematic-fs8

BOM

  • MagSafe 2 "female" connector/jack
    • Harvested from faulty port
    • Is also available on aliexpress/ebay usually on a small PCB with a
  • IRF3708 MOSFET TO-220
    • It's what I have on hand. It's considered obsolete but can be purchased from Chinese sellers (via aliexpress, ebay) for $3 shipped for 10 pieces.
  • 0.5 Watt 10V Zener diode DO-35
    • It's also what I have on hand.
  • 39K Ohm resistor 1206
    • Use to apply low-voltage load to trigger
    • Can probably ok to use 33K-47K Ohm
  • 10K Ohm resistor 1206
    • To pull down MOSFET gate to keep it off until full voltage
  • LED 1206 (optional)
  • 1K2 Ohm resistor 1206 (optional)

MagSafe power adapter output a low voltage until it detects about 39K Ohm load. The low voltage depends on the model and version of the MagSafe adapter and will be between 0.6V to 6V.

The Zener diode blocks current to the MOSFET gate until the voltage is above the Zener’s reverse breakdown voltage. Using a 10V Zener diode keeps the output off until the MagSafe adapter switches to full voltage.

Full voltage is 14.5V to 20V depending on MagSafe model. With the 10V Zener inline the gate voltage when full voltage is between 4.5V to 10V which is enough to fully turn on the MOSFET.

Without the MOSFET blocking current though the OUTPUT, any load on the OUTPUT will prevent the MagSafe power adapter from switch from low voltage to high voltage..

ID_LED pin is connected to a chip inside the the male connector. It is normally used by Apple laptops to read the type and id/serial number of power supply and to turn on and off the LEDS. It does not need to be used to trigger the full voltage

PCB Layout

pcb-fs8

MagSafe jack footprint is based on manual measurements and probably needs tweaking for proper fit.

PCB rendering

pcb-render-fs8

Assembly

assembly-1-parts

assembly-2-assembled

Powered

Plugging in a 45 W MagSafe 2 Power Adapter shows 15 V open circuit.

powered

Parts

12
QtyValueFootprintReferences
2MagSafe 2 femalemagsafe-trigger:MagSafe_2_FemaleJ1, J1
110KResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR2
110VDiode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1
11K2Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR3
12.54mm OutputConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
139KResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR1
1GNDTestPoint:TestPoint_THTPad_4.0x4.0mm_Drill2.0mmJ5
1ID_LEDConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ2
1IRF3708Package_TO_SOT_THT:TO-220-3_Horizontal_TabDownQ1
1LEDLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD2
1VCCTestPoint:TestPoint_THTPad_4.0x4.0mm_Drill2.0mmJ4

Questions

How big is the Magsafe trigger PCB?

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

What parts does the Magsafe trigger use?

12 parts, built around the IRF3708S-VB. 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 Magsafe trigger KiCad files?

From the jonathonlui/magsafe-trigger repository on GitHub, at the commit this page was made from: the board is magsafe-trigger.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Magsafe trigger design in my own project?

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

Similar boards

  • 2 layersHB LC Dim6PWM CV, the printed circuit board in 3D

    HB LC Dim6PWM CV

    stan23/myPCBs

    Verschiedene Platinen für HomeMatic, AskSinPP und SmartHome

    57 parts21
  • 2 layers213.6 × 127.5 mmZuendbox v3 32, the printed circuit board in 3D

    Zuendbox v3 32

    fixxl/el-fueradoro

    Open source ignition-system for audio-fireworks

    205 parts10
  • 2 layers56 × 55.4 mmSTM32 2CH Dimmer, the printed circuit board in 3D

    STM32 2CH Dimmer

    der-pw/hm_stm32_2ch_dimmer

    PCB for a HM 2CH-LED-Dimmer based on a STM32

    42 parts6
  • 2 layers70 × 70 mmLightControl, the printed circuit board in 3D

    LightControl

    HeisenbergGER/LightControl

    A car rear light model with remote control

    32 partsGPL-3.0
  • 2 layers100 × 46.3 mmMicro generator test machine, the printed circuit board in 3D

    Micro generator test machine

    ujkhm/micro-generator-test-machine

    ESP32 MPPT for micro-generator output measurement.

    51 partsMIT
  • 2 layersNrf bga, the printed circuit board in 3D

    Nrf bga

    github-linguist/linguist

    Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

    12 parts14kMIT
  • 2 layers66.9 × 74.5 mmDeskHop, the printed circuit board in 3D

    DeskHop

    hrvach/deskhop

    Fast Desktop Switching Device

    12 parts7.9kGPL-3.0
  • 2 layers40 × 15 mmSensors, the printed circuit board in 3D

    Sensors

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    12 parts3kApache-2.0