Stepper 15 Click Board
Stepper 15 Click Board
The Stepper 15 Click Board™ 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. It supports up to 1.5A full-scale current with an internal microstepping indexer, smart tune decay technology, advanced stall detection algorithm, and integrated current sensing, eliminating the need for power sense resistors. With a simple STEP/DIR interface, the device supports up to 1/256 levels of microstepping to enable a smooth motion profile. Also, an advanced stall detection algorithm allows users to detect if the motor stopped and take action as needed, improving efficiency and reducing noise. This Click Board™ is suitable for driving motors in any application that demands a precise and safe step motor driver.
The Stepper 15 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a thoroughly tested product, ready to be used on a system equipped with the mikroBUS™ socket.
Software Support
We provide a library for the Stepper 15 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the mikroE Github account.
Library Description
This library contains API for Stepper 15 Click driver.
Key Functions
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.
Example Description
void application_task ( void ) { log_printf( &logger, "---------------------------------rn" ); log_printf( &logger, " Clockwise motion rn" ); log_printf( &logger, " Angle of rotation : 90 degrees rn" ); log_printf( &logger, " Step speed : 85 %% rn" ); stepper15_set_direction ( &stepper15, STEPPER15_DIRECTION_CLOCKWISE ); stepper15_step_by_angle( &stepper15, step_speed - 15, 90, step_360 ); Delay_ms( 2000 ); log_printf( &logger, "---------------------------------rn" ); log_printf( &logger, " Counterclockwise motion rn" ); log_printf( &logger, " Angle of rotation : 180 degrees rn" ); log_printf( &logger, " Step speed : 85 %% rn" ); stepper15_set_direction ( &stepper15, STEPPER15_DIRECTION_COUNTERCLOCKWISE ); stepper15_step_by_angle( &stepper15, step_speed - 15, 180, step_360 ); Delay_ms( 2000 ); log_printf( &logger, "---------------------------------rn" ); log_printf( &logger, " Clockwise motion rn" ); log_printf( &logger, " Angle of rotation : 270 degrees rn" ); log_printf( &logger, " Step speed : 90 %% rn" ); stepper15_set_direction ( &stepper15, STEPPER15_DIRECTION_CLOCKWISE ); stepper15_step_by_angle( &stepper15, step_speed - 10, 270, step_360 ); Delay_ms( 2000 ); log_printf( &logger, "---------------------------------rn" ); log_printf( &logger, " Counterclockwise motion rn" ); log_printf( &logger, " Angle of rotation : 360 degrees rn" ); log_printf( &logger, " Step speed : 100 %% rn" ); stepper15_set_direction ( &stepper15, STEPPER15_DIRECTION_COUNTERCLOCKWISE ); stepper15_step_by_angle( &stepper15, step_speed, 360, step_360 ); Delay_ms( 2000 ); log_printf( &logger, "---------------------------------rn" ); log_printf( &logger, " Clockwise motion rn" ); log_printf( &logger, " Angle of rotation : 360 degrees rn" ); log_printf( &logger, " Step speed : 100 %% rn" ); stepper15_set_direction ( &stepper15, STEPPER15_DIRECTION_CLOCKWISE ); stepper15_step_by_angle( &stepper15, step_speed, 360, step_360 ); Delay_ms( 2000 ); } The complete application code, and ready-to-use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the mikroE Github account.
Other mikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Stepper15
Additional Notes and Information
Depending on the development board you are using, you may needs a USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Stepper 15 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Stepper 15 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.