Prices incl. GST
Out of Stock.
- Product Code: MIKROE-2748
- MPN: MIKROE-2748
Stepper 4 click carries the TB67S269FTG, a two-phase bipolar stepping motor driver from Toshiba. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over the following pins on the mikroBUS™ line: AN, RST, CS, PWM, INT.
How the click works
There is a connector with two screw terminals used for connecting external DC supply.
The other four connectors are used for connecting the stepper motor to the click. After a motor is connected, it can be controlled by the MCU through the Stepper 4 click.
The onboard potentiometer is used to set the motor's torque.
TB67S269FTG features
The TB67S269 is a two-phase bipolar stepping motor driver from Toshiba.
Step mode selector
There are several different resolutions a stepper motor can use - a full step, half a step, etc. The driver on this click also allows different resolutions, from a full step to 1/32 of a step.
DMODE0 | DMODE1 | DDMODE2 | Function |
---|---|---|---|
0 | 0 | 0 | Standby mode (the OSCM is disabled and the output stage is set to ‘OFF’ status) |
0 | 0 | 1 | Full step resolution |
0 | 1 | 0 | Half step resolution (Type(B)) |
0 | 1 | 1 | Quarter step resolution |
1 | 0 | 0 | Half step resolution (Type (B)) |
1 | 0 | 1 | 1/8 step resolution |
1 | 1 | 0 | 1/16 step resolution |
1 | 1 | 1 | 1/32 step resolution |
Specifications
Type | Stepper |
Applications | The click is designed for driving bipolar step motors in full, 1/2, 1/4, 1/8, 1/16, 1/32 step modes |
On-board modules | TB67S269FT CLOCK-in controlled bipolar stepping motor driver, three pairs of screw terminals, potentiometer |
Interface | GPIO |
Input Voltage | 3.3V or 5V |
Click board size | L (57.15 x 25.4 mm) |
Pinout diagram
This table shows how the pinout on Stepper 4 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Jumpers and settings
Designator | Name | Default Position | Default Option | Description |
---|---|---|---|---|
VCC SEL | VCC SEL | Left | 3V3 | Power supply selection, left position 3V3, right position 5V |
INT SEL | INT SEL | Left | MO | Interrupt pin selection, left position MO, right position LO |
Programming
Code examples for Stepper 4 click, written for MikroElektronika hardware and compilers are available on Libstock.
Code snippet
The following code snippet shows how the Stepper 4 click moves a stepper motor.
Firstly, the speed is set to 400 steps per revolution. Afterwards, the acceleration and the deceleration rate is set. The STEPPER_step method moves the motor a given number of steps. When the number is negative, the motor moves counterclockwise, otherwise, it moves clockwise.
So in this example, it first moves 1000 steps to the left, and then 1000 to the right, at different speeds.
1 void Stepper_4_Task() 2 { 3 STEPPER_setSpeed( 400 ); 4 STEPPER_setAcc( 10 ); 5 STEPPER_setDec( 5 ); 6 STEPPER_step( -1000 ); 7 STEPPER_setSpeed( 600 ); 8 STEPPER_step( 1000 ); 9 }
- Do you have any questions concerning this product?
- mikroBUS™ Standard specification
- LibStock: mikroSDK
- Learn article: Stepper motors
- Stepper 4 click example on Libstock
- Stepper 4 click schematic
- Stepper 4 click: 2D and 3D files
- TB67S269FTG datasheet
- Click Boards™ Catalog
- Further products by MikroElektronika