stepper11 2.0.0.0
|
Stepper 11 Click is a compact add-on board that contains a bipolar stepper motor driver. This board features the TB9120AFTG, a two-phase bipolar stepping motor driver with a clock input interface and a PWM constant-current control system from Toshiba Semiconductor.
We provide a library for the Stepper11 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Stepper11 Click driver.
stepper11_cfg_setup
Config Object Initialization function. stepper11_init
Initialization function. stepper11_default_cfg
Click Default Configuration function. stepper11_set_step_resolution
Set step resolution. stepper11_move_motor_angle
Move motor in angle value. stepper11_move_motor_step
Move motor in step value. This example showcases the device's ability to control the motor.
It initializes the device for control and moves the motor in two directions in a variety of resolutions for 360 degrees.
The demo application is composed of two sections :
Initialization of communication modules(I2C, UART) and additional pins
for control of device. Then sets default configuration that enables device for motor control.
Firstly it rotates motor in CW direction for 360 degrees in FULL step
resolution. Then changes direction in CCW and rotates backwards 360 degrees in 2 different step resolutions (Quarter and 1/16) in 180 degrees each.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
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. UART terminal is available in all MikroElektronika compilers.