An oil pressure sensor typically has two wires. One wire is for the power supply, and the other wire is for the signal output. The oil pressure sensor converts the mechanical energy of the oil pressure into an electrical signal. This electrical signal is then sent to a gauge or warning light on the dash panel to indicate the current oil pressure.