silentstep2
2.1.0.0
|
Silent Step 2 Click is a compact add-on board that allows extremely smooth and silent operation of the connected motor. This board features the TMC2130, a high-performance two-phase stepper motor driver from Analog Devices. The driver uses an external motor power supply of 4.75 up to 43V to power a 2-phase stepper motor up to 2A coil current (2.5A peak).
We provide a library for the Silent Step 2 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 Silent Step 2 Click driver.
silentstep2_cfg_setup
Config Object Initialization function. silentstep2_init
Initialization function. silentstep2_default_cfg
Click Default Configuration function. silentstep2_rotate_by_angle
Silent Step 2 rotates the shaft through a desired angle function. silentstep2_set_direction
Silent Step 2 sets the clockwise or counterclockwise direction movement function. This example demonstrates the use of Silent Step 2 Click boardâ„¢ by driving the motor in both directions for a desired rotation angle.
The demo application is composed of two sections :
The initialization of I2C and SPI module and log UART. After driver initialization, the app sets the default configuration.
The application task represents an example that demonstrates the use of the Silent Step 2 Click boardâ„¢ with which the user can sequentially move the motor. The first part of the sequence executes the clockwise/counterclockwise motor movement for an angle of 90 degrees with a step speed of 50%, all the way to the last sequence of the same movement routine of 360 degree angle with a step speed of 90%. Results are being sent to the UART Terminal, where you can track their changes.
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.