The potentiometer is a resistive device supplied with a voltage from the ECU. Movement of the throttle pedal causes the throttle valve to open, thus rotating the wiper arm within the potentiometer which in turn varies the resistance in proportion to the valve position.