Circuit 3D

Wires and connectors

A jumper wire is a short wire with a pin or socket on each end for joining points on a breadboard or board without soldering; connectors such as Dupont, JST and screw terminals join wires that you may want to unplug later.

Vdrop = I × Rwire

where Rwire is the wire’s resistance there and back: two 20 cm leads of thin 28 AWG lose about 42.6 mV at 0.5 A.

Match a connector’s pin spacing and current rating to the job.

What are wires and connectors?

Wires carry current between parts, and connectors join wires to boards or to each other in a way you can unplug, from a breadboard jumper to a battery plug.

Most hobby connectors are named for their pin spacing, or pitch. Figure 1 shows five common ones at their real spacing.

2.54 mm 10 mm

Dupont, 2.54 mm pitch: about 3 A a contact; for jumper wires, Arduino headers and sensor modules.

Figure 1. Five common connectors seen from the mating face, their pins drawn at their real spacing beside a 10 mm scale. Current ratings are typical; check the maker’s.

What is a jumper wire?

A jumper wire is a short insulated wire with a connector or bare end on each side, used to join two points on a breadboard, or a breadboard to an Arduino or a module, without soldering.

Flexible jumpers have a pin or a socket on each end, as Figure 2 shows. Pre-cut solid-core jumpers lie flat on a breadboard and are color-coded by length.

pin pin

Male–male: for breadboard to breadboard, or into an Arduino Uno’s female headers.

Figure 2. The three kinds of Dupont jumper wire. A male end is a 0.64 mm square pin; a female end is a socket that grips one.

What are the types of electrical connectors?

The main types of electrical connectors are pin headers and Dupont plugs, JST wire-to-board plugs, screw and spring terminals, barrel jacks, USB, and high-current plugs such as the XT60.

Choose by pitch, current, how many pins, and whether it must lock or only plug in one way round. Crimped and soldered joints last; twisted wires and tape do not.

What is a Dupont connector?

A Dupont connector is the plastic housing with crimped pins or sockets at a 2.54 mm pitch found on jumper wires and on cables to pin headers, with one to many positions.

The name stuck from an early maker of the parts. They push on without locking, so they suit testing more than things that move or shake.

What is a JST connector?

A JST connector is one of a family of small, polarized wire-to-board plugs from the Japanese maker JST, named by series: XH at 2.5 mm, PH at 2.0 mm and SH at 1.0 mm.

They plug in only one way and most latch. LiPo cells often use PH plugs, but makers wire them both ways round, so check + and − with a meter before connecting a lithium battery.

How do you strip a wire?

To strip a wire, put it in the wire stripper’s notch for its gauge, close the jaws, and pull the insulation off, about 5 to 7 mm for a breadboard or crimp.

A notch too small cuts strands, which weakens the wire; check the copper is bright and whole. Twist stranded wire’s strands together before using it.

How do you crimp a wire?

To crimp a wire, strip it to the length of the terminal’s metal barrel, set it in place, and squeeze with a crimping tool so one pair of tabs grips the copper and another the insulation.

  1. Pick the terminal for the wire’s gauge and the crimper’s matching die.
  2. Crimp, then tug: a good crimp doesn’t move.
  3. Push the terminal into its housing until it clicks.

How do you use heat shrink?

To use heat shrink, slide a piece of tubing onto the wire before you solder, then move it over the joint and heat it with a heat gun until it shrinks tight.

Common tubing shrinks to half its width, 2:1, so choose one wide enough to pass the joint and small enough to grip the wire once shrunk. See how to solder for the joint itself.

Which wire should you use?

Use solid 22 AWG wire, 0.33 mm², on breadboards, stranded wire for anything that moves, and thicker gauges for more current: 18 AWG, 0.82 mm², for a few amps.

See wire gauge for the sizes. Mains wiring at 120 V or 230 V follows local codes, such as 14 AWG for 15 A circuits in North America or 2.5 mm² for sockets in much of Europe; leave it to an electrician.

How do you work out a wire’s voltage drop and a connector’s current?

Multiply the current by the wire’s resistance there and back for the voltage it loses, and divide a load’s watts by its volts for the current a connector must carry.

Example 1: the voltage lost in jumper wires

Two thin 20 cm jumpers carry 0.5 A to a load and back. How much voltage do they lose?

Given
two 20 cm jumpers of 28 AWG, 0.081 mm², at about 0.213 Ω a meter, carrying 0.5 A out and back
Find
the voltage lost in the wires
Solution
R = 0.4 m × 0.213 Ω/m = 0.0852 ΩV = 0.5 A × 0.0852 Ω = 42.6 mV
Answer
about 42.6 mV, plus each contact’s own resistance, fine for signals and small loads

Example 2: a connector for a load

A 24 W LED strip runs from 12 V through a plug-in connector. Which connector carries its current?

Given
a 24 W load on a 12 V supply, and a connector rated at least half again its current
Find
the current, and a connector to carry it
Solution
I = 24 W ÷ 12 V = 2 A2 A × 1.5 = 3 A, within the JST-XH’s 3 A
Answer
a JST-XH

Summary

Key equations

  • Vdrop = I × R voltage lost in a wire
  • R = Ω per meter × length a wire’s resistance

Key terms

Pitch
The spacing between pins.
Crimp
A terminal squeezed onto a wire.
Heat shrink
Tubing that shrinks when heated.
Stranded
Wire of many thin strands.

Practice problems

  1. What is the pin spacing of a Dupont connector?

  2. Which jumper joins a module’s header pins to a breadboard?

  3. Which wire suits a breadboard best?

  4. A 12 V, 24 W LED strip draws how much current?

  5. When do you slide heat shrink onto a wire?

FAQ

Are jumper wires and Dupont wires the same thing?

Usually, yes: hobby jumper wires have Dupont-style 2.54 mm ends, so the names are used for the same wires.

Can I solder instead of crimping?

Yes, for wires joined to each other or to a board. Crimp terminals that go into housings, and support soldered wires where they flex.

Why does my breadboard circuit work only when I press a wire?

A loose jumper or a worn breadboard clip; reseat or replace the jumper, and avoid thick leads that stretch the clips.