Hardware Calculators•Free Online Tool

Vibration Test: Online Haptic Motor & Motion Sensor Tester

Test device vibration motor patterns, haptic feedback intensity, and DeviceOrientation motion sensors online. Works with smartphones, tablets, and gamepads.

100% Private (In-Browser)
⚡

Vibration Test: Online Haptic Motor & Motion Sensor Tester

Press Start below to begin instant client-side testing. No data leaves your machine.

AdvertisementReserved layout space (Zero CLS guarantee)

Physical Haptics: The Engineering of Digital Tactile Feedback

In modern mobile computing and interactive gaming, human-computer interaction extends far beyond what we see on a screen or hear through speakers. Haptics—the technology of communicating information through physical touch, force, and mechanical vibration—bridges the gap between flat glass touchscreens and real-world tactile perception.

From the gentle haptic click when typing on a smartphone virtual keyboard, to the bone-rattling rumble of a controller during an explosion in an action video game, haptic motors rely on sophisticated electromagnetic actuators governed by low-level operating system drivers.

Our Device Vibration Motor & Motion Sensor Tester interfaces directly with the W3C Vibration API and DeviceOrientation specification, allowing engineers, QA testers, and hardware enthusiasts to evaluate haptic pulse responsiveness, audit rhythm timing, and inspect 3-axis accelerometer sensors.


Actuator Technologies: ERM vs. LRA vs. Piezoelectric Haptics

To understand how digital vibration is created, one must examine the three primary mechanical actuator architectures deployed in modern consumer electronics:

+--------------------------------------------------------------------------+
|                  COMPARISON OF HAPTIC ACTUATOR TECHNOLOGIES              |
+--------------------------------------------------------------------------+
|                                                                          |
|  1. ECCENTRIC ROTATING MASS (ERM):                                       |
|     [ DC Motor ] ===(Off-Center Weight)===> [ Centrifugal Shake ]        |
|     - Legacy tech; slow start-up (~50ms latency); mushy vibration.       |
|                                                                          |
|  2. LINEAR RESONANT ACTUATOR (LRA):                                      |
|     [ Permanent Magnet + Spring ] <---Voice Coil---> [ Linear Pulse ]    |
|     - Fast response (~10ms); crisp haptic clicks; frequency tuned.       |
|                                                                          |
|  3. PIEZOELECTRIC ACTUATOR:                                              |
|     [ Piezo Crystal Ceramic ] <---High Voltage---> [ Micro Deflection ]  |
|     - Near-instantaneous response (<2ms); ultra-fine texture synthesis.  |
|                                                                          |
+--------------------------------------------------------------------------+

1. Eccentric Rotating Mass (ERM) Motors

The earliest vibration motors used in mobile phones and gamepads consisted of a miniature direct-current (DC) electric motor with an asymmetrical semicircular weight mounted to its output drive shaft. As the motor spins at high RPM (typically 3,000 to 10,000 RPM), the unbalanced centrifugal forces shake the entire housing. While simple and cheap to manufacture, ERMs suffer from long rotational spin-up times (30ms to 50ms), making them incapable of producing sharp, instantaneous tactile clicks.

2. Linear Resonant Actuators (LRA)

Modern smartphones (including Google Pixel, Samsung Galaxy, and Apple’s Taptic Engine) utilize Linear Resonant Actuators. Instead of spinning, an internal permanent magnet mass is suspended on precision mechanical springs surrounded by an electromagnetic voice coil. By driving the coil with alternating current matching the mechanical resonance frequency (typically 150 Hz to 200 Hz), the mass rapidly pulses along a single linear axis. LRAs start and stop within milliseconds, enabling realistic simulated keyboard keystrokes, subtle tick-marks, and textured haptic clicks.


The W3C HTML5 Vibration API: Pattern Syntheses

The browser’s native navigator.vibrate() method accepts either a single integer (designating a continuous pulse in milliseconds) or an array of integers that alternates between active vibration intervals and silent pause intervals:

// Example: SOS Morse Code in JavaScript
// 3 Short (100ms), Pause (100ms), 3 Long (300ms), 3 Short (100ms)
navigator.vibrate([
  100, 100, 100, 100, 100, 300, 
  300, 100, 300, 100, 300, 300, 
  100, 100, 100
]);

// Passing 0 immediately cancels all ongoing vibrations
navigator.vibrate(0);

By passing structured integer arrays, developers can synthesize recognizable rhythmic notifications—such as a double heartbeat pulse ([100, 100, 100, 100, 250, 400]) or subtle game-event chimes—directly within web applications without requiring native app store downloads.


Decoding 3-Axis Orientation: Alpha, Beta, and Gamma

In addition to mechanical vibration output, mobile devices and convertible 2-in-1 laptops incorporate internal microelectromechanical (MEMS) sensors that continuously monitor gravitational pull and rotational velocity:

+--------------------------------------------------------------------------+
|                  W3C DEVICE ORIENTATION AXIS CONVENTION                  |
+--------------------------------------------------------------------------+
|                                                                          |
|                     Z-Axis (Alpha / Yaw: 0° to 360°)                      |
|                           ^                                              |
|                           |                                              |
|                           |      Y-Axis (Gamma / Roll: -90° to 90°)      |
|                           |     ^                                        |
|                     +-----+-----+                                        |
|                    /|     |    /|                                        |
|                   / |     |   / |                                        |
|                  +--+-----+--+  |                                        |
|                  |  |     |  |  +----> X-Axis (Beta / Pitch: -180° to 180|
|                  |  +-----+--+ /                                         |
|                  | /      |  |/                                          |
|                  +--------+--+                                           |
|                                                                          |
+--------------------------------------------------------------------------+
  • Alpha (alpha, 0° to 360°): Rotation around the vertical Z-axis perpendicular to the screen. On devices equipped with a magnetometer, Alpha corresponds to the device’s compass heading relative to magnetic north.
  • Beta (beta, -180° to 180°): Rotation around the horizontal X-axis passing through the middle of the screen. Tilting the device forward (face down) or backward (face up) alters Beta.
  • Gamma (gamma, -90° to 90°): Rotation around the longitudinal Y-axis passing vertically through the screen. Tilting the device toward your left or right ear alters Gamma.

Our live interactive 3D orientation visualizer reads these hardware quaternion transforms in real time, validating that your device’s internal MEMS gyroscopes and gravity sensors are functioning accurately. For comprehensive testing of connected gaming controllers and input devices, pair this tool with our Gamepad Tester, calibrate touch precision with our Touch Screen Test, test trackpad gestures using our Touchpad Test, or evaluate physical finger response speeds with our Reaction Time Test.


Game Controller Rumble Architecture: Dual-Motor Asymmetry and Force Feedback

While smartphone haptics focus on delicate notification clicks and typing feedback, gaming controllers (including the Microsoft Xbox Wireless Controller, Sony PlayStation DualShock 4, and Nintendo Switch Pro Controller) deploy powerful dual-motor rumble architectures:

1. Dual Asymmetrical ERM Motors

Most standard console gamepads feature two separate DC motors housed in the left and right hand grips:

  • The Left Grip (Heavy Rumble): Houses a large, thick semicircular counterweight. Spinning at 1,500 to 3,500 RPM, it produces low-frequency, heavy vibrations that simulate intense physical events: tank engine vibrations, explosions, building collapses, and vehicle crashes.
  • The Right Grip (Light Buzz): Contains a much smaller, thinner counterweight spinning at 4,000 to 7,000 RPM. It produces crisp, high-frequency buzzing sensations simulating weapon fire, tire gravel skidding, and laser ricochets.

By independently modulating the Pulse-Width Modulation (PWM) duty cycle across both motors via the HTML5 Gamepad API (gamepad.vibrationActuator.playEffect('dual-rumble', ...)), game developers create convincing tactile landscapes.

2. Voice-Coil Actuation in the PS5 DualSense

The PlayStation 5 DualSense controller replaces traditional rotating weights with dual dual-voice-coil linear resonant actuators positioned in the palm grips. Operating essentially like specialized acoustic speakers that output physical mechanical force instead of audible sound, these voice-coil actuators can reproduce complex waveform audio frequencies from 10 Hz to 1,000 Hz. Gamers can physically feel the distinct texture difference between walking through deep water, sliding across smooth ice, or running through tall grass.


MEMS Accelerometer Calibration and Sensor Drift

The microelectromechanical (MEMS) sensors inside smartphones, tablets, and 2-in-1 laptops measure acceleration and gravity using microscopic silicon proof masses suspended on microscopic polysilicon springs. As the device moves or tilts, the displacement of the mass alters electrical capacitance across adjacent sensing plates, which an onboard analog-to-digital converter (ADC) translates into meters per second squared (m/s^2):

Common Causes of Sensor Drift:

  1. Thermal Gradients: Internal device heating from CPU/GPU loads or battery fast charging causes microscopic thermal expansion in the silicon MEMS housing, shifting the sensor’s zero-gravity bias offset.
  2. Mechanical Shock: Dropping a smartphone or laptop onto a hard tiled floor can slightly deform the silicon suspension beams, causing permanent angular bias errors (e.g., the device registers a 3-degree tilt even when resting on a level table).
  3. Magnetic Hard-Iron Interference: Nearby magnetic phone wallet cases, magnetic car dashboard mounts, or laptop speaker magnets distort the internal three-axis Hall-effect magnetometer, introducing compass yaw (Alpha) errors.

The Figure-8 Calibration Technique

If your device’s orientation telemetry exhibits persistent compass drift, hold the phone firmly in your hand and smoothly move it through the air in a large, fluid three-dimensional figure-8 infinity pattern for 15 seconds. This rotational motion exposes all three internal magnetic and accelerometer axes to the Earth’s natural gravitational and geomagnetic fields simultaneously, allowing operating system sensor fusion algorithms (Extended Kalman Filters) to recalculate bias calibration matrices automatically.

AdvertisementReserved layout space (Zero CLS guarantee)

Frequently Asked Questions About vibration test

How does this tool trigger physical vibration on my device?

Our diagnostic tester uses the standard W3C HTML5 Vibration API (`navigator.vibrate()`). When a test pattern is triggered, the browser sends low-level driver calls to the operating system's haptic motor controller. The controller supplies pulse-width modulated (PWM) electrical current to the internal vibration motor (such as an ERM eccentric rotating mass motor or LRA linear resonant actuator), creating precise mechanical oscillations.

Why does vibration not work on desktop computers or standard laptops?

Traditional desktop personal computers and standard laptops do not contain internal physical vibration motors. Unlike mobile phones and game controllers, PC motherboards are mounted into rigid chassis without mechanical shake actuators. However, if you connect a vibrating game controller (such as an Xbox Wireless Controller or DualSense pad) to your laptop via USB or Bluetooth, web browsers can rumble the controller via the HTML5 Gamepad API.

Why does the Vibration API not function on Apple iPhones running iOS Safari?

Apple intentionally omits the W3C Vibration API from iOS Safari and all third-party web browsers running on iPhones and iPads. Apple restricts access to its proprietary Taptic Engine haptic actuator to native iOS apps via Swift/Objective-C frameworks (UIFeedbackGenerator). This restriction was implemented to prevent intrusive web advertising scripts from unexpectedly buzzing user phones.

What is the difference between an ERM motor and an LRA haptic actuator?

Eccentric Rotating Mass (ERM) motors utilize a traditional DC spinning motor with an off-center counterweight. They produce strong, generalized buzzing sensations but have slow spin-up and spin-down response times (producing a mushy, lagging feel). Linear Resonant Actuators (LRA) use a magnetic voice coil and spring to oscillate a mass along a single linear axis, delivering crisp, instantaneous micro-clicks, realistic textured haptics, and significantly higher energy efficiency.

What do the Alpha, Beta, and Gamma motion sensor angles measure?

The W3C DeviceOrientation API measures physical spatial rotation across three Euler angles: Alpha represents rotation around the Z-axis (pointing perpendicular to the screen, representing compass yaw from 0° to 360°); Beta represents rotation around the X-axis (tilting the device forward and backward, representing pitch from -180° to 180°); and Gamma represents rotation around the Y-axis (tilting the device left and right, representing roll from -90° to 90°).

Can a phone's vibration motor break or wear out over time?

Yes. In older ERM motors, physical carbon commutator brushes and mechanical bearings wear down over years of continuous notification vibrations, leading to weak buzzing, metallic rattling, or complete motor seizure. In modern LRA actuators, mechanical failure is rare because there are no rotating friction parts, but solder connections or suspension springs can fracture after severe physical drops.

How do gamepads and consoles use haptic feedback?

Modern gamepads (such as Xbox, PlayStation DualShock 4, and DualSense) incorporate dual asymmetrical rumble motors. The left grip contains a heavy weight producing low-frequency rumbles (simulating explosions and engine revs), while the right grip contains a light weight producing high-frequency vibrations (simulating gunshots and tire slippage). Advanced controllers like the PS5 DualSense use dual voice-coil LRAs to transmit tactile textures like rain droplets or gravel.

Is it safe to run continuous vibration tests for long periods?

Running short diagnostic tests (under 30 seconds) is completely safe. However, running continuous haptic vibration for 10 to 15 minutes straight can cause small smartphone vibration motors to overheat, increasing battery drain and accelerating adhesive degradation on nearby chassis tape. Our tool includes an emergency 'Stop All Vibration' button to instantly halt all active patterns.

Run complementary component checks from the Hardware & Battery Calculators category.

View all Hardware & Battery Calculators →
VJ
Vishal JethwaniVerified Author

Hardware Diagnostic Researcher • Gujarat, India

Last Reviewed & Updated:
Review Cycle: 2026 Hardware Benchmarks
Tested on:Chrome 130+, Edge 130+, Firefox 132+, Safari 18+ (macOS, Windows 11)