
Technical details
- 22 mm × 22 mm square
- 4× ⌀2.7 mm Mounting Holes
- Rated Frequency: 240 Hz ±10 Hz
- Vibration Acceleration: ≥ 0.70 Grms
- 3.3 V, 5.0 V
- Arduino IDE Compatible
- MicroPython Compatible
- MicroBlocks Compatible
Drag to rotate
Pinout & connections
Arduino example
#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);
}