The accelerator pedal module detects the driver's instructions for altering the speed of the vehicle.