espp/drv2605

0.21.0

uploaded 1 day ago
DRV2605 Haptic Driver component for ESP-IDF

readme

# Drv2605 I2C Haptic Motor Driver Component

The `DRV2605` haptic motor driver component allows the user to configure and
play custom or preconfigured haptic feedback sequences via a serial interface
such as I2C. It supports directly driving ECM (eccentric rotating mass) and LRA
(linear resonant actuator) type haptic motors. It also supports fully custom
waveforms (e.g. via using the audio, pwm / analog functions) as well as a preset
library of 123 different haptic waveforms which can be played in sequences of up
to 8 waveforms.

If you wire up the trigger / in line and configure it via I2C, then you can
directly drive the haptic motors with audio waveforms.

## Example

The [example](./example) shows the use of the `drv2605` component to communicate with and
control a DRV2605 I2C haptic motor driver for linear resonant actuator (LRA) and
eccentric rotating mass (ERM) haptic motors.

Links

Supports all targets

Maintainer

  • William Emfinger <waemfinger@gmail.com>

License: MIT

To add this component to your project, run:

idf.py add-dependency "espp/drv2605^0.21.0"

or download archive

Stats

  • Archive size
    Archive size ~ 11.66 KB
  • Downloaded in total
    Downloaded in total 0 times
  • Downloaded this version
    This version: 0 times

Badge

espp/drv2605 version: 0.21.0
|