Page 4177 of 5135

−
DIAGNOSTICS SFI SYSTEM (2AZ−FSE)
05 −1 89
AVENSIS Supplement (RM 1045E)
DTC P0505 IDLE AIR CONTROL SYSTEM
CIRCUIT DESCRIPTION
The idle speed is controlled by the Electric Throttle Control System (ETCS).
ETCS is composed of the throttle motor which operates the throttle valve, the throttle position sensor which
detects the opening angle of the throttle valve, the accelerator pedal position sensor which detects the accel-
erator pedal position,and the one valve type throttle body.
The ECM controls the throttle motor to make the throttle valve opening angle properly for the target idle
speed.
DTC No.DTC Detection ConditionTrouble Area
P0505Idle speed continues to vary greatly from target speed
(2 trip detection logic)S Electric throttle control system
S Air induction system
S PCV hose connection
INSPECTION PROCEDURE
HINT:
Read freeze frame data using the hand−held tester . Freeze frame data records the engine conditions when
a malfunction is detected. When troubleshooting, freeze frame data can help determine if the vehicle was
running or stopped, if the engine was warmed up or not, if the air −fuel ratio was lean or rich, and other data
from the time the malfunction occurred.
1 CHECK OTHER DTC OUTPUT(IN ADDITION TO DTC P0505)
(a) Connect the hand −held tester to the DLC3.
(b) Turn the ignition switch to ON and turn the hand −held tester ON.
(c) Select the item: DIAGNOSIS / OBD/MOBD / DTC INFO / CURRENT CODES.
(d) Read the DTCs using the hand −held tester.
Result:
Display (DTC output)Proceed to
P0505A
P0505 and other DTCsB
HINT:
If any other codes besides P0505 are output, perform troubleshoot for those DTCs first.
B GO TO RELEVANT DTC CHART(See page 05 −31)
A
2 CHECK CONNECTION OF PCV HOSE
NG REPAIR OR REPLACE PCV HOSE
OK
05HIN −01
Page 4178 of 5135
05−1 90
−
DIAGNOSTICS SFI SYSTEM (2AZ−FSE)
AVENSIS Supplement (RM 1045E)
3 CHECK AIR INDUCTION SYSTEM
(a) Check for vacuum leaks in the air induction system.
NG REPAIR OR REPLACE AIR INDUCTION SYSTEM
OK
CHECK ELECTRIC THROTTLE CONTROL SYSTEM (See page 10−1 )
Page 4179 of 5135
− DIAGNOSTICSSFI SYSTEM (2AZ−FSE)
05−185
AVENSIS Supplement (RM1045E)
DTC P0504 BRAKE SWITCH ”A”/”B” CORRELATION
CIRCUIT DESCRIPTION
In addition to turning on the stop lamps, the stop lamp switch signals are used for a variety of engine, trans-
mission, and suspension functions as well as being an input for diagnostic checks. It is important that the
switch operates properly, therefore this switch is designed with two complementary signal output: STP and
ST1−. The ECM analyzes these signal output to detect malfunctions in the stop lamp switch.
HINT:
Normal condition is as shown in the table.
SignalBrake pedal releasedIn transitionBrake pedal depressed
STPOFFONON
ST1−ONONOFF
DTC No.DTC Detection ConditionTrouble Area
P0504
Condition (a), (b) and (c) continue for 0.5 second or more:
(a) Ignition switch ON
(b) Brake pedal released
(c) STP signal is OFF when the ST1−signal is OFFSShort in stop lamp switch signal circuit
SStop lamp switch
SECM
05CJ5−02
Page 4180 of 5135

A76867
Battery 4A
ALTS13
Stop Lamp
Switch G−W
19
E10
FL MAIN 1AM2
1
2 (LHD)4
IGN1
DM
STP
Driver
Side J/B
1
1
2
B−G 1A
B−GB−W4
3
IE3 Engine Room
J/B No. 4
Driver
Side J/B 4B 14D 1 B−G 1
2
1
B−G
B−W To Stop Lamp
6
I13
Ignition SW
1IE4
(RHD)
1IP1
B−R B−RB−R
2 DH
18 DA Engine
Room
R/B No.1
AM2 IG2
STOP22 DA
1 DN 11
R−W
(LHD) R−W
(LHD)
IR1 2
R−W
(RHD) R−W
(RHD)
IR1 3
B−W
(RHD) B−W
(RHD)
IE1 20
B−W
(LHD)B−W
(LHD)
(LHD) J9 C
(RHD) J27 E
J/C
(LHD) J8 C
(RHD) J26 AECM
12
E10ST1− 2
DA10
DCDriver
Side J/B
IE3 6
G−W
(LHD) G−W
(LHD)
IR1 1
G−W
(RHD) G−W
(RHD)
IR1 4
G−W
(RHD)G−W
(RHD)
IE2 14
G−W
(LHD) G−W
(LHD)G−W
Engine
Room
J/B No.1 05−186
− DIAGNOSTICSSFI SYSTEM (2AZ−FSE)
AVENSIS Supplement (RM1045E)
WIRING DIAGRAM
INSPECTION PROCEDURE
HINT:
Read freeze frame data usingthe hand−held tester. Freeze frame data records the engine conditions when
a malfunction is detected. When troubleshooting, freeze frame data can help determine if the vehicle was
running or stopped, if the engine was warmed up or not, if the air−fuel ratio was lean or rich, and other data
from the time the malfunction occurred.
Page 4181 of 5135

A81707
ON (Free) OFF (Pushed in)
43
2
1
A72880
Brake Pedal
Depressed Brake Pedal
Released
ST 1− (+)
E 11
E1 (− )
E10
ECM Connector
−
DIAGNOSTICS SFI SYSTEM (2AZ−FSE)
05 −1 87
AVENSIS Supplement (RM 1045E)
1 CHECK OPERATION OF STOP LAMP
(a) Check if the stop lamps go on and off normally when the brake pedal is depressed and released.
NG REPAIR OR REPLACE STOP LAMP SWITCHCIRCUIT
OK
2 INSPECT STOP LAMP SWITCH ASSY
(a) Check for continuity between each pair of the terminals when the switch is ON and OFF.
Standard:
Switch PositionTester ConnectionSpecified Condition
Switch pin free1−2Continuity
Switch pin free3− 4No continuity
Switch pin pushed in1− 2No Continuity
Switch pin pushed in3− 4Continuity
NG REPLACE STOP LAMP SWITCH ASSY
OK
3 READ VALUE OF HAND −HELD TESTER(STP SIGNAL AND ST 1− VOLTAGE)
(a) Turn the ignition switch to ON.
(b) On the hand −held tester, select the item: DIAGNOSIS /
OBD/MOBD / DATA LIST / ALL / STOP LIGHT SW. Read
the values.
Standard:
Brake PedalSpecified Condition
DepressedSTP Signal ON
ReleasedSTP Signal OFF
(c) Measure the voltage between the terminals of the E 10
and E 11 ECM connectors.
Standard:
Tester ConnectionBrake PedalSpecified Condition
ST 1− (E10−1 2)
− E1 (E 11−1 )DepressedBelow 1.5 V
ST 1− (E10−1 2)
− E1 (E 11−1 )Released7.5 to 14V
NG Go to step 4
OK
CHECK FOR INTERMITTENT PROBLEMS (See Page 05 −7)
Page 4182 of 5135
A56986
Wire Harness Side:
Stop Lamp Switch Connector
S13
Front View
A67404
STP E10
ECM Connector ST1−
05−188
− DIAGNOSTICSSFI SYSTEM (2AZ−FSE)
AVENSIS Supplement (RM1045E)
4 CHECK HARNESS AND CONNECTOR(ECM−STOP LAMP SWITCH)
(a) Disconnect the S13 stop lamp switch connector.
(b) Disconnect the E10 ECM connector.
(c) Check the resistance between the wire harness side con-
nectors.
Standard (Check for open):
Tester ConnectionSpecified Condition
Stop lamp switch (S13−1)−STP (E10−19)Below1
Stop lamp switch (S13−4)−ST1−(E10−12)Below1
Standard (Check for short):
Tester ConnectionSpecified Condition
Stop lamp switch (S13−1) or STP (E10−19)−Body ground10kor higher
Stop lamp switch (S13−4) or ST1−(E10−12)−Body ground10kor higher
(d) Reconnect the stop lamp switch connector.
(e) Reconnect the ECM connector.
NG REPAIR OR REPLACE HARNESS OR
CONNECTOR
OK
REPLACE ECM (See page10−65 of Pub. No. RM1018E AVENSIS)
Page 4183 of 5135

A81703
From
Speed SensorSkid
Control
ECU4−Pulse
Combination
MeterECM 4−Pulse
A76866
Combination MeterECM
C11V−W
SPD 17
V−W
E10 J/C
18 H
J10
(LHD)J20H
(RHD)H
J10
(LHD)J20H
(RHD)
− DIAGNOSTICSSFI SYSTEM (2AZ−FSE)
05−183
AVENSIS Supplement (RM1045E)
DTC P0500 VEHICLE SPEED SENSOR ”A”
DTC P0503 VEHICLE SPEED SENSOR ”A”
INTERMITTENT/ERRATIC/HIGH
CIRCUIT DESCRIPTION
The speed sensor detects the wheel speed and sends the appropriate signals to the skid control ECU. The
skid control ECU converts these wheel speed signals into a 4−pulse signal and outputs it to the ECM via
the combination meter. The ECM determines the vehicle speed based on the frequency of these pulse sig-
nals.
DTC No.DTC Detection ConditionTrouble Area
P0500
P0503No vehicle speed sensor signal to ECM under the following
condition (1 trip detection logic):
(a) Vehicle is being driven
SCombination meter
SOpen or short in vehicle speed sensor circuit
SVehicle speed sensor
SECM
SSkid control ECU
SClutch or brake slips or gear is broken
WIRING DIAGRAM
05CJ6−02
Page 4184 of 5135

A59661
E1 (−)
SPD (+)
ECM ConnectorE11
E10
A81704
4.5 to
5.5V
0V
Turn Wheel
05−184
− DIAGNOSTICSSFI SYSTEM (2AZ−FSE)
AVENSIS Supplement (RM1045E)
INSPECTION PROCEDURE
HINT:
Read freeze frame data usingthe hand−held tester. Freeze frame data records the engine conditions when
a malfunction is detected. When troubleshooting, freeze frame data can help determine if the vehicle was
running or stopped, if the engine was warmed up or not, if the air−fuel ratio was lean or rich, and other data
from the time the malfunction occurred.
1CHECK OPERATION OF SPEEDOMETER
(a) Drive the vehicle and check if the operation of the speedometer in the combination meter is normal.
HINT:
The vehicle speed sensor is operating normally if the speedometer display is normal.
NG CHECK SPEEDOMETER CIRCUIT (See page
05−1510 of Pub. No. RM1018E AVENSIS)
OK
2 INSPECT ECM(SPD VOLTAGE)
(a) Shift the lever to the neutral position.
(b) Jack up the vehicle.
(c) Turn the ignition switch to ON.
(d) Check the voltage between the specified terminals of the
E10 and E11 ECM connectors as the wheel is turned
slowly.
Standard:
Tester ConnectionSpecified Condition
SPD (E10−17)−E1 (E11−1)Generated intermittently
HINT:
The output voltage should fluctuate up and down similarly to the
diagram on the left as the wheel is turned slowly.
NG REPAIR OR REPLACE HARNESS OR
CONNECTOR
OK
REPLACE ECM (See page10−65 of Pub. No. RM1018E AVENSIS)