Drv2605_set (DRV260X_RTPMODE,0XFF);//motor
#define DRV260X_RTPMODE (0x05)
8.6.7 Overdrive time Offset (address:0x0d)
Drv2406l_sendbyte (Drv260x_odt, 0x84);
#define DRV260X_ODT (0x0D)
Offset values up to 80
Overdrive Time Offset (ms) = Odt[7:0]xplayback_interval
8.6.25 Control5 (address:0x1f)
BIT4 Playback_interval
This bit selects the memory playback interval.
The combination of 0x0d and 0x1f is not a mere vibration time.
8.6.23 Control3 (ADDRESS:0X1D)
Bit7 BIT6 different values affect not obvious
Bit5 no obvious effect.
8.6.20 Feedback Control (address:0x1a)
BIT7 Select ERM mode it is obvious that vibration becomes weaker LRA vibration is larger
Bit6-4 Change Little
8.6.16 rated Voltage (address:0x16)
Set the reference voltage in the closed-loop state,
This register is ignored in the open loop because the overload voltage is the reference voltage.
How does it work in open-loop mode?
The higher the value, the greater the vibration,
8.6.17 Overdrive Clamp Voltage (address:0x17)
The size of this register value also affects the size of the vibration
The two registers are how to cooperate without looking too clearly.
8.6.24 Control4 (ADDRESS:0X1E)
Drive Voltage
The driving voltage waveform usually consists of three parts: over-drive voltage, driving hold voltage and braking voltage.
The corresponding time period is called:
Drive time, hold time and braking time.
How does the DRV2605 drive a linear motor to get these different tactile effects?
The different tactile sensations depend on the voltage of the DRV2605 drive.
First, the different haptic intensities depend on the voltage being driven.
In order to obtain the tactile effect of the strong click-100%, the voltage at the driving stage reaches the linear motor
Rated voltage. The overvoltage and braking voltages do not require user settings, and the DRV2605 is the architecture of the smart loop.
Automatically detects the back EMF inside the motor, gives feedback to the PWM control signal, controls the overvoltage and over-braking of the drive
The structure of the voltage, self-detection of the internal motor back EMF, feedback to the PWM control signal, control over the drive
Voltage and over-braking voltage.
Second, the duration of the haptic effect depends on the drive time of each stage of the DRV2605. Increased flooding time,
The linear motor starts faster, reduces the drive time, and the Click Effect is significantly shorter.
The drive voltage waveform duration of the sharp click-100% is only 45ms.
3, how to use DRV2604 design tactile effect
The effect library format defined by DRV2604 contains version information, header and data three parts:
DRV2604 version information is zero
The header of the tactile effects library defines the start address, number of repetitions, and number of bytes consumed for each haptic effect.
The data for the tactile effects library defines the amplitude and duration of the drive voltage for each tactile effect.
4. Multiple tactile effects play
8.6.6 GO (address:0x0c)
A very important register.
Write 0x01 on the register to start the vibration motor, write 0x00 to stop the vibration of the motor.