vibromotor3
2.0.0.0
|
Vibro Motor 3 Click is a compact add-on board that makes an ideal solution for adding simple haptic feedback in any design. This board features the G0832022D, a coin-sized linear resonant actuator (LRA) that generates vibration/haptic feedback in the Z plane, perpendicular to the motor's surface from Jinlong Machinery & Electronics, Inc.
We provide a library for the VibroMotor3 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 VibroMotor3 Click driver.
vibromotor3_cfg_setup
Config Object Initialization function. vibromotor3_init
Initialization function. vibromotor3_default_cfg
Vibro Motor 3 default configuration function. vibromotor3_set_duty_cycle
Vibro Motor 3 sets PWM duty cycle. vibromotor3_enable
Enable the device function vibromotor3_write_byte
Generic write the byte of data function This example shows the capabilities of the Vibro Motor 3 Click board
The demo application is composed of two sections :
Initalizes I2C driver, PWM driver and configures Vibro Motor 3 Click board.
Changing duty cycle applied in order to get different vibrations.
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.