All articles

    Connector Types: Dupont, JST, the Screw Terminal and XT60

    A guide to connectors in projects: Dupont for experiments, JST XH and PH for batteries and sensors, the screw terminal for power, XT60 for high current, the DC plug and USB-C, and JST-SM and GX16 for long wires, with a comparison table of rated current, crimping step by step, and the faults caused by the connector.

    Updated 6 min read

    A weak or wrong connector can ruin an excellent project: intermittent contact, heating, or a wire coming out without you noticing. And the right choice depends on 3 questions: How much current? Will it be unplugged and replugged often? Does it need to lock?

    The best-known connectors and when to use each
    The best-known connectors and when to use each

    Dupont (2.54 mm header)

    The pins and wires you use with the Arduino and the breadboard.

    • ✅ Cheap, available and very easy for experiments.
    • ❌ It doesn't lock, and comes loose with vibration. Its current is limited (about 1–3 A depending on quality).
    • For experiments, not for the final product.

    Many cheap wires contain very thin copper-clad aluminium wire. Its resistance is high, so if you power a motor or LED strip through them you'll find the voltage dropping and the wire heating up. For power, use thicker wire.

    JST

    Small plastic connectors that lock. The best known:

    • JST XH (2.5 mm): battery balancing, and projects in general.
    • JST PH (2.0 mm): small LiPo batteries, and sensors.

    Be careful: the order of red and black on LiPo batteries is not standardised between manufacturers. Check the polarity before connecting.

    How to tell them apart? Measure the pin spacing: 2.5 mm = XH, 2.0 mm = PH, 1.25 mm = Molex PicoBlade (the very small one on some modules), and 1.0 mm = JST SH (such as Qwiic and Stemma QT). These sizes don't fit each other, so check before you order.

    The screw terminal

    • ✅ For thick wires and higher current, with no special tools.
    • ✅ Excellent for the power input and for motor wires.
    • ❌ Tighten the screw well. Don't tin stranded wire with solder before the terminal, because the solder relaxes over time and the contact weakens. A ferrule is better.

    There's also a pluggable terminal: the part with the screws pulls off the board. Very useful if the device will be installed somewhere and you need to remove it without undoing the wires.

    XT60 and XT30

    • XT60: for high currents (about 60 A for short periods), used on large batteries and drones.
    • XT30: a smaller version for about 30 A.
    • ✅ Designed so they can't be fitted the wrong way round.

    These are soldered, not crimped. Hold the connector mated to another connector while soldering, so the plastic doesn't melt and the pins don't move.

    The DC plug (barrel jack)

    The round plug of the adapter, most commonly 5.5 × 2.1 mm. And watch out for polarity: most are centre positive. See choosing an adapter.

    5.5 × 2.1 or 2.5? They look the same from outside, but the pin inside is different. A 2.1 plug goes into a 2.5 jack but wobbles and the contact cuts out. The other way round doesn't fit. And add reverse polarity protection, because one day someone will connect the wrong adapter.

    USB-C

    It has become very common for power. If you put one on your board and want to take 5 V from a USB-C charger, you need two 5.1 k resistors from the CC pins to ground. Without them, many chargers won't supply any voltage.

    Each CC on its own: CC1 with a resistor and CC2 with a resistor. One resistor shared by both is wrong, and works with some chargers and not others. And if you need more than 5 V (9, 12 or 20), you need a USB PD chip to negotiate with the charger.

    For long wires and outdoors

    • JST-SM: the connector on the ends of LED strips. It locks, and connects wire to wire.
    • GX16 (aviation): metal with a locking screw ring, from 2 to 8 contacts. Excellent for outdoor sensors or on machines.
    • Waterproof connector (IP67): for the garden and sensors in the open air.

    A quick comparison

    ConnectorApproximate currentLocks?Use
    Dupont1–3 ANoExperiments
    JST PHAbout 2 AYesSmall batteries and sensors
    JST XHAbout 3 AYesProjects in general
    5 mm terminal10 A or moreBy the screwPower input and motors
    XT30About 30 ABy frictionMedium batteries
    XT60About 60 A for a short timeBy frictionLarge batteries and drones

    These figures are approximate and vary between manufacturers. Refer to the datasheet for anything carrying real current, and stay below the limit with a margin.

    Crimping

    Most connectors (Dupont and JST) are made to be crimped onto the wire with a dedicated crimping tool, not soldered. A correct crimp is stronger and more reliable than solder here.

    The steps

    1. Strip only about 2–3 mm (depending on the terminal).
    2. Put the metal terminal in the tool: the front part grips the copper, and the rear part grips the insulation.
    3. Crimp once, firmly, until the tool opens by itself (on ratchet types).
    4. Pull the wire by hand: if it comes out, the crimp is weak.
    5. Insert the terminal into the plastic housing until you hear a click.

    Faults caused by the connector

    SymptomUsual cause
    The device resets when you touch the wireIntermittent contact in a Dupont or a weak crimp
    The connector got hot or the plastic meltedCurrent above the rating, or poor contact with high resistance
    The voltage drops under loadThin Dupont wires or a small connector
    A USB-C charger supplies no voltageThe CC resistors are missing or wrong
    Something burnt out after you changed the batteryReversed JST polarity

    General rules

    1. The rated current of the connector must exceed the real current with a margin, and so must the wire gauge.
    2. Locking for anything with vibration or that moves.
    3. Prevent reverse connection: a connector that fits only one way, or different types for each voltage.
    4. Label on the board (the silkscreen) the function of each terminal.

    FAQ

    Should I solder the wire straight to the board instead of a connector? For things that will never be disconnected, that's acceptable. But secure the wire with a tie or glue so vibration doesn't break it at the solder point, because the wire snaps there.

    Can I use Dupont connectors for power? For a small current (under an amp) and experiments, yes. For a motor or LED strip, use a terminal, JST or XT30.

    Circuits Nerd
    © 2026 Circuits Nerd. All rights reserved.