LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Toyota >> 2004 >> Matrix Base, 4WD >> Repair and Diagnosis >> External Pages >> Different car >> Section 18 (Engine Control System Self-Diagnostics) >> Diagnostic Tests >> DTC P0340: Camshaft Position Sensor Circuit >> Diagnosis & Repair
April 5, 2026: LEMON Manuals is launched! Read the announcement.

Diagnosis & Repair

WARNING: This page is about a different car, the 2002 Toyota Prius. However, it is still accessible from the selected car via links, so may be relevant.
  1. Disconnect electrical connector at camshaft position sensor. Camshaft position sensor is located on end of cylinder head at flywheel end of engine and contains a Black 2-pin electrical connector with Green and Red wires.
  2. Using ohmmeter, check resistance between electrical terminals on camshaft position sensor. Resistance should be 1630-2740 ohms with sensor temperature of 14-122°F (-10-50°C) and 2065-3225 ohms with sensor temperature of 122-212°F (50-100°C). If resistance is within specification, go to next step. If resistance is not within specification, replace camshaft position sensor. Manufacturer states that converter and inverter assembly must be removed for servicing of camshaft position sensor. The converter and inverter assembly are involved with the high-voltage system used on this vehicle and service procedure should only be performed by authorized dealer.
  3. Check for open and short in wiring harness and electrical connectors between camshaft position sensor and ECM. See WIRING DIAGRAMS article. ECM is located behind glove box. See Figure. If wiring harness and electrical connectors are okay, go to next step. If wiring harness or electrical connector is defective, repair as necessary.
  4. Camshaft position sensor should be removed so the sensor and tooth on signal plate on outer circumference of intake camshaft may be inspected. Manufacturer states that converter and inverter assembly must be removed for servicing of camshaft position sensor. The converter and inverter assembly are involved with the high-voltage system used on this vehicle and service procedure should only be performed by authorized dealer. Inspect camshaft position sensor and tooth on signal plate for damage. If camshaft position sensor or signal plate is damaged, replace components as necessary. If camshaft position sensor and signal plate are okay, replace ECM.