01 Tech Behind Autonomous Cars: Sensors, AI, and Self-Driving … • 02 100 Hilarious Things Mechanics Actually Say (That’ll Make Y… • 03 Car Sensors Explained: What They Are, How They Work, and Wh… • 04 This Maintenance Myth Is Turning Small Car Issues Into Huge… • 05 B0041 - Left Front or Driver Side Deployment Loop Open • 06 Transmission Troubleshooting: What Does It Mean When Your C… • 07 This Tiny Light On Your Dashboard Could Be The Difference B… • 08 That Faint Vibration In The Seat Could Be The First Sign Of… • 09 Is it Okay to Put New Brake Pads on Old Rotors? • 10 5 New Cars Worth a Trial in 2023 •

DTC codes / Volkswagen codes / P1540

P1540 · VolkswagenVehicle Speed Sensor High Input

P1540 on a Volkswagen means the engine control module (ECM) has detected an abnormally high voltage signal from the vehicle speed sensor (VSS) circuit, indicating the sensor is reporting an implausibly high speed or the signal wire is shorted to power. The ECM compares this signal against other inputs like engine speed and throttle position and flags the fault when the calculated vehicle speed exceeds a plausible threshold.

SystemPowertrain
Code typeVolkswagen specific
SeverityMedium
Fix difficultyIntermediate
AreaVehicle speed, idle control and auxiliary inputs

Symptoms you may notice

  • The speedometer may read erratically, jump to a high value, or stay pegged at maximum
  • The transmission may shift harshly or refuse to shift out of a gear because the control module is using an incorrect speed signal
  • The cruise control may stop working or disengage unexpectedly
  • The anti-lock braking system (ABS) and electronic stability control (ESC) warning lights may illuminate because those systems share the speed signal
  • The engine may idle poorly or stall when coming to a stop if the ECM misjudges vehicle speed
  • Often no symptoms besides the warning light, especially if the fault is intermittent

Common causes, most likely first

  1. A short to battery voltage in the signal wire between the vehicle speed sensor and the ECM, often from chafed insulation or a pinched harness
  2. A faulty vehicle speed sensor that internally shorts and outputs a high voltage signal
  3. Corroded or loose electrical connectors at the sensor or ECM, causing intermittent high-voltage spikes
  4. A damaged reluctor ring or tone wheel that produces an irregular signal the ECM interprets as high speed
  5. Water intrusion into the sensor connector or wiring harness, leading to corrosion and voltage leakage
  6. A failing ECM driver circuit that misreads or corrupts the speed signal
  7. Aftermarket electrical accessories improperly tapped into the speed sensor circuit, introducing voltage interference

How to diagnose and fix it

  1. Use a scan tool to read live vehicle speed data and compare it with the speedometer and a GPS reference to confirm the fault is real and not a stored ghost code
  2. Visually inspect the vehicle speed sensor, its connector, and the wiring harness for chafing, corrosion, or signs of water intrusion, repairing any damage found
  3. Disconnect the sensor and measure the signal wire voltage with the key on; a reading near battery voltage indicates a short to power that must be traced and repaired
  4. Check the sensor's ground circuit for excessive resistance and clean or tighten the ground connection as needed
  5. Test the vehicle speed sensor with a multimeter or oscilloscope for a clean square wave or alternating current (AC) signal while spinning the wheels or driving, replacing the sensor if the output is erratic or absent
  6. Inspect the reluctor ring or tone wheel for cracks, missing teeth, or debris that could distort the signal, cleaning or replacing it if necessary
  7. If all wiring and components test good, perform a continuity and resistance check on the signal wire back to the ECM, and substitute a known-good ECM only after ruling out every other possibility

Speed sensor codes that fool good technicians

  • A P1540 can be set by a momentary voltage spike from a failing alternator or a poor battery connection, so always check charging system voltage and battery terminals before condemning the sensor.
  • On many Volkswagen models, the vehicle speed signal is shared with the ABS module, radio, and navigation system, so a fault in any of those components can back-feed voltage onto the signal wire and trigger P1540.
  • A dirty or damaged reluctor ring on the axle or transmission output shaft can produce a high-frequency signal that the ECM interprets as excessive speed, even though the sensor itself is fine.
  • Aftermarket stereos, alarms, or phone chargers wired into the speed sensor circuit are a common cause of high-voltage interference that sets P1540 intermittently.
  • The code description 'high input' does not always mean the sensor is bad; it often points to a wiring short to power that only occurs when the harness flexes over bumps or during engine torque load.

Can I keep driving with P1540?

You can usually drive the vehicle short distances to a repair shop, but avoid sustained highway speeds and be prepared for erratic shifting or loss of cruise control; if the speedometer is jumping wildly or the transmission is behaving unpredictably, stop driving and have the vehicle towed to prevent damage.

Guidance is general and written for Volkswagen vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.

Running on fumes Free guides aren't free to make. Top up the tank. Any amount, one time. Fuel the Garage