{"id":8364,"date":"2016-09-05T07:20:00","date_gmt":"2016-09-05T07:20:00","guid":{"rendered":"https:\/\/www.nebulaluben.com\/?p=8364"},"modified":"2024-04-19T13:40:35","modified_gmt":"2024-04-19T13:40:35","slug":"star-wars-the-old-republic-shae-vizla-electronics","status":"publish","type":"post","link":"https:\/\/www.nebulaluben.com\/en\/star-wars-the-old-republic-shae-vizla-electronics\/","title":{"rendered":"Star Wars The Old Republic &#8211; Shae Vizla: Electronics"},"content":{"rendered":"\n<p><span style=\"color: #666666; font-family: 'calibri';\">Electronics! It\u2019s one<br>of my personal pending subjects and, well, I\u2019m making progress little by little.<br><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\">At least with this costume my aim was to make it better than with the<br><a href=\"http:\/\/www.nebulaluben.com\/2015\/09\/cosplay-leds.html\">Commander Shepard<\/a> one, so I started soldering and adding some basic components.<br>This costume has, on one hand, several LED lights and, on the other, a servo<br>controlled with Arduino.<\/span><\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1500\" height=\"979\" src=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web.jpg\" alt=\"\" class=\"wp-image-609\" srcset=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web.jpg 1500w, https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web-300x196.jpg 300w, https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web-1024x668.jpg 1024w, https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web-768x501.jpg 768w\" sizes=\"auto, (max-width: 1500px) 100vw, 1500px\" \/><\/a><\/figure>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">I want to warn you: This post is going to be<br>difficult for me and maybe I don\u2019t explain myself correctly because I\u2019m a newie<br>in all this stuff. <\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">Let\u2019s begin with the lighting because it\u2019s the<br>easy part.<\/span><\/span><\/span><\/p>\n\n\n\n<!--more-->\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">I used COB (chip on board) LEDs, that is a technology<br>consisting in Multi LED chips packaged together as one lighting module. This<br>kind of lights increases the light area so they shine brighter than the regular<br>ones, they dissipate heat more efficiently and they use to work with 12V<br>batteries. Besides that, these LEDs come in <a href=\"http:\/\/www.dx.com\/s\/ice+blue+led\">different formats<\/a>, so I chose<br>different shapes for different parts of my armor. I chose the ice blue color.<\/span><\/span><\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/IMG-20160712-WA0004.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"1600\" src=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/IMG-20160712-WA0004.jpg\" alt=\"\" class=\"wp-image-610\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><a style=\"margin-left: auto; margin-right: auto;\" href=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-06-2915.03.11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-611\" src=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-06-2915.03.11.jpg\" width=\"225\" height=\"320\"><\/a><\/td><\/tr><tr><td>&nbsp;Shiny AF<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">According to my experience, you can find cheap COB<br>LEDs on <a href=\"http:\/\/www.dx.com\/s\/ice+blue+led\">Deal Extreme <\/a>and they work ok. As you may already know, shipping times<br>are unpredictable, so you have to place your order, at least, one month in advance.<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\">To make the<br>circuits I bought:<\/span><\/span><\/p>\n\n\n\n<p><!-- [if !supportLists]--><span style=\"mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;\"><span style=\"mso-list: Ignore;\"><span style=\"font-family: 'calibri';\">&#8211;<\/span><span style=\"font-size-adjust: none; font-stretch: normal; font: 7pt\/normal 'Times New Roman';\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><!--[endif]--><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\"><a href=\"https:\/\/www.amazon.com\/gp\/product\/B00QC37LEC\/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B00QC37LEC&amp;linkCode=as2&amp;tag=nebulaluben-20&amp;linkId=16c630b90d6c5c7520c28a70e1c20cbf\">A23 battery holder.<\/a><\/span><\/span><\/p>\n\n\n\n<p><!-- [if !supportLists]--><span style=\"mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;\"><span style=\"mso-list: Ignore;\"><span style=\"font-family: 'calibri';\">&#8211;<\/span><span style=\"font-size-adjust: none; font-stretch: normal; font: 7pt\/normal 'Times New Roman';\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\"><span style=\"mso-bidi-font-style: normal;\"><a href=\"https:\/\/www.amazon.es\/gp\/product\/B00I2EZ9RA\/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;camp=3626&amp;creative=24790&amp;creativeASIN=B00I2EZ9RA&amp;linkCode=as2&amp;tag=nebulaluben-21\">12V batteries (A23 model)<\/a><\/span><\/span><\/span><\/p>\n\n\n\n<p><!-- [if !supportLists]--><span style=\"mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;\"><span style=\"mso-list: Ignore;\"><span style=\"font-family: 'calibri';\">&#8211;<\/span><span style=\"font-size-adjust: none; font-stretch: normal; font: 7pt\/normal 'Times New Roman';\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"font-family: 'calibri';\"><a href=\"http:\/\/www.dx.com\/p\/jtron-6-pin-toggle-switch-battery-box-dedicated-switch-black-10-pcs-392709\"><span style=\"color: #666666;\">Small toggle switches.<\/span><\/a><\/span><\/p>\n\n\n\n<p><!-- [if !supportLists]--><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;\"><span style=\"mso-list: Ignore;\"><span style=\"font-family: 'calibri';\">&#8211;<\/span><span style=\"font-size-adjust: none; font-stretch: normal; font: 7pt\/normal 'Times New Roman';\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"font-family: 'calibri';\"><a href=\"https:\/\/www.amazon.es\/gp\/product\/B00SO31GHQ\/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;camp=3626&amp;creative=24790&amp;creativeASIN=B00SO31GHQ&amp;linkCode=as2&amp;tag=nebulaluben-21\">Red and black wires to distinguish between the positive and negative(you can choose other colors if you like).<\/a><\/span><\/p>\n\n\n\n<p><!-- [if !supportLists]--><span style=\"mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;\"><span style=\"mso-list: Ignore;\"><span style=\"font-family: 'calibri';\">&#8211;<\/span><span style=\"font-size-adjust: none; font-stretch: normal; font: 7pt\/normal 'Times New Roman';\"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"font-family: 'calibri';\"><a href=\"http:\/\/www.dx.com\/s\/ice+blue+cob+led\"><span style=\"color: #666666;\">COB LED lights.<\/span><\/a><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">I used a <a href=\"https:\/\/www.amazon.es\/gp\/product\/B00CSLRG7E\/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;camp=3626&amp;creative=24790&amp;creativeASIN=B00CSLRG7E&amp;linkCode=as2&amp;tag=nebulaluben-21\">soldering iron<\/a> and tin to join<br>everything together.<\/span><\/span><\/span><span style=\"font-family: 'calibri';\"><br><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">This is the circuit we did. Each light goes in<br>different parts of the armor, so I made one circuit per LED. As all of them<br>work with 12V and the batteries have that power, I didn\u2019t have to use any<br>resistor.<\/span><\/span><\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ELECTRONICA1LED.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"613\" height=\"327\" src=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ELECTRONICA1LED.jpg\" alt=\"\" class=\"wp-image-612\"\/><\/a><\/figure>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">Things to have in mind:<\/span><\/span><\/span><span style=\"font-family: 'calibri';\"><br><\/span><\/p>\n\n\n\n<p><!-- [if !supportLists]--><span style=\"color: #666666;\"><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;\"><span style=\"mso-list: Ignore;\"><span style=\"font-family: 'calibri';\">&#8211;<\/span><span style=\"font-size-adjust: none; font-stretch: normal; font: 7pt\/normal 'Times New Roman';\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><\/span><\/span><\/span><!--[endif]--><\/span><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">As every LED capsule has a different<br>format, you have to pay attention and look for the correct place for the anode<br>(+) and cathode (-). It\u2019s very easy to distinguish, but the symbols sometimes<br>are super tiny.<\/span><\/span><\/span><\/p>\n\n\n\n<p><!-- [if !supportLists]--><span style=\"mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;\"><span style=\"mso-list: Ignore;\"><span style=\"font-family: 'calibri';\">&#8211;<\/span><span style=\"font-size-adjust: none; font-stretch: normal; font: 7pt\/normal 'Times New Roman';\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<\/span><\/span><\/span><\/p>\n\n\n\n<p><!-- [if !supportLists]--><span style=\"color: #666666;\"><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;\"><span style=\"mso-list: Ignore;\"><span style=\"font-family: 'calibri';\">&#8211;<\/span><span style=\"font-size-adjust: none; font-stretch: normal; font: 7pt\/normal 'Times New Roman';\">&nbsp; &nbsp;<br><\/span><\/span><\/span><!--[endif]--><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\">When soldering the components you<br>must know that:<\/span><\/span><\/span><\/p>\n\n\n\n<p><!-- [if !supportLists]--><span style=\"color: #666666;\"><span lang=\"EN-US\" style=\"font-family: 'courier new'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font-size-adjust: none; font-stretch: normal; font: 7pt\/normal 'Times New Roman';\">&nbsp;&nbsp;<br><\/span><\/span><\/span><!--[endif]--><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\">The positive wire of the battery<br>goes together with the middle pin of the switch.<\/span><\/span><\/span><\/p>\n\n\n\n<p><!-- [if !supportLists]--><span style=\"color: #666666;\"><span lang=\"EN-US\" style=\"font-family: 'courier new'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font-size-adjust: none; font-stretch: normal; font: 7pt\/normal 'Times New Roman';\">&nbsp;&nbsp;<br><\/span><\/span><\/span><!--[endif]--><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\">The positive wire from the led goes<br>to one of the lateral pins in the switch (any of them). This is what allows you<br>to cut or let pass the current to the LED.<\/span><\/span><\/span><\/p>\n\n\n\n<p><!-- [if !supportLists]--><span style=\"color: #666666;\"><span lang=\"EN-US\" style=\"font-family: 'courier new'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Courier New';\"><span style=\"mso-list: Ignore;\">o<span style=\"font-size-adjust: none; font-stretch: normal; font: 7pt\/normal 'Times New Roman';\">&nbsp;&nbsp;<br><\/span><\/span><\/span><!--[endif]--><\/span><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">The negative of the LED goes<br>soldered to the negative of the battery.<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"color: #666666; font-family: 'calibri';\">This way you\u2019ll have your circuit ready. I take this chance to thank <a href=\"https:\/\/www.facebook.com\/alen.dacosta\">Mac Cougar <\/a>his help with the displays. I designed them in Photoshop and he laser carved them. Super nice detail!<\/span><\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-06-1610.34.16.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"1152\" src=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-06-1610.34.16.jpg\" alt=\"\" class=\"wp-image-613\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-06-1610.34.40.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"1152\" src=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-06-1610.34.40.jpg\" alt=\"\" class=\"wp-image-614\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-07-0411.16.54.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"1536\" src=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-07-0411.16.54.jpg\" alt=\"\" class=\"wp-image-615\"\/><\/a><\/figure>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">To have a moving rangefinder ,I used a little servo<br>controlled by an Arduino board. Someday, when I feel more confident in this<br>subject, I\u2019ll talk deeper about Arduino, its laguange, simple programs, etc. By<br>now, I barely know how to write a simple code from scratch. I just can<br>recognize different parts of a code and I\u2019m able to alter them to my needs. And<br>that\u2019s what I did: I found a code to activate the servo with a button, make it<br>move to X degrees, push the button again and move it back to the initial<br>position. So I changed the values <span style=\"mso-spacerun: yes;\">&nbsp;<\/span>for it<br>to turn 80 degrees in 20 milliseconds. I did nothing more!<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">I looked for the code in so many webpages that<br>right now I\u2019ve been unable to find the one which I took it from. (If you\u2019re the<br>creator, please tell me and I\u2019ll give you credit).<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">I first tried the circuit in my starter pack Arduino Uno and then I made it in an Arduino Micro for it to fit into the helmet. This is the circuit scheme:<\/span><\/span><\/span><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><a style=\"margin-left: auto; margin-right: auto;\" href=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ELECTRONICA2arduinouno.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-616\" src=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ELECTRONICA2arduinouno.jpg\" width=\"257\" height=\"320\"><\/a><\/td><\/tr><tr><td>Arduino UNO<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-07-1015.45.19.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"1536\" src=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-07-1015.45.19.jpg\" alt=\"\" class=\"wp-image-617\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><a style=\"margin-left: auto; margin-right: auto;\" href=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ELECTRONICA3arduinomicro.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-618\" src=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ELECTRONICA3arduinomicro.jpg\" width=\"320\" height=\"265\"><\/a><\/td><\/tr><tr><td>Arduino Micro<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-07-1013.14.15.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"1536\" src=\"https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/2016-07-1013.14.15.jpg\" alt=\"\" class=\"wp-image-619\"\/><\/a><\/figure>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">And this is the code with some explanations of<br>my own and of the original creator in the lines I understand in case you want to copy and alter it.<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">#include<br>&lt;Servo.h&gt; <span style=\"color: #c27ba0;\">\/\/Include servo library.<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">\/\/ constant<br>variables used to set servo angles, in degrees<\/span><\/span><\/span><\/p>\n\n\n\n<p><span style=\"background-color: #cccccc;\"><span style=\"font-family: 'calibri';\">const int straight = 0; <span style=\"color: #7f7f7f; mso-themecolor: text1; mso-themetint: 128;\"><span style=\"color: #7f7f7f;\">&nbsp;<\/span><span style=\"color: #c27ba0;\">\/\/El motor parte de 0<\/span><\/span><\/span><span style=\"color: #c27ba0; font-family: 'calibri';\">\u00b0<\/span><span style=\"color: #c27ba0; font-family: 'calibri';\">\/ <\/span>servo starts in 0<span style=\"color: #c27ba0; font-family: 'calibri';\">\u00b0<\/span><\/span><\/p>\n\n\n\n<p><span style=\"background-color: #cccccc;\"><span style=\"font-family: 'calibri';\">const int divergent =80; <span style=\"color: #c27ba0; mso-themecolor: text1; mso-themetint: 128;\">\/\/El motor termina en 80\u00b0\/ Servo moves 8<\/span><\/span><span style=\"color: #c27ba0; font-family: 'calibri';\">\u00b0<\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc; color: #c27ba0;\">\/\/&nbsp; constant<br>variables holding the ids of the pins we are using<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">const int<br>buttonpin = 8; <span style=\"color: #c27ba0;\">\/\/This pin receives the button info when pressed.<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">const int<br>servopin = 9; <span style=\"color: #c27ba0;\">\/\/Servo receives information from this pin.<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc; color: #c27ba0;\">\/\/ servo movement<br>step delay, in milliseconds<\/span><\/span><\/span><\/p>\n\n\n\n<p><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">const int step_delay = 20; <span style=\"color: #c27ba0; mso-themecolor: text1; mso-themetint: 128;\">\/\/20 miliseconds<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc; color: #c27ba0;\">\/\/create a<br>servo object<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">Servo<br>myservo;<span style=\"mso-spacerun: yes;\">&nbsp; <\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc; color: #c27ba0;\">\/\/ global<br>variables to store servo position<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">int pos =<br>straight; <span style=\"color: #c27ba0;\">\/\/ current<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">int old_pos<br>= pos; <span style=\"color: #c27ba0;\">\/\/ previous<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">void<br>setup() <\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">{ <\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"color: #c27ba0;\"><span style=\"mso-spacerun: yes;\">&nbsp; <\/span>\/\/ set the mode for the digital pins in use<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp; <\/span>pinMode(buttonpin, INPUT);<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">&nbsp;&nbsp; <\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"color: #c27ba0;\"><span style=\"mso-spacerun: yes;\">&nbsp; <\/span>\/\/ setup the servo<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp; <\/span>myservo.attach(servopin);<span style=\"mso-spacerun: yes;\">&nbsp;<\/span><span style=\"color: #c27ba0;\">\/\/ attach to the servo on pin 9<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp; <\/span>myservo.write(pos); <span style=\"color: #c27ba0;\">\/\/ set the initial servo<br>position<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">}<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">void loop()<br><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">{ <\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"color: #c27ba0; font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;<\/span>\/\/ start each iteration of the loop by reading<br>the button<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"color: #c27ba0;\"><span style=\"mso-spacerun: yes;\">&nbsp;<\/span>\/\/ if the button is pressed (reads HIGH), move<br>the servo<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp; <\/span>int button_state = digitalRead(buttonpin);<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp; <\/span>if(button_state == HIGH){<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp; <\/span>old_pos = pos;<span style=\"mso-spacerun: yes;\">&nbsp;&nbsp; <\/span><span style=\"color: #c27ba0;\">\/\/ save the current position<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;<span style=\"color: #c27ba0;\">&nbsp; <\/span><\/span><span style=\"color: #c27ba0;\">\/\/ Toggle the position to the opposite<br>value<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp; <\/span>pos = pos == straight ? divergent:<br>straight;<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: #c27ba0;\">\/\/ Move the servo to its new position<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp; <\/span>if(old_pos &lt; pos){<span style=\"mso-spacerun: yes;\">&nbsp;&nbsp; <\/span>\/\/ if the new angle is higher<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;<span style=\"color: #c27ba0;\">&nbsp;&nbsp;&nbsp; <\/span><\/span><span style=\"color: #c27ba0;\">\/\/ increment the servo position from<br>oldpos to pos<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp; <\/span><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span>for(int i = old_pos + 1; i &lt;= pos;<br>i++){<span style=\"mso-spacerun: yes;\">&nbsp; <\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>myservo.write(i); <span style=\"color: #c27ba0;\">\/\/ write the next<br>position to the servo<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>delay(step_delay);<span style=\"color: #c27ba0;\"> \/\/ wait<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>}<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp; <\/span>} else {<span style=\"mso-spacerun: yes;\">&nbsp;<br><\/span>\/\/ otherwise the new angle is equal or lower<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: #c27ba0;\">\/\/ decrement the servo position from<br>oldpos to pos<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>for(int i = old_pos &#8211; 1; i &gt;= pos;<br>i&#8211;){ <\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>myservo.write(i); <span style=\"color: #c27ba0;\">\/\/ write the next<br>position to the servo<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>delay(step_delay); <span style=\"color: #c27ba0;\">\/\/ wait<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>}<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp;&nbsp;&nbsp; <\/span>}<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\"><span style=\"mso-spacerun: yes;\">&nbsp; <\/span>} <\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"background-color: #cccccc;\">}<span style=\"color: #c27ba0;\">\/\/ end of<br>loop<\/span><\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">And that\u2019s it! To upload the code to the board,<br>you just have to connect it via USB to your PC, select the port and your<br>specific Arduino board name, copy it to the <a href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\">software<\/a> , compile, upload it and<br>it should work.<\/span><\/span><\/span><\/p>\n\n\n\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/pfXtR33Z0Tk\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">This has been my first Arduino Project. I know<br>it\u2019s quite simple and I still have a lot to learn, but it means a little<br>personal success for me and I\u2019m pretty proud. Hope I encouraged you to try it!<\/span><\/span><\/span><\/p>\n\n\n\n<p><span lang=\"EN-US\" style=\"mso-ansi-language: EN-US;\"><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">Feel free to comment anything down below or in<br>my social media. I\u2019d highly appreciate if you correct me in case you\u2019ve seen<br>something wrong in this entry.<\/span><\/span><\/span><\/p>\n\n\n\n<p><span style=\"font-family: 'calibri';\"><span style=\"color: #666666;\">Thanks for Reading!<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Electronics! It\u2019s oneof my personal pending subjects and, well, I\u2019m making progress little by little.At least with this costume my [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":4121,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[488,406],"tags":[474,430],"class_list":["post-8364","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics","category-cosplay_tutorials","tag-star-wars-en","tag-tutorial-en"],"uagb_featured_image_src":{"full":["https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web.jpg",1500,979,false],"thumbnail":["https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web-150x150.jpg",150,150,true],"medium":["https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web-300x196.jpg",300,196,true],"medium_large":["https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web-768x501.jpg",768,501,true],"large":["https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web-1024x668.jpg",1024,668,true],"1536x1536":["https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web.jpg",1500,979,false],"2048x2048":["https:\/\/www.nebulaluben.com\/wp-content\/uploads\/2016\/09\/ShaeVizla4web.jpg",1500,979,false]},"uagb_author_info":{"display_name":"Nebulaluben","author_link":"https:\/\/www.nebulaluben.com\/en\/author\/nebulaluben\/"},"uagb_comment_info":0,"uagb_excerpt":"Electronics! It\u2019s oneof my personal pending subjects and, well, I\u2019m making progress little by little.At least with this costume my [&hellip;]","_links":{"self":[{"href":"https:\/\/www.nebulaluben.com\/en\/wp-json\/wp\/v2\/posts\/8364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nebulaluben.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nebulaluben.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nebulaluben.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nebulaluben.com\/en\/wp-json\/wp\/v2\/comments?post=8364"}],"version-history":[{"count":2,"href":"https:\/\/www.nebulaluben.com\/en\/wp-json\/wp\/v2\/posts\/8364\/revisions"}],"predecessor-version":[{"id":8366,"href":"https:\/\/www.nebulaluben.com\/en\/wp-json\/wp\/v2\/posts\/8364\/revisions\/8366"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nebulaluben.com\/en\/wp-json\/wp\/v2\/media\/4121"}],"wp:attachment":[{"href":"https:\/\/www.nebulaluben.com\/en\/wp-json\/wp\/v2\/media?parent=8364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nebulaluben.com\/en\/wp-json\/wp\/v2\/categories?post=8364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nebulaluben.com\/en\/wp-json\/wp\/v2\/tags?post=8364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}