1# Vibrator Overview
2
3
4The **vibrator** module extends the native vibrator service via maximizing utilization of vibrator hardware capabilities. By innovatively integrating vibration and interaction, the module takes user interaction efficiency and usability to the next level.
5
6
7## Working Principles
8
9The vibrator is a Misc device that consists of four modules: Vibrator API, Vibrator Framework, Vibrator Service, and HDF layer.
10
11  **Figure 1** Vibrator in Misc devices
12
13![0752d302-aeb9-481a-bb8f-e5524eb61eeb](figures/0752d302-aeb9-481a-bb8f-e5524eb61eeb.png)
14
15- Vibrator API: provides basic vibrator APIs, including the APIs for obtaining the vibrator list, querying the vibrator by effect, and triggering and stopping vibration.
16
17- Vibrator Framework: manages the framework layer of the vibrator and communicates with the Misc Device Service.
18
19- Vibrator Service: manages services of vibrators.
20
21- HDF layer: adapts to different devices.
22
23
24## Constraints
25
26When using a vibrator, you must declare the **ohos.permission.VIBRATE** permission before you can control the vibration effect.
27