NDIR carbon dioxide sensor photo (Patreon)
Content
A closer look at the insides of the NDIR (non-dispersive infrared) sensor. At the top left of the PCB you can see a small tungsten bulb being used as a source of broad spectrum IR. At the right hand side of the PCB you can see the detector with its notch filter to only pass the specific wavelength range that is absorbed by the CO2.
The more carbon dioxide there is in the air, the less infrared reaches the sensor.
The middle part is the mirrored cover for the PCB that acts as part of the sensing cavity, and the section at the right is the mirrored cover that is the main part of the cavity. The curved section at the top left of the cover reflects the infrared down onto the sensor, but also has a port in it, and a light blocking gas permeable membrane on the other side allows ambient air to enter.
I would guess that the components are an amplifier, possibly voltage regulation and a switching component for the lamp. There is a microcontroller on the other side to deal with analysis, communication and self calibration.