JST connectors on a 3D printer: identify them, crimp them properly and stop the bed connector burning
By Sina Esfahani, OmniTechs · Published 30 November 2026
The small plugs on printer boards and motors are mostly JST-XH (2.5 mm between pins), JST-PH (2.0 mm) or Dupont-style (2.54 mm). Bed and power wiring carry far more current, so they need bigger parts: screw terminals, a Molex Micro-Fit (3.00 mm), an XT30 or an XT60. Measure the pitch, find the maker's datasheet, and you know the plug and how much current it may carry.
A connector burns when current flows through a contact that is too small, loose or badly made. So crimp with the right tool, fit ferrules instead of tinned ends in screw terminals, and stop cables flexing at the plug. Before you touch any connector, switch the printer off, unplug it and wait at least 30 seconds: some cheaper boards and supplies have no resistors to drain their capacitors (E3D).
Work in this order:
Switch off, unplug, wait 30 seconds, and photograph every connector before you unplug anything.
Identify the plug: measure the pitch (2.0, 2.5, 2.54 or 3.00 mm) and look up its rated current.
Check the load: current = power ÷ voltage; a 40 W heater draws 1.7 A at 24 V but 3.3 A at 12 V.
Crimp with the tool made for that contact, and give each crimp a firm pull.
In screw terminals, use a crimped ferrule, never a solder-tinned end, and tighten the screw firmly.
Clamp the cable so it bends along its length, not at the plug or the bed.
After a burnt smell or a brown mark, keep the printer off and replace the damaged parts; never clean and reuse a burnt contact.
Which connector is it?
Common low-voltage connectors on 3D printers, from the makers' datasheets
| Connector | Pitch | Rated current | Wire | How to recognise it |
|---|---|---|---|---|
| JST-XH | 2.5 mm | 3 A with AWG 22 | AWG 30 to 22 | Header has two slots; the plug has small hooks that catch in them |
| JST-PH | 2.0 mm | 2 A with AWG 24 | AWG 32 to 24 | Smaller; header has one wide cut-out instead of two slots |
| Dupont-style (FCI Mini-PV contact) | 2.54 mm | 3 A continuous | AWG 28 to 32 for part 48045 | Fits 0.64 mm square pin headers; sold by many brands, so check the contact's own datasheet |
| Molex Micro-Fit 3.0 | 3.00 mm | 8.5 A, 2 circuits, AWG 18 | AWG 18 to 30 | Wider pitch; its rating falls with more circuits and thinner wire |
| XT30 | Two pins | 15 A rated, 30 A briefly | AWG 18 for 15 A | Small two-pin power plug |
| XT60 | Two pins | 30 A rated, 60 A briefly | AWG 12 | Larger two-pin power plug |
The number in XT60 is not its continuous rating: Amass rates it at 30 A, with 60 A only briefly. The Micro-Fit's 8.5 A applies to a two-pin wire-to-board plug with AWG 18 wire at a 30 °C temperature rise; with six or twelve pins Molex gives 7 or 6.5 A.
Worked example: XH or PH? Measure from the centre of the first pin to the centre of the last, then divide by the number of gaps. A four-pin plug has three gaps: 7.5 mm means 2.5 mm pitch (JST-XH), 6.0 mm means 2.0 mm (JST-PH). XH and 2.54 mm Dupont differ by only 0.04 mm per pin, so on short plugs the latch tells you more than a ruler.
The classic mix-up is the motor cable: most NEMA 17 motors take a six-pin JST-PH, many boards a four-pin JST-XH (an accepted answer on the 3D Printing Stack Exchange). They do not mate, so you need a cable with the right plug on each end.
Teaching Tech's guide covers pitch, strippers, ferrules and crimping Dupont, JST-XH, Molex and JST-PH contacts, each in its own chapter.
Crimp a contact that will not work loose
JST, Molex and Dupont-style housings take crimp contacts. A crimp is two small barrels folded around the wire: the front one grips the bare copper, the rear one the insulation.
Use the tool made for that contact. JST says to use the right tool and the right die position for each terminal; FCI names a specific hand tool for its Mini-PV contact.
Use wire the contact accepts. XH takes AWG 30 to 22 with insulation 0.9 to 1.9 mm across; PH takes AWG 32 to 24 with 0.5 to 1.5 mm.
Strip to the barrel length plus 0.5 to 1.0 mm (JST's hand-tool manual), so the copper fills the front barrel and the insulation sits in the rear one.
Crimp in one full stroke. On a ratcheting tool the handles open only when the crimp is complete (JST).
Inspect and pull. No cracks in either barrel, no loose strands. JST checks crimps with a tensile test; at home, a firm pull should not move the wire.
Push the contact into the housing until the latch holds, then tug the wire again.
If a crimp fails the pull, cut it off and crimp a new contact.
Extending or repairing a wire
The cleanest extension is a matching plug and socket, crimped or ready-made: the part stays unpluggable and every contact has a datasheet.
Use at least the original wire size, and stranded wire for anything that moves.
Keep joins away from the heater block and the bed surface, and insulate each one with heat-shrink tubing.
Route endstop, thermistor and probe cables away from heater and motor cables, or use twisted or shielded pairs: Marlin names heated beds, hotends, motors and PWM as noise sources.
Never run a bed through Dupont or small JST plugs, which are rated 2 to 3 A per contact; check a heater's current against that rating first.
Screw terminals: ferrules, never tinned ends
Many boards take the power input and the bed in screw terminals. Never tin stranded wire with solder before you clamp it. Phoenix Contact, a terminal-block maker, explains why: the clamp cracks the solder, and heating and cooling make the tin expand more than the copper clamp, so the joint works loose. A loose joint has more resistance, and that is where the heat comes from. The fix is a crimped ferrule and a properly tightened screw.
Choose a ferrule that matches the wire size and crimp it with a ferrule crimper.
Prusa's kit manual says to tighten the board's power and bed screws firmly, and calls correct polarity crucial: positive wire into the positive slot.
If a screw works loose again, find the reason (a tinned end, a ferrule of the wrong size) instead of only tightening it.
Bryan Vines fits ferrules to the wiring of an Ender-3 V2; his description names the aim as preventing overheated connectors.
Wire and connector size for heaters and the bed
Work out the current first: power ÷ voltage, or voltage ÷ resistance. Then check that every connector and wire in the path is rated for it.
Worked examples with makers' figures
| Load | Maker's figure | Current | What that means |
|---|---|---|---|
| Prusa MK3/S bed | 3.4 Ω at 24 V | 24 ÷ 3.4 = 7.1 A | Far over an XH contact; within a two-pin Micro-Fit at AWG 18 (8.5 A), with little margin |
| Prusa MK2/S bed | 1 Ω at 12 V | 12 ÷ 1 = 12 A | Over a Micro-Fit; an XT30 at AWG 18 (15 A) is the smallest plug in the table rated for it |
| 40 W hotend heater | 40 W at 24 V | 40 ÷ 24 = 1.7 A | Within an XH contact's 3 A |
| The same heater on 12 V | 40 W at 12 V | 40 ÷ 12 = 3.3 A | Over an XH contact's 3 A |
At 12 V the same heater needs twice the current and thicker wire (E3D). The RepRap RAMPS 1.4 board shows how tight that gets: its bed input has an 11 A resettable fuse, it assumes a bed of at most 120 W, and the wiki warns that many clone boards use MOSFETs not rated for 11 A, or even the average 8 A of a 12 V bed.
No single table gives one safe current per wire size. Molex bases its figures on a 30 °C temperature rise, Amass gives figures for 60 and 85 °C, and Molex adds that the real rating depends on the application. So keep at least the wire size the maker fitted, and choose a connector whose datasheet covers the current with that wire.
MOSFET modules: what they solve and what they cannot
A MOSFET is the electronic switch that turns a heater on and off. An external MOSFET module takes the bed current off the board: the board's bed output only signals the module, which switches a separate feed from the supply. The RAMPS wiki suggests one when the bed draws close to the board's 11 A limit.
A module adds two more screw terminals carrying the full bed current, so fit ferrules there too. Nor is it a safety device: a MOSFET can fail switched on. Marlin calls a heater that is hot with no target set a stuck MOSFET and a real fire risk; only cutting the power stops it.
Strain relief: where cables break
A bed cable bends every time the bed moves. If it bends at the plug or the solder pads, the wire fatigues there, and Bambu Lab warns that such damage can cause power loss or even short circuits.
Bambu Lab's A1 is the documented case. Bambu Lab found heatbed cables damaged at the root, where they join the base, said its strain relief was not designed well enough, and recalled every A1 in February 2024, while stating it could not be fully certain of the cause. The US Consumer Product Safety Commission (CPSC) recall of June 2024 says a bent or damaged cable "can short-circuit and spark", counts 19 reports of damaged cables, and tells owners not to fix the printer themselves.
Clamp the cable so the plug carries no load. Prusa pushes the bed cable's textile sleeve into a holder at the electronics box, fixes it with a clip, and says not to stretch cables.
Do not overtighten zip ties: Prusa notes that cables are often damaged around them.
Spread the bend: Bambu Lab's cable protector for the A1 works by limiting the bend at the cable root.
Amass's connector notes say not to power a plug that is under external force.
After a burnt smell: what to check
Switch the printer off and unplug it; do not switch it back on to find the smell. Wait at least 30 seconds and let the heaters cool.
Look at the bed connector and the cable where it leaves the bed, then the board's power and bed terminals, any MOSFET module, the hotend connectors and the supply's output terminals. Look at the supply only from outside.
Signs of trouble: browned or melted plastic, darkened pins, hard or cracked insulation, a screw you can turn by hand.
Find the cause before anything is powered again.
Where it burnt and what to fix
| What you find | Likely cause | What to do |
|---|---|---|
| Scorched screw terminal | Loose screw or tinned wire end | Cut back to clean wire; ferrule; tighten firmly |
| Melted plug on the bed lead | Plug too small for the bed current, or a poor crimp | Replace both halves with a connector rated for the current |
| Damage where the cable flexes | Missing strain relief | New cable and a clamp |
| Hot or browned MOSFET module | Overloaded switch | Replace it with one rated for the bed current |
| Burn mark on the board's own socket | Board damaged | Replace the board or contact the maker |
When to stop and get help
Replace, do not repair, a burnt contact. Fit new contacts and housings on both sides. Bambu Lab and the CPSC told A1 owners to stop printing with a damaged cable until it was replaced.
Leave the mains side to a qualified person. The inlet, switch, fuse holder and the supply's input carry 230 V. Mean Well, a power-supply maker, says not to open the case and to have any failure examined by a qualified technician.
Contact the maker if the board is scorched, if your model has a recall notice, or if the bed heats with no temperature set.
Check for a recall on your model in the maker's support pages and in Safety Gate, the EU's alert system for dangerous products.
Next step and related guides
For the supply itself, 12 or 24 V and switching off, read 3D printer voltage and switching off safely. A heater error after wiring work is explained in thermal runaway errors. Replacing the whole board is covered in identify and upgrade a mainboard, and overnight risks in leaving a printer running unattended. If you would rather have a cable clip or strain-relief part printed for you, the 3D printing service prints PLA and PETG parts from your file and first checks whether the material suits the heat near the bed.
Sources
FCI (Amphenol): 48045 Mini-PV Basics+ crimp contact datasheet
Prusa Research: Original Prusa i3 MK3S kit assembly, electronics
US CPSC: Bambu Lab recalls A1 3D printers due to electric shock and fire hazards
Mean Well: Installation manual, enclosed type power supplies
3D Printing Stack Exchange: What is this stepper motor connector called?
Teaching Tech on YouTube: Guide to crimp connectors on 3D printers
Bryan Vines on YouTube: Install Ferrules on Ender-3 V2 Wiring

