edit

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

Specifications

Parameter Value
Operating voltage 3.3~5.0 V
Ripples (at maximum power) 50~100 mV
Max power 750 mW
I2C speed 100 kHz
Vibration effects 123 types
Driver DRV2605L
Port I2C
Default I2C Address 0x5A

Platforms Supported

Arduino Raspberry Pi BeagleBone Wio LinkIt ONE

Caution

The platforms mentioned above as supported is/are an indication of the module's hardware 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 before the start.

Play With Arduino

Hardware

  • Step 1. Prepare the below stuffs:
Seeeduino V4.2 Base Shield Grove - Haptic motor
enter image description here enter image description here enter image description here
Get One Now Get One Now Get 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.

Seeeduino Grove - Haptic motor
5V Red
GND Black
SDA White
SCL Yellow

Software

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#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.

Warning

Never touch driver DRV2605L which may cause damage to it when it is powered.

Resources

Tech Support

Please submit any technical issue into our forum.