Q: Engine stopped running while driving and will not start again.

asked by on October 31, 2016

The engine of my Nissan stopped running on the way to work a couple of days ago. The starter will run and the engine will turn over. But it will not start. All electronics still work in the car and the starter sounds fine. After scanning the computer a P0340 code popped up telling me it was a camshaft position sensor 1. Being a teenager still in high school, need the car fixed soon and I must do it myself. Should I replace the sensor myself or is there something else that is causing the issue
My car has an automatic transmission.

Camshaft Position Sensor Replacement $104.59 - $809.88 Get a Quote
Ignition Coil Replacement $116.03 - $516.36 Get a Quote
Check Engine Light is on Inspection $79.99 - $89.99 Get a Quote

Hey there. As you know, this P0340 code indicates the camshaft position sensor is either faulty or not connected properly. The camshaft position sensor monitors the speed of the camshaft providing the ECU with this information. The ECU uses this information to control the timing of the ignition and fuel. When this sensor is not working properly, this will cause the ignition timing to be wrong, which will ultimately cause the ignition coils not to produce spark. This is what may be causing your no start issue. To verify the repairs that are needed and to avoid replacing unnecessary parts, your best bet is to have a professional diagnose the code in person and follow through with appropriate repairs.

The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing

What others are asking

Can putting a EverStart Marine Battery, Group 24MS - 1000 CA in my van damage it? If so, how?

The battery you installed is a 12 volt battery and although the cranking amps rating of the battery you have applies to a higher temperature (marine environments are typically relatively warm environments) at 1,000 MCA (marine cranking amps), that is...

Oil in my radiator

Good question. Often times when you change your head gasket you are suppose to have your head resurfaced to ensure you didn't damage anything on the head when you pulled it out. Also, if there was oil in the coolant...

Changed battery, now the engine "chugs" at idle and while accelerating

If you disconnected or connected the battery with the key on or any accessory activated then you may have damaged the computer of the car. Firstly, have the Check Engine Light scanned to see what code is stored in memory....

Bumper and quarter panel replacement 2006 Nissan Xterra

Hi - unfortunately, this is not a service YourMechanic offers at this time. This task is best handled by a collision repair estimator at a reputable paint and body shop. S/he is trained to evaluate visible and not-so-visible damage, and...

1991 s10 cranks but no start

Hello, thank you for writing in. You may want to start by making sure your air intake and throttle body are all clean and working well. Then, perform a compression test to make sure the engine itself is not your...

Jerking reaction when accelerating

What you are describing sounds like a dirty or faulty mass air flow sensor. The mass air flow sensor monitors air intake as it is mixed with fuel prior to being injected into the motor. This sensor relays vital information...

Check Engine Light is flashing. My truck only starts after 5 seconds - 2006 Dodge Ram 1500

Hi and thanks for contacting YourMechanic. When the Check Engine Light flashes, it means that there is an intermittent problem making the light flash on and off. When the light flashes, it is best to pull off the road and...

Can dirty filters cause the truck not to get enough power to pick up speed?

Hi and thanks for contacting YourMechanic. Dirty oil can cause problems with the engine, but not in two weeks unless you are driving long distances on the highways. Adding oil will actually aid the oil, so no worries until you...

I put a new computer (PCM) in the car and now it won't start.

Hi there. When you had the computer shipped to you, first thing to ask is if the computer was programmed to your vehicle. If the vehicle was no programmed, you will have to get it programmed at a dealership. If...

Related articles

P2734 OBD-II Trouble Code: Pressure Control Solenoid E Stuck On
P2734 means a transmission solenoid has malfunctioned due to a failing transmission, bad sensor or solenoid, low fluid level or other electrical issue
P0078 OBD-II Trouble Code: Exhaust Valve Control Solenoid Circuit (Bank 1)
P0078 P0078 code definition Exhaust Valve Control Solenoid Circuit (Bank 1) What the P0078 code means P0078 is a generic OBD2 code indicating that the Engine Control Module (ECM) has tried to control the Bank 1 exhaust valve control...
P0762 OBD-II Trouble Code: Shift Solenoid C Stuck On
P0762 code means the car’s computer has detected an unusual operation within shift solenoid C often due too low/dirty fluids or poor wire connections.