MIKROE-2748 Datasheet by MikroElektronika

View All Related Products | Download PDF Datasheet
l.‘: \-','[w‘.T m ,- ¢M um um. m: § 1! wmzu I: muons Iammofiv : Iiuumiz a 7mm .1. 1 PWR m 3‘,’ . ml "fl '» Stenpsr a click
Stepper 4 click
PID: MIKROE-2748
Stepper 4 click can be used for driving a stepper motor and controlling its step resolution,
rotation direction, and time between the steps. It has output drive capability of 2A.
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.
10V - 35V r , TBS7SZE9F-TG step resolution selector Potentiometer for adjusting torque 1mm. ”1:: H - F'WM controlled conmant‘cunem tive - BiCD process Inlegrated monolithic IO - Aunws full, hall, quarter, m, 1/1 a, 1/32 step war-(Ian ~ Bum-In error detedlon circuits
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.
DMODE0DMODE1DDMODE2Function
000Standbymode(theOSCMisdisabledandtheoutputstageissetto
‘OFF’status)
001Fullstepresolution
010Halfstepresolution(Type(B))
011Quarterstepresolution
100Halfstepresolution(Type(B))
1011/8stepresolution
1101/16stepresolution
1111/32stepresolution
Specifications
TypeStepper
ApplicationsTheclickisdesignedfordrivingbipolarstepmotorsinfull,1/2,1/4,1/8,1/16,1/32
stepmodes
Onboard
modules
TB67S269FTCLOCKincontrolledbipolarsteppingmotordriver,threepairsofscrew
terminals,potentiometer
InterfaceGPIO
InputVoltage3.3Vor5V
ClickboardsizeL(57.15x25.4mm)
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
DesignatorNameDefault
Position
Default
OptionDescription
VCCSELVCC
SELLeft3V3Powersupplyselection,leftposition3V3,right
position5V
INTSELINTSELLeftMOInterruptpinselection,leftpositionMO,right
positionLO
Programming
Code examples for Stepper 4 click, written for MikroElektronika hardware and compilers are
available on Libstock.
NotesPin

PinNotes
RotationdirectionDIR1ANPWM16 STSteppingpin
ResetRST2RSTINT15 INTInterrupt
EnablepinEN3CSTX14 NC
NC
4SCKRX13 NC
NC
5MISOSCL12 NC
NC
6MOSISDA11 NC
Powersupply
+3.3V73.3V5V10 +5VPowersupply
GroundGND8GNDGND9GNDGround
Codesnippet
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 }
https://shop.mikroe.com/stepper4click82917

Products related to this Datasheet

STEPPER 4 CLICK