stepper15
2.0.0.0
|
Stepper 15 Click is a compact add-on board that contains a bipolar stepper motor driver. This board features the DRV8889A, an automotive stepper driver with integrated current sense and stall detection from Texas Instruments.
We provide a library for the Stepper15 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 Stepper15 Click driver.
stepper15_cfg_setup
Config Object Initialization function. stepper15_init
Initialization function. stepper15_default_cfg
Click Default Configuration function. stepper15_make_one_step
Stepper 15 make one step function. stepper15_set_direction
Stepper 15 set direction function. stepper15_step_by_angle
Stepper 15 step by angle function. This library contains API for the Stepper 15 Click driver. The library contains drivers for work control of the Stepper Motor.
The demo application is composed of two sections :
Initializes I2C and SPI driver and set default configuration, enable the device and enable outputs mode.
The application task represents an example that demonstrates the use of the Stepper 15 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 85/100%, all the way to the last sequence of the same movement routine of 360-degree angle with a step speed of 85/100%. Results are sent to the USART 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.