
Details
A haptic module that pairs the LD0825BC linear resonant actuator (LRA) with a DA7820 haptic driver. The actuator is rated at 240 Hz ±10 Hz and gives at least 0.70 Grms of vibration.
The driver is made for LRAs: it tracks the actuator's resonance automatically, drives it with a 1.2 Vrms AC signal at up to 90 mA, and handles kick-start and braking. It is controlled over I²C, and STEMMA QT connectors chain further I²C devices. It runs at 3.3 V or 5 V.
The board is 22 × 22 mm with four ⌀2.7 mm mounting holes. It plugs into a breadboard or any AX22 port, and works in the Arduino IDE with the SparkFun Qwiic Haptic Driver library, in MicroPython and in MicroBlocks.
No wiring. No coding.
LRA Motor (DA7820) pushes straight into any AX22 port. Then say what you want in Axiometa Studio, which writes the code and uploads it to your board.
Pinouts
Resources
#include <Wire.h>
#include "Haptic_Driver.h" //Sparkfun Qwiic Haptic Driver DA7280
Haptic_Driver hapDrive;
void setup() {
Wire.begin();
hapDrive.begin();
hapDrive.defaultMotor();
hapDrive.enableFreqTrack(true);
hapDrive.setOperationMode(DRO_MODE);
hapDrive.clearIrq(hapDrive.getIrqEvent());
}
void loop() {
hapDrive.setVibrate(127);
delay(120);
hapDrive.setVibrate(0);
delay(50);
delay(500);
}