dcmotor27
2.1.0.0
|
DC Motor 27 Click is a compact add-on board that contains a high-performance brushed DC motor driver. This board features the DRV8143, an automotive half-bridge driver with integrated current sense and diagnostic from Texas Instruments.
We provide a library for the DC Motor 27 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 DC Motor 27 Click driver.
dcmotor27_cfg_setup
Config Object Initialization function. dcmotor27_init
Initialization function. dcmotor27_default_cfg
Click Default Configuration function. dcmotor27_set_duty_cycle
DC Motor 27 sets PWM duty cycle. dcmotor27_get_flt_pin
DC Motor 27 get flt pin state. dcmotor27_set_coast
DC Motor 27 set coast mode funtion. This example demonstrates the use of the DC Motor 27 Click board by driving
the motor at different speeds, enabling brake and coast modes.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration.
Controls the motor speed by changing the PWM duty cycle every second,
places the motor into coast or braking mode.
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.