Body, generic

B0540 Driver Door Ajar Switch Circuit

Check engine lightUsually off
EmissionsNot relevant
Drive cycleNot required
Limp modeNo

Neither the public J2012 lists nor any accessible maker document define B0540, so the code is unverified. The title concerns the circuit of the switch that signals the driver door is not fully shut. The GM-era Saab 9-3 tracks this input in the body control module as B2976: subtype 02 when the line sits below 2.9 V (short to ground), 05 above 10.2 V (open or short to battery), checked with ignition on or while the alarm is armed, and the driver gets a display message. In Ford's US6133827A each ajar switch is open with the door closed and grounds the input when it opens; a failed switch can keep the courtesy lamp burning. The door-open switch itself is B0510.

Likely causes

Ajar switch in the latch or door frame stuck or corroded
Switch wire chafed to ground in the door hinge passage
Open wire or loose pin at the latch connector
Body control module input faulty

Symptoms

  • Door-open warning shown although the driver door is shut
  • Interior light stays on and may drain the battery
  • Alarm or auto-lock behaves erratically

Repair estimate

DifficultyEasyDIY possible
Parts and labour€40–250
Time0.4–1.5 h

Typical range across vehicles; the real cost depends on what the testing finds.

Parts involved

driver door ajar switchbody control module

Related codes

References: saabwisonline.com, saabwisonline.com, patents.google.com.