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.