Introduction: How to Make an On/off Switch

I saw that there were ways to wire a switch into your raspberry Pi that would create a reset, but I wanted to find a way to wire a switch that would turn the entire Pi on and off so that it wouldn't use power. I decided to add the switch to the power cable, and now I have a nice on and off switch so I don't have to unplug the whole raspberry Pi each time.

Step 1: Materials

You will need...
-Your normal micro USB power chord
-A toggle switch
-Some wire cutters/strippers
-A screwdriver
-Some tape, electrical tape is the best, but any tape can work temporarily

Step 2: Strip the Cables

Take your wire cutters and cut the chord where you want to attach the switch. Now strip each end by about one inch. You should be left with two wires. Now you need to strip those two wires individually. Try to preserve as many of the strands inside as possible.

Step 3: Attaching the Switch

Now you should be left with two different color wires. Pick one of the colors and attach those two ends to each other. Secure the connection with some tape. Now you should be down to one color. Take your switch and connect it to both ends. You should now have a functioning on/off switch. Enjoy.

Comments

author
Slapshot135 (author)2015-05-12

Not that I know of, I've been using it for weeks and haven't noticed anything

author
S-Cript (author)2015-04-23

Would this create a higher risk of sd corruption?

author
pfred2 (author)2015-04-22

Many things plugged in may still consume some power, even if they are not "on". This is called vampire power consumption today. It is not a lot usually, but it is something. So the only way to really be sure something is not using any power is to completely disconnect it from mains wiring.

You could plug your adapter into a power strip that has a power switch on it, and turn that switch off. That would be like unplugging the device, without actually having to unplug it.

author
yugnats (author)2015-04-21

thank you!