{"id":779,"date":"2014-10-03T22:35:07","date_gmt":"2014-10-03T21:35:07","guid":{"rendered":"http:\/\/www.analysir.com\/blog\/?p=779"},"modified":"2016-02-14T22:45:35","modified_gmt":"2016-02-14T22:45:35","slug":"driving-infrared-led-directly-arduino-pin","status":"publish","type":"post","link":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/","title":{"rendered":"Driving an Infrared Led directly from an Arduino Pin"},"content":{"rendered":"<p><a href=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-790\" src=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.png\" alt=\"logobutton200x200\" width=\"100\" height=\"100\" srcset=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.png 200w, https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200-100x100.png 100w\" sizes=\"auto, (max-width: 100px) 100vw, 100px\" \/><\/a>A common question asked on forums is one about &#8211; Driving an Infrared Led directly from an Arduino pin.&nbsp; Although the answer may be obvious to anyone with at least a basic knowledge of <a title=\"Ohms Law\" href=\"http:\/\/en.wikipedia.org\/wiki\/Ohm%27s_law\" target=\"_blank\">Ohm&#8217;s Law<\/a>, many are confused about how to choose a resistor value for optimum performance. Often, there is a debate about whether a resistor is required at all, given that the AVR pins are rated to deliver an absolute maximum of 40mA on a pin. <em>(Note: All of the quoted specs in the data sheet are for test conditions of up to 20mA on a pin<\/em>). Of course there are better ways to drive an IR LED with a transistor circuit or even a <a title=\"Constant current infrared LED emitter circuit\" href=\"https:\/\/www.analysir.com\/blog\/2013\/11\/22\/constant-current-infrared-led-circuit\/\" target=\"_blank\">constant current circuit<\/a>. However, in this post we consider only the direct drive circuit using a current limiting resistor, as illustrated in the diagram down below.<br \/>\n<em>Make sure to read the caveats at the end of this post.<\/em><\/p>\n<figure id=\"attachment_782\" aria-describedby=\"caption-attachment-782\" style=\"width: 588px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/AVR_IR_LED_Current_Voltage_chart.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-782\" src=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/AVR_IR_LED_Current_Voltage_chart.png\" alt=\"Analysis of Voltage &amp; Current for Infrared Led driven by Arduino\" width=\"588\" height=\"324\" srcset=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/AVR_IR_LED_Current_Voltage_chart.png 630w, https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/AVR_IR_LED_Current_Voltage_chart-300x165.png 300w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/a><figcaption id=\"caption-attachment-782\" class=\"wp-caption-text\">Analysis of Voltage &amp; Current for Infrared Led driven by Arduino<\/figcaption><\/figure>\n<p><!--more--><\/p>\n<p>To make the measurements above, we built a simple circuit as shown below, with the IR LED driven from pin 9 of the Arduino (Timer1), using an IR signal with a carrier frequency of&nbsp; 36kHz and a duty cycle of 33%. When taking the measurements we used resistors of 47, 100, 147, 200 &amp; 220 ohms (+\/-5%). To establish a baseline we also measured with no load attached (open).<\/p>\n<figure id=\"attachment_780\" aria-describedby=\"caption-attachment-780\" style=\"width: 588px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/AVR-IR-LEd-current-voltage_circuitB.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-780\" src=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/AVR-IR-LEd-current-voltage_circuitB.png\" alt=\"AVR IR LEd current voltage circuit, using Arduino UNO\" width=\"588\" height=\"491\" srcset=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/AVR-IR-LEd-current-voltage_circuitB.png 977w, https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/AVR-IR-LEd-current-voltage_circuitB-300x250.png 300w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/a><figcaption id=\"caption-attachment-780\" class=\"wp-caption-text\">AVR IR LEd current\/voltage test circuit, using Arduino UNO<\/figcaption><\/figure>\n<p>The measurements were taken at various points in the circuit as follows: (refer to diagram also)<br \/>\n<strong>Vsupply<\/strong>: The voltage at the 5V pin of the Arduino &#8211; powered via USB.<br \/>\n<strong>Vsig<\/strong>: The peak voltage at the output of pin 9 on the Arduino.<br \/>\n<strong>Vresistor<\/strong>: The peak voltage across the resistor.<br \/>\n<strong>IR LED Vf<\/strong>:&nbsp; The forward voltage drop across the IR LED, at peak current.<br \/>\n<strong>mA<\/strong>: The peak current passing through the IR LED, calculated as&nbsp; Vresistor\/R.<br \/>\n<strong>AVR Max Rated mA<\/strong>: Taken from the <a title=\"Atmega328P datasheet\" href=\"http:\/\/www.atmel.com\/images\/Atmel-8271-8-bit-AVR-Microcontroller-ATmega48A-48PA-88A-88PA-168A-168PA-328-328P_datasheet_Complete.pdf\" target=\"_blank\">ATmega328P datasheet<\/a>, as the <span style=\"text-decoration: underline;\">absolute<\/span> maximum DC current per IO pin which is 40mA.<br \/>\n<strong>AVR Test Rated mA<\/strong>: Taken from the ATmega328P datasheet, and is the level at which specs in the ATmega328P datasheet are measured. In fact the datasheet doesn&#8217;t tend to show or cover performance above 20mA per pin at all.<br \/>\n<strong>IR LED<\/strong>: We used a <a title=\"TSAL6100 from Vishay\" href=\"http:\/\/www.vishay.com\/doc?81009\" target=\"_blank\">TSAL6100 <\/a>from Vishay.<br \/>\n<strong>Arduino<\/strong>: We used an Arduino UNO, with a sketch to generate 36kHz IR signals @ 33% duty cycle using Timer1.<\/p>\n<p>The results are presented in tabular format below &amp; charted above.<\/p>\n<table style=\"height: 359px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col span=\"7\" \/> <\/colgroup>\n<tbody>\n<tr>\n<td class=\"xl70\" width=\"64\" height=\"19\"><strong>Resistor value &#8212;&#8211;&gt;<\/strong><\/td>\n<td class=\"xl70\" style=\"text-align: right;\" width=\"64\"><strong>47R<\/strong><\/td>\n<td class=\"xl70\" style=\"text-align: right;\" width=\"64\"><strong>100R<\/strong><\/td>\n<td class=\"xl70\" style=\"text-align: right;\" width=\"64\"><strong>147R<\/strong><\/td>\n<td class=\"xl70\" style=\"text-align: right;\" width=\"64\"><strong>200R<\/strong><\/td>\n<td class=\"xl70\" style=\"text-align: right;\" width=\"64\"><strong>220R<\/strong><\/td>\n<td class=\"xl65\" style=\"text-align: right;\" width=\"64\"><strong>open<\/strong><\/td>\n<\/tr>\n<tr>\n<td class=\"xl70\" height=\"19\"><strong>Vsupply<\/strong><\/td>\n<td style=\"text-align: right;\" align=\"right\">5.14<\/td>\n<td style=\"text-align: right;\" align=\"right\">5.14<\/td>\n<td style=\"text-align: right;\" align=\"right\">5.14<\/td>\n<td style=\"text-align: right;\" align=\"right\">5.14<\/td>\n<td style=\"text-align: right;\" align=\"right\">5.14<\/td>\n<td style=\"text-align: right;\" align=\"right\">5.14<\/td>\n<\/tr>\n<tr>\n<td class=\"xl70\" height=\"19\"><strong>Vsig<\/strong><\/td>\n<td style=\"text-align: right;\" align=\"right\">3.68<\/td>\n<td class=\"xl69\" style=\"text-align: right;\">4.30<\/td>\n<td class=\"xl69\" style=\"text-align: right;\">4.54<\/td>\n<td class=\"xl66\" style=\"text-align: right;\">4.65<\/td>\n<td class=\"xl66\" style=\"text-align: right;\">4.71<\/td>\n<td style=\"text-align: right;\" align=\"right\">5.14<\/td>\n<\/tr>\n<tr>\n<td class=\"xl70\" height=\"19\"><strong>IR LED Vf<\/strong><\/td>\n<td class=\"xl66\" style=\"text-align: right;\">1.35<\/td>\n<td class=\"xl66\" style=\"text-align: right;\">1.26<\/td>\n<td class=\"xl66\" style=\"text-align: right;\">1.22<\/td>\n<td class=\"xl69\" style=\"text-align: right;\">1.20<\/td>\n<td class=\"xl66\" style=\"text-align: right;\">1.21<\/td>\n<td class=\"xl66\" style=\"text-align: right;\">n\/a<\/td>\n<\/tr>\n<tr>\n<td class=\"xl70\" height=\"19\"><strong>Vresistor<\/strong><\/td>\n<td class=\"xl66\" style=\"text-align: right;\">2.33<\/td>\n<td class=\"xl66\" style=\"text-align: right;\">3.04<\/td>\n<td class=\"xl66\" style=\"text-align: right;\">3.32<\/td>\n<td class=\"xl66\" style=\"text-align: right;\">3.45<\/td>\n<td class=\"xl66\" style=\"text-align: right;\">3.5<\/td>\n<td class=\"xl66\" style=\"text-align: right;\">n\/a<\/td>\n<\/tr>\n<tr>\n<td class=\"xl70\" height=\"19\"><strong>mA<\/strong><\/td>\n<td class=\"xl68\" style=\"text-align: right;\">49.6<\/td>\n<td class=\"xl68\" style=\"text-align: right;\">30.4<\/td>\n<td class=\"xl68\" style=\"text-align: right;\">22.6<\/td>\n<td class=\"xl68\" style=\"text-align: right;\">17.3<\/td>\n<td class=\"xl68\" style=\"text-align: right;\">15.9<\/td>\n<td style=\"text-align: right;\" align=\"right\">0<\/td>\n<\/tr>\n<tr>\n<td class=\"xl70\" height=\"19\"><strong>AVR Test Rated mA<\/strong><\/td>\n<td style=\"text-align: right;\" align=\"right\">20<\/td>\n<td style=\"text-align: right;\" align=\"right\">20<\/td>\n<td style=\"text-align: right;\" align=\"right\">20<\/td>\n<td style=\"text-align: right;\" align=\"right\">20<\/td>\n<td style=\"text-align: right;\" align=\"right\">20<\/td>\n<td style=\"text-align: right;\" align=\"right\">20<\/td>\n<\/tr>\n<tr>\n<td class=\"xl70\" height=\"19\"><strong>AVR Max Rated mA<\/strong><\/td>\n<td style=\"text-align: right;\" align=\"right\">40<\/td>\n<td style=\"text-align: right;\" align=\"right\">40<\/td>\n<td style=\"text-align: right;\" align=\"right\">40<\/td>\n<td style=\"text-align: right;\" align=\"right\">40<\/td>\n<td style=\"text-align: right;\" align=\"right\">40<\/td>\n<td style=\"text-align: right;\" align=\"right\">40<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<figure id=\"attachment_784\" aria-describedby=\"caption-attachment-784\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/TSAL6100-Vf-vs-If.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-784 size-medium\" src=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/TSAL6100-Vf-vs-If-300x264.png\" alt=\"TSAL100 Forward voltage vs current from datasheet\" width=\"300\" height=\"264\" srcset=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/TSAL6100-Vf-vs-If-300x265.png 300w, https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/TSAL6100-Vf-vs-If.png 794w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-784\" class=\"wp-caption-text\">TSAL6100 Forward voltage vs current from datasheet<\/figcaption><\/figure>\n<p><strong>Observations<\/strong><\/p>\n<ol>\n<li>The measurements were all taken at the peak voltage, which is the focus of our interest. IR signals are modulated square waves (carrier) and for this exercise we are only interested in the peak voltage\/current.<\/li>\n<li><strong>Vsupply<\/strong> is constant throughout and didn&#8217;t vary as the load was applied or increased.<\/li>\n<li><strong>Vsig<\/strong> was the same as Vsupply under no load. However, as the current increased the voltage level dropped. This is in line with the expected performance as outlined in the AVR data sheet.<\/li>\n<li><strong>Vresistor<\/strong> also drops as current increases and as the resistor value decreases.<\/li>\n<li><strong>IR LEd Vf<\/strong> increases as the current increases, which is in line with the <a title=\"TSAL6100 from Vishay\" href=\"http:\/\/www.vishay.com\/doc?81009\" target=\"_blank\">datasheet<\/a>. In these tests the IR LED was driven well below its maximum rated current.<\/li>\n<li><strong>mA<\/strong> is a calculated value based on Vresistor\/R. You will note that for the purposes of this test we managed to get a peak 49.6mA at 47R, which is outside the max rating for the Atmeg328P.<\/li>\n<li>Our test IR signal had a carrier duty cycle of 33% and the data signal itself is typically 50% marks &amp; 50% spaces. So the <strong>average current<\/strong> being sourced by the AVR pin is actually 16% of the peak values measured above. If the carrier duty cycle was 50% then the average current would be 25% of the measured peaks.<\/li>\n<li>Consider the current achieved using 200R (17.3mA) and 100R (30.4mA) and you might expect the current to be double as the resistance halved and it clearly does not. This can be explained by two factors in the circuit. Firstly, the AVR pin voltage (Vsig, 4.65v vs 4.30v) decreases as the current increases and the Vf of the IR Led increases as the current increases. So there are 2 factors reducing the voltage available across the resistor and hence the non-linearity of the circuit under test.<\/li>\n<\/ol>\n<p><strong>Conclusions<\/strong><\/p>\n<ul>\n<li>With a 47R resistor the absolute max rating of 40mA for the AVR pin was exceeded at 49.6mA. So it should be easy to accept that an IR LED should not be driven directly by an AVR pin without an appropriate current limiting resistor.<\/li>\n<li>To maintain the peak current at 20mA the resistor value should be circa 173 ohms (or greater).<\/li>\n<li>To maintain the peak current at the 40mA absolute maximum rating the resistor value should be circa 74 ohms (or greater).<\/li>\n<li>It could be argued that designing for higher peak current might be OK because of the duty cycle &amp; modulation. However this scenario is not covered directly by the AVR specs and could easily cause damage to the AVR. The datasheet does state that the absolute max current per pin is 40mA at 5V.<\/li>\n<li>At 100R (30.4mA) we were able to get a range of over 4m (and ocasionally up to double that), when carefully aiming the Test IR LED. The TSAL6100 is a narrow angle IR LED (<em>angle of half intensity +\/-10 degrees<\/em>)and delivers longer ranges than other more common LEDs with wider angles, for the same current.<\/li>\n<li>Since the artice was published we have added an additional chart below which illustrates the voltage changes in the test circuit above as the current passing through the IR LED changes.<\/li>\n<li>If you want to get increased range from your IR LED, then consider using the circuit linked at the top of this post. Otherwise, start with a 220R resistor and work your way down towards 100R or 74R until you get the desired result. Always better to be safe than sorry!<\/li>\n<\/ul>\n<figure id=\"attachment_796\" aria-describedby=\"caption-attachment-796\" style=\"width: 562px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/Atmega328P-CircuitVoltagesvsIRLedCurrent.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-796 size-full\" src=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/Atmega328P-CircuitVoltagesvsIRLedCurrent.png\" alt=\"ATmega328P voltages vs IR LED current\" width=\"562\" height=\"284\" srcset=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/Atmega328P-CircuitVoltagesvsIRLedCurrent.png 562w, https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/Atmega328P-CircuitVoltagesvsIRLedCurrent-300x152.png 300w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/a><figcaption id=\"caption-attachment-796\" class=\"wp-caption-text\">ATmega328P voltages vs IR LED current<\/figcaption><\/figure>\n<p><strong>Caveats<\/strong><\/p>\n<ul>\n<li>The calculations in this post assume an Atmeg328P running at 16MHz and with a 5 volt power supply via USB. Results <span style=\"text-decoration: underline;\">will<\/span> vary for different configurations.<\/li>\n<li>There is also an overall current limit across all pins and modules of AVRs, so make sure to verify your configuration against the data sheet. This value varies, depending on how you configure your system.<\/li>\n<li>Exceeding the absolute max rating can damage your AVR.<\/li>\n<li>Always refer to the datasheet when designing your circuit.<\/li>\n<li>We recommend using a transistor based circuit for driving IR LEDs in projects or even better the <a title=\"Constant current infrared LED emitter circuit\" href=\"https:\/\/www.analysir.com\/blog\/2013\/11\/22\/constant-current-infrared-led-circuit\/\" target=\"_blank\">circuit described in our earlier post<\/a>. However, we often use this simple circuit when trying out new ideas.<\/li>\n<li>The behaviour, performance and characteristics of an AVR are different for other supply voltages and clock speeds. For example the measurements above are not valid for an Arduino running at 3.3V or 8MHz.<\/li>\n<li>Accuracy is restricted to at least +\/- 5%, due to the resistors used.<\/li>\n<\/ul>\n<p><em>If you notice any errors in this post, please contact us via the link at the top with any suggestions or corrections.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A common question asked on forums is one about &#8211; Driving an Infrared Led directly from an Arduino pin.&nbsp; Although the answer may be obvious to anyone with at least a basic knowledge of Ohm&#8217;s Law, many are confused about how to choose a resistor value for optimum performance. Often, there is a debate about &hellip; <a href=\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Driving an Infrared Led directly from an Arduino Pin<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/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":[285,240,241,239,158,7,33,171,242],"class_list":["post-779","post","type-post","status-publish","format-standard","hentry","category-analysir-blog","category-arduino","tag-arduino","tag-atmega328p","tag-atmel","tag-avr","tag-constant-current","tag-infrared","tag-ir","tag-ir-led","tag-voltage"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Driving an Infrared Led directly from an Arduino Pin<\/title>\n<meta name=\"description\" content=\"A common question asked on forums is one about &quot;Driving an Infrared Led directly from an Arduino pin&quot;. Often there is a debate if a resistor is required...\" \/>\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\/10\/03\/driving-infrared-led-directly-arduino-pin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Driving an Infrared Led directly from an Arduino Pin\" \/>\n<meta property=\"og:description\" content=\"A common question asked on forums is one about &quot;Driving an Infrared Led directly from an Arduino pin&quot;. Often there is a debate if a resistor is required...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/\" \/>\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-10-03T21:35:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-14T22:45:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.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=\"6 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\/10\/03\/driving-infrared-led-directly-arduino-pin\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/\"},\"author\":{\"name\":\"User Two\",\"@id\":\"https:\/\/www.analysir.com\/blog\/#\/schema\/person\/16a6d94c57d4f2629096ab80a7b36e13\"},\"headline\":\"Driving an Infrared Led directly from an Arduino Pin\",\"datePublished\":\"2014-10-03T21:35:07+00:00\",\"dateModified\":\"2016-02-14T22:45:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/\"},\"wordCount\":1258,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.png\",\"keywords\":[\"Arduino\",\"ATmega328P\",\"Atmel\",\"AVR\",\"constant current\",\"Infrared\",\"IR\",\"IR LED\",\"voltage\"],\"articleSection\":[\"AnalysIR Blog\",\"Arduino\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/\",\"url\":\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/\",\"name\":\"Driving an Infrared Led directly from an Arduino Pin\",\"isPartOf\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.png\",\"datePublished\":\"2014-10-03T21:35:07+00:00\",\"dateModified\":\"2016-02-14T22:45:35+00:00\",\"description\":\"A common question asked on forums is one about \\\"Driving an Infrared Led directly from an Arduino pin\\\". Often there is a debate if a resistor is required...\",\"breadcrumb\":{\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#primaryimage\",\"url\":\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.png\",\"contentUrl\":\"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.png\",\"width\":200,\"height\":200,\"caption\":\"AnalysIR Logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.analysir.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Driving an Infrared Led directly from an Arduino Pin\"}]},{\"@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":"Driving an Infrared Led directly from an Arduino Pin","description":"A common question asked on forums is one about \"Driving an Infrared Led directly from an Arduino pin\". Often there is a debate if a resistor is required...","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\/10\/03\/driving-infrared-led-directly-arduino-pin\/","og_locale":"en_US","og_type":"article","og_title":"Driving an Infrared Led directly from an Arduino Pin","og_description":"A common question asked on forums is one about \"Driving an Infrared Led directly from an Arduino pin\". Often there is a debate if a resistor is required...","og_url":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/","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-10-03T21:35:07+00:00","article_modified_time":"2016-02-14T22:45:35+00:00","og_image":[{"url":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.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":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#article","isPartOf":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/"},"author":{"name":"User Two","@id":"https:\/\/www.analysir.com\/blog\/#\/schema\/person\/16a6d94c57d4f2629096ab80a7b36e13"},"headline":"Driving an Infrared Led directly from an Arduino Pin","datePublished":"2014-10-03T21:35:07+00:00","dateModified":"2016-02-14T22:45:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/"},"wordCount":1258,"commentCount":0,"publisher":{"@id":"https:\/\/www.analysir.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.png","keywords":["Arduino","ATmega328P","Atmel","AVR","constant current","Infrared","IR","IR LED","voltage"],"articleSection":["AnalysIR Blog","Arduino"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/","url":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/","name":"Driving an Infrared Led directly from an Arduino Pin","isPartOf":{"@id":"https:\/\/www.analysir.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#primaryimage"},"image":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.png","datePublished":"2014-10-03T21:35:07+00:00","dateModified":"2016-02-14T22:45:35+00:00","description":"A common question asked on forums is one about \"Driving an Infrared Led directly from an Arduino pin\". Often there is a debate if a resistor is required...","breadcrumb":{"@id":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#primaryimage","url":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.png","contentUrl":"https:\/\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/10\/logobutton200x200.png","width":200,"height":200,"caption":"AnalysIR Logo"},{"@type":"BreadcrumbList","@id":"https:\/\/www.analysir.com\/blog\/2014\/10\/03\/driving-infrared-led-directly-arduino-pin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.analysir.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Driving an Infrared Led directly from an Arduino Pin"}]},{"@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-cz","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1682,"url":"https:\/\/www.analysir.com\/blog\/2015\/10\/12\/backdoor-upwm-hack-on-arduino-for-infrared-signals-using-uart\/","url_meta":{"origin":779,"position":0},"title":"Backdoor uPWM Hack on Arduino for Infrared signals using UART","author":"User Two","date":"October 12, 2015","format":false,"excerpt":"In this blog post we follow up on our recent article about generation of infrared PWM from the Photon's UART where we suggested that it may be possible to achieve something similar with the Arduino. In our previous attempt the Arduino was only able to generate PWM at 40 kHz\u2026","rel":"","context":"In &quot;AnalysIR Blog&quot;","block_context":{"text":"AnalysIR Blog","link":"https:\/\/www.analysir.com\/blog\/analysir-blog\/"},"img":{"alt_text":"Arduino uPWM Circuit Diagram","src":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2015\/10\/Arduino-uPWM-Circuit.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2015\/10\/Arduino-uPWM-Circuit.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2015\/10\/Arduino-uPWM-Circuit.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":455,"url":"https:\/\/www.analysir.com\/blog\/2014\/03\/05\/arduino-10-common-pitfalls-infrared-remote-control\/","url_meta":{"origin":779,"position":1},"title":"Arduino: 10 common pitfalls with Infrared Remote Control","author":"User Two","date":"March 5, 2014","format":false,"excerpt":"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 'pitfalls'. So we decided to list off our 'Top 10'. \u00a0 (Note a PDF of this\u2026","rel":"","context":"In &quot;AnalysIR Blog&quot;","block_context":{"text":"AnalysIR Blog","link":"https:\/\/www.analysir.com\/blog\/analysir-blog\/"},"img":{"alt_text":"Arduino: 10 common pitfalls with Infrared Remote Control","src":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2014\/03\/VideoThumbnail-300x168.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":779,"position":2},"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":147,"url":"https:\/\/www.analysir.com\/blog\/2013\/11\/15\/testing-analysir\/","url_meta":{"origin":779,"position":3},"title":"Testing AnalysIR with a custom PCB","author":"User Two","date":"November 15, 2013","format":false,"excerpt":"Here are some photos we captured, of a sample of our MCU test rigs and custom PCB for AnalysIR. The photo above shows some of our test setup for Arduino, Raspberry Pi, TI MSP430 LaunchPad and the (big) baby of them all the USB IR Toy. The small red custom\u2026","rel":"","context":"In &quot;AnalysIR Blog&quot;","block_context":{"text":"AnalysIR Blog","link":"https:\/\/www.analysir.com\/blog\/analysir-blog\/"},"img":{"alt_text":"AnalysIRtestrigs","src":"https:\/\/i0.wp.com\/www.analysir.com\/blog\/wp-content\/uploads\/2013\/11\/AnalysIRtestrigs-250x250.png?resize=350%2C200","width":350,"height":200},"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":779,"position":4},"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":4598,"url":"https:\/\/www.analysir.com\/blog\/2019\/05\/09\/ir-signal-plotter-for-irremote-arduino\/","url_meta":{"origin":779,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/posts\/779","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=779"}],"version-history":[{"count":10,"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/posts\/779\/revisions"}],"predecessor-version":[{"id":2130,"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/posts\/779\/revisions\/2130"}],"wp:attachment":[{"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/media?parent=779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/categories?post=779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.analysir.com\/blog\/wp-json\/wp\/v2\/tags?post=779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}