Introduction: Magnetic Laptop Power Connector

Picture of Magnetic Laptop Power Connector

Otherwise titled "don't toss it, I'll fix it!" I think my wife cringes when she hears that, but she usually seems pleased with the results.

The power connector for my Toshiba R15 had begun to fray, so I decided that instead of just tossing it into a land fill, I would fix it up. Since I was going to have to repair it anyway, wouldn't a magnetic connector be better? I think that if I were to do it again, I would not make the dongle quite as long, but as it is, it breaks away with a sharp tug just like a macbook.

In the end, I have a very cheap repaired power cord with a lot more functionality!

Step 1: The Problem...

Picture of The Problem...

As you can see int he picture, the power cord for my laptop had split just behind the inadequate rubber strain relief. Initially I taped it with electrical tape, but as you would guess, this did not fix the problem, just covered it up. I was away from home at the time, so it had to do. Once home, I took the tape off and realized that something had to be done. My wife, with her new Macbook, chuckled and commented how nice it was that her power cord was magnetic and wouldn't be pulled enough to cause the fraying (of course, shortly thereafter, her power brick died and had to be replaced by apple. Karmic justice?), and I thought I'd like that security too, not to mention the number of times I've tripped over the power cord...

Below is the before and after. It's not especially pretty, but I am happy with the results, and if I were to do it again, I think it would turn out better.

Step 2: Decisions...

Picture of Decisions...

Initially, my idea was to use round magnets and try to keep the footprint as small as possible. I was also going to use a spring loaded mechanism like the Thinksafe, but that went by the wayside later. The problem I had with my original design, which was a 3/8" inch round magnet for the ground with a smalled diameter magnet beside it for the positive terminal, was that it had to be connected one way, and one way only. While I like breath's design, I did not want a live positive terminal carrying 5 amps at 15 volts exposed to negligent fingers or anything else that it might come in contact with. As it was I couldn't get the magnets spaced properly with a spring loaded terminal that was centerline in the small magnet hole, so I abandoned the idea for the aforementioned one.

Later, I decided that an ambidextrous connector would be easier and more appropriate, and, in order to have the connector self correct for orientation, I switched to 1/4" square by 1/2" long magnets. by using two of these, the connectors want to connect in the right way, saving a lot of fiddling.

Step 3: Creating the Molds

Picture of Creating the Molds

I decided to encase the whole enchilada in epoxy resin to minimize the possibility of errant electrical connections. I picked up some casting resin from the local Hobby Lobby, as well as some candle wax to use for molds. (if you look at the wax block, you can see my initial asymmetric connector molds that I never ended up using. They taught me a little about how to use the epoxy, though.)

The second picture is not quite accurate, as the brass anode terminals were added prior to pouring in the epoxy. The molds were made by using drill bits to hog out the main design of the connectors, the using an XActo knife to refine the design. As it turns out, I forgot to "refine" the outlet side connector mold, so it ended up just being a 1/2" hole flanked by 3/8" holes, but it turned out alright.

The magnets were soldered to a piece of 18 ga wire before being fitted into the molds. I left about a 1/32" around the magnets as possible to insulate them.

At this time I also decided I wanted cool green LEDs to indicate that power was connected (another prod from my wife!), so I fashioned up some LEDs from some SMD components I had lying around (eventually when I learn to program AVRs, I'll be using them for firefly projects). As you can see, they are easy to fit in, being so small. Initially I only soldered them the cathode ends to the magnets and left the anode lead sticking out slightly above the level of the epoxy. This was done so that I wouldn't have to disturb the brass terminals which were only tentatively held in place by being stuck into the wax. After the epoxy cured, I soldered a small jumper from the LED lead to the brass terminals. Had I thought it out, I would have made the leads longer and just bent them over to the brass terminal at this point.

Step 4: Soldering and Heatshrink!

Picture of Soldering and Heatshrink!

While the connectors were setting up (cure time is 24 to 48 hours, but it takes at least a day to really set up), I added the plug to the computer side connector. Don't forget to put the heat shrink over the wires BEFORE you start soldering anything or you will not be able to get small enough heat shrink over the plug.

I used a small bit of sculpting clay to mold the flat end of the connector to a more streamlined shape. This was then covered with heat shrink, layered in smaller diameters until it fit the wires snugly.

The same clay technique was used again on the outlet side connector, though not pictured. The clay was added in a cone just to the left of the soldered wires in the last picture, covering the already heat shrunk twisted wires. (Last picture. this soldering step was taken after the second epoxy molding as the positive terminals had to be added after the first epoxy mold had cured)

I used several layers of heat shrink to provide additional strain relief and ensure that the energized wires were adequately insulated. In the end it creates a nice finished cord look.

Step 5: Demolding and Remolding

Picture of Demolding and Remolding

After the epoxy cured, I simply broke the wax away from the epoxied connectors. At this point, after soldering the LEDs to the brass terminals, I cut them down as close as I could to the epoxy.

I apologize for being remiss, but I seem to have forgotten to take pictures of the next step...

Once the epoxy had cured and the connectors were demolded, I soldered positive wires to the brass terminals and two two finishing nails that I cut to be short enough to fit entirely within the outlet side connector. I then drilled two holes on either side of the magnet on the outlet connector (the one without the LEDs) almost all the way through. I then drilled a small diameter hole just large enough to fit the nails, through the rest of the connector. The nails were inserted into these holes and end up about 5-7 mm from the end of the connector. This depth prevents the energized nails from accidentally contacting and energizing anything else. I felt this was important given the propensity of the magnets to stick to anything ferrous. While it would probably create a short and blow a fuse before starting a fire, I didn't want to take that chance.

Now the connectors are pretty much done, but all the positive soldered terminals (and the loose nails) are still exposed on the wire sides of the connectors. To cover these, I drilled a 1/2" through hole in the wax block and shaped the bottom side to fit the wire side (where I just soldered all the positive connections) of the connectors. I also did a little extra shaping of the hole to make the epoxy taper up to the 1/2" hole . The bottom of the wax block, with the two connectors sticking out (almost all the way) was then sealed with melted wax (or so I thought!), and epoxy was poured into the 1/2" hole on the top.

As it turned out, the holes for the two nails leaked like a seive and all the epoxy ran out the bottom. This also filled the holes I had created for the nail terminals :( It was a bummer. In the end, I just waited until the epoxy firmed up and then added it back in. When I demolded the connectors the second time I had to redrill the holes for the positive terminals, but in the end it worked out fine. I would suggest somehow sealing the nail heads with very thick epoxy prior to putting them in the second mold.

In the second picture you can see the 1/2" round of epoxy (just to the left of the note box) that covers the positive terminals on the back side of the connector. The computer side connector is similar, but does not have a clay cone to shape it down to the wires (clay cone not show for this connector, but is almost identical to the previous one). I'll live, though, and it provides more exposed epoxy for the LEDs to shine through.

Step 6: The Results

Picture of The Results

And, now I have a magnetic power cord.

Again, the dongle is a bit long, but as you'll see in the brief video of the connector in use, it is still effective. The magnets are pretty strong, each exerting about 5 pounds, so you could still drag the laptop off the table if you pulled slowly, but then, there is no worry that the connection is just going to fall out. And, in reality, most of the accidents happen from sudden tugs rather than sustained pulls. And as you can see, sudden tugs barely affect the computer at all.

As a bonus, the LEDs work very well as they are super bright and are an effective indicator that the connector is supplying power to the plug (I did get caught on my initial tests in that I pulled the connector straight away from the computer and the plug disengaged enough that when I connected the magnetic connector, no power went to the computer. Not the fault of the connector, though).

In the videos you can see the LEDs extinguish when the connector is apart. You will also see how the connector attempts to align itself, and how, if it is not aligned, no current is flowing to exposed terminals. Safety first!

Thanks for taking a look.

Approximate cost for this project:
Casting Epoxy - $13
Candle Wax - $4
SMD LEDs - $0.26
SMD resistors - $0.18
Heat shrink - I have a bunch of this, but radio shack also sells some for about $3, might be cheaper to get it at Lowe's, though
18 ga wire - I already had it, but you could get a spool for $3 at radio shack
brass terminals and nails I already had these too, and most should be able to find something conductive that would work for free

Total cost (for me) : $17.44 and I still have more than 75% of both the epoxy and wax left!

This instructable was inspired by the Thinksafe instructable by "breath". Thanks for the idea!


Jim Cooper (author)2015-01-14

Great job! Some additional information: Apple connectors are patented so you should look into that if you create a product. Apple connectors also detect each other and turn on the power. I like Qi but the only equipment I see out there is only 500 ma

TheBestJohn (author)2008-04-30

Thats pretty cool man... I would have personally soldered the positive and negative wires directly to the magnets and used them as contacts... just in opposite polarities, that way the positive magnet would always hook up to positive and likewise with negative... But this is a really good job!

CODIY (author)TheBestJohn2008-04-30

that was part of my original idea, but the magnets tended to no want to stay put in the epoxy, and creating a recessed positive terminal proved trickier than I thought. In the end, I think I went this route because I needed to have it done! :) But I like it this way too as it only requires a maximum of a 90 degree twist to alight the plug rather than 180 with a opposite pole set up. Thanks for the comment!

ac7ss (author)CODIY2010-05-31

 The alignment could have been done by wiring the connections to the magnets and placing a sheet of cooking parchment between the paired connections and casting around that. It would keep the connections aligned and allow for a smoother finished product.

philip2013 (author)2009-10-23

the reason I asked is I believe there is a market for universal aplications i have replaced a few chargers until I realized I can buy a  replacement jack @ radioshack 2 for like 4 bucks and just solder it on. I chated with the guys at geek squad, they sell chargers all day long 70 to 100$. Ever thought about mass producing these things? thanks for the quick response last time.

CODIY (author)philip20132009-10-23

I think you are right, and it sounds like a great opportunity, unfortunately I don't have time to work on it at the moment.  With any luck, induction charging will become intrinsic and ubiquitous before too long and that will do away with charge adapters.  If that doesn't happen, perhaps I will have more time in the coming years towork on a refined product.

philip2013 (author)CODIY2009-10-23

now that is interesting technology! getting close to something I've been reading about, the "Ultracapacitor,"  a great application for electric transportation. Check it out if you havn't already. Thanks again for your time!

CODIY (author)2009-10-18

Sorry, but it took a while to make that one, and I just don't have the time these days to make another.  If you decide to make your own, though, I would suggest trying to use ring magnets.  The rectangular magnets worked fine, but alignment was sometimes an issue when trying to connect it quickly.  It only took a second to correct, but I found that it annoyed me.  I redesigned with ring magnets in mind and concentric power leads, but never got around to it.

biolethal (author)2008-05-01

Nice instructable! I dont really think it is possible to shock someone with 15 volts though, even at 5 amps... Or maybe its just that im immune to electricity...

Mr. Smart Kid (author)biolethal2008-12-26

ive gotten zapped with wet hands on my little 12v 9ah battery

biolethal (author)Mr. Smart Kid2009-01-11

Saltwater hands and wall power (110v, 20a) isn't fun to touch... (according to me)

jimmyfingers (author)2008-06-28

I did the same with a Compaq, but without the magnets... My girlfriend's daughter is very prone to breaking plugs/jacks/wires/adapters. I replaced the plug sticking out with a 90 degree angle plug, soldered two wires to the contacts, and GOOPed the thing solid to the side of the laptop with the two flexible wires sticking out about 2 inches. Those two wires were threaded through the cooling vent near the plug. Then, I got a plug from a RC car charging application at Radio Shack. I removed the click/lock on the plug, and it stays together just enough to stay, but pulls apart when necessary.

AceFace (author)2008-06-13

That was well done. I like the idea of doing it. So, is it still holding up?

CODIY (author)AceFace2008-06-14

It is still holding up. I am actually using it as I type this. I think that putting less current through the LEDs might be indicated, though, as they put out a lot of light at night. Think "darn, I left the laptop open and now light is streaming into the bedroom"

LinuxH4x0r (author)2008-04-30

Nice job! I have the real thing so its not that useful for me.... maybe I'll use it in something else

About This Instructable




More by CODIY:Magnetic Laptop power connector
Add instructable to: