DRV2605L weak with LRA LVM061530

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
j2chau
 
Posts: 5
Joined: Fri May 12, 2017 8:38 pm

DRV2605L weak with LRA LVM061530

Post by j2chau »

Hi, I have a DRV2605L driving a Jinlong Machinery & Electronics, Inc. LVM061530 and the output seems a little weak. I was wondering if I am doing something wrong hooking it up directly to it? Also if I want to hook up two independently controlled LVM061530 LRA, I would assuming I need two DRV260...

User avatar
adafruit_support_mike
 
Posts: 65256
Joined: Thu Feb 11, 2010 2:51 pm

Re: DRV2605L weak with LRA LVM061530

Post by adafruit_support_mike »

We haven't tested the DRV2605 with LRAs, so we can't make recommendations about which ones work with it.

The most likely problem would be a mismatch between the DRV2605's output current and the current required to run the LRA your'e using. You can use an H-bridge like the TB6612 as a power booster:

https://www.adafruit.com/product/2448

To control two LRAs independently, yes, you'd need two DRV2605s. If you're controlling them through the I2C interface, you'll also need something like the TCA9548 I2C multiplexer:

https://www.adafruit.com/product/2717

The DRV2605's I2C address is hardwired, and you can't have multiple devices on the same I2C bus with the same address. The TCA9548 lets you swap among eight separate buses.

User avatar
j2chau
 
Posts: 5
Joined: Fri May 12, 2017 8:38 pm

Re: DRV2605L weak with LRA LVM061530

Post by j2chau »

So I have figured out how to get the haptics to feel stronger on LRA. Need to use the useLRA() command.

User avatar
adafruit_support_mike
 
Posts: 65256
Joined: Thu Feb 11, 2010 2:51 pm

Re: DRV2605L weak with LRA LVM061530

Post by adafruit_support_mike »

Makes sense..

Thanks for posting the follow-up!

User avatar
j2chau
 
Posts: 5
Joined: Fri May 12, 2017 8:38 pm

Re: DRV2605L weak with LRA LVM061530

Post by j2chau »

There were no documentation on that method. I think Adafruit needs to update the documentation.

User avatar
chapel_81
 
Posts: 3
Joined: Tue Sep 11, 2012 3:50 pm

Re: DRV2605L weak with LRA LVM061530

Post by chapel_81 »

j2chau wrote:So I have figured out how to get the haptics to feel stronger on LRA. Need to use the useLRA() command.
I'm unclear how to implement this, can you tell me where to put this exactly?

User avatar
MCor10
 
Posts: 1
Joined: Mon Oct 22, 2018 10:39 am

Re: DRV2605L weak with LRA LVM061530

Post by MCor10 »

So I'm using the void useLRA() for a teensy 3.6 in the basic example code(I just started working with Teensy so please don't mind the sloppy work). It works a lot better now. But I expected the effects to feel stronger. I wonder if it has anything to do with the resonance frequency for which the voltage has to be tuned too?

Code: Select all

#include <Wire.h>
#include "Adafruit_DRV2605.h"

Adafruit_DRV2605 drv;
int pin_SDA = 18; 
int pin_SCL = 19; 

void setup() {
  Serial.begin(9600);
  Wire.setSDA(pin_SDA);
  Wire.setSCL(pin_SCL);
  Serial.println("DRV test");
  drv.begin();
  drv.useLRA();                                                                      
  drv.selectLibrary(6);
  
  // I2C trigger by sending 'go' command 
  // default, internal trigger when sending GO command
  drv.setMode(DRV2605_MODE_INTTRIG); 
}

uint8_t effect = 1;

void loop() {
  Serial.print("Effect #"); Serial.println(effect);

  // set the effect to play
  drv.setWaveform(0, effect);  // play effect 
  drv.setWaveform(1, 0);       // end waveform

  // play the effect!
  drv.go();

  // wait a bit
  delay(500);

  effect++;
  if (effect > 123) effect = 1;
}

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”