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.

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!
  1. Home
  2. Questions
  3. i have a check engine light on

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: Should I try to salvage my car that has a knocking noise do to insufficient supply of oil or do I just buy a new car?

Hello, thank you for writing in. With the issues you are having, the problem may be more serious then the car is worth. You will want to consider all of the potential costs to have it fixed. This may require...

Q: The codes p0012 and p0015 was shown on the scanner when I had my car checked.

Hi there. The codes P0012 and P0015 are related to the camshaft position sensor. Check the sensor out and make sure that its plugged in. Also, check for power to the sensor. The camshaft sensor keeps the ignition correct at...

Q: I can hear a knocking sound coming from my front left wheel when brakeing at above 40 mph.

In may cases the knocking sound coming from the wheel area is caused by one of two issues; a warped brake rotor or the wheel bearings that are beginning to wear out. Vehicles made after the late 1990's (like your...

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...
P2428 OBD-II Trouble Code: Exhaust Gas Temperature Too High Bank 1
P2428 code definition A P2428 trouble code signifies that the PCM has detected a problem in the exhaust gas temperature sensor circuit in bank 1, which subsequently contains the number one...
How Much Does a Mechanic Make in Vermont?
Automotive technician jobs in Vermont have an average mechanic salary of $37k, with some mechanics earning a salary of $53k.