OFF
MIKROE-4138
23 g
Status:
Stepper 10 Click is a two-phase bipolar stepping motor driver capable of controlling one stepper motor with PWM constant current drive. Click's featured chip TB67S128FTG, from Toshiba Semiconductor, fabricated with BiCD process with an output rating of 50V/5A and a built-in decoder can supply the motor with voltage of up to 44V. Toshiba's innovative technology process results in low-power consumption with low on-resistance (0.25Ω) on the integrated MOSFET output stage. The stepper motor can be driven in both directions from full step to 1/128 micro-steps. The motor driver possesses features like high-efficiency motor current control mechanism, advanced current detection system, active gain control and multi error detect functions. Stepper 10 Click has two types of interfaces for motor control drive: CLK and Serial mode.
Stepper 10 Click board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
This product is no longer in stock
Availability date:
Stepper 10 Click uses the TB67S128FTG from Toshiba Semiconductor, a two-phase bipolar stepper motor driver, which features adjustable current limiting and micro-stepping down to 1/128 step operation. Fabricated using a leading-edge BiCD process with low power consumption and low output on-resistance, Toshiba’s TB67S128FTG in thermally enhanced small package help improve the efficiency and reduce the size of motor applications. This stepping motor driver incorporates a high-speed, high-precision control technology required for factory automation systems and office equipment, and help reduce the number of external parts required, simplifying system design. The chip itself can dynamically select an optimal decay mode by monitoring the actual motor current, and automatically reduce the driving current below the full amount when the motor is lightly loaded to minimize power consumption and heat generation. The driver has a wide operating voltage range of 6.5 V to 44 V and can deliver approximately 2.1 A per phase continuously without a heat sink or forced air flow (up to 5 A peak). It features built-in protection against under-voltage, over-current, and over-temperature conditions. Before using this product, it is strongly recommended that the TB67S128FTG datasheet is read carefully.
First off, the TB67S128FTG motor driver requires a supply voltage of 6.5 V to 44 V to be connected across VIN and GND. This supply should be capable of delivering the expected stepper motor current. The motor driver provides a 5V output from the internal regulator supplying the neighboring external loads like pins OSCM, VREF, CLIM1, BST, FLIM, GAIN_SEL and monitoring LEDs MO, LO1 and LO0. Right next to the motor power supply connector, two output channels (A and B) are located for the stepper motor connection. It is not advised connecting or disconnecting a stepper motor while the driver is powered since it can result in chip failure.
There are two interface modes to select from:
Step resolution is configurable using MODE2, MODE1 and MODE0, by setting the appropriate pin level. Most of the pins are controlled using an IO expander via the I2C bus except DIR, STEP, ENABLE and RESET which are routed to Mikrobus. Stepper 10 click has eight different step modes: full-step, half-step, 1/4-step, 1/8, 1/16, 1/32, 1/64, and 1/128. Besides that, four different decay modes are available using the MDT0 and MDT1 pins. The on-board trimmer potentiometer can be used to set the current limit to prevent damage to the motor. The actual calculation of the predefined output current can be found in the TB67S128FTG datasheet.
Toshiba’s unique AGC feature stepping motor technology automatically optimizes the drive current in real-time according to the load torque. It helps reduce unnecessary current, drastically cut power consumption and heat generation. AGC is configured with six pins (AGC, CLIM0, CLIM1, FLIM, BOOST, and LTH). CLIM1, FLIM, and BOOST (BST) are four-state logic inputs that can be tied high to VCC, pulled high through a 100kΩ resistor, pulled low through a 100kΩ resistor, or tied low to GND. This is done by using the on-board switches, one for logic level and one to bypass the 100kΩ resistor by choice.
Stepper 10 Click has the function to detect several error states indicated by two LEDs: LO1 and LO0. If the overcurrent is detected, the LO0 will toggle, while the LO1 represents the motor load open indication. If both LEDs are toggled, then the thermal shutdown is detected. The errors are cleared by toggling standby mode or by performing a power cycle to the driver. The LED designated as MO is toggled if the driver’s electrical angle is equal to the initial value of 45°, which occurs immediately after reset or whenever the driver has stepped a full cycle.
Stepper 10 Click uses the two TCA9534APWR Low-Power IO Expanders that support the I2C interface protocol. In order to avoid conflicts on the bus, the slave addresses can be reconfigured by an SMD jumpers labeled as ADDR1 and ADDR2.
This Click board™ can be supplied and interfaced with both 3.3V and 5V without the need for any external components. The onboard SMD jumper labeled as VCC SEL allows voltage selection for interfacing with both 3.3V and 5V microcontrollers.
Type
Stepper
Applications
This Click board™ is a perfect solution for building various applications that require advanced stepper motor control, with maximum precision and reliability.
On-board modules
Stepper 10 Click uses the TB67S128FTG IC, a two-phase bipolar stepper motor driver using a PWM chopper, from Toshiba Semiconductor
Key Features
Allows full, half, quarter, 1/8, 1/16, 1/32, 1/64, 1/128 step operation, low on-resistance. MOSFET output stage, high-efficiency motor current control mechanism, built-in anti-stall architecture, built-in sense resistor less current control architecture, high voltage and current, multi error detect functions
Interface
GPIO,I2C,SPI
ClickID
No
Compatibility
mikroBUS
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V,5V
This table shows how the pinout on Stepper 10 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2 | MO | - | Electrical angle LED Indicator |
LD3 | LO1 | - | Error detection LED Indicator 1 |
LD4 | LO0 | - | Error detection LED Indicator 0 |
JP1,JP2 | ADDR SEL | Left | Communication Interface Selection: left position 0, right position 1 |
JP3 | VCC SEL | Left | Power Supply Voltage Selection: left position 3V3, right position 5V |
VR1 | Current Limiter | - | Current Threshold Reference Adjustment |
SW1-SW3 | R_BYPASS | Up | Switch bypassing 100kΩ resistor: Up - short, Down - open |
SW4 | CLIM1 | Up | Bottom Current Limit CLIM1 Logic Level Selection: Up - VCC, Down - GND |
SW5 | BOOST | Up | Current BOOST Logic Level Selection: Up - VCC, Down - GND |
SW6 | FLIM | Up | Frequency Limit FLIM Logic Level Selection: Up - VCC, Down - GND |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | -0.4 | 3.3 | 6 | V |
Motor Supply Voltage | -0.4 | - | 44 | V |
Motor Output Current | - | - | 5¹ | A |
Operating Temperature Range | -45 | - | 80 | °C |
Note 1: Usually, the maximum current value at the time should use 70% or less of the absolute maximum ratings for a standard on thermal rating. The maximum output current may be further limited given thermal considerations, depending on ambient temperature and board conditions.
We provide a library for the Stepper 10 Click on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library covers all the necessary functions that enables the usage of the Stepper 10 Click board. It initializes and defines the I2C driver and drivers that allow full control of the device to the user.
Key functions:
void stepper10_motor_start( void )
- Start Movementvoid stepper10_process ( void )
- Stepper State Machinevoid stepper10_motor_stop ( void )
- Stop MovementExamples description
The application is composed of three sections :
void application_task ( ) { uint8_t status; stepper10_motor_start( ); status = stepper10_get_run_status( ); while ( status == 1 ) { status = stepper10_get_run_status( ); stepper10_process( ); } stepper10_motor_stop( ); Delay_ms( 2000 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
This Click board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.