# Module STEPMOTOR
SKU:M012
## Description
**STEPMOTOR** is used for stepper motor control. It is perfect for any motion project as it can drive up to 3 Stepper motors with **GRBL** control.
It is built with MEGA328P has been flashed **GRBL** firmware. The module comunicates with M5Core via I2C(0x70)
Integrated 3 DRV8825, a simple but very powerful board that can control one bipolar stepper motor at the time and allows micro stepping up to 1/32 of a step.
## Product Features
- 9-24V Power Input
- 3-way stepper motors **(X, Y, Z)**
## Include
- 1x Step Motor Module
- 12V Power (Optional)
- 1x 5V FAN Module for heat dissipation (Optional)
## Applications
- DIY 3D Printer
- Simple Robot Arm
## Specification
| Resources |
Parameter |
| DC Interface |
XT30 |
| Motor Interface |
HY2.0-4P |
| Net weight |
24g |
| Gross weight |
34g |
| Product Size |
54.2*54.2*12.8mm |
| Package Size |
60*57*17mm |
## Related Link
- **[The Firmware of inside MEGA328](https://github.com/m5stack/stepmotor_module/tree/master/Firmware%20for%20stepmotor%20module/GRBL-Arduino-Library)**
- **[DRV8825 Datasheet](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/module/DRV8825_en.pdf)**
## EasyLoader
download EasyLoader
>1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed.
>2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click **"Burn"** to start burning.
?>3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. [Click here to view the driver installation tutorial](en/related_documents/M5Burner#install-usb-driver)
## PinMap
**Mega328 ISP**Download interface Pin foot definition
## MBUS PinMap
## Schematic
## Example
### 1. Arduino IDE
The code below is incomplete. TO get complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Modules/STEPMOTOR)
### 2. UIFlow
Wanna explore the easiest way of Servo programming?? Check out the Blockly Platform at [UIFlow](flow.m5stack.com)
To get complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/blob/master/Module/STEPMOTOR/UIFlow)