Me Stepper Driver

微信截图_20160203152127

Overview

The Me Stepper Motor Driver module is designed to precisely drive the bipolar stepper motor. When pulse signals are input into the stepper motor, it rotates step by step. For each pulse signal, it rotates a certain angle. This module features adjustable drive current and microstepping hardware adjustment. It can be used in 3D printing, numerical control, Makeblock music robot, precise motion control, etc. Its red ID means that it should be connected to the port with red ID on Makeblock Orion by RJ25 wire.

Technical specifications

● Drive voltage: 6V-12V DC
● Maximum current: 1.35A
● Dimension: 51 x 24 x 18mm (L x W x H)

Functional characteristics

● Compatible with 4-wire bipolar stepper motor
● Simply two I/O ports to control stepping and direction
● Provide an adjustable potentiometer to adjust current and change the torque of stepper motor
● Provide onboard DIP switch to support the full, half, 1/4, 1/8, 1/16 stepping mode
● Provide grounding short-circuit protection and loading short-circuit protection
● Anti-reverse protection – connecting the power supply inversely will not damage IC
● White area of module is the reference area to contact metal beams
● Support mBlock GUI programming, and applicable to users of all ages
● Adopt RJ25 port for easy connection
● Provide pin-type port to support most development boards including Arduino series

Pin definition

The port of Me Stepper Motor Driver has seven pins, and their functions are as follows:

微信截图_20160203152355

Wiring mode

● Connecting with RJ25
Since the port of Me Stepper Motor Driver has red ID and the module is motor drive, you need to connect the port with red ID on Makeblock Orion when using RJ25 port.
Taking Makeblock Orion as example, you can connect it to ports No. 1 and 2 as follows:

微信截图_20160203152448

● Connecting with Dupont wire
When the Dupont wire is used to connect the module to the Arduino UNO Baseboard, its pin EN should be connected to low level, RST and SLP should be connected to high level, STP and DIR should be connected to digital ports (also can only be connected with STP and DIR pins) as follows:

微信截图_20160203152526

Guide to programming

● Arduino programming
If you use Arduino to write a program, the library Makeblock-Library-master should be invoked to control the Me Stepper Motor Driver. This program serves to make the motor rotating on demand through Arduino programming. (Input an integer between 0 to 4 on the serial port control tab and send it out).

微信截图_20160203152612

微信截图_20160203152751

● mBlock programming
Me Stepper Motor Driver supports the mBlock programming environment and its instructions are introduced as follows:

微信截图_20160203152822

This is an example on how to use mBlock to control the Me Stepper Motor Driver module. mBlock can make the stepper motor rotating from lower speed to higher speed again and again.微信截图_20160203152902

Principle analysis

Stepping motor is a kind of electromagnetic device to transform pulse signal into corresponding angular displacement or linear displacement. It is a special kind of motor.
Rotation of general motor is continuous, but stepper motor has two basic states – positioning and operating. When pulse signals are input to the stepper motor, it rotates step by step. For each pulse signal, it rotates a certain angle.
The main component of Me Stepper Motor Driver module is A4988 micro-step driver which is designed to operate the bipolar stepper motor in such stepping modes as Full, Half, 1/4, 1/8, and 1/16 step. When it is used, simply control the STEP and DIR. For example, when in the Full stepping mode, the motor should rotate a circle by 200 steps (i.e. 1.8° per step). If higher accuracy is required, we can choose other mode. For example, we choose the 1/4 stepping mode (that is, 0.45° per step), and then the motor should rotate by 800 micro steps to complete a round.
The stepping mode table of this module:

微信截图_20160203153000

The module has a potentiometer which can be used to adjust the torque of motor, However,over-torquing may burn the chip due to heat dissipation,so it’s not recommended adjusting the torque to too large.

Schematic

Me Stepper Module

4 thoughts on “Me Stepper Driver”

  1. I added the MakeBlock Library but when I compile it it said there is no AccelStepper.h file

    1. Hi Simon,
      You could follow steps below to make a troubleshoot.
      a. Download the latest library and add it to Arduino, link: https://github.com/Makeblock-official/Makeblock-Libraries
      b. Ensure that you Auduino program version is the latest one.
      c. Open the example name SerialControlStepper and compile it.
      d. Library is installed successfully if compile successful

      Wish it could help you. Thank you.

    1. HiJay,

      You could find name of pins in the other side of module, and need to address ports when programming as following:
      Pin EN should be low level,
      Pin RST and SLP should be high,
      Pin STP and DIR should be connect to digital ports in order to control the stepper motor.

      Thank you.

Comments are closed.