1e41f4b71Sopenharmony_ci# Vibrator Overview 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci 4e41f4b71Sopenharmony_ciThe **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. 5e41f4b71Sopenharmony_ci 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ci## Working Principles 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ciThe vibrator is a Misc device that consists of four modules: Vibrator API, Vibrator Framework, Vibrator Service, and HDF layer. 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci **Figure 1** Vibrator in Misc devices 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci- Vibrator API: provides basic vibrator APIs, including the APIs for obtaining the vibrator list, querying the vibrator by effect, and triggering and stopping vibration. 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ci- Vibrator Framework: manages the framework layer of the vibrator and communicates with the Misc Device Service. 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ci- Vibrator Service: manages services of vibrators. 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci- HDF layer: adapts to different devices. 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci 24e41f4b71Sopenharmony_ci## Constraints 25e41f4b71Sopenharmony_ci 26e41f4b71Sopenharmony_ciWhen using a vibrator, you must declare the **ohos.permission.VIBRATE** permission before you can control the vibration effect. 27