{"id":93550,"date":"2022-03-30T15:11:18","date_gmt":"2022-03-30T09:41:18","guid":{"rendered":"https:\/\/www.electronicsforu.com\/?p=93550"},"modified":"2024-07-29T17:08:11","modified_gmt":"2024-07-29T11:38:11","slug":"control-tv-with-alexa-iot-tv-controller","status":"publish","type":"post","link":"https:\/\/www.electronicsforu.com\/electronics-projects\/control-tv-with-alexa-iot-tv-controller","title":{"rendered":"DIY: Control TV With Alexa IoT TV Controller"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-54647\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2019\/06\/Ashwani-1-1-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/>In a smart home, electronic appliances can be controlled through voice or gesture, including a TV set. Unfortunately, this feature is not available in most TVs. To use such a feature, a Fire TV stick is needed, but it gives only limited TV access. So we decided to control TV with Alexa.<iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/OLVkhE8BHDI\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>So, here is an exciting <a href=\"https:\/\/www.electronicsforu.com\/iot-projects-ideas\">IoT project<\/a> to make an Alexa IoT TV controller that will solve the problem. The system works by connecting Alexa to an IoT device over Wi-Fi. The IoT device receives commands from Alexa to trigger the IR LED for controlling the set-top box or TV.<\/p>\n<figure id=\"attachment_93531\" aria-describedby=\"caption-attachment-93531\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-93531 size-medium\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/1-17-500x298.jpg\" alt=\"Alexa IoT TV controller\" width=\"500\" height=\"298\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/1-17-500x298.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/1-17-1024x611.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/1-17-696x415.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/1-17-1068x637.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/1-17-704x420.jpg 704w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/1-17.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-93531\" class=\"wp-caption-text\">Fig. 1: Author\u2019s prototype<\/figcaption><\/figure>\n<p>The Alexa IoT TV controller is not just restricted to controlling TVs. You can use it to control any device that uses an IR remote control. Sounds interesting? Gather your tools and let us get started with this terrific IoT project.<\/p>\n<p>To install the ESP8266 board in Arduino IDE, go to Files\u2192Preferences\u2192Paste the <em>http:\/\/arduino.esp8266.com\/stable\/package_esp8266com_index.json<\/em> URL. Then go to Tools\u2192Board Managers\u2192Search esp8266 and install the board in Arduino IDE.<\/p>\n<p>Also, install the library <em>espalexa<\/em> in Arduino IDE, which will allow Alexa to control the IoT appliances that have been added to the Alexa app. Next, install the IR remote library that will allow you to decode the hex code for transmission to the TV.<\/p>\n<h2>Coding<\/h2>\n<p>We need to write two codes: one for ESP8266-01 which will be used as an IoT device for Alexa and the other for Arduino which will trigger the IR LED to control the TV. For controlling the TV using Alexa, create the code using <em>espalexa<\/em> library. It also allows the addition of lighting devices to Alexa. However, do remember to set the function for passing the control commands to Arduino for controlling the TV instead of the lights.<\/p>\n<figure id=\"attachment_93532\" aria-describedby=\"caption-attachment-93532\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-93532 size-medium\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/2-16-500x363.jpg\" alt=\"Code for ESP8266\" width=\"500\" height=\"363\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/2-16-500x363.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/2-16-1024x743.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/2-16-696x505.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/2-16-1068x775.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/2-16-579x420.jpg 579w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/2-16-324x235.jpg 324w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/2-16.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-93532\" class=\"wp-caption-text\">Fig. 2: Code for ESP8266<\/figcaption><\/figure>\n<figure id=\"attachment_93533\" aria-describedby=\"caption-attachment-93533\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-93533 size-medium\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/3-14-500x272.jpg\" alt=\"Code setup function\" width=\"500\" height=\"272\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/3-14-500x272.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/3-14-1024x556.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/3-14-696x378.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/3-14-1068x580.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/3-14-773x420.jpg 773w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/3-14.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-93533\" class=\"wp-caption-text\">Fig. 3: Code setup function<\/figcaption><\/figure>\n<figure id=\"attachment_93534\" aria-describedby=\"caption-attachment-93534\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-93534 size-medium\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/4-13-500x359.jpg\" alt=\"ESP code consisting of commands to send from serial to Arduino\" width=\"500\" height=\"359\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/4-13-500x359.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/4-13-1024x735.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/4-13-696x500.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/4-13-1068x767.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/4-13-585x420.jpg 585w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/4-13.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-93534\" class=\"wp-caption-text\">Fig. 4: ESP code consisting of commands to send from serial to Arduino<\/figcaption><\/figure>\n<figure id=\"attachment_93536\" aria-describedby=\"caption-attachment-93536\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-93536 size-medium\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/6-9-500x288.jpg\" alt=\"Arduino code\" width=\"500\" height=\"288\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/6-9-500x288.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/6-9-1024x590.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/6-9-696x401.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/6-9-1068x615.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/6-9-729x420.jpg 729w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/6-9.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-93536\" class=\"wp-caption-text\">Fig. 5: Arduino code<\/figcaption><\/figure>\n<figure id=\"attachment_93535\" aria-describedby=\"caption-attachment-93535\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-93535 size-medium\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/5-10-500x202.jpg\" alt=\"IR remote code \" width=\"500\" height=\"202\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/5-10-500x202.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/5-10-1024x414.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/5-10-1536x622.jpg 1536w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/5-10-696x282.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/5-10-1068x432.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/5-10-1038x420.jpg 1038w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/5-10.jpg 2026w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-93535\" class=\"wp-caption-text\">Fig. 6: IR remote code<\/figcaption><\/figure>\n<figure id=\"attachment_93537\" aria-describedby=\"caption-attachment-93537\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-93537 size-medium\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/7-8-500x216.jpg\" alt=\"Arduino code with IR PWM code to send from IR LED\" width=\"500\" height=\"216\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/7-8-500x216.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/7-8-1024x442.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/7-8-696x301.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/7-8-1068x461.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/7-8-972x420.jpg 972w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/7-8.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-93537\" class=\"wp-caption-text\">Fig. 7: Arduino code with IR PWM code to send from IR LED<\/figcaption><\/figure>\n<figure id=\"attachment_93538\" aria-describedby=\"caption-attachment-93538\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-93538 size-medium\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/8-6-500x245.jpg\" alt=\"Defining variables to store the IR code array\" width=\"500\" height=\"245\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/8-6-500x245.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/8-6-1024x502.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/8-6-696x341.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/8-6-1068x523.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/8-6-857x420.jpg 857w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/8-6-324x160.jpg 324w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/8-6-533x261.jpg 533w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/8-6.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-93538\" class=\"wp-caption-text\">Fig. 8: Defining variables to store the IR code array<\/figcaption><\/figure>\n<figure id=\"attachment_93539\" aria-describedby=\"caption-attachment-93539\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-93539 size-medium\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/9-4-500x159.jpg\" alt=\"Arduino setup function\" width=\"500\" height=\"159\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/9-4-500x159.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/9-4-1024x325.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/9-4-696x221.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/9-4-1068x339.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/9-4-1325x420.jpg 1325w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/9-4.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-93539\" class=\"wp-caption-text\">Fig. 9: Arduino setup function<\/figcaption><\/figure>\n<figure id=\"attachment_93540\" aria-describedby=\"caption-attachment-93540\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-93540 size-medium\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/10-4-500x361.jpg\" alt=\"Loop function for Arduino\" width=\"500\" height=\"361\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/10-4-500x361.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/10-4-1024x740.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/10-4-696x503.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/10-4-1068x772.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/10-4-581x420.jpg 581w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/10-4-324x235.jpg 324w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/10-4.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-93540\" class=\"wp-caption-text\">Fig. 10: Loop function for Arduino<\/figcaption><\/figure>\n<figure id=\"attachment_93541\" aria-describedby=\"caption-attachment-93541\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-93541 size-medium\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/11-4-500x350.jpg\" alt=\"Code sending IR signal for respective buttons of remote\" width=\"500\" height=\"350\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/11-4-500x350.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/11-4-1024x717.jpg 1024w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/11-4-696x487.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/11-4-1068x748.jpg 1068w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/11-4-600x420.jpg 600w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/11-4-100x70.jpg 100w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/03\/11-4.jpg 1331w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-93541\" class=\"wp-caption-text\">Fig. 11: Code sending IR signal for respective buttons of remote<\/figcaption><\/figure>\n<h3>Esp8266-01 code<\/h3>\n<p>For writing the code, first, initialise espalexa library and then add the required device(s) in the code so that Alexa receives the function of individual buttons of the TV remote.<\/p>\n<p>Note. Since espalexa cannot be made to work as a remote device, use the following hack instead. Create a function for light, which will trigger the IR LED of the TV and enable you to control it like an IR remote. For example, for the \u2018on\u2019 button, create a function named as Light 1 in the code. Continue adding 13 to 14 separate functions, say, Light 1 up to Light 13 (as per requirement) for performing other operations.<\/p>\n<p>In the setup function, set a serial baud rate of either 9600 or 115200 so that commands can be successfully passed on to Arduino.<\/p>\n<p>Create a loop function for setting the function of devices such as Light 1, Light 2, etc.<\/p>\n<p>Whenever Alexa is given a command, it will trigger functions Light 1, Light 2, etc. associated with a specific connected device, that is, a TV remote. These functions correspond to commands like volume up\/down, TV on\/off, next channel, favorite channel, etc.<\/p>\n<p>Arduino code. Write the code for Arduino to retrieve commands from <em>espalexa<\/em> and then trigger the IR LED to perform as a TV remote control.<\/p>\n<div class=\"mepr_error\"><div class=\"locked-content\">\n<b>EFY++ CONTENT: ACCESS TO THIS CONTENT IS FREE! BUT YOU NEED TO BE A REGISTERED USER.<\/b><\/p>\n<p>Oops! This is an EFY++ article, which means it's our Premium Content. You need to be a Registered User of our website to read its complete content.<\/p>\n<p><b>Good News: <\/b>You can register to our website for FREE! <a href=\"https:\/\/www.electronicsforu.com\/plans\/subscription-plans\" target=\"_blank\" rel=\"noopener\">CLICK HERE<\/a> to register now.<\/p>\n<p><b>Already a registered member? <\/b>If YES, then simply login to you account below. (TIP: Use 'forgot password' feature and reset and save your new password in your browser, if you forgot the last one!)\n<\/div>\n<\/div><div>\n<div class=\"mp_wrapper mp_login_form\">\n                  <!-- mp-login-form-start -->     <form name=\"mepr_loginform\" id=\"mepr_loginform\" class=\"mepr-form\" action=\"https:\/\/www.electronicsforu.com\/login\" method=\"post\">\n            <div class=\"mp-form-row mepr_username\">\n        <div class=\"mp-form-label\">\n                              <label for=\"user_login\">Username<\/label>\n        <\/div>\n        <input type=\"text\" name=\"log\" id=\"user_login\" value=\"\" \/>\n      <\/div>\n      <div class=\"mp-form-row mepr_password\">\n        <div class=\"mp-form-label\">\n          <label for=\"user_pass\">Password<\/label>\n          <div class=\"mp-hide-pw\">\n            <input type=\"password\" name=\"pwd\" id=\"user_pass\" value=\"\" \/>\n            <button type=\"button\" class=\"button mp-hide-pw hide-if-no-js\" data-toggle=\"0\" aria-label=\"Show password\">\n              <span class=\"dashicons dashicons-visibility\" aria-hidden=\"true\"><\/span>\n            <\/button>\n          <\/div>\n        <\/div>\n      <\/div>\n            <div>\n        <label><input name=\"rememberme\" type=\"checkbox\" id=\"rememberme\" value=\"forever\" \/> Remember Me<\/label>\n      <\/div>\n      <div class=\"mp-spacer\">&nbsp;<\/div>\n      <div class=\"submit\">\n        <input type=\"submit\" name=\"wp-submit\" id=\"wp-submit\" class=\"button-primary mepr-share-button \" value=\"Log In\" \/>\n        <input type=\"hidden\" name=\"redirect_to\" value=\"\/wp-json\/wp\/v2\/posts\/93550\" \/>\n        <input type=\"hidden\" name=\"mepr_process_login_form\" value=\"true\" \/>\n        <input type=\"hidden\" name=\"mepr_is_login_page\" value=\"false\" \/>\n      <\/div>\n    <\/form>\n    <div class=\"mp-spacer\">&nbsp;<\/div>\n    <div class=\"mepr-login-actions\">\n      <a href=\"https:\/\/www.electronicsforu.com\/login?action=forgot_password\">Forgot Password<\/a>\n    <\/div>\n\n      \n    <!-- mp-login-form-end --> \n  <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In a smart home, electronic appliances can be controlled through voice or gesture, including a TV set. Unfortunately, this feature is not available in most TVs. To use such a feature, a Fire TV stick is needed, but it gives only limited TV access. So we decided to control TV with Alexa. So, here is [&hellip;]<\/p>\n","protected":false},"author":33369,"featured_media":93531,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23,3805,3713],"tags":[10423,1985,1911,110,83,8296],"class_list":{"0":"post-93550","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-electronics-projects","8":"category-hardware-diy","9":"category-arduino-projects","10":"category-premium","11":"tag-dec-2021","12":"tag-diy-projects","13":"tag-do-it-yourself","14":"tag-electronics-projects","15":"tag-featured","16":"tag-premium"},"_links":{"self":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/93550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/users\/33369"}],"replies":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/comments?post=93550"}],"version-history":[{"count":1,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/93550\/revisions"}],"predecessor-version":[{"id":144795,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/93550\/revisions\/144795"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media\/93531"}],"wp:attachment":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media?parent=93550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/categories?post=93550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/tags?post=93550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}