Pedal mounted sensors are useful in motor vehicles for delivering an electrical signal correlative to the position of the accelerator pedal. The electrical signal is then used by an engine controller to regulate the amount of fuel supplied to the engine. Some pedal mounted sensors deliver analog signals which are subject to fault conditions which an engine controller can not distinguish from valid operating conditions. Remotely mounted sensors are difficult to install and repair. The subject invention is directed to pedal mounted sensors which have a potentiometer and circuit board hermetically sealed and mounted on a pedal for delivering pulse-width-modulated signal having a duty factor responsive to the pedal position.