Codes P0340 and P0171 Crankshaft problem

Tiny
JUANM2284
  • MEMBER
  • 2002 AUDI A4
  • 1.8L
  • 4 CYL
  • 4WD
  • MANUAL
  • 89,200 MILES
Hello, I put a scanner from a friend to Audi and gave me two codes, one of them was P0340 and P0171.
The P0340 says that the Crankshaft is bad and needs to be changed, the P0171 code says it has to do with Oxigne's sensors.
Buy the Crankshaft brand Bosch and replace it, then delete the check engine light and the next day the check engine light came on again and assumed it was some oxygen sensor.
I bought a FIXD Scan which I would be sure would give me the code p0171 and my surprise was the following. It tells me that there is a code p0340 from the crankshaft that this is the problem and it tells me that the oxygen sensors went well, wow! ! I'm a bit confused and I don't know what to do, delete the check engine light and I'll wait to see what happens.
I would greatly appreciate any guidance.
Thank you have good day!
Wednesday, May 27th, 2020 AT 11:58 AM

5 Replies

Tiny
KASEKENNY
  • MECHANIC
  • 18,907 POSTS
The P0340 code is for the Cam sensor not the crank sensor. I attached the diagram that we need to perform in order to find the issue with this code. It could be the sensor or the wiring so we need to perform each step and see where it leads.

The P0171 is saying that the system is running lean. This is most likely as a result of the cam sensor code.

Run through this info and let me know what you find or if you have questions. Thanks
Was this
answer
helpful?
Yes
No
Wednesday, May 27th, 2020 AT 7:02 PM
Tiny
JUANM2284
  • MEMBER
  • 5 POSTS
Hello, croe I did not make myself understood well, the problem I have with the check engine on is that I get an error code P0340 this is the camshaft sensor. Buy a new brand Bosch install it, delete the codes and I keep getting this code.
Do you think this Camshaft Bosch has been defective? Or soon is the harness (cable or connector)? Or would it be good to try another camshaft?
Thanks for all your help and have a nice day!
Was this
answer
helpful?
Yes
No
Monday, June 1st, 2020 AT 8:50 AM
Tiny
KASEKENNY
  • MECHANIC
  • 18,907 POSTS
It is unlikely that the sensor is the issue if you replaced it and got the same code right back. I would run through the testing that I attached previously to find out where the issue is. More then likely you have a wiring issue.

Run through that and let me know what questions you have. Thanks
Was this
answer
helpful?
Yes
No
Monday, June 1st, 2020 AT 7:27 PM
Tiny
JUANM2284
  • MEMBER
  • 5 POSTS
Hello, today I disconnected the plug that goes to the camshaft sensor and I did a check with the engine running and it gave me a voltage of 4.99 volts on pins 1 and 3, is this correct? I would greatly appreciate your guidance in getting to the problem. Have a nice weekend.
Was this
answer
helpful?
Yes
No
Saturday, June 6th, 2020 AT 10:44 AM
Tiny
KASEKENNY
  • MECHANIC
  • 18,907 POSTS
Are you still getting P0340? If so we need to just follow the testing that I attached for that code. If you unplugged the sensor and have almost 5 volts on these two wires then that is correct.

Basically those are your supply voltage and return voltage. The other wire is the signal wire that will vary its voltage depending on the signal from the cam sensor. This is the wire that the PCM knows the position of the cam shaft.

Again, let's start working through the testing step by step and tell me what you are having issues with and we can work through it. Unfortunately I cannot help determine the issue without this info so we need to run through it and see what comes back for each step.

Let me know what questions you have about it. Thanks
Was this
answer
helpful?
Yes
No
Sunday, June 7th, 2020 AT 3:07 PM

Please login or register to post a reply.

Sponsored links