The microhotplate of claim 8 wherein said piezoresistive sensors are doped with an element selected from the group consisting of phosphorous, boron, and other elements that are soluble in the material of the cantilever and that change the cantilever material properties.