๐ Abstract
A method for manufacturing a sensor. The sensor includes a sensing element and a housing, the housing including an interior space, which is accessible through a housing opening, and the sensing element being situated in the interior space and being designed to detect a property and/or a composition of an ambient medium of the sensor. The method includes filling the interior space with a protective medium through the housing opening, the protective medium being designed to transfer the property and/or the composition of the ambient medium to the sensing element; fixing a preferably flexible diaphragm at or in the housing opening preferably for sealing the housing opening, the diaphragm including at least one diaphragm opening; and sealing the at least one diaphragm opening. A sensor, which is manufactured according to this method, is also described.