Silent PerformanceECU Wiki
PLEN
Home

Stepper motor – 5/6 wires and STEP / DIR

A unipolar motor on four outputs, or a bipolar motor through an external driver.

Unipolar motor on four outputs since 0.5.27

A motor with 5 or 6 wires has two windings with centre taps. The taps go to positive, the four ends to four controller outputs.

+12 V from a relay (fused)winding 1centre tapwinding 2centre tapAoutput ACoutput CBoutput BDoutput DController: four low-side outputs, each with a flyback diode
Outputs A and C are the ends of one winding, B and D of the other.

How to find taps and ends

  • within one winding the resistance between the ends is twice that from the centre to an end,
  • with 5 wires one common wire has the same resistance to the other four,
  • with 5 wires the end pairs of a winding are found by trial (see below).

Wiring

  1. Centre taps (common wire) – +12 V from a relay, through a fuse.
  2. Four ends – four low-side outputs, each with a flyback diode.
  3. The current of one coil (voltage ÷ resistance) must be within the output rating; two coils work at once.
  4. Do not use ignition outputs.
uaEFI: outputs B7, B16, B17 and B18 have a diode, but B16 usually drives the fuel pump relay. A 6-wire motor is easiest to connect as bipolar to the H-bridges.

Settings

Four coils on four outputs.
Four coils on four outputs.
  1. Actuator: Stepper motor, wiring: Four coils on four outputs.
  2. Assign outputs to coils A, B, C and D, save with F2.
  3. Run the motor test.
BehaviourFix
the motor shakes and does not movewrong pairs: A and C must be the ends of the same winding
moves the wrong wayReverse the direction
weak, loses stepslower speed, check the voltage on the common wire

A 6-wire motor as bipolar

Leave the centre taps unconnected and insulated. Connect the ends of the first winding to bridge 1 and of the second to bridge 2, then follow the 4-wire motor instructions. The end to end resistance is twice that from the centre.

External STEP / DIR driver since 0.5.27

A stepper driver module takes step pulses and a direction, powers the coils itself and limits their current. This is the solution for K8 and for boards whose H-bridges are busy.

ControllerSTEP / DIR driverMotorbipolar+5 VSTEPSTEPDIRDIRENABLEENABLEpull-up resistorsdriver supply
Three signals from the controller. Resistors pull them up to 5 V.
  1. Connect STEP, DIR and optionally ENABLE to free controller outputs.
  2. Low-side outputs need a pull-up resistor to 5 V on every driver input (e.g. 4.7 kΩ). Check the signal levels in the driver data sheet.
  3. Join the driver ground with the controller ground and power the driver as its documentation says.
  4. Set the driver current limit to the motor data.
  5. In the program choose External STEP / DIR driver and assign the outputs.
  6. If the driver is enabled by the opposite level, tick Invert the ENABLE output.
Settings for a STEP / DIR driver.
Settings for a STEP / DIR driver.

The program also allows free ignition outputs (5 V signal) for these signals. Check which level the driver expects before connecting.

Silent Performance · Silent ECU controller documentation. You install and tune at your own risk.