Camshaft position sensor (DPRV, aka phase sensor) on Nissan Almera Classic (N16) is a critical element of the engine control system. Its malfunction leads to engine malfunctions, increased fuel consumption and even the inability to start the car. Unlike the crankshaft sensor, which is responsible for ignition timing, the DPRV controls valve timing, ensuring optimal valve operation.

In this article you will find unique data on diagnosing and replacing the sensor on Almera Classic with QG15DE/QG16DE/QG18DE engines, including error codes (P0340, P0345), malfunction symptoms and step-by-step instructions taking into account the design features. We will also look at what analogues of the original sensor (Nissan 23731-4M500) are best suited, and how to avoid common installation mistakes.

Signs of a malfunctioning camshaft sensor on a Nissan Almera Classic

The first symptoms of a DPRV failure are often confused with problems with the fuel system or ignition. However there is characteristic features, which directly point to the phase sensor:

  • 🔴 Floating speed at idle speed (from 500 to 1500 rpm) with periodic “failures”.
  • 🚗 Jerks during acceleration, especially at speeds of 60–90 km/h, as if the car is “jerking.”
  • Check Engine lights up with errors P0340 (“Camshaft position sensor circuit malfunction”) or P0345 (“Incorrect camshaft sensor “A” signal”).
  • 🛢️ Increased fuel consumption (1–2 liters more than usual) due to incorrect injection.
  • 🔥 Difficult start engine "hot" (after stopping the engine starts only after 2-3 attempts).

On Almera Classic with engine QG16DE a faulty DPRV may also manifest itself loss of power when overtaking or climbing. Important: if the sensor fails completely, the ECU goes into emergency mode, using data only from the crankshaft sensor - this leads to a noticeable “dullness” of the car and an increase in gasoline consumption.

⚠️ Attention: On models produced before 2006, the camshaft sensor may fail due to oxidation of the contacts in the connector. Before replacing, check the integrity of the wiring and clean the contacts special liquid for electronics (For example, CRC Contact Cleaner).
📊 What symptom of DPRV malfunction have you encountered?
  • Floating speed
  • Jerks during acceleration
  • Check Engine with P0340/P0345
  • Difficulty starting the engine
  • Other symptom

Diagnostics of the camshaft sensor: how to confirm a breakdown

Before changing the DPRV, you need to make sure that it is the problem. On Nissan Almera Classic diagnostics can be carried out three ways:

  1. OBD-II scanner (For example, ELM327 or Launch CReader). Connect the device to the connector under the steering wheel and check for errors P0340 or P0345. If errors appear periodically, the sensor “dies”.
  2. Multimeter. Measure the resistance between the sensor contacts (standard for Almera Classic: 550–750 Ohm at +20°C). A deviation of more than 10% indicates a malfunction.
  3. Visual inspection. Remove the sensor and check for cracks, corrosion, or magnetic chips on the end (this indicates camshaft wear).

To check with a multimeter:

  1. Disconnect the sensor connector (located on the cylinder head, next to the first cylinder).
  2. Set the multimeter to resistance measurement mode (2000 ohms).
  3. Connect the probes to the sensor contacts (polarity is not important).
  4. Compare the readings with the reference ones (see table below).
Temperature, °C DPRV resistance, Ohm Sensor status
+20 550–750 Norm
+80 700–900 Normal (heated)
Any <500 or >1000 Defective
Any Break (∞) Needs replacement

If the resistance is normal, but errors P0340/P0345 keep appearing, check:

  • 🔌 Wiring integrity from the sensor to the ECU (breaks, short to ground).
  • 🧲 Gap between sensor and camshaft (must be 0.5–1.5 mm).
  • 🔧 Condition of the toothed disc on the camshaft (teeth wear or damage).
💡

On Almera Classic with a mileage of more than 150 thousand km, the camshaft sensor often fails due to magnetic chips, which accumulates at its end. Before installing a new sensor, clean the mounting area from metal particles using a magnet.

Selecting a camshaft sensor for Nissan Almera Classic

Original sensor for Almera Classic (N16) has article number Nissan 23731-4M500 (or 23731-4M50A for some modifications). Its average price is 2500–3500 rubles. However, there are high-quality analogues on the market that are cheaper:

Manufacturer Article Price, rub. Notes
Bosch 0 261 210 115 1800–2200 The best analogue, fits without modifications
Denso 5503180 2000–2400 High quality, original supplier for Nissan
ERA 550433 1200–1500 Budget option, possible fakes
Blue Print ADG02403 1600–1900 Good price/quality ratio

When choosing, pay attention to:

  • 🔍 Engine compatibility. Sensors for QG15DE And QG18DE may differ in length or connector.
  • 📦 Complete set. There should be a new O-ring in the box (if not, buy it separately, item no. Nissan 13270-4M000).
  • 🛡️ Anti-counterfeit protection. Original sensors Bosch And Denso have holograms and laser markings.
⚠️ Attention: Do not buy sensors without markings or with inscriptions such as “Made in China” without a brand logo. Counterfeits often fail after 1–2 thousand km, and their resistance may not meet standards (for example, 400 Ohms instead of 600).
How to distinguish an original Bosch sensor from a fake?

Original Bosch 0 261 210 115 has:

1. Clear laser markings on the body (not paint!).

2. Plastic connector with a gray latch (for fakes it is black or fragile).

3. A metal core with a magnet that is not attracted to a regular magnet (for fakes it is attracted).

4. Packaging with a hologram and barcode, which can be checked on the Bosch website.

Preparing for replacement: tools and safety precautions

To replace the camshaft sensor with Nissan Almera Classic you will need:

10mm socket wrench (to remove air duct bracket)|Phillips screwdriver (to remove connector)|Multimeter (to test new sensor)|New camshaft sensor with o-ring|Rag and carburetor cleaner (to clean seat)|Dielectric grease (e.g. Liqui Moly Electronic-Spray)-->

Also prepare the car:

  1. Place the machine on flat surface and lock the handbrake.
  2. Disable negative battery terminal (this will clear errors in the ECU and prevent a short circuit).
  3. Allow the engine to cool (working on a hot engine is dangerous due to the risk of burns).

Features for Almera Classic:

  • 🔧 On engines QG16DE/QG18DE sensor is located right (in the direction of travel) on the cylinder head, next to the first cylinder.
  • 🔩 To access the sensor, you must remove inlet pipe (unscrew 2 10mm bolts).
  • 🔌 The sensor connector is fixed plastic latch — do not pull the wires so as not to damage the contacts!
⚠️ Attention: If you recently changed the timing belt or camshaft, check the alignment of the marks on the pulleys. Incorrect installation of the belt may result in sensor damage due to runout of the toothed disc.

Step-by-step instructions for replacing the camshaft sensor

Follow the algorithm to avoid mistakes:

  1. Removing the old sensor:
    1. Disconnect the sensor connector by pressing the latch.
    2. Using a 10 mm wrench, unscrew the sensor mounting bolt (do not lose the washer!).
    3. Carefully remove the sensor by rocking it from side to side (do not use force to avoid breaking the housing).
  2. Preparing the seat:
    1. Clean the hole from oil and dirt using carburetor cleaner.
    2. Check the O-ring on the new sensor (if it is missing, install it separately).
    3. Apply a thin layer dielectric grease to the connector contacts.
  3. Installing a new sensor:
    1. Insert the sensor into the hole until it stops (it should fit tightly, without distortion).
    2. Tighten the fastening bolt firmly 8–10 Nm (do not overtighten!).
    3. Connect the connector until the latch clicks.
  4. Check:
    1. Connect the battery and start the engine.
    2. Check for errors using a scanner or reset them manually (by disconnecting the battery for 10 minutes).
    3. Make sure the speed is stable (800-900 rpm at idle).

On Almera Classic with engine QG15DE The sensor may be tighter due to corrosion - in this case, use WD-40 to make removal easier. If after replacement there is an error P0340 left, check:

  • 🔌 Connection polarity (there are usually “+” and “–” marks on the sensor connector).
  • 🔧 Gap between sensor and camshaft (should be no more than 1.5 mm).
  • 📶 Condition of the wire shielding (if damaged, replace the harness).

1. Disconnect the battery for 10-15 minutes.

2. Start the engine and let it idle for 5 minutes.

3. Drive 5–10 km with smooth acceleration (this will help the ECU “learn” the new sensor).-->

Typical replacement mistakes and how to avoid them

Even experienced car owners make mistakes that lead to repeated sensor failure or new problems. Let's look at the most common ones:

  • 🔧 Tightening the fastening bolt. This deforms the sensor body and leads to incorrect readings. Tightening torque - 8–10 Nm!
  • 🧲 Ignoring magnetic chips. If the seat is not cleaned, metal particles will quickly damage the new sensor.
  • 🔌 Connector damage. When disconnecting, do not pull on the wires - only on the plastic housing!
  • 🛢️ Using sealant instead of an O-ring. Sealant can get inside the sensor and damage it.
  • 🔄 Failure to reset ECU adaptations. After replacing the sensor, you need to give the ECU time to “learn” (see widget above).

Another common problem is purchasing an incompatible sensor. For example, a sensor from Nissan Primera P12 (article 23731-AL500) is similar in appearance, but has a different resistance (400–600 Ohms) and is not suitable for Almera Classic. Always check the catalogs:

Model Nissan Sensor part number Compatible with Almera Classic
Almera Classic (N16) 23731-4M500 Suitable
Primera P12 23731-AL500 Doesn't fit!
Sentra B15 23731-5M000 Suitable (analogue)
X-Trail T30 23731-4M50A Suitable (original)
⚠️ Attention: If after replacing the sensor the engine begins to run worse (for example, “dips” appear during acceleration), check valve timing. It is possible that the timing marks were lost when removing the sensor - this requires separate diagnostics!

What to do if the replacement did not help?

If after installing a new sensor an error P0340 or P0345 remains, the problem may lie elsewhere. Let's look at the possible reasons:

  • 🔌 Wiring problems:
    • Broken or shorted wire from the sensor to the ECU (check with a multimeter in “continuity” mode).
    • Oxidation of contacts in the ECU connector (located under the glove compartment).
  • 🛠️ Mechanical problems:
    • Wear or damage toothed disc on the camshaft (check visually).
    • Camshaft play (leads to unstable sensor signal).
  • 💻 Problems with the ECU:
    • Control unit firmware failure (re-flashing required).
    • Malfunction of the ECU itself (checked by replacing it with a known good one).

To diagnose wiring:

  1. Disconnect the ECU connector (located under the dashboard on the passenger side).
  2. Ring the wires from the sensor to the ECU:
    • Track “A” of the sensor → track “25” of the ECU.
    • Track “B” of the sensor → track “47” of the ECU.
  • The resistance should be close to 0 ohm (break) or (short to ground).
  • If the problem is with the ECU, try resetting it:

    1. Disconnect the battery for 30 minutes.
    2. Press the brake pedal for 20 seconds (this will discharge the capacitors in the unit).
    3. Connect the battery and start the engine (the errors should clear).
    How to check the camshaft timing disc?

    1. Remove the timing cover.

    2. Rotate the crankshaft until the marks align.

    3. Inspect the disc on the camshaft: the teeth should be intact and not chipped.

    4. If the teeth are worn out or missing, the disc must be replaced (part number for QG16DE: Nissan 13070-4M000).

    FAQ: Frequently asked questions about replacing the camshaft sensor

    Is it possible to drive with a faulty camshaft sensor?

    Technically possible, but not recommended. The ECU goes into emergency mode using data only from the crankshaft sensor. This leads to:

    • Increased fuel consumption (up to +2 l/100 km).
    • Loss of power (especially noticeable when overtaking).
    • Jerking during acceleration.
    • Increased catalyst wear due to incorrect fuel mixture.

    On Almera Classic with a mileage of more than 200 thousand km, long-term driving with a faulty air pressure control valve can lead to engine overheating due to incorrect valve timing.

    How much does it cost to replace a camshaft sensor at a service center?

    Cost of work in car services in Moscow and the regions (for 2026):

    • Official Nissan dealer: 1500–2500 rubles (plus diagnostics 1000–1500 rubles).
    • Unofficial service: 800–1500 rubles.
    • Mobile master: 1000–1800 rubles (with departure).

    Self-replacement takes 30–60 minutes and allows you to save up to 2000 rubles.

    Which camshaft sensor is better to choose: original or analogue?

    Depends on budget and goals:

    • Original (Nissan 23731-4M500):
      • Pros: 100% compatibility, long service life (100+ thousand km).
      • Cons: high price (2500–3500 rubles).
    • Bosch/Denso:
      • Pros: the quality is not inferior to the original, the price is 20–30% lower.
      • Cons: possible fakes.
    • Budget analogues (ERA, Blue Print):
      • Pros: price from 1200 rubles.
      • Cons: resource 30–50 thousand km, possible problems with calibration.

    For Almera Classic with a mileage of more than 150 thousand km we recommend Bosch 0 261 210 115 — optimal price/quality ratio.

    Do I need to reset errors after replacing the sensor?

    Yes, definitely! Even if Check Engine went out on its own, “ghost” errors may remain in the ECU memory, which will affect engine operation. You can reset errors:

    • Via OBD-II scanner (“Clear DTC” command).
    • Disabling battery for 10–15 minutes.
    • Removing the fuse ECU-IG (10A) in the fuse box for 30 seconds.

    After resetting, let the engine idle for 5 minutes - this will allow the ECU to “retrain” for the new sensor.

    Is it possible to clean the camshaft sensor instead of replacing it?

    Cleaning is possible, but not always effective. If the sensor is contaminated with magnetic chips or oil:

    1. Remove the sensor and clean its end part lint-free cloth, soaked in carburetor cleaner.
    2. Blow out the connector with compressed air.
    3. Check the resistance with a multimeter.

    If the resistance is normal, the sensor can be reinstalled. However, if the cause of the malfunction is wear of internal elements (for example, windings), cleaning will not help. In 70% of cases after cleaning the error P0340 returns in 1–2 weeks.