Skip the auto shop - Our mechanics make house calls

Q: i have a check engine light on

asked by on

i took my car to get the check engine checked and they gave me codes p0012 and p0171. i took my car to my mechanic because i recently got my engine fixed and i took it to fix the air leak. but now idk about the camshaft if i need to replace it or something else

My car has 121000 miles.
My car has an automatic transmission.

A: Hello there, thank you for asking about you...

Hello there, thank you for asking about your 2004 Toyota Camry. Code P0012 relates to the camshaft position sensor which monitors the speed of the camshaft and relays this information to your car’s computer, which helps to control ignition timing and fuel injection pulse. Code P0171 relates to a lean air/fuel mixture which can be caused by a number of things such as:

  • Intake air leaks
  • Faulty front heated oxygen sensor
  • Ignition misfiring
  • Faulty fuel injectors
  • Exhaust gas leaks
  • Incorrect fuel pressure
  • Lack of fuel
  • Faulty Mass Air Flow (MAF) sensor
  • Incorrect Positive Crankcase Ventilation (PCV) hose connection

I would recommend having an expert from YourMechanic come to your home to diagnose your codes](https://www.yourmechanic.com/services/check-engine-light-is-on-inspection) and replace the camshaft position sensor if needed.

Was this answer helpful?

Need advice from certified mechanic? Get help now!

Over 1000 mechanics are ready to answer your question.
The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Ask a Mechanic
(100% Free)

Have a car question? Get free advice from our top-rated mechanics.

Ask A Mechanic
Over 10,000 questions answered!

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

Get a quote

What others are asking

Q: Brake pedal fades

You still have air in the system and it gets trapped inside the brake lines and ABS system. You will need to have the ABS system accessed and use the scanner to put the system into bleed function. When it...

Q: Multiple cylinder misfire detected. Changed the distributor, fuel pressure regulator, injectors and the coil.

Hi there. Check the spark plugs in the engine and see if they have a bold spark. If the spark plugs and wires are old, they can cause the electrical current to flow slower than normal to the cylinder causing...

Q: Rattling sound in 2004 F-150 Lariat when starting the engine on cold weather

Unfortunately for you, that is almost always a testing slap. It means that the bearings are worn and that the pistons around are slapping back and forth. If it makes that much noise, have a mechanic listen to and diagnose...

Related articles

How Long Does a Heater Control Valve Last?
Keeping the right amount of coolant in a car is essential in keeping the engine at the right temperature. Failing to have the right amount of coolant or even bad elements...
How to Avoid Back Pain in a Car
If you have back problems, sitting in a car for an extended period of time can be excruciating. Even without back problems, you could experience discomfort and soreness from...
What are the Car Pool Rules in Hawaii?
Hawaii is widely regarded as a land of vacation and relaxation, and as such, its scenic roads and routes are far better known than the state’s freeways. But, as with all...