A method of manufacturing a microelectromechanical system includes forming of an electromechanical element on a substrate. The method further includes preparation of an encapsulation package to form a sealed cavity integrating the electromechanical element, with the sealed cavity having a volume smaller than 10 mm