Codes P0340 and P0344, can I get a diagram of the camshaft position sensor?

2006 FORD F-150
220,000 MILES • 5.4L • V8 • 2WD • AUTOMATIC
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
Has code P0340 and P0344. Sensor was replaced and the problem still exists. Thanks
May 22, 2025 at 5:55 PM
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.
Advertisement
Avatar
STEVE W.
  • AUTOMOTIVE REPAIR CONTRIBUTOR
  • 15,146 POSTS
It's a simple circuit. The gray with red wire is the ground side of the sensor; the dark green is the signal to the PCM. As you don't have a code for the other cam sensor, I suspect the issue is the green wire or the PCM itself. I would start at the connector and check pin fitment. Loose or bad contacts are common. The PCM failing is also common.
May 23, 2025 at 12:18 AM
Advertisement
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
Thanks for the reply. I'll get back to you after I check.
May 23, 2025 at 2:57 AM
Avatar
STRAILER
  • AUTOMOTIVE REPAIR CONTRIBUTOR
  • 54,178 POSTS
Sounds good, STEVE W. is one of our best!
May 25, 2025 at 10:31 AM
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
Just curious. Steve is the other wire (I believe green) in pin #44?
Jun 17, 2025 at 5:20 PM
Avatar
STEVE W.
  • AUTOMOTIVE REPAIR CONTRIBUTOR
  • 15,146 POSTS
Dark green should be in #45. Pin 44 is for sensor 2.
Jun 17, 2025 at 5:26 PM
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
Okay, diagram you provided shows gray/red in pin #45.
Jun 17, 2025 at 5:30 PM
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
I want to check resistance/continuity in both wires through the harness to PCM. After that will check voltage in both wires with KOEO.
Jun 17, 2025 at 5:37 PM
Avatar
STEVE W.
  • AUTOMOTIVE REPAIR CONTRIBUTOR
  • 15,146 POSTS
Gray red is the ground for all the sensors and is on pin 1 in each cam sensor. For sensor 1 there is a dark green that goes into pin 45 on the PCM. You would want to look at the continuity from pin45 to pin 2 in the sensor connector. Then to check the ground side go to the other cam sensor and check for continuity between both pin ones in the connectors. The sensors are both simply coils of wire wrapped around a metal core. As the camshaft rotates the reluctor on the end where the sensor is passes the tip of the sensor and generates a small pulse. The PCM sees the pulses and counts them to determine camshaft position. If your meter can read millivolts, you might see the voltage the sensor generates.
Jun 17, 2025 at 9:44 PM
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
Ok thanks! This helps more. Will check and get back to you.
Jun 18, 2025 at 8:36 PM
Avatar
STRAILER
  • AUTOMOTIVE REPAIR CONTRIBUTOR
  • 54,178 POSTS
STEVE W. is one of our best! Please let us know.
Jun 19, 2025 at 9:51 AM
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
So, I used a DVOM to test the wires. On the gry/rd from connector to PCM the wire had continuity, but I couldn't get anything on the green wire connector to PCM. Also, with KOEO there was no battery voltage at the connector. Any thoughts?
Jun 19, 2025 at 4:42 PM
Avatar
STEVE W.
  • AUTOMOTIVE REPAIR CONTRIBUTOR
  • 15,146 POSTS
There won't be voltage there, the sensor generates the voltage itself. If you have no continuity on the dark green from pin 2 on the sensor connector to pin 45 on the ECM, that is the issue. An easy way to be sure is to check pin one in the connector to ground. Then jump pins one and two in the connector and now go to pin 45 and check if it is grounded in that connector. No ground, it's an open wire. It's going to be a pain, but you can open the loom and trace the wire, or much simpler. get a section of new wire and replace the bad one. To see if the issue would let you simply splice into the wire, take your meter and a pin, go about 6 inches from the connector on one end and push the pin into the wire center. Now test, if you have continuity, cut the wire where the pin is and strip it back a bit. Now go to the ECM end and do the same. Now you can add in the new wire between those pieces.
Jun 19, 2025 at 6:17 PM
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
Do you by chance have a numbered Pic of the PCM harness connector #45? The connector isn't numbered. Thanks again.
Jun 19, 2025 at 7:57 PM
Avatar
STEVE W.
  • AUTOMOTIVE REPAIR CONTRIBUTOR
  • 15,146 POSTS
Try this. It's a black 70 pin connector 175E. Pin 44 is an orange wire (cam 2) #45 is dark green (cam 1) 46 is gray (crank 1)
Jun 20, 2025 at 8:26 AM
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
So, I was able to get continuity in all 4 for wires gray/red (ground) and dk grn (sensor 1- problem) and orange sensor 2. Is there a way/ idea to test with KOEO or KOER? Maybe PCM problem? Thanks
Jun 27, 2025 at 4:11 PM
Avatar
STEVE W.
  • AUTOMOTIVE REPAIR CONTRIBUTOR
  • 15,146 POSTS
Okay, if the wires check out, and you had 2 sensors showing faults it leaves only the PCM itself as the likely failed item. There are no other tests involved, unless you have a scope handy. With that you could probe the sensor and run the engine to see if the sensor is putting out the proper signal. Then check for that same signal at the PCM. If it's there, then you know it's the PCM. You might see an AC voltage if your meter is sensitive enough, Put the leads on the sensor terminals of sensor 2 (the one that works) run the engine and see what it shows. Repeat on the bad sensor. Should be the same.
Jun 27, 2025 at 4:50 PM
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
The code was only for sensor#1.
Jun 27, 2025 at 5:34 PM
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
Sensor was replaced with new one also.
Jun 27, 2025 at 5:35 PM
Avatar
STEVE W.
  • AUTOMOTIVE REPAIR CONTRIBUTOR
  • 15,146 POSTS
Yes, but the new one could be bad, but the idea is to test the "good" sensor in position 2 and see if you get any reading of AC volts. Then reconnect it and test number 1. If you see the same reading on one that you saw on 2 then you know the sensor is working and generating a signal. So, say you connect to sensor 2 and see a volt of AC at idle that goes up to 3 volts at 3000 rpm. Now you probe sensor 1 and see the same voltages, now you know that the sensor and reluctor are okay. Now you can also back probe the two wires from the sensor at the PCM, seeing the same voltage at the PCM? Wiring is good and the problem is in the PCM itself.
Jun 28, 2025 at 12:45 AM
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
Ok, how do I test?
Jun 29, 2025 at 9:18 PM
Avatar
DANNYBOY5474
  • MEMBER
  • 35 POSTS
Oh, ok. Are you saying test the harness unplugged at the sensor while at idle and then 3k rpm or test the sensor unplugged?
Jun 29, 2025 at 9:25 PM
Avatar
STEVE W.
  • AUTOMOTIVE REPAIR CONTRIBUTOR
  • 15,146 POSTS
Unplug the sensor and test on the sensor terminals not the harness and see if you get a voltage at both rpms. Now say you get 1 volt on sensor 2, and you get 1 volt on the "bad" sensor 1 as well, you know that the sensor is working.
Jun 30, 2025 at 1:52 PM