Photoacoustic gas sensor device for determining a value indicative of a presence or a concentration of a chemical component in a gas, the photoacoustic gas sensor device comprising: - a substrate , - a measurement cell body arranged on a first side of the substrate , the substrate and the measurement cell body defining a measurement cell, - a cap arranged on the first side of the substrate within the measurement cell, the cap and the substrate defining a cap volume , and the cap and the substrate acoustically sealing the cap volume , - a measurement volume confined by the measurement cell body , the substrate and the cap , - an aperture in the measurement cell for the gas to enter the measurement volume , - electrical components arranged on the first side of the substrate and in the measurement cell, comprising at least: - an electromagnetic radiation source for emitting electromagnetic radiation into the measurement volume , - a pressure transducer for measuring a sound wave generated by the chemical component in response to an absorption of the electromagnetic radiation by the chemical component present in the measurement volume , - a controller configured to control the electromagnetic radiation source , wherein the pressure transducer is arranged outside the cap volume , wherein the controller is arranged in the cap volume , wherein the controller is configured to process an electrical signal supplied by the pressure transducer that is indicative of the presence or the concentration of the chemical component in the gas. - a substrate , - a measurement cell body arranged on a first side of the substrate , the substrate and the measurement cell body defining a measurement cell, - a cap arranged on the first side of the substrate within the measurement cell, the cap and the substrate defining a cap volume , and the cap and the substrate acoustically sealing the cap volume , - a measurement volume confined by the measurement cell body , the substrate and the cap , - an aperture in the measurement cell for the gas to enter the measurement volume , - electrical components arranged on the first side of the substrate and in the measurement cell, comprising at least: - an electromagnetic radiation source for emitting electromagnetic radiation into the measurement volume , - a pressure transducer for measuring a sound wave generated by the chemical component in response to an absorption of the electromagnetic radiation by the chemical component present in the measurement volume , - a controller configured to control the electromagnetic radiation source , - an electromagnetic radiation source for emitting electromagnetic radiation into the measurement volume , - a pressure transducer for measuring a sound wave generated by the chemical component in response to an absorption of the electromagnetic radiation by the chemical component present in the measurement volume , - a controller configured to control the electromagnetic radiation source , wherein the pressure transducer is arranged outside the cap volume , wherein the controller is arranged in the cap volume , wherein the controller is configured to process an electrical signal supplied by the pressure transducer that is indicative of the presence or the concentration of the chemical component in the gas. <EOS>