Product description: TB67S279FTG - 47V/2A stepper motor driver - Pololu 2974
The circuit allows to control a stepper motor with a device that allows to generate logic states, e.g. Arduino, STM32Discovoery, Raspberry Pi or any microcontroller. Pololu module is characterized by very simple operation. Rising edge of each impulse on CLK (STEP) pin corresponds to one step. Selection of the direction is performed by giving the appropriate state to the CW/CCW (DIR) pin (e.g. low state - clockwise rotation, high state - anticlockwise rotation). The controller can also select theresolution of motor operation.
To control a bipolar stepper motor you should connect the system according to the diagram below.
Minimum wiring diagram to connect the microcontroller to the TB67S2x9FTG.
The controller requires a supply voltage from 10 V to 47 V, which will be connected to the VIN and GND pins.
Power supply for the motor controller
To supply the logic part of the module requires a voltage of 5 V, which should be connected to pin VDD PIN. The motor supply voltage from 10 V to 47 V is applied to the pin VIN PIN.
Connecting and disconnecting the motor while the controller is on can damage the system.
Resolution and step size
The step size is selected using the DMODE0, DMODE1, DMODE2 inputs. The possible settings are shown in the table below. The MS1, MS2 and MS3 inputs have an internal pull-down resistor (100kΩ).
|low||high||low||Non-wheeling half step ('a')|
|high||low||low||circular half step ("b")|
The rising edge of each pulse on the CLK pin (STEP) corresponds to one step. The direction is selected by applying the appropriate state to the CW/CCW (DIR) pin (e.g. low state - clockwise rotation, high state - counterclockwise rotation). If the motor is to rotate in one direction only, the DIR pin can be left unplugged.
When the RESET pin goes high, the driver resets its state in the translator array, which outputs to the initial value of 45°. This corresponds to 100% of the current limit on both coils in full step and non-wheel half step modes. The RESET pin does not disable the motor outputs, the controller will continue to supply current to the motor but will not give information to the CLK output
The TB67S2x9FTG can detect several error conditions that report causing one or both LO pins to be low. The manufacturer has included a table of error combinations on the LO1 and LO2 pinsin the documentation.
A detailed description of each pin can be found on the manufacturer's website.