I changed my camshaft already and erase the code to turn off my check engine light, but the light still comes on after 30mins.

I changed my camshaft already and erase the code to turn off my check engine light, but the light still comes on after 30mins. Did i do something wrong when i changed my camshaft? Is it causing something else to trigger my engine to come back on? My car is still not turning on after a long drive i have to wait for a good 40mins to turn it back on.

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

Experienced mechanics share their insights in answering this question :
Replacing the camshaft requires nay adjustments to various other components to properly ensure that the timing is set correctly. When this is done there are various sensors that monitor camshaft position and speed to control timing and fuel. When this is not done correctly, this can result in additional check engine codes and cause the car to not start. I would recommend having an expert from YourMechanic come to your home to diagnose the Check Engine Light definitively and make repairs.

How to Identify and Fix Common car Problems ?

Our sources include academic articles, blog posts, and personal essays from experienced mechanics :

You might not have completed the removal and relearning process of the error code. Your car`s ECU might still be coded with the old camshaft position sensor. Your car`s PCM might be faulty. There may be a faulty starter motor causing the issue.
Unfortunately, there`s no way to reset a camshaft position sensor. If you`re having camshaft issues (check engine light on, acceleration trouble, sputtering and stalling, etc.), you`ll have to replace the part entirely.
The Light Stays On

You may think that there is still a problem with the car after the repair, but it`s because the light needs time to reset. The car`s internal computer only resets after a set period where it checks all of its sensors once more. The reset can happen automatically after around 10 to 20 cycles.

Code P0340 indicates there is a problem with the electrical wiring of the circuit attached to the camshaft position sensor. This issue can result in the display of a multitude of other codes that relate directly to your vehicle`s camshaft. In addition, your powertrain control module (PCM) could also be damaged.
The most common failure is the crankshaft position sensor. These fail much more frequently than the cam sensor and will cause a no start. It can also occur if the timing belt broke or jumped a tooth. I would do a compression test also to see if there is low compression.
How to reset the camshaft position sensor? Evidently, you cannot reset a camshaft position sensor. Therefore, you will need to replace the component if your camshaft malfunctions (check engine light on, acceleration issues, sputtering and stalling, etc.).
After you`ve replaced the camshaft sensor, be sure to take your car to a qualified mechanic and ask them to reprogram it using a OBD-II scanner. Doing so will clear any error codes and make sure that the engine computer is getting accurate signals from the new sensor.
Rocker Arms: LC Engineering strongly recommends replacing the rocker arms when a new camshaft is installed. The main reason is that the rocker arm will wear or “burnish” before the camshaft lobe will.
However, failing to clear a code after a repair could leave you second-guessing the issue or doubling your work to recheck the codes. That`s why you should always make clearing codes an essential part of your repair process.
After you`ve replaced the camshaft sensor, be sure to take your car to a qualified mechanic and ask them to reprogram it using a OBD-II scanner. Doing so will clear any error codes and make sure that the engine computer is getting accurate signals from the new sensor.
The main causes may be a damaged timing belt, bad wiring, overheating, crank walks, etc. Some of these also include wear-and-tear, water damage, and oil embedded in the engine, these can also damage the engine`s camshaft since these things will build up over time.

Relevant Questions and Answers :

the most relevant questions and answers related to your specific issue

I changed my camshaft already and erase the code to turn off my check engine light, but the light still comes on after 30mins.
ANSWER : Replacing the camshaft requires nay adjustments to various other components to properly ensure that the timing is set correctly. When this is done there are various sensors that monitor camshaft position and speed to control timing and fuel. When this is not done correctly, this can result in additional check engine codes and cause the car to not start. I would recommend having an expert from YourMechanic come to your home to diagnose the Check Engine Light definitively and make repairs.

check engine light O2 sensor already replaced same codes still popping up after replacing old O2 sensor
ANSWER : Hi there. What you received from the parts store was a code retrieval, not a diagnostic. The codes are set when a fault is detected against normal operating parameter. The computer does not know what caused the fault, only that the fault meets the criteria for this code to set. There could be a problem in the wire harness, converter, or the ECM. The code and data are needed to properly assess the direction that a diagnosis needs. I strongly suggest having a qualified technician perform an inspection to avoid replacing unnecessary parts. Your Mechanic has several available technicians that can assist you with a check engine light inspection.

p0011 code,check engine light one, changed bank 1 vvt solenoid and check engine light still on?
ANSWER : The P0011 code is typically caused by oil issues with the car. I would particularly make sure the engine oil level is not low. The VVT solenoid relies on proper oil levels to do their job. If they don’t have enough oil, they won’t work. You can have a mobile technician from YourMechanic visit your home or office to inspect the Check Engine Light for you. If you follow through with a repair with us you will be reimbursed for the cost of inspection.

Traction light/reduced engine power and check engine light coming on
ANSWER : Hello. From what you describe, it would appear that your vehicle may be experiencing some sort of intermittent wiring or sensor issue. If the problem occurred again after driving over a bump, then it may be possible that a damaged or loose wire is shorting or having contact issues. A common issue that can cause stalling is a faulty crank position sensor or wiring. I would carefully examine the engine for any loose or damaged wires. If the Check Engine Light comes back on, I would recommend having the trouble codes scanned before resetting the computer.

I am not getting any power when I turn the key to the on position. there is no dash lights only check engine lite comes on.
ANSWER : The problem of having erratic electrical issues with this year Bronco they have problems with the ignition switch losing contact. You should check and replace the ignition switch. When the switch is removed you should check linkage rod and electrical connector for problems and repair as needed along with replace the ignition switch.

Check Engine Light comes on after starting pickup
ANSWER : Hello there, thank you for asking about your 1992 Isuzu Pickup. A professional will have the correct equipment to read OBD1 codes. Retrieving the diagnostic trouble code(s) is the first place to start when diagnosing your vehicle. Increasing RPMs changes engine load, which can in turn affect many different sensors and components, causing the Check Engine Light to illuminate. The only way to narrow down the options and find the culprit is through in person diagnosis with an OEM compatible scan tool. A certified technician from YourMechanic can retrieve the OBD codes at your home or office.

Check Engine Light is on, trouble code P0011&12. I changed the oil and filter. I need to turn off the engine light to see if that problem is solved.
ANSWER : Hello. If the oil level was low or if the wrong oil war previously used then that can cause these codes to come up. Most of the time though, on this engine, it is caused by a failure in the timing chain. The timing chain is the most common failure on this engine and when it is stretched enough the cam timing will be off enough to cause this. If you want to have this camshaft timing looked at, consider YourMechanic, as a certified mechanic can come to your home or office to diagnose why the check engine light is still on and address any issues that are found.

Battery light goes on when I start car then turns off, if I rev engine light comes back until rpms go down. Abs goes comes on/off
ANSWER : Batteries can die due to faults in the charging system so ideally a suspected "faulty" battery should be load tested before a decision is made to condemn it. The only exception to this rule is if the battery is already clearly "old" (greater than 5 years) but even then once you put a new battery in, as a replacement for a "dead" battery, you have to comprehensively check out the charging system. Diagnostic Trouble Code P0460 will result in disruption of the dashboard fuel gauge’s ability to accurately report your tank’s fuel levels. The fuel gauge readings may be erratic, or read somewhere off scale. Vehicles equipped with a low fuel warning light feature may also suffer from erratic low fuel warnings in the event of a code P0460. Unless the P0460 code has been reported alongside other trouble code, all of the vehicle’s essential systems should otherwise function normally. I would recommend that you request a check engine light diagnostic to first resolve the fault causing the P0460 code to set. The check gas cap light warning light could be due a faulty gas cap and/or small leaks in the EVAP system.