Working with Wire

Pages
Contributors: Paul Smith, bboyho
Favorited Favorite 52

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.

stripped stranded wire

Inside a stranded wire

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

This tutorial covers everything you need to know about through-hole soldering.

Voltage, Current, Resistance, and Ohm's Law

Learn about Ohm's Law, one of the most fundamental equations in all electrical engineering.

Metric Prefixes and SI Units

This tutorial will explain how to use and convert between the standard metric prefixes.

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.

Stripped Solid Wire

Various colors of solid core wire

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.

Stranded Wire

Various colors and sizes of stranded wire

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 on a Breadboard for Prototyping Solid Core Wire Being Soldered in Through Hole
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.

stranded wire partially separated in breadboard

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.

Wire Gauges

An approximate scale of several different gauges of wire

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.

Amps to Gauge

An approximate wire thickness to current capability chart

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.

Jumper Wire Kit - 140pcs

Jumper Wire Kit - 140pcs

PRT-00124
$6.50
10
Hook-Up Wire - Assortment (Solid Core, 22 AWG)

Hook-Up Wire - Assortment (Solid Core, 22 AWG)

PRT-11367
$21.50
37
Hook-Up Wire - Assortment (Stranded, 22 AWG)

Hook-Up Wire - Assortment (Stranded, 22 AWG)

PRT-11375
$22.50
19
Large Jumper Wire Kit - 700pcs

Large Jumper Wire Kit - 700pcs

PRT-14671
$26.95
2

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)

Wire Wrap Wire - Blue (Solid, 30AWG, 100ft)

PRT-14913
Retired
Wire Wrap Wire - White (Solid, 30AWG, 100ft)

Wire Wrap Wire - White (Solid, 30AWG, 100ft)

PRT-14914
Retired

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.

Nice Wires

No nicks or gouges. These wires have been properly stripped

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.

Wire Strippers - 20-30 AWG

Wire Strippers - 20-30 AWG

TOL-24771
$13.95

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.

Self-Adjusting Wire Strippers

TOL-14872
2 Retired

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

Wire Wrap Tool

TOL-14915
Retired

Stripping 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.

Wire in Stripper

Then by pulling the wire strippers towards the end of the wire, the insulation should slide right off of the wire.

Wire After Strip

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.

Cut Cable Wire

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.

Adjust cable Length to Cut

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.

Insert Cable Between Self-Adjusting Wire Stripper's Jaws

While holding the cable in place, squeeze the handles to strip the sheath from the cable.

Part of Cable Sheet being Stripped

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.

Stripping multiple wires in a cable

When finished, your cable wires should be perfectly stripped!

Cable Wires 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.

Damaged Wire

This wire was not stripped properly, there are gouges and missing strands

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.

Striped Wire

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.

Adding Heat Shirnk

Face the wire terminals toward each other and touch the exposed ends together.

Touch Exposed Wires Together

Hold the wires together by using tape to hold the wires in place against a soldering mat.

Hold Wires Down Against 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.

Add Solder

Ensure that the underside of the wire is also soldered.

Check the Underside of the Wire

Flip the wire over and spread solder over the wires. If necessary, add flux and solder to cover wires.

Spread Solder on both sides of wire

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 Shrink and Soldering Iron  Heat Shrink Tube and Hot Air
Heat from a Soldering Iron Heat from Hot Air Rework Station

When complete, the heat shrink should fit over the exposed wire.

Completed Heat Shrink

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.

Connector Types

Insulated Splice, Forked, Ring, Male Spade and Female Spade Connectors

These connectors can also come in different sizes and ratings. The image shown below shows a 1/4" and 2.8mm female spade connector.

Different Sizes for 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.

Male and Female Spade Connectors

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.

crimped

The metal has been deformed to pinch the wire and hold it in place

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.

Ratchet Syle Crimp Tool for Quick Disconnect Connectors

Ratchet Crimp Tool for Quick Disconnectors

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.

Ratchet Syle Crimp Tool for Crimp Pins

Ratchet Crimp Tool for Crimp Pins

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.

Manual Crimper on the Self-Adjusting Wire Stripper

Manual Crimper on the Self-Adjusting Wire Stripper for Insulated and Non-Insulated Spade Connectors

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.

Wire Stripping and Crimping a Spade Connector

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.

Good Length

A good length of wire to barrel ratio

The wire should then be inserted until the insulation on the wire touches the end of the barrel.

Good Crimp Example

Good: The wire is sticking past the barrel just a little

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.

crimped

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.

Mil Spec Chart

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 a Polarized Connector Plastic Housing for Polarized Connector
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.

Different Crimp Pins

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.

Properly Cut and Stripped Stranded Wire for a Crimp Pin

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.

Crimp Pin Inserted in Crimp Tool

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 the Crimp Tool With Two Grooves and Die Recessed for 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.

Wire Inserted in Crimp Pin and Crimp Tool

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.

Crimp Pin and Wire Crimped Together in Crimp Tool

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.

Different Crimp Pins

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.

Crimp Pin Inserted into Respective 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.

Assortment of Different Crimp Pins in their Respective Housing

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.

bad crimp 1

Bad crimp. Connector was too small for the gauge of wire chosen.

Be cautious not to strip too much insulation off.

bad crimp 2

Too much insulation has been stripped off, too much bare wire exposed

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.

bad crimp 3

The excess bare wire should be trimmed off

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.

Strip 30AGW  Wire with Wire Wrap Tool

Make sure to strip away enough wire to wrap around a terminal for a sufficient connection. About a 1" should be enough.

Remove about 1 Inch

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 Wires into Hole Along Side of Cylinder Place Exposed Wire in Groove Along Cylinder

Insert the wire into header pin (a.k.a. post). In this case, male header pins were used on a mini-breadboard.

Insert Header Pin in Center of Wire Wrap Tool

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.

Rotate Tool Counter Clockwise

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.

Remove Wire Wrap Tool Header Wrapped With Wire

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.

Wrapping More Wires SparkFun Pro Micro with Wire Wrap, LED, and Resistor

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.

Removing Wire Wrap with Other End Rotate in Counterclockwise direction

Once the wire wrap is loosened, pull the wire away from the pin.

Removed Wire wrap from Header

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.

Wire Management Braiding Counterclockwise 1

Twist the other pair of wires in a counterclockwise pattern.

Wire Management Braiding Counterclockwise 2

Twist the pairs of wires in a clockwise pattern.

Wire Management Braiding Clockwise

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.

Circuit secured to bottom of cardboard box with electrical tape Inside of Bluetooth Box with Twisted Wires
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.

Unprotected Wires

Below are images of wires within a sleeve and cable carrier for protection.

Cable Sleeve Cable Carrier

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.

Wires Inserted into Poke-Home Connector

Labeled wires from the micro:arcade kit

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

Connectors are a major source of confusion for people just beginning electronics. The number of different options, terms, and names of connectors can make selecting one, or finding the one you need, daunting. This article will help you get a jump on the world of connectors.

What is a Circuit?

Every electrical project starts with a circuit. Don't know what a circuit is? We're here to help.

How to Use a Breadboard

Welcome to the wonderful world of breadboards. Here we will learn what a breadboard is and how to use one to build your very first circuit.

LilyPad Basics: E-Sewing

Learn how to use conductive thread with LilyPad components.

Interested in learning more foundational topics?

See our Engineering Essentials page for a full list of cornerstone topics surrounding electrical engineering.

Take me there!

Looking for more examples of soldering techniques when working with wire? Check out the following links below for more tips.

Or check out this blog post: