Codes P0340 and P0171 Crankshaft problem

2002 AUDI A4
89,200 MILES • 1.8L • 4 CYL • 4WD • MANUAL
Avatar
JUANM2284
  • MEMBER
  • 5 POSTS
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!
May 27, 2020 at 11:58 AM
Advertisement
Avatar
KASEKENNY
  • CERTIFIED EXPERT
  • 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
May 27, 2020 at 7:02 PM
Avatar
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!
Jun 1, 2020 at 8:50 AM
Advertisement
Avatar
KASEKENNY
  • CERTIFIED EXPERT
  • 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
Jun 1, 2020 at 7:27 PM
Avatar
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.
Jun 6, 2020 at 10:44 AM
Avatar
KASEKENNY
  • CERTIFIED EXPERT
  • 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
Jun 7, 2020 at 3:07 PM