SKU:M039
Module13.2 Stepmotor Driver is a stepper motor driver compatible with M5 controllers, utilizing the HR8825 stepper motor driver chip, providing 3 dual-channel stepper motor control interfaces. When stacked with an M5 controller, the internal ESP32 generates signals directly connected to the driver chip, enabling independent control or multi-axis motor coordination. The module integrates a TCA9554 IO expansion chip, offering 4 sets of input signal terminals + 3 sets of stepper motor microstep control + 1 set of driver chip enable control, controlled via the I2C interface. It can monitor and control the status of these 8 expanded IOs, suitable for external limit switches, dynamic microstep adjustment, and motor braking functions. The module also integrates a PWR485 communication interface (RS485 + 9-24V power input) and a DC-JACK, allowing for flexible power supply while enabling communication. It supports UIFlow graphical programming and ESP32-GRBL firmware, web control, making it easy to configure signal output for more precise control of stepper motors. This module is suitable for various stepper motor motion control scenarios, such as printers, robotic arms, etc.
1/32
STEP microstepSpecification | Parameter |
---|---|
Stepper motor driver chip | HR8825 |
IO expansion chip | TCA9554 |
Supported microstep modes | FULL, 1/2, 1/4, 1/8, 1/16, 1/32 |
Maximum driving current per channel | 1.5A |
Input signal terminal spec | 2.54-2P |
Motor terminal spec | 2.54-4P |
RS485 terminal spec | 3.96-4P |
Net weight | 40g |
Gross weight | 60g |
Product Size | 54.2 x 54.2 x 13.2mm |
Package Size | 95 x 65 x 25mm |
M2 | M1 | M0 | Resolution |
---|---|---|---|
0 | 0 | 0 | FULL |
0 | 0 | 1 | 1/2 |
0 | 1 | 0 | 1/4 |
0 | 1 | 1 | 1/8 |
1 | 0 | 0 | 1/16 |
1 | 0 | 1 | 1/32 |
1 | 1 | 0 | 1/32 |
1 | 1 | 1 | 1/32 |
I2C Addr: 0x27
Use register 0x00
to read status
Use register 0x01
to write status
Set the corresponding bit in register 0x02
to 1 for polarity inversion, 0 for no inversion
Set the corresponding bit in register 0x03
to 1 for input mode, 0 for output mode.
The pin correspondence for the above register bytes is shown in the table below.
Bit | Description | R/W |
---|---|---|
7 | P7 Microstep adjustment bit M0 | R/W |
6 | P6 Microstep adjustment bit M1 | R/W |
5 | P5 Microstep adjustment bit M2 | R/W |
4 | P4 DRV EN Driver chip enable | R/W |
3 | P3 Input signal 3 | R/W |
2 | P2 Input signal 2 | R/W |
1 | P1 Input signal 1 | R/W |
0 | P0 Input signal 0 | R/W |
Different stepper motors may require different driving currents. The current output can be adjusted using the metal knob on the module. To prevent motor overheating or damage, adjust the knob slowly and observe the motor status or use an ammeter to determine the appropriate driving current.
PIN | LEFT | RIGHT | PIN |
---|---|---|---|
GND | 1 | 2 | |
GND | 3 | 4 | |
GND | 5 | 6 | |
7 | 8 | RS485_TX | |
9 | 10 | ||
11 | 12 | 3V3 | |
13 | 14 | ||
STEP_X | 15 | 16 | DIR_X |
SDA | 17 | 18 | SCL |
19 | 20 | ||
STEP_Y | 21 | 22 | DIR_Y |
STEP_Z | 23 | 24 | DIR_Z |
HPWR | 25 | 26 | RS485_RX |
HPWR | 27 | 28 | 5V |
HPWR | 29 | 30 |
1.0.3
. Versions higher than this may cause compilation issues. For usage instructions and WEB-UI control, please refer to ESP32-GRBL-WIKIFeature | GRBL 13.2 MODULE | STEPMOTOR DRIVER |
---|---|---|
Control Method | I2C communication | Pulse signal |
Firmware | Onboard STM32, built-in GRBL firmware | No firmware, can be directly driven by ESP32 signals |
Stackable Modules | 2 | 1 |
Driver Chip | DRV8825 | HR8825 |
Microstep Adjustment | DIP switch | TCA9554 chip control |
Interfaces | 3 sets of limit switch interfaces | 4 sets of custom signal input interfaces + RS485 communication interface |