Comments: Haptic Motor Driver Hook-Up Guide

Pages

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Hi. I'd greatly appreciate your time in possibly assisting me regarding my step-by-step process for using the DRV2605L ( http://www.ti.com/lit/ds/symlink/drv2605l.pdf ) ...

    STEP 1. I connected the DRV2605L to an ERM mini vibrating disk ( https://www.adafruit.com/product/1201 );

    STEP 2. I then connected the DRV2605L to the Devantech USB-ISS board ( https://www.robot-electronics.co.uk/htm/usb_iss_tech.htm ); Note: Another I2C device is connected to the Devantech USB-ISS board, which is the Devantech SRF10 ultrasonic ranger ...

    STEP 3. Next, I connected the Devantech USB-ISS board via USB to a Raspberry Pi 3B+;

    STEP 4. I installed a Python module called usb_iss; and

    STEP 5. I opened Python and wrote the following lines:

    from usb_iss import UsbIss, defs
    iss = UsbIss()
    iss.open('/dev/ttyACM1') # This is what appeared as the virtual port of the DRV260L as the SRF10 is /dev/ttyACM0
    # I got this = <usb_iss.usb_iss.UsbIss object at 0x7657b410> 
    
    iss.i2c.read(0x5A,0x00,1) # Parameters are (I2CAddress,Register,Data)
    # I got this = [36]
    
    # Remove DRV2605L from standby mode as stated in TI's guide
    iss.i2c.write(0x5A,0x01,[0x00]) # Parameters are (I2CAddress,Register,[Data])
    

    But I'm stuck at this point. I can't seem to grasp the rest of the steps in TI's guide (found in the DRV2605L datasheet); and

    Using the format of the code above, I'd greatly appreciate your help in knowing the registers to write to and what data to write, in order for me to make the DRV2605L and ERM vibrating disk work. Thanks in advance!

    • Hi there, it sounds like you are looking for technical assistance. Please use the link in the banner above, to get started with posting a topic in our forums. Our technical support team will do their best to assist you. Just a heads up, this might be outside the scope of their support capabilities; however, maybe someone in the community may be able to assist you as well.

  • Hi, I had a question about the internal trigger tutorial. I'm quite knew to using Arduino and would really appreciate some guidance!

    I have the driver connected to an Arduino UNO board and an ERM 307-100 capsule motor. For some reason, running the script from the tutorial doesn't seem to be communicating with the motor. Not sure how to solve this issue and look forward to hearing any suggestions - thanks in advance!

  • Good afternoon, I have a question about the DRV2605L in the IN / Trigger, in this tutorial an analog input is handled, but it can also be a PWM input, this PWM can come from another mycocontroller for example the STM32F4Discovery card?

    I hope you can solve my doubt, greetings

  • Can I substitute an Adafruit DRV2605 Haptic Controller Breakout for this example - happen to have that from another project. Any guidance on that please?

  • Hello

    I'm having issues getting up and running whilst following "PWM & Analog Input Mode Example: Light Vibes". I've followed the example precisely, breadboarding the components and running the code from the installed Sparkfun library. When I upload the code I receive the following message: "WARNING: Category 'Motor Drivers' in library SparkFun Haptic Motor Driver is not valid. Setting to 'Uncategorized'" The sketch manages to upload, however the motor doesn't respond. I've added an LED to test the light sensor, which is fine. I'm running Arduino 1.8.3 on Mac OS 10.12, using an Uno.

    Thanks!

    • Have you figured this out yet? I just set up the same experiment though I'm running Arduino 1.6.12 and I'm on Windows 10. From Arduino go to sketch>>Include Library>>Manage Libraries and then search for SparkFun Haptic Motor Driver. I think if you install it that way there shouldn't be an issue as it is an Arduino approved library.

      The only thing is to check what type of motor you are using. There are vibe type motors that aren't labeled as either LRA or ERM so you may have to play with the motor type setting.

  • Also on the slippers project the board has no VCC connection. The motors I've seen are usually ~3V motors so what is correct here - provide a 3.3V supply, look for 5V rated motors, or use a 3V motor with 5V VCC?

    • Yes, a 5V motor was used in this project. If you would like to use the vibration motor we carry for this project then an additional switch would be needed between the 3.3V regulated power pin and the Haptic Motor Driver.

  • Looks like ground connection missing on audio jack in sound to vibe fritzing.


If you've found a bug or have other constructive feedback for our tutorial authors, please send us your feedback!