With the piezoresistive pressure sensor, as soon as changes in environmental pressure are detected, the thin film deformation on the pressure sensor changes too, and the piezoresistive material on the thin film experiences deformation accordingly. The resistance changes as such as well. Such resistance change, once read and processed through the Wheatstone bridge and the amplifier circuit, can be used to measure the size of pressure.