Apple MagSafe Protocol Hacking

[Ken Shirriff] was interested in how the Apple MagSafe works. Specifically he wanted to know what controlled the LED on the connector itself so he tore one open to see what is inside. There’s a chip present and he didn’t waste time figuring out how the MagSafe communication protocol works.

The DS2413 chip he found on the MagSafe’s tiny little PCB has just six pins. Two of these control a pair of LEDs, which give the indicator its color range.  Another pin is used for 1-wire communications. When polled the charger will return a 64-bit identification number that includes a variety of information. [Ken] looks into what data is offered from several different models of charger by using the Arduino setup above. But the results are not entirely straight-forward as he discusses in his article. The 1-wire protocol is also used to switch the LEDs. This process is the responsibility of the computer being charged, but [Ken] shows how the colors can be cycled using an Arduino (with a couple of 9-volts as a source instead of a connection to mains).

Apple MagSafe Cord Repair

[Tommy Ward] had a big problem with the cord for his laptop power supply. This thing’s not cheap so he figured out a way to fix the frayed cord on his Apple MagSafe. He asserts that the shortened rubber collar on the plug end of the cord is to blame for this type of damage. We think rough use may have something to do with it too, but having had to repair our own feline-damaged power cords we’re not about to start pointing fingers.

To pull off an appropriate fix [Tommy] pries apart the case housing the power converter. This lets him get at the solder connections of the cord. After removing it from the circuit board he clips off the damaged portion of the cable. To reuse the strain relief grommet he drilled out the old portion of wire and insulation, making room for the undamaged cable to pass through, adding a cable tie on the inside to aide in strain relief. The last part of the fix involves gluing everything back together.

If your power supply problems have to do with the computer connector itself there’s a fix for that too.

Homebrew MagSafe

[Freeload] sent us his custom MagSafe adapter build for laptops. MagSafe for those unaware is Apples (patented) power adapters that prevent damage to laptops when the cord is accidentally yanked from the socket. While we’ve seen some custom versions before of MagSafes they were usually bulky, ugly, and used a ton of unremovable glue. We really like [Freeload’s] because its quick, good looking, and the best part – completely removable without marks or damage. In short, an easy weekend project that could one day save your laptop.

Hacking The MagSafe

magsafe
This is a simple hack that could come in handy one day. [Mooner] wanted to use a Kensington universal power supply with his Macbook Pro, but found the adapters and peripherals involved “hideous”. His solution was to wire directly to the Kensington power supply. It’s pretty simple really, only a couple resistors are needed. It’s nice to have someone else do the research for you sometimes. While his final picture does look neat and tidy, we just don’t know how much of an improvement he’s made to the aesthetics. What do you think?