Wiring & Setup

2 Phase 4 Wire Stepper Motor: Wiring Tool & Technical Guide

The 4-wire bipolar configuration is the most ubiquitous stepper motor layout, providing up to 40% more torque than unipolar variants. However, manufacturer color codes are notoriously inconsistent. Use the tool below to identify your motor's phase pairs, then review standards, limitations, and controller compatibility.

4-Wire Multimeter Phase Identifier
Map your unknown 2-phase 4-wire stepper motor pairs using continuity / resistance testing.

Use a multimeter to measure resistance from Wire 1 to the others.

Phase A Pair

Black & Green

Connect to A+ and A- on your driver.

Phase B Pair

Red & Blue

Connect to B+ and B- on your driver.

Internal Coil Wiring DiagramPhase A (Coil 1)BlackGreenPhase B (Coil 2)RedBlueConnect Phase A to driver pins A+/A- and Phase B to B+/B-.Polarity within a pair reverses spin direction.

Executive Summary

Key conclusions regarding 2-phase 4-wire stepper configurations and performance.

Independent Coils
Contains exactly two distinct coil phases (A and B) with no center-tap or common ground.
Bipolar Drive Required
Must be driven by an H-bridge capable of reversing polarity. Incompatible with simple unipolar drivers.
Maximum Torque
Utilizes 100% of the copper windings at all times, yielding ~30% higher torque than unipolar motors of the same size.
No Universal Colors
Manufacturer clone motors use random color assignments. Never assume Red/Blue is a pair without continuity testing.

Bipolar vs. Unipolar (4-Wire vs. 5/6-Wire)

Understanding why 4-wire bipolar motors dominate modern applications and their key trade-offs.

Feature4-Wire Bipolar (This Page)5/6-Wire Unipolar
Coil Utilization100% of winding energized50% of winding energized (center-tapped)
Torque DensityHigh (~30% to 40% more torque)Lower
Driver ComplexityRequires H-Bridge (A4988, TMC2209)Simple Transistors (ULN2003)
Application3D Printers, CNC, High-torque RoboticsHVAC Flaps, Low-cost Toys, Legacy Gear

Risks, Boundaries & Limitations

Critical failure points and scene mismatches to avoid when deploying 4-wire steppers in production.

Misuse Risk: Hot-Plugging

Risk: Unplugging a 4-wire motor while the driver is powered will cause a massive flyback voltage spike, instantly destroying the H-bridge IC.

Mitigation: Always disconnect main power and wait for capacitors to drain before touching motor wiring.

Hardware Risk: Connectors

Risk: Using Dupont (friction-fit) connectors on moving axes leads to intermittent phase loss and severe layer shifts.

Mitigation: Exclusively use positive-latching connectors like JST PH (2.0mm) or JST XH (2.5mm) on permanent builds.

Scene Mismatch: High RPM

Limitation: High inductance in series-wound 4-wire motors severely limits torque at high speeds due to back-EMF.

Alternative: If RPM > 1000 is required, use lower-inductance 4-wire variants, or an 8-wire motor wired in bipolar parallel mode.

Common Industry Color Codes

While measuring is best, these are the most frequently encountered wiring standards for 2-phase 4-wire steppers.

Standard / BrandPhase A PairPhase B PairConnector Order (1-2-3-4)
NEMA Standard (Industrial)Black / GreenRed / BlueBlack - Green - Red - Blue
Creality / Ender 3 (JST-PH)Red / YellowBlue / GreenRed - Yellow - Blue - Green
Generic RepRap (Dupont)Black / GreenRed / BlueCrossed (Black - Red - Green - Blue)

FAQ

Common troubleshooting questions for 4-wire setups.

Wiring & Connectivity

Identification Without Tools

Source Register

Technical references and data sources for this guide.

IDSourceKey dataWhy it mattersChecked onLink
S1NEMA Standard ICS 16-2001Standardized 4-wire bipolar color scheme.Establishes Red/Blue and Black/Green as a common industrial standard, though Chinese clones frequently deviate.2026-09-26Open
S2TMC2209 DatasheetCoil resistance constraints.Confirms that typical 2-phase 4-wire motors work optimally with modern Chopper drivers.2026-09-26Open
S3Bipolar vs Unipolar Performance4-wire Bipolar uses 100% of windings, yielding ~30% higher torque than unipolar equivalents.Explains the dominance of 4-wire configurations in modern CNC, 3D printing, and automation.2026-09-26Open
S4JST Connector SpecificationsPH is 2.0mm pitch with latch; XH is 2.5mm; Dupont is 2.54mm friction fit.Highlights vibration risks of using Dupont connectors in motion systems, a leading cause of skipped steps.2026-09-26Open
Need Custom Wiring Harnesses?
If you need 4-wire stepper motors with custom JST, Dupont, or Molex connectors pre-crimped and crossed to your controller's spec, send us a request.

Inquiry email

[email protected]

Open email app
Start inquiryOpens your default email client.

Disclosure

This guide is intended for reference. Always disconnect power to your stepper driver before modifying wiring, as unplugging a motor under load will destroy the driver IC.

Evidence register size: 4 sources · Last updated: 2026-09-26.