docs:blox:connect-stepper-motors

This is an old revision of the document!


2.5 Connecting BLOX to Stepper Motors

OpenBuilds BLOX provides support for 2x Bipolar Stepper Motors, with software-controlled current setting and fault monitoring.

  • Motor Max Current: 3.2A
  • Motor Voltage: 3V ideally, higher will limit acceleration
  • Motor Inductance: 1-2mH ideally, higher will limit max speed

2.5.1 Wiring

Note: The color codes shown below only apply to OpenBuilds Motors. Refer to FAQ: Identify Motor coils to identify the coil pairs or if you have issues with motors not working correctly.
BLOX Terminal Device
A+ Coil 1 (Red)
A- Coil 1 (Blue)
B- Coil 2 (Green)
B+ Coil 2 (Yellow)
IMPORTANT WARNING: Note: Never connect/disconnect motors to a powered-up controller. Always turn off power before connecting/disconnecting accessories to/from your BLOX
Wiring NEMA 17 Motors Wiring NEMA 23 Motors

2.5.2 Stepper Driver FAULT modes

Faults that trigger FAULT MODE:

  • Overcurrent (Adjust current down a little)
  • Overtemperature (Adjust current down a little, improve cooling)
  • Short circuit (Check wiring, Check motor)
  • Low Input voltage (Check Power Supply)

If you encounter a Driver Fault:

  • Turn off power
  • Resolve the issue
  • Give the drivers a few minutes to cool down
  • Turn power back on
  • Note: The FAULT will persist until both cleared, and power has been turned off and on, to protect the stepper drivers

2.5.3 Configuration

2.5.3.1 grblHAL/CONTROL

Make sure to set grblHAL settings (CONTROL > Grbl Settings Tab)

  • $140=xx X-Axis Motor Current (Set appropriate current for stepper motors in use)
  • $141=xx Y-Axis Motor Current (Set appropriate current for stepper motors in use)
  • $4=0 ;Step direction invert = disabled (Required)
  • $1=255 Step idle delay = set to always enabled (Recommended, keeps motors locked to maintain position)

2.5.3.2 BLOX

You can use the Stepper Motors as linear axes. Current, and all motion parameters like calibration and speed profiles are configurable. Supports relative and absolute movements.

You can also use the Stepper Motors as Rotational axes. Current, and all motion parameters like calibration and speed profiles are configurable. Supports relative and absolute movements.

The Stepper Drivers actively monitor for FAULT conditions. FAULT mode for both drivers can be accessed as Digital Sensors


docs/blox/connect-stepper-motors.1723228717.txt.gz · Last modified: 2024/08/09 18:38 by admin