{"id":37706,"date":"2016-12-13T12:58:53","date_gmt":"2016-12-13T17:58:53","guid":{"rendered":"http:\/\/www.freeautomechanic.com\/mechanic\/forum\/?p=37706"},"modified":"2016-12-13T12:58:53","modified_gmt":"2016-12-13T17:58:53","slug":"code-p0340-2009-hyundai-sonata-2-4-gls","status":"publish","type":"post","link":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls","title":{"rendered":"Code P0340 2009 Hyundai Sonata 2.4 gls"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-37818 size-full\" src=\"\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/uploads\/2016\/12\/2009-hyundai-sonata.jpg\" alt=\"2009 Hyundai Sonata\" width=\"598\" height=\"253\" srcset=\"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/uploads\/2016\/12\/2009-hyundai-sonata.jpg 598w, https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/uploads\/2016\/12\/2009-hyundai-sonata-300x127.jpg 300w\" sizes=\"(max-width: 598px) 100vw, 598px\" \/>We have a code p0340 CEL and the <a href=\"\/\/www.freeautomechanic.com\/cmp-camshaft-position-sensor.html\">camshaft sensor<\/a> has been changed. I need to replace the 3 wires in the harness from the ECM to cps could you provide the wiring diagram? It is a 2009 Hyundai Sonata 2.4 GLS.<\/p>\n<hr \/>\n<p>RESPONSE<\/p>\n<h3>Hyundai Code P0340 &#8211; Camshaft Position Sensor &#8216;A&#8217; Circuit Malfunction Bank 1 Or Single Sensor<\/h3>\n<p>First of All the Camshaft Position Sensor is an electronic device used in an engine to record the rate at which the camshaft is spinning. Therefore this information is used by the Engine Control Module(<a href=\"\/\/www.freeautomechanic.com\/pcm-engine-computer.html\"><b>ECM<\/b><\/a>) to control ignition and fuel injection. The camshaft position sensor senses the retraction of camshaft (intake) to identify a particular cylinder. Hence the camshaft position sensor senses the piston position. The sensor system consists of a rotating part, typically a disc, as well as a static part, the actual sensor.<\/p>\n<p>When the engine is running, the high and low parts of the teeth cause the gap with the sensor to change. As a result the changing gap causes the magnetic field near the sensor to change. While the change in the magnetic field cause the voltage from the sensor to change.<\/p>\n<p>In conclusion when the crankshaft position sensor (POS) system becomes inoperative, the camshaft position sensor provides various controls of engine parts instead, utilizing timing of cylinder identification signals.<\/p>\n<h3>Code P0340 Possible causes<\/h3>\n<div class=\"info_code\">&#8211; Faulty C<a href=\"\/\/www.freeautomechanic.com\/cmp-camshaft-position-sensor.html\">amshaft Position Sensor<\/a><br \/>\n&#8211; Camshaft Position Sensor harness is open or shorted<br \/>\n&#8211; Camshaft Position Sensor circuit poor electrical connection<br \/>\n&#8211; Faulty starter motor<br \/>\n&#8211; Starting system circuit<br \/>\n&#8211; Dead (Weak) battery<\/div>\n<h3>Camshaft Position Sensor Wiring Diagram<\/h3>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37817 size-full\" src=\"\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/uploads\/2016\/12\/camshaft-sensor-wiring-diagram-2009-hyundai-sonata-2.4.jpg\" alt=\"Code P0340 camshaft sensor wiring diagram 2009 Hyndai Sonata 2.4L\" width=\"500\" height=\"600\" srcset=\"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/uploads\/2016\/12\/camshaft-sensor-wiring-diagram-2009-hyundai-sonata-2.4.jpg 500w, https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/uploads\/2016\/12\/camshaft-sensor-wiring-diagram-2009-hyundai-sonata-2.4-250x300.jpg 250w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have a code p0340 CEL and the camshaft sensor has been changed. I need to replace the 3 wires in the harness from the ECM to cps could you provide the wiring diagram? It is a 2009 Hyundai Sonata 2.4 GLS. RESPONSE Hyundai Code P0340 &#8211; Camshaft Position Sensor &#8216;A&#8217; Circuit Malfunction Bank 1&hellip;&nbsp;<a href=\"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Code P0340 2009 Hyundai Sonata 2.4 gls<\/span><\/a><\/p>\n","protected":false},"author":14169,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[1,112],"tags":[11192,11193,11194,11195,9221],"class_list":["post-37706","post","type-post","status-publish","format-standard","hentry","category-auto-repair-questions","category-hyundai","tag-camshaft-sensor-wiring-diagram","tag-code-p0340","tag-code-p0340-possible-causes","tag-hyundai-code-p0340-camshaft-position-sensor-a-circuit-malfunction-bank-1-or-single-sensor","tag-sonata"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.0 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Code P0340 2009 Hyundai Sonata 2.4 gls - FreeAutoMechanic Advice<\/title>\n<meta name=\"description\" content=\"We have a code p0340 CEL and the camshaft sensor has been changed. I need to replace the 3 wires in the harness from the ECM to cps could you provide the\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Code P0340 2009 Hyundai Sonata 2.4 gls\" \/>\n<meta property=\"og:description\" content=\"We have a code p0340 CEL and the camshaft sensor has been changed. I need to replace the 3 wires in the harness from the ECM to cps could you provide the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls\" \/>\n<meta property=\"og:site_name\" content=\"FreeAutoMechanic Advice\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/freeautomechanic\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-13T17:58:53+00:00\" \/>\n<meta property=\"og:image\" content=\"\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/uploads\/2016\/12\/2009-hyundai-sonata.jpg\" \/>\n<meta name=\"author\" content=\"Jarrett Suydam\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jarrett Suydam\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Code P0340 2009 Hyundai Sonata 2.4 gls - FreeAutoMechanic Advice","description":"We have a code p0340 CEL and the camshaft sensor has been changed. I need to replace the 3 wires in the harness from the ECM to cps could you provide the","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls","og_locale":"en_US","og_type":"article","og_title":"Code P0340 2009 Hyundai Sonata 2.4 gls","og_description":"We have a code p0340 CEL and the camshaft sensor has been changed. I need to replace the 3 wires in the harness from the ECM to cps could you provide the","og_url":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls","og_site_name":"FreeAutoMechanic Advice","article_publisher":"https:\/\/www.facebook.com\/freeautomechanic","article_published_time":"2016-12-13T17:58:53+00:00","og_image":[{"url":"\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/uploads\/2016\/12\/2009-hyundai-sonata.jpg","type":"","width":"","height":""}],"author":"Jarrett Suydam","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jarrett Suydam","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls#article","isPartOf":{"@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls"},"author":{"name":"Jarrett Suydam","@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/#\/schema\/person\/ac9e109652486da12ef0b0a4129e7334"},"headline":"Code P0340 2009 Hyundai Sonata 2.4 gls","datePublished":"2016-12-13T17:58:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls"},"wordCount":268,"commentCount":2,"publisher":{"@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/#organization"},"keywords":["camshaft sensor wiring diagram","code p0340","Code P0340 Possible causes","Hyundai Code P0340 - Camshaft Position Sensor 'A' Circuit Malfunction Bank 1 Or Single Sensor","Sonata"],"articleSection":["Auto Repair Questions","Hyundai"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls","url":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls","name":"Code P0340 2009 Hyundai Sonata 2.4 gls - FreeAutoMechanic Advice","isPartOf":{"@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/#website"},"datePublished":"2016-12-13T17:58:53+00:00","description":"We have a code p0340 CEL and the camshaft sensor has been changed. I need to replace the 3 wires in the harness from the ECM to cps could you provide the","breadcrumb":{"@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/2016\/12\/code-p0340-2009-hyundai-sonata-2-4-gls#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/"},{"@type":"ListItem","position":2,"name":"Code P0340 2009 Hyundai Sonata 2.4 gls"}]},{"@type":"WebSite","@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/#website","url":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/","name":"FreeAutoMechanic Advice","description":"Ask a Car Mechanic Questions for Free","publisher":{"@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/#organization","name":"FreeAutoMechanic Advice","url":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/#\/schema\/logo\/image\/","url":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/uploads\/2020\/06\/cropped-auto_repair_questions.jpg","contentUrl":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/uploads\/2020\/06\/cropped-auto_repair_questions.jpg","width":250,"height":81,"caption":"FreeAutoMechanic Advice"},"image":{"@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/freeautomechanic","https:\/\/www.youtube.com\/freeautomechanic"]},{"@type":"Person","@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/#\/schema\/person\/ac9e109652486da12ef0b0a4129e7334","name":"Jarrett Suydam","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/litespeed\/avatar\/cd7e1363a028425892e471f36a3f5389.jpg","url":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/litespeed\/avatar\/cd7e1363a028425892e471f36a3f5389.jpg","contentUrl":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-content\/litespeed\/avatar\/cd7e1363a028425892e471f36a3f5389.jpg","caption":"Jarrett Suydam"},"sameAs":["https:\/\/www.facebook.com\/app_scoped_user_id\/10154801547038584\/"],"url":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/author\/jarrett-suydam"}]}},"_links":{"self":[{"href":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-json\/wp\/v2\/posts\/37706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-json\/wp\/v2\/users\/14169"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-json\/wp\/v2\/comments?post=37706"}],"version-history":[{"count":0,"href":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-json\/wp\/v2\/posts\/37706\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-json\/wp\/v2\/media?parent=37706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-json\/wp\/v2\/categories?post=37706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freeautomechanic.com\/mechanic\/forum\/wp-json\/wp\/v2\/tags?post=37706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}