We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2019-08-21
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Haptic
Downloaded: 3168 times
Not followed.
License: MIT license
Vibro Motor 2 Click features a compact size Eccentric Rotating Mass (ERM) motor, labeled as Z4FC1B1301781 as well as DMG3420U MOSFET to drive the ERM motor, since the MCU itself cannot provide enough power for the motor driving.
Do you want to subscribe in order to receive notifications regarding "Vibro Motor 2 click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Vibro Motor 2 click" changes.
Do you want to report abuse regarding "Vibro Motor 2 click".
Library Description
This library helps user to define the all necessary GPIOs to control vibro motor. For Vibro Motor 2 Click board user only needs PWM pin on MIKROBUS. For more details check documentation.
Key functions:
void vm2_gpioDriverInit( T_VM2_P gpioObj );
- This function initializes GPIO driver.Examples description
The application is composed of three sections :
void applicationTask()
{
rx_dat = UART_Rdy_Ptr();
if (rx_dat != _RX_NOT_READY)
{
rx_dat = UART_Rd_Ptr();
checkRx();
}
}
Additional Functions :
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.