{"id":455,"date":"2014-03-05T17:17:24","date_gmt":"2014-03-05T17:17:24","guid":{"rendered":"http:\/\/www.analysir.com\/blog\/?p=455"},"modified":"2016-02-14T22:26:35","modified_gmt":"2016-02-14T22:26:35","slug":"arduino-10-common-pitfalls-infrared-remote-control","status":"publish","type":"post","link":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/","title":{"rendered":"Arduino: 10 common pitfalls with Infrared Remote Control"},"content":{"rendered":"<figure id=\"attachment_456\" aria-describedby=\"caption-attachment-456\" style=\"width: 300px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-456 \" title=\"Arduino: 10 common pitfalls with Infrared Remote Control\" src=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail-300x168.png\" alt=\"Arduino: 10 common pitfalls with Infrared Remote Control\" width=\"300\" height=\"168\" srcset=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail-300x168.png 300w, https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail.png 960w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-456\" class=\"wp-caption-text\">Arduino: 10 common pitfalls with Infrared Remote Control<\/figcaption><\/figure>\n<p>Over the last few months we have been regular contributors to the Arduino and other forums, answering questions about Infrared remote control projects. It became apparent that beginners typically trip up on many common &#8216;pitfalls&#8217;. So we decided to list off our &#8216;Top 10&#8217;.<\/p>\n<p>&nbsp;<\/p>\n<p><!--more--><\/p>\n<p>(Note a PDF of this article can be <a title=\"Arduino: 10 common pitfalls with Infrared Remote Control\" href=\"https:\/\/www.analysir.com\/blog\/?attachment_id=457\" target=\"_blank\">downloaded here<\/a>)<\/p>\n<ol>\n<li>Use an existing library\n<ul>\n<li>There are 2 existing &amp; well established IR libraries for Arduino<\/li>\n<li>IRremote is the original and there are many examples online<\/li>\n<li>IRLib is a more modern re-write of IRremote, with several enhancements.<\/li>\n<\/ul>\n<\/li>\n<li>Read the data sheets first \u2013 always a good idea with any electronics project\n<ul>\n<li>Download and check the data sheet for your IR receiver &amp; IR Led<\/li>\n<li>Confirm the pin-out for the IR receiver, as it varies quite a bit \u2013 even within the same manufacturer\u2019s range<\/li>\n<li>Make sure you know how to wire up the IR Led and which pin is \u2018+ve\u2019 vs \u2018-ve\u2019<\/li>\n<\/ul>\n<\/li>\n<li>Use a good quality IR receiver\n<ul>\n<li>A common mistake is to use the cheapest IR receiver available<\/li>\n<li>We always use IR components from Vishay (no connection, just good experiences)<\/li>\n<li>If the vendor does not provide a link to a data sheet, there is a good chance it is poor quality.<\/li>\n<\/ul>\n<\/li>\n<li>Avoid driving the IR Led\/emitter directly from the Arduino pin\n<ul>\n<li>Best practice dictates that you avoid connecting the IR Led without a current limiting resistor. You should find out the max current provided by an Arduino pin and calculate the resistor value using Ohm\u2019s law, taking account of the forward voltage across the IR Led.<\/li>\n<li>Without using a transistor to drive more current through the IR LED you are unlikely to get a reasonable range with your signal.<\/li>\n<li>You can confirm the operation of an IR Led using a digital camera on your phone, tablet or webcam. (details via Google\/YouTube)<\/li>\n<\/ul>\n<\/li>\n<li>Get it working standalone first\n<ul>\n<li>Make sure to get the IR part of your circuit working before complicating things with other devices that may interfere with the IR part.<\/li>\n<li>Both of the libraries above, come with a set of example sketches. Work through each example first and before you know it, you will understand a lot about IR remote control.<\/li>\n<li>Of course, if you are already an expert, feel free to jump in the \u2018deep end\u2019.<\/li>\n<\/ul>\n<\/li>\n<li>Make sure you are close to the device when testing\n<ul>\n<li>It makes no sense trying to test your set-up with a device that is more than 2 or 3 metres away.<\/li>\n<li>Once you have verified that your circuit is operating as expected, then try it in the final position.<\/li>\n<li>If your target device is fixed, then set up your test circuit close to the fixed device.<\/li>\n<\/ul>\n<\/li>\n<li>Re-configure your library for Air-conditioner signals\n<ul>\n<li>Air conditioners typically send the full configuration every time a key on the remote is pressed. This results in much longer signals compared to TVs.<\/li>\n<li>AC signals can be as long as 128+ bits vs 32 for typical TVs. (or 256 vs 64 pulses)<\/li>\n<li>Redefine the RAWBUF value in the IRremote library, if you are controlling Air conditioners.<\/li>\n<\/ul>\n<\/li>\n<li>Beware of limitations in Arduino Libraries <em><span style=\"text-decoration: underline;\">(Note: Since original publication, both libraries has been significantly enhanced and most of these limitations are no longer valid)<\/span><\/em>\n<ul>\n<li><del>IRremote has several limitations<\/del><\/li>\n<li><del>The maximum length of any mark or space is just over 16,000 microseconds.<\/del><\/li>\n<li><del>This means that some protocols cannot be sent using the library, as is.<\/del><\/li>\n<li><del>One pulse definition in the NEC protocol is set at 1600 vs the correct 1690.<\/del><\/li>\n<li><del>Luckily, IRLib has improved things a bit and corrected the above issues.<\/del><\/li>\n<li>You must enable receiving after every send (irrecv.enableIRIn(); or My_Receiver.enableIRIn();)<\/li>\n<\/ul>\n<\/li>\n<li>Avoid conflicts with other libraries\n<ol>\n<li>IRremote &amp; IRLib both use certain pins &amp; timers on the Arduino.<\/li>\n<li>Some of these settings can be configured within the library<\/li>\n<li>If you experience problems with multiple libraries, then find out for yourself which resources are being used and plan a work around.<\/li>\n<\/ol>\n<\/li>\n<li>Interference &#8211; Don\u2019t forget the Sun block!\n<ul>\n<li>The Sun is a very powerful source of IR radiation.<\/li>\n<li>Sunshine coming in through windows can play havoc with your IR signals.<\/li>\n<li>Other devices such as LED or Plasma TVs, halogen lights can also add to interference<\/li>\n<li>The simplest thing is to isolate each of the potential interference sources first until you can identify and then eliminate the source.<\/li>\n<li>Finally, a quick check of the data sheet for the IR receiver will show some optional circuitry to reduce interference.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><b><i>Some Useful IR remote control Links:<br \/>\n<\/i><\/b><i>Get your copy of AnalysIR here &#8211; <a title=\"Get AnalysIR\" href=\"https:\/\/www.analysir.com\/blog\/get-analysir\/\">https:\/\/www.analysir.com\/blog\/get-analysir\/<\/a><br \/>\nIRremote &#8211; <a href=\"http:\/\/www.righto.com\/2009\/08\/multi-protocol-infrared-remote-library.html\" target=\"_blank\">http:\/\/www.righto.com\/2009\/08\/multi-protocol-infrared-remote-library.html<\/a><br \/>\nIRLib &#8211;<a href=\" http:\/\/tech.cyborg5.com\/irlib\/\" target=\"_blank\"> http:\/\/tech.cyborg5.com\/irlib\/<\/a><br \/>\nAll about IR &#8211; <a href=\"http:\/\/www.sbprojects.com\/knowledge\/ir\/index.php\" target=\"_blank\">http:\/\/www.sbprojects.com\/knowledge\/ir\/index.php<\/a><br \/>\nReview of IR receivers for Air Conditioners &#8211; <a href=\"https:\/\/www.analysir.com\/joomla\/IRforum\/viewtopic.php?f=5&amp;t=16\" target=\"_blank\">https:\/\/www.analysir.com\/joomla\/IRforum\/viewtopic.php?f=5&amp;t=16<\/a><b><br \/>\n<\/b>Further help can be found via the Arduino forum: <a href=\"http:\/\/forum.arduino.cc\/\" target=\"_blank\">http:\/\/forum.arduino.cc\/<\/a><\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the last few months we have been regular contributors to the Arduino and other forums, answering questions about Infrared remote control projects. It became apparent that beginners typically trip up on many common &#8216;pitfalls&#8217;. So we decided to list off our &#8216;Top 10&#8217;. &nbsp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1,10],"tags":[4,285,203,29,7,202,33,67,97,6,5,85,199,129,39],"class_list":["post-455","post","type-post","status-publish","format-standard","hentry","category-analysir-blog","category-arduino","tag-analysir","tag-arduino","tag-current-limiting-resistor","tag-decoding","tag-infrared","tag-interference","tag-ir","tag-ir-receiver","tag-ir-signals","tag-irlib","tag-irremote","tag-nec","tag-rawbuf","tag-transistor","tag-vishay"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Arduino 10 common pitfalls with Infrared Remote Control, AnalysIR blog<\/title>\n<meta name=\"description\" content=\"Over the last few months we have been answering questions about Infrared remote control projects. So we decided to list off our &#039;Top 10&#039;.\" \/>\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.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Arduino 10 common pitfalls with Infrared Remote Control, AnalysIR blog\" \/>\n<meta property=\"og:description\" content=\"Over the last few months we have been answering questions about Infrared remote control projects. So we decided to list off our &#039;Top 10&#039;.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/\" \/>\n<meta property=\"og:site_name\" content=\"AnalysIR Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/chris.analysir\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/chris.analysir\" \/>\n<meta property=\"article:published_time\" content=\"2014-03-05T17:17:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-14T22:26:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail-300x168.png\" \/>\n<meta name=\"author\" content=\"User Two\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AnalysIR\" \/>\n<meta name=\"twitter:site\" content=\"@analysir\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"User Two\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/\"},\"author\":{\"name\":\"User Two\",\"@id\":\"https:\/\/www.analysir.com\/blog\/#\/schema\/person\/16a6d94c57d4f2629096ab80a7b36e13\"},\"headline\":\"Arduino: 10 common pitfalls with Infrared Remote Control\",\"datePublished\":\"2014-03-05T17:17:24+00:00\",\"dateModified\":\"2016-02-14T22:26:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/\"},\"wordCount\":833,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail-300x168.png\",\"keywords\":[\"AnalysIR\",\"Arduino\",\"current limiting resistor\",\"decoding\",\"Infrared\",\"Interference\",\"IR\",\"IR receiver\",\"IR signals\",\"IRLib\",\"IRremote\",\"NEC\",\"RAWBUF\",\"transistor\",\"Vishay\"],\"articleSection\":[\"AnalysIR Blog\",\"Arduino\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/\",\"url\":\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/\",\"name\":\"Arduino 10 common pitfalls with Infrared Remote Control, AnalysIR blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail-300x168.png\",\"datePublished\":\"2014-03-05T17:17:24+00:00\",\"dateModified\":\"2016-02-14T22:26:35+00:00\",\"description\":\"Over the last few months we have been answering questions about Infrared remote control projects. So we decided to list off our 'Top 10'.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#primaryimage\",\"url\":\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail.png\",\"contentUrl\":\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail.png\",\"width\":960,\"height\":540,\"caption\":\"Arduino: 10 common pitfalls with Infrared Remote Control\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.analysir.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Arduino: 10 common pitfalls with Infrared Remote Control\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.analysir.com\/blog\/#website\",\"url\":\"https:\/\/www.analysir.com\/blog\/\",\"name\":\"AnalysIR Blog\",\"description\":\"All about infrared remote control, IR decoding and more\",\"publisher\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.analysir.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.analysir.com\/blog\/#organization\",\"name\":\"AnalysIR\",\"url\":\"https:\/\/www.analysir.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.analysir.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2015\/10\/AnalysIR_and_IRToy.png\",\"contentUrl\":\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2015\/10\/AnalysIR_and_IRToy.png\",\"width\":200,\"height\":200,\"caption\":\"AnalysIR\"},\"image\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/chris.analysir\",\"https:\/\/x.com\/analysir\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.analysir.com\/blog\/#\/schema\/person\/16a6d94c57d4f2629096ab80a7b36e13\",\"name\":\"User Two\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/8167f41ca01c8bf0646f87048aaf9e8f90e7d0b65650c0f8eaaf8002b288d6cb?s=96&d=identicon&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8167f41ca01c8bf0646f87048aaf9e8f90e7d0b65650c0f8eaaf8002b288d6cb?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8167f41ca01c8bf0646f87048aaf9e8f90e7d0b65650c0f8eaaf8002b288d6cb?s=96&d=identicon&r=g\",\"caption\":\"User Two\"},\"sameAs\":[\"http:\/\/www.AnalysIR.com\",\"https:\/\/www.facebook.com\/chris.analysir\",\"https:\/\/x.com\/AnalysIR\"],\"url\":\"https:\/\/www.analysir.com\/blog\/author\/analysir\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Arduino 10 common pitfalls with Infrared Remote Control, AnalysIR blog","description":"Over the last few months we have been answering questions about Infrared remote control projects. So we decided to list off our 'Top 10'.","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.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/","og_locale":"en_US","og_type":"article","og_title":"Arduino 10 common pitfalls with Infrared Remote Control, AnalysIR blog","og_description":"Over the last few months we have been answering questions about Infrared remote control projects. So we decided to list off our 'Top 10'.","og_url":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/","og_site_name":"AnalysIR Blog","article_publisher":"https:\/\/www.facebook.com\/chris.analysir","article_author":"https:\/\/www.facebook.com\/chris.analysir","article_published_time":"2014-03-05T17:17:24+00:00","article_modified_time":"2016-02-14T22:26:35+00:00","og_image":[{"url":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail-300x168.png","type":"","width":"","height":""}],"author":"User Two","twitter_card":"summary_large_image","twitter_creator":"@AnalysIR","twitter_site":"@analysir","twitter_misc":{"Written by":"User Two","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#article","isPartOf":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/"},"author":{"name":"User Two","@id":"https:\/\/www.analysir.com\/blog\/#\/schema\/person\/16a6d94c57d4f2629096ab80a7b36e13"},"headline":"Arduino: 10 common pitfalls with Infrared Remote Control","datePublished":"2014-03-05T17:17:24+00:00","dateModified":"2016-02-14T22:26:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/"},"wordCount":833,"commentCount":1,"publisher":{"@id":"https:\/\/www.analysir.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#primaryimage"},"thumbnailUrl":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail-300x168.png","keywords":["AnalysIR","Arduino","current limiting resistor","decoding","Infrared","Interference","IR","IR receiver","IR signals","IRLib","IRremote","NEC","RAWBUF","transistor","Vishay"],"articleSection":["AnalysIR Blog","Arduino"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/","url":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/","name":"Arduino 10 common pitfalls with Infrared Remote Control, AnalysIR blog","isPartOf":{"@id":"https:\/\/www.analysir.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#primaryimage"},"image":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#primaryimage"},"thumbnailUrl":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail-300x168.png","datePublished":"2014-03-05T17:17:24+00:00","dateModified":"2016-02-14T22:26:35+00:00","description":"Over the last few months we have been answering questions about Infrared remote control projects. So we decided to list off our 'Top 10'.","breadcrumb":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#primaryimage","url":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail.png","contentUrl":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail.png","width":960,"height":540,"caption":"Arduino: 10 common pitfalls with Infrared Remote Control"},{"@type":"BreadcrumbList","@id":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.analysir.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Arduino: 10 common pitfalls with Infrared Remote Control"}]},{"@type":"WebSite","@id":"https:\/\/www.analysir.com\/blog\/#website","url":"https:\/\/www.analysir.com\/blog\/","name":"AnalysIR Blog","description":"All about infrared remote control, IR decoding and more","publisher":{"@id":"https:\/\/www.analysir.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.analysir.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.analysir.com\/blog\/#organization","name":"AnalysIR","url":"https:\/\/www.analysir.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.analysir.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2015\/10\/AnalysIR_and_IRToy.png","contentUrl":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2015\/10\/AnalysIR_and_IRToy.png","width":200,"height":200,"caption":"AnalysIR"},"image":{"@id":"https:\/\/www.analysir.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/chris.analysir","https:\/\/x.com\/analysir"]},{"@type":"Person","@id":"https:\/\/www.analysir.com\/blog\/#\/schema\/person\/16a6d94c57d4f2629096ab80a7b36e13","name":"User Two","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8167f41ca01c8bf0646f87048aaf9e8f90e7d0b65650c0f8eaaf8002b288d6cb?s=96&d=identicon&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8167f41ca01c8bf0646f87048aaf9e8f90e7d0b65650c0f8eaaf8002b288d6cb?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8167f41ca01c8bf0646f87048aaf9e8f90e7d0b65650c0f8eaaf8002b288d6cb?s=96&d=identicon&r=g","caption":"User Two"},"sameAs":["http:\/\/www.AnalysIR.com","https:\/\/www.facebook.com\/chris.analysir","https:\/\/x.com\/AnalysIR"],"url":"https:\/\/www.analysir.com\/blog\/author\/analysir\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p42zhM-7l","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":58,"url":"https:\/\/www.analysir.com\/blog\/2013\/07\/26\/analysir-featured-on-arduino-blog-for-dublin-maker-faire\/","url_meta":{"origin":455,"position":0},"title":"AnalysIR featured on Arduino blog for Dublin Maker Faire","author":"User Two","date":"July 26, 2013","format":false,"excerpt":"New infrared applications using Arduino at Mini MakerFaire Dublin (tomorrow!) Friday, July 26th, 2013 Here is an extract of the Arduino blog post featuring AnalysIR. Click the the link above to visit the Arduino Blog. The power of infrared light was widely and best appreciated with invention of television\u2019s remote\u2026","rel":"","context":"In &quot;AnalysIR Blog&quot;","block_context":{"text":"AnalysIR Blog","link":"https:\/\/www.analysir.com\/blog\/analysir-blog\/"},"img":{"alt_text":"AnalysIR","src":"https:\/\/i0.wp.com\/blog.arduino.cc\/wp-content\/uploads\/2013\/07\/20130702055341-makeup400.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4598,"url":"https:\/\/www.analysir.com\/blog\/2019\/05\/09\/ir-signal-plotter-for-irremote-arduino\/","url_meta":{"origin":455,"position":1},"title":"IR Signal Plotter for IRremote &#038; Arduino","author":"AnalysIR","date":"May 9, 2019","format":false,"excerpt":"We are delighted to present here a new sketch which implements a basic IR Signal plotter for IRremote. The sketch runs on and Arduino and makes use of the Serial Plotter of the Arduino IDE. Although there is no comparison to our powerful AnalysIR application, it may provide useful for\u2026","rel":"","context":"In &quot;AnalysIR Blog&quot;","block_context":{"text":"AnalysIR Blog","link":"https:\/\/www.analysir.com\/blog\/analysir-blog\/"},"img":{"alt_text":"Screenshot of IR Signal Plotter for IRremote","src":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2019\/05\/image-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2019\/05\/image-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2019\/05\/image-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":507,"url":"https:\/\/www.analysir.com\/blog\/2014\/03\/19\/air-conditioners-problems-recording-long-infrared-remote-control-signals-arduino\/","url_meta":{"origin":455,"position":2},"title":"Air Conditioners: Recording long Infrared Remote control signals with Arduino","author":"User Two","date":"March 19, 2014","format":false,"excerpt":"hRecently we have been helping several members on the Arduino forum to record and playback their remote control signals from their Air Conditioners. These signals are typically much longer than those of TVs or common media devices. The 2 most popular libraries for Arduino, IRremote & IRlib are excellent, but\u2026","rel":"","context":"In &quot;AnalysIR Blog&quot;","block_context":{"text":"AnalysIR Blog","link":"https:\/\/www.analysir.com\/blog\/analysir-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/airconremote.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/airconremote.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/airconremote.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4884,"url":"https:\/\/www.analysir.com\/blog\/2019\/11\/11\/kontrolir-the-first-arduino-compatible-ir-remote-control-2\/","url_meta":{"origin":455,"position":3},"title":"KontroLIR is available for limited preorder now","author":"AnalysIR","date":"November 11, 2019","format":false,"excerpt":"KontroLIR Just a quick note to say that KontroLIR is available for limited preorder now. Check out he following links for details:Shop: preorder KontroLIR hereBlog: Previous blog post about KontroLIRWiKi: Full documentation is available via the KontroLIR wiki KontroLIR is available for limited preorder now Pre-Launch Promotion Pre-orders are available\u2026","rel":"","context":"In &quot;AnalysIR Blog&quot;","block_context":{"text":"AnalysIR Blog","link":"https:\/\/www.analysir.com\/blog\/analysir-blog\/"},"img":{"alt_text":"KontrolIR - the first  Arduino compatible IR remote control (Arduino Compatible) ","src":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2019\/07\/myRemoteIR_photo_top-91x300.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":590,"url":"https:\/\/www.analysir.com\/blog\/2014\/05\/28\/poor-makers-infrared-receiver-2\/","url_meta":{"origin":455,"position":4},"title":"Poor maker&#8217;s Infrared receiver #2","author":"User Two","date":"May 28, 2014","format":false,"excerpt":"Our recent post about the silver bullet IR receiver proved very popular and we promised that we would follow-up with another variant of the poor maker's Infrared receiver. This time we are using an IR Led (emitter), 2 resistors and any standard Arduino. You will also need to download the\u2026","rel":"","context":"In &quot;AnalysIR Blog&quot;","block_context":{"text":"AnalysIR Blog","link":"https:\/\/www.analysir.com\/blog\/analysir-blog\/"},"img":{"alt_text":"Circuit Diagram: Poor maker's IR Receiver","src":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/05\/PoorMansIRreceiver2_cc-300x218.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1996,"url":"https:\/\/www.analysir.com\/blog\/2016\/01\/14\/esp8266-nodemcu-infrared-decoding-added-to-analysir\/","url_meta":{"origin":455,"position":5},"title":"ESP8266 NodeMCU Infrared decoding added to AnalysIR","author":"User Two","date":"January 14, 2016","format":false,"excerpt":"A few months ago a new user to AnalysIR, from Canada, asked us to assist in adding ESP8266 NodeMCU Infrared decoding over WiFi into\u00a0 AnalysIR. We set about making some upgrades to AnalysIR for this and in double quick time he had AnalysIR accepting IR signals from the ESP8266 over\u2026","rel":"","context":"In &quot;AnalysIR Blog&quot;","block_context":{"text":"AnalysIR Blog","link":"https:\/\/www.analysir.com\/blog\/analysir-blog\/"},"img":{"alt_text":"AnalysIR supports ESP82266 NodeMCU","src":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2016\/01\/NodeMCU.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2016\/01\/NodeMCU.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2016\/01\/NodeMCU.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/posts\/455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/comments?post=455"}],"version-history":[{"count":9,"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/posts\/455\/revisions"}],"predecessor-version":[{"id":2125,"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/posts\/455\/revisions\/2125"}],"wp:attachment":[{"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/media?parent=455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/categories?post=455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/tags?post=455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}