Polymer-based micromachined chemicapacitor gas sensor on a temperature controlled platform