This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: DRV2605L
Hi. I'm a completely blind programmer and ML / DL developer. I've recently started exploring GPIO sensors for a wearable device for the blind that I'm currently developing ...
I hope somebody can assist me in knowing what data to write to which registers of the DRV2605L. I'm currently stuck at following TI's guide for the DRV2605L Haptic controller. And I'm using this with an ERM mini vibrating disk and a Devantech USB-ISS board on Raspberry Pi 3 model B+ on Raspbian Buster.
Here are the electronic components that I wanted to ask about:
And here are the software products that I'm using:
I did this step-by-step process:
STEP 1. I connected the DRV2605L to an ERM mini vibrating disk. STEP 2. I then connected the DRV2605L to the Devantech USB-ISS board. Note: Another I2C device is connected to the Devantech USB-ISS board, which is the Devantech SRF10 ultrasonic ranger ( https://www.robotshop.com/en/devantech-srf10-ultrasonic-range-finder.html ).
STEP 3. Next, I connected the Devantech USB-ISS board via USB to a Raspberry Pi 3B+ that's running Raspbian Buster. STEP 4. I installed a Python module called usb_iss. And STEP 5. I opened Python 3.4 and wrote the following lines:
from usb_iss import UsbIss, defs
iss = UsbIss()
>> This is what appeared as the virtual port of the DRV260L as the SRF10 is /dev/ttyACM0
>> And I got this = <usb_iss.usb_iss.UsbIss object at 0x7657b410>
>> Parameters are (I2CAddress,Register,Data)
>> I got this = 
>> Remove DRV2605L from standby mode as stated in TI's guide
>> 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 their DRV2605L datasheet).
And so using the format of the code above, I'd greatly appreciate some assistance in knowing the registers to write to, and what data to write, in order for me to follow TI's step-by-step guide:
9.3.1 Initialization Procedure
9.3.2 Typical Usage Examples 220.127.116.11 Play a Waveform or Waveform Sequence from the ROM Waveform Memory
I'd greatly appreciate your help regarding this. Thank you.
Welcome to E2E and thank you for your interest in our products!
We have some examples of registers configuration for ERM load. However, you would need to translate it to your programming language (in this case, Phyton).
This is a basic example for an auto-calibration. You should be able to see how the DRV2605L runs the auto-calibration for a small period of time. Your ERM load should work during this period.
If this configuration works, this would mean that the DRV2605L connections are all correct and we can proceed with another functions such the library effects.
Please let me know if you have questions or comments on this.
Best regards,Luis Fernando Rodríguez S.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Luis Fernando Rodriguez S.:
Thanks! But what should I do with the info that you provided in the TXT document?
a) Should I execute write commands using the registers and the data listed in the document that you gave, one after the other? Or:b) Should I try to use the info that you gave to follow the steps in the initialization procedure and the typical usage procedure (which I find very, very confusing)?
NOTE: I'd really appreciate it if you can give me the step by step commands to execute to complete the initialization and auto calibration and typical usage procedures (I have no problem translating what you give me to Python) ...
Looking forward to your help. Thank you.
In reply to Marx Vergel Melencio:
The TXT document contains the registers dump to initialize the auto-calibration. I also prepared the registers commands in the suggested order to perform an auto-calibration and another one that enables the waveform sequencer. I hope you find them useful for your application.
Please notice that there are some code lines that depend of the ERM characteristics such the Rated Voltage and the Overdrive Clamp Voltage. They must be configured according to the actuator datasheet.
Thanks, Luis! I'll test these out and will update this thread. Have a great day! :)
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.