Replacing the Raspberry Pi's SD Card Socket

Not so long ago I dropped my Raspberry Pi. It fell on the SD card, which resulted in breaking the slot. After a long search on the internet it was clear that a lot of people had the exact same problem, but all of them solved it by gluing the slot back together in some way or another. Because this solution was not satisfactory for me, I replaced my slot with a new one. In this article I will describe how to do that.

Choosing an appropriate replacement slot

First we need to know how the SD Card slot of the Raspberry Pi is built up. This is shown in the figure below. (Sorry it is hand drawn and everything, but I really didn't have the time to make proper figures on the computer)

As you can see it is a 13-pin slot, using 2 pins for both for the "Write Protect" and "Card Detect". This is a problem, as most of the available slots we can find at electronic parts vendors have either 9 pins (no "Card Detect" and "Write Protect") or 11 pins, using just one pin for each function.

I chose to use a 11-pin slot that I found on ebay. Most of the 11 pin slots have a similar layout. It's very cheap and shown in the picture below.

The layout of the slot is given in the picture below:

Because of the bad positioning of the "Write Protect" and "Card Detect" pins, we will not be able to attatch these pins correctly to the Raspberry Pi. We can solder the "Card Detect" pins on the pi together, so they make a short circuit and the Pi will work. I don't think this is a big problem. And correct me if I'm wrong, but I might have read somewhere that the "Wire Protect" is not even used.

Desoldering the remainders of the old slot & soldering the new slot in place

First get rid of the old slot by desoldering all the broken parts!

Then just solder on the new slot and leave the pins "Card Detect" and "Write Protect" from the SD connector floating (or cut them off if you want to be safe). The other pins should nicely align with the solder pads on the Raspberry Pi. Use the figures (poorly drawn sketches) above for reference and proper alignment. Make sure to short circuit the "Card Detect" solder pads on the Raspberry Pi. For mechanical strength, I added a wire as tightly as possible to the slot and the solder pads of the Raspberry Pi. It is shown in the picture below. I strongly recommend doing this, as it will increase the lifetime of the slot A LOT.

Enjoying the enhanced Pi

Now you should be done. When you plug in your SD Card and power on the Pi, everything should work as it did before. Enjoy your frankenberry pi!

It even still fits in a pibow!