A piezoresistive sensor (Figuren21-11) is threaded into the oil delivery passage of the engine. The pressure of the oil causes a flexible diaphragm to move. This movement is transferred to a contact arm that slides down the resistor. The position of the sliding contact arm determines the resistance value and the amount of current flow through the gauge.