M5Stack M039 StepMotor Driver Module

m5Stack M039 StepMotor Driver Module is adapted to the M5 core series, and the HR8825 chip solution provides a 3-way bipolar stepper motor control interface. The user can implement independent control or multi-axis motor linkage after this module is stacked with the M5 core series of the internal ESP32 generates signals directly to the driver chip.

The M5Stack M039 is an integrated TCA9554 IO expansion chip that provides four input signal terminals and three stepper motor subdivision control sets. It also has one set of drive chips that enable control through the I2C interface control and can monitor and control the eight expansion IO state. The M039 can be used for external limit switch, dynamic subdivision adjustment, and motor braking. The integrated PWR485 communication interface (RS485 and 9-24V power input) and DC-JACK can be used for communication and a more flexible power supply.

With ESP32-GRBL firmware as web control, the M039 can easily configure signal output and be very useful when the user needs to position something accurately, such as printers, robotic arms, etc.


  • Three-axis HR8825 stepper motor driver
  • Suitable for bipolar stepper motors
  • With current regulating potentiometer per circuit, drive current up to 1.5A
  • Support various subdivision modes, up to 1/32 STEP subdivision
  • Multiple signal input interfaces
  • PWR485 communication interface (RS485 + 9-24V power input)
  • DC-JACK terminal input (9-24V)
  • Built-in DCDC, integrated 9-24V to 5V circuit
  • Development platform
    • Arduino, UIFlow


  • Stepper motor driver chip - HR8825
  • IO Expansion Chip - TCA9554
  • Support for segmentation (FULL、1/2、1/4、1/8、1/16、1/32)
  • 1.5A maximum drive current per channel
  • 2.54-2P input signal terminal specifications
  • 2.54-4P motor terminal specifications
  • 3.96-4P RS485 terminal specifications
  • Net weight (40g)
  • Gross weight (60g)
  • 54.2mm x 54.2mm x 13.2mm product dimensions
  • 95mm x 65mm x 25mm package size

Kit Contents

  • 1x StepMotor Driver
  • 4x 2.54-2P terminals
  • 3x 2.54-4P terminals
  • 1x 3.96-4P terminals


  • Printers
  • Scanners
  • CNC engraving machine control
  • Motion module control
Published: 2021-10-25 | Updated: 2022-03-11