Working with Wire
Introduction
When someone mentions the word wire, they are more than likely referring to a flexible, cylindrical piece of metal that can vary in size from just a few millimeters in diameter to several centimeters. Wire can refer to either a mechanical or electrical application. An example of a mechanical wire could be a Guy-wire, but this this guide will focus on electrical wiring.
Electrical wire is a backbone of our society. There is wire in houses to turn on lights, heat the stove, and even talk on the phone. Wire is used to allow current to flow from one place to another. Most wires have insulation surrounding the metallic core. An electrical insulator is a material whose internal electric charges do not flow freely and, therefore, does not conduct an electric current. A perfect insulator does not exist. However, some materials such as glass, paper, and Teflon, which have high resistivity, are very good electrical insulators. Insulation exists because touching a bare wire could allow current to flow through a person's body (bad) or into another wire unintentionally.
Recommended Reading
Here are some topics you might want to explore before reading about wire:
How to Solder: Through-Hole Soldering
Voltage, Current, Resistance, and Ohm's Law
Metric Prefixes and SI Units
Stranded vs Solid Core Wire
Wire can come in one of two forms: solid or stranded core.
Solid Core
Solid wire is composed of a single piece of metal wire, also known as a strand. One very common type of solid wire is known as wire wrap.
Stranded Core
Stranded wire is composed of many pieces of solid wire all bundled into one group. It is much more flexible than solid wire of equal size.
Applications of Solid and Stranded Core Wire
Since stranded wire is more flexible than solid core wire of equal size, it can be used when the wire needs to move around frequently, in a robot arm for example. Conversely, solid wire is used when little or no movement is needed, such as prototyping circuits on a breadboard or protoboard. Using solid core wire makes it easy to push the wire into a breadboard and plated through holes of a printed circuit board.
Solid Core Wire Used in a Breadboard with the Battery Babysitter | Solid Core Wire Soldered into a Plated Through Hole with the Button Pad Breakout Board |
Trying to use stranded wire on a breadboard or plated through hole can be very difficult depending on the thickness as the strands want to separate as they are pressed in.
The image on the left shows the wire strands being twisted by giving them about 180 degrees of twist along the length of the strip. The image on the right shows the wires being tinned with soldered. Apply excess solder to allow the flux to work, and pull the extra solder off with the iron yielding a solid cylinder of wire.
Wire Thickness
The term ‘gauge’ is used to define the diameter of the wire. The gauge of a wire is used to determine the amount of current a wire can safely handle. Wire gauge can refer to both electrical and mechanical. This tutorial will only cover electrical. There are two main systems for measuring gauge, American Wire Gauge (AWG) and Standard Wire Gauge (SWG). The differences between the two are not critical to this guide.
The amount of current that a wire can carry depends on a few different factors, for example the composition of the wire, wire length, and condition of the wire. In general, thicker wire can carry more current.
Here at SparkFun, we typically use 22 AWG wire for prototyping and breadboarding. When using a breadboard or PCB, solid core is perfect because it fits nicely into the holes. For other prototyping/building involving soldering, the stranded core is #1, just be sure not to let too much current run through a single wire. It will get hot and could melt!
SparkFun carries a variety of both solid and stranded 22 AWG wire.
However, there is still an option to use 30 AWG wire wrap if you need to go smaller.
Wire Wrap Wire - Blue (Solid, 30AWG, 100ft)
PRT-14913Wire Wrap Wire - White (Solid, 30AWG, 100ft)
PRT-14914Wire Wrap connecting to a PCB's small SMD pins that are broken out on the Hardware Mouse Jiggler. | Wire Wrap used in projects with small spaces of the Heartbeat Straight Jacket. | "Green" Wire Repairs with a bad PCB design or damaged pad. |
How to Strip a Wire
Safe, durable electrical connections begin with clean, accurate wire stripping. Removing the outer layer of plastic without nicking the wires underneath is critical. If a wire does get nicked, the connection may break or an electrical short may occur.
The Tools
Manual Wire Stripper
A simple manual wire stripper is a pair of opposing blades much like scissors. There are several notches of varying size. This allows the user to match the notch size to the wire size, which is very important for not damaging the wires. Depending on the manufacturer, there may be additional features that include a locking mechanism, have an ergonomic handle, and the ability to cut screws.
Although a knife would also strip the wires, it may also damage the wire by nicking the metal or cutting into it. Using a knife to strip wire is also really dangerous! The knife can easily slip and cause wicked injuries.
Self-Adjusting Wire Stripper
There are also self-adjusting wire strippers that automatically strip wire by placing a wire in the middle of the teeth and squeezing the handle. These take almost any wire and perfectly strip the wires every time. Depending on the manufacturer, there may be additional features included to cut or crimp insulated/non-insulated wires.
Wire Wrap Tool
If you are using a wire wrap tool to wrap a wire around a pin, there may already a built-in stripper blade in the middle to strip the thin wire. Simply place the wire between the blades and pull.
Wire Wrap Tool
TOL-14915Stripping the Wire with Manual Wire Strippers
By simply squeezing the handles of a manual wire stripper about 1/4" from the end of the wire or the desired length, using the correct notch on the tool, and then twisting it slightly, the insulation will be cut free.
Then by pulling the wire strippers towards the end of the wire, the insulation should slide right off of the wire.
Stripping Cable Wires with Self-Adjusting Wire Strippers
The special self-adjusting wire strippers makes it easy to remove sheaths and stripping multiple insulated wires. For this example, we are going to wire strip a power cable. Place the end of the cable between the tool's wire cutter to cut. When ready, squeeze the handles tp cut the cable end.
Turn the plastic guide away from the head and slide it out to adjust the wire length to cut. Reposition the plastic guide when you are satisfied with the wire length. For cables, you may want to strip more than the recommended guide.
Insert the cable between the jaws. If necessary, increase/decrease the tension of the jaw using the tension knob as necessary depending on the cable and wire size.
While holding the cable in place, squeeze the handles to strip the sheath from the cable.
After sliding the sheeth from the cable, place the internal wires between the teeth. Adjust the tension of the jaw using the tension knob as necessary depending on the cable and wire size.
When finished, your cable wires should be perfectly stripped!
Tips, Tricks, and Hints
It is important to match the size of wire to the correct notch in the stripper. If the notch is too large, the wire will not get stripped. If the notch is too small, there is a risk of damaging the wire. Using an undersized notch means the strippers will close too far, digging into the wire underneath. With stranded wire, the tool will cut off the outer ring of wires, decreasing the total diameter of wire and reduce the strength of the wire. A nick in solid core wire will severely reduce the strength and flexibility of the wire. The likelihood of the wire breaking upon being bent increases significantly.
If a wire does accidentally get a nick in it, the best plan of action is to cut the damaged part of the wire off and try again.
How to Splice Wires
Prepare the wire by stripping the wires ends using a wire stripper. If you are working with stranded wire, try twisting the ends to group the strands together and tinning the tips before soldering.
Cut a piece of heat shrink to cover the exposed wires. Slide the heat shrink through one of the wires. Make sure to slide the heat shrink away from area where you are splicing.
Face the wire terminals toward each other and touch the exposed ends together.
Hold the wires together by using tape to hold the wires in place against a soldering mat.
Add solder to the wires. Try not to leave the soldering iron on the wires too long. The insulation can melt away exposing more wire.
Ensure that the underside of the wire is also soldered.
Flip the wire over and spread solder over the wires. If necessary, add flux and solder to cover wires.
If you are using heat shrink, slide it over the terminal to insulate the connection. Apply heat to the heat shrink from a soldering iron or a hot air rework station.
Heat from a Soldering Iron | Heat from Hot Air Rework Station |
When complete, the heat shrink should fit over the exposed wire.
You can also try hooking and twisting the wires together in a Western Union splice (a.k.a. Lineman's Splice). This method is ideal for solid core wire but it can be used on stranded wires.
For advanced users, you could also tap into the wire for a Western T-splice instead of cutting straight through wire. This is useful when adding a component(s) (i.e. a pull-up resistor) if you have a limited amount of space to work with to save time and reduce costs. Simply strip the middle of your wire, remove the insulation using a hobby knife/soldering iron, wrap a separate wire/terminal to the exposed wire, and solder. When finished, add some heat shrink or hot glue for insulation. The image below shows a resistor and wire being added to the middle of two wires.
How to Make a Custom EL Wire Extension Cable
October 24, 2018
How to Crimp an Electrical Connector
An electrical connector is a device for joining electrical circuits together using a mechanical assembly. The connection may be temporary or serve as a permanent electrical joint between two wires. There are hundreds of types of electrical connectors. Connectors may join two lengths of wire together or connect a wire to an electrical terminal.
Below area few connector types. On the far, upper left, we have an insulated splice connector to connect two wire ends together. To the right, the forked connector (a.k.a. spade, or split ring) is useful for connecting wire to screw terminals by sliding the fork into a screw terminal's socket. Screws can be partially screwed in before installing the terminal. The ring terminals in the middle are also useful for connecting wire to screw terminals. While the ring terminal provides a more reliable connection, you would need to completely remove the screw before installing the terminal. On the far, upper right we have a male spade connector (a.k.a. blade). These can slide into the female spade connector (a.k.a. double crimp) that is shown on the bottom right. Depending on the design and application, these connectors can come in different flavors like flanged fork or locking ring terminal.
These connectors can also come in different sizes and ratings. The image shown below shows a 1/4" and 2.8mm female spade connector.
You will want to match the size of the connectors for a secure connection. The image below shows 1/4" female spade connectors connecting to a microswitch's male spade terminals.
What is a Crimp?
The word crimping in this context means to join two pieces of metal together by deforming one or both of them to hold the other. The deformity is called the crimp.
The Tool
In order to crimp connectors onto a wire, a special tool is require for the crimp pin. There are several different styles of crimpers available depending on the crimp pin.
Ratchet Crimp Tool
The best crimper has a built-in ratchet. As the handles are squeezed together, it will ratchet and prevent the jaws from opening back up. When enough pressure has been applied, the ratchet will disengage and release the crimped part. This ensures enough pressure has been applied. This style of crimper also has a wide jaw to cover more surface area on the connector.
Depending on the size of the connector, the type of the "die" (i.e. the crimp tool's head) will be sized differently. The crimp tool below uses a different die to crimp smaller crimp pins that slide into a pin connector housing.
The images below show different gauges of wire crimped to forked connector and crimp pin for a polarized connector.
Fork Connectors Crimped for a Wall Adapter | Crimp Pin Crimped Before Being Inserted to a Plastic Housing |
Manual Crimp Tool
Manual crimping tools can achieve nearly the same results, although it requires the user be much more vigilant. This style of crimper is generally less sturdy. Attention must be given while crimping to ensure the jaws are lined up properly on the connector. Misalignment will cause a less than desirable crimp connection. Over time, wear and tear from normal usage can also cause the jaws to become separated and not close fully. Generally, squeezing it as hard as possible will be sufficient. The fancy wire stripper shown below can be used with quick disconnects. The tool can also be used to cut wire and strip wires/cables.
While the self-adjusting wire stripper is a bit harder to work with than a ratchet, it has the ability to strip, cut, and crimp a quick disconnect.
Why is this level of perfection required? A poor crimp leaves air pockets between the wire and connector. Air pockets allow moisture to collect, moisture causes corrosion, corrosion causes resistance, resistance causes heat, and may ultimately lead to breakage.
Crimping a Quick Disconnect Connector
There are several arguments for and against using solid core wire with crimp connections. Many believe crimping to solid core wire creates a weak point in the wire, which can lead to breakage. There is also a greater chance for a crimp connection to come loose with solid core wire because the wire will not conform to the terminal as well. If you must use solid core wire, it is a good idea to solder the wire in place after you crimp it.
First, the correct size wire must be chosen for the terminal size, or vice versa. We'll assume that you are using stranded wire so that th wire conforms to the crimped connection. Next, strip the wire. The amount of exposed wire should be equal to the length of the metal barrel on the connector, usually around ¼” or so. If the stripped wire fits up into the metal portion of the barrel with little or no free space, the connector is the right size.
The wire should then be inserted until the insulation on the wire touches the end of the barrel.
The wire and terminal are then inserted into the crimper. The color of the terminal’s insulation needs to be matched with the same color on the crimping tool. So if the terminal’s insulation is red, use the spot marked by the red dot on the crimpers. Alternatively, if the crimper does not have color markings, use the gauge markings on the side.
The terminal should be sitting horizontal with the barrel side up. The tool is then held perpendicular to the terminal and placed over the barrel, nearest to the ring (or other connection type). To finish the crimp, the tool is squeezed with a considerable force. In general, it is almost impossible to ‘over crimp’ a connection.
For a detailed examples of good and bad crimped pin, check out the following from JST!
After the crimp is completed, the wire and connector should still hold together after trying to pull them apart with great force. If the connection can be pulled apart, the crimp was not done correctly. It is better to have the crimp fail now, versus after it has been installed in its application. Below is a military spec chart for crimped connections.
Keep in mind, that adding solder will add stress to the joint due to mechanical vibrations and thermal cycling causing joint failure. Soldering can also increase resistance at the joint. For low power applications, users should not notice a significant difference.
The image below demonstrates two wires crimped with female spade headers for the middle connections. In this case, the crimped wires were used to connect multiple devices to ground.
Crimping a Crimp Pin
Remember, there are hundreds of types of electrical connectors out in the world. Depending on the design, the connector can be designed in a way to fit into a plastic housing. Instead of a barrel crimping down on a wire, the connector may include two crimp tabs (i.e. wings) to crimp over wire and its insulation. The additional crimp tabs for insulation provide strain relief. The crimp pin may also have a locking tab and terminal stop when the pin is inserted in a plastic housing.
Crimp Pin Cut from Reel for Polarized Connector | Plastic Housing for Polarized Connector |
One example can be found in the pre-terminated, premium jumper wires. They are used for connecting to PCBs designed with 0.1" PTH pads. Below is an image of a few crimped pins before being inserted in their plastic housing. On the left is a crimp pin to fit inside a polarized housing. On the center is a female pin used to mate with the male pin on the right.
The process is a bit more tedious since you are working with smaller pins. Depending on your level of experience, this can be time consuming. However, users can create custom wire lengths and cables for a project.
First, cut and strip a piece of wire. Make sure to match the wire gauge with the crimp pin's specifications. In this case, we will use 22 AWG stranded hook-up wire to connect to the JST RCY connector as recommended by the crimp pin's datasheet. After removing the crimp pin from it's metal strip, align the wire strands to the conducting tab and the insulator to the insulator tab to check if the wire meets the crimp pin's specifications.
If the wire and stripped sufficiently, insert the crimp pin into one of the crimp tool's jaw. You may need to bend the insulator's tabs inward to fit. We'll use the bigger jaw.
Make sure to take note grooves of the crimp tool when inserting the crimp pin into the die. If you observe closely, there are two semicylindrical grooves cut on one side of the jaw while the other has one groove. The side that has two grooves will be used to crimp the tabs. Additionally, half of the die is recessed for the insulator tab.
Side View of the Ratcheted Crimp Tool | Close-Up of Crimp Tool with Two Grooves and Die Recessed for Insulator Tab |
Slowly close the ratcheted crimp tool to hold the crimp pin in place and insert the stripped wire. You may need to adjust the crimp pin so that its insulator tab is flush with the die.
When ready, slowly squeeze the handles more to continue crimping the tabs. If something is not right and you are using a ratcheted crimp tool, flip the safety release pin just above the handle. Continue squeezing the handle until the ratchet releases automatically to finish the crimp.
Carefully, remove the crimped pin out of the crimp tool. Observe the crimped tabs. You should see something similar to crimped pins below. If necessary, you may need to re-insert the pin back into the jaws to sufficiently crimp the the tabs. The crimp pin on the far left was partially crimped and needed to be placed in the smaller jaw for a proper crimp.
When ready, insert the crimped pin into its respective housing. In this case, the crimped female pin was inserted into its respective JST RCY connector housing. Make sure to match the locking tab with hole in the plastic housing.
When finished, the wire should snap into its respective housing. Below are a few crimped pins in their respective housing. On the far left, we have crimped pins used for the polarized 1x2 "Molex" connector. The two on the right with black housing is an example of crimped pins used with the standard 0.1" headers. Finally, the crimped pins in the red housing are used for the JST RCY connector.
Common Mishaps
Below are a list of common mistakes when crimping quick disconnects and crimp pins. We'll use a quick disconnect for demonstration.
Wrong size connector for the wire or wrong size wire for the connector.
Be cautious not to strip too much insulation off.
It is also worth mentioning that, while not necessarily harmful, The wire should not be protruding too far past the barrel. If this happens, trimming the wire is recommended.
How to Use a Wire Wrap Tool
Strip the 30 AWG wire by inserting it between the wire wrap tool's blades. Pull the wire to remove the insulation.
Make sure to strip away enough wire to wrap around a terminal for a sufficient connection. About a 1" should be enough.
Insert the exposed wire into the hole along the side. Make sure to insert the wire on the side with the notch and place the wire in the cut along the side of the cylinder.
Insert the wire into header pin (a.k.a. post). In this case, male header pins were used on a mini-breadboard.
Rotate the tool clockwise to begin wrapping the wire around the square header pin. Hold the wire and header pins down with your other hand. Continue rotating the tool so that all of the stripped wire wraps around the pin.
Remove the tool from the pin. When completed, the wire's insulation should start at the bottom of the pin. For a more permanent and secure connection, add some solder between the wire and pin.
If you require more connections on the same pin, wrap more wires around the top of the first connection and repeat the steps outlined above. The amount you can stack depends on the length of the header pin. Try using the wire wrap tool to wrap wires around headers on a microcontroller, LED, or resistor for prototyping.
Removing Wrapped Wires
If you need to disconnect the wire from the pin, simply use the other end of the tool and rotate it in a counterclockwise direction.
Once the wire wrap is loosened, pull the wire away from the pin.
Wire Management
Twisting Wires into a Braid
It is a good idea to braid long wires that are used in a project. There are a few benefits of twisting the wires together:
- keeps the project organized
- prevents wires from being pulled from moving parts
- strengthens the connection
Below is an example of braiding four hook-up wires together for a non-addressable LED. To braid your wires, twist a pair of wires in a counterclockwise pattern between your index finger and thumb using both hands. In this case, the green and red wires were twisted first.
Twist the other pair of wires in a counterclockwise pattern.
Twist the pairs of wires in a clockwise pattern.
Once finished, the wires in your project will be manageable and easier to handle. Below are a few examples with braided wires used in projects.
Some Twisted Wires Used in the Interactive 3D Printed LED Diamond Prop Tutorial | Twisted Wires Used in the Wireless Audio Bluetooth Adapter w/ BC127 Tutorial |
Sleeves and Cable Carriers
Sleeves and cable carriers are also useful in further protecting the connection from moveable parts. The image below shows loose wires on the Shapeoko.
Below are images of wires within a sleeve and cable carrier for protection.
Labeling Complex Wiring
Sometimes it is useful to label wires using sticky notes, tape, or markers to help keep track of connections using the same color of wire, complex wiring, and to troubleshoot projects.
- Printable Shrink Tube - Try using printable heat shrink to label wires.
- Markers - Another option is labeling wire ends with a marker.
Resources and Going Further
You should now be familiar with electrical wire and how useful it is in the world of electronics. Whether you're prototyping, reworking, or building a final product, electrical wire can be your best friend. Here are some other tutorials you can explore that involve electrical wire.
- Wire is the most basic element when creating your own circuits.
- Unsure which connectors to use with wire? Have a look at Connector Basics to get what you need!
- Want to start prototyping? Check out Breadboards to get going!
- Looking for more flexibility in your connections? Try using conductive thread in your wearables projects!
Connector Basics
What is a Circuit?
How to Use a Breadboard
Interested in learning more foundational topics?
See our Engineering Essentials page for a full list of cornerstone topics surrounding electrical engineering.
Looking for more examples of soldering techniques when working with wire? Check out the following links below for more tips.
- Instructables | Soldering Tutorial: In Line Splicing
- Makezine | How-To: Splice Wire to NASA Standards
Or check out this blog post: