Skip to main content

Grove - Haptic Motor

Grove - Haptic motor is a grove module integrated with DRV2605L which will give your project more feelings. This motor is specially designed for various effects, such as ramping the vibration level up and down, for wearables and other IoT devices. Right now we have developed an easy-to-use library which simulate 123 kinds in total of vibrating modes and this will make your prototyping quicker. Also, you can develop more advanced functions with driver DRV2605L which will improve actuator performance in terms of acceleration consistency, start time, and break time and is accessible through a shared I2C compatible bus or PWM input signal.

Features‚Äč

  • More vibration effects.
  • Quicken your project prototyping process.
  • Easy-to-use library with 123 kinds of vibrating modes.
  • Powerful driver to implanting more advanced functions.
tip
More details about Grove modules please refer to [Grove System](https://wiki.seeedstudio.com/Grove_System/)

Specifications‚Äč

ParameterValue
Operating voltage3.3~5.0 V
Ripples (at maximum power)50~100 mV
Max power750 mW
I2C speed100 kHz
Vibration effects123 types
DriverDRV2605L
PortI2C
Default I2C Address0x5A

Platforms Supported

ArduinoRaspberry Pi
caution
The platforms mentioned above as supported is/are an indication of the module's software or theoritical compatibility. We only provide software library or code examples for Arduino platform in most cases. It is not possible to provide software library / demo code for all possible MCU platforms. Hence, users have to write their own software library.

Application ideas‚Äč

  • Mobile phone, tablets.
  • Wearable devices.
  • Remote controls, touch-enabled devices.
  • Industrial human-machine interfaces.

Hardware Overview‚Äč

Front view:

Rear view:

Getting Started‚Äč

note
If this is the first time you work with Arduino, we firmly recommend you to see [Getting Started with Arduino](https://wiki.seeedstudio.com/Getting_Started_with_Arduino/) before the start.

Play With Arduino‚Äč

Hardware‚Äč

  • Step 1. Prepare the below stuffs:
Seeeduino V4.2Base ShieldGrove - Haptic motor
enter image description hereenter image description hereenter image description here
Get One NowGet One NowGet One Now
  • Step 2. Connect Grove - Haptic motor to port I2C of Grove-Base Shield.
  • Step 3. Plug Grove - Base Shield into Seeeduino.
  • Step 4. Connect Seeeduino to PC via a USB cable.

note

If we don't have Grove Base Shield, We also can directly connect Grove - Haptic motor to Seeeduino as below.

SeeeduinoGrove - Haptic motor
5VRed
GNDBlack
SDAWhite
SCLYellow

Software‚Äč

#include <drv2605.h>

DRV2605 haptic;

void setup()
{
Serial.begin(9600);
/* Software I2C = false, Verbose = true */
if (haptic.init(false, true) != 0) Serial.println("init failed!");
if (haptic.drv2605_AutoCal() != 0) Serial.println("auto calibration failed!");
delay(2000);
}

void loop()
{
/*
unsigned char i;
for(i=1;i<124;i++)
{
Serial.print("Effect No: ");
Serial.println(i);

haptic.drv2605_Play_Waveform(i);
delay(2000);
}
*/
haptic.drv2605_Play_Waveform(118);
delay(2000);
}
  • Step 4. We will see the vibration.
danger
Never touch driver DRV2605L which may cause damage to it when it is powered.

Schematic Online Viewer‚Äč

Resources‚Äč

Tech Support‚Äč

if you have any technical issue. submit the issue into our forum.


Loading Comments...