{"id":295685,"date":"2019-12-17T16:23:53","date_gmt":"2019-12-17T16:23:53","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=295685"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=295685","title":{"rendered":"\u0417\u0432\u0435\u0437\u0434\u0430-\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440 \u043d\u0430 \u0451\u043b\u043a\u0443"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/480058\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/m7\/ah\/mj\/m7ahmjr26iyzzdwcuulaowehrss.gif\"><\/p>\n<p>  \u0412 \u043f\u0440\u0435\u0434\u0432\u0435\u0440\u0438\u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u0433\u043e\u0434\u0430 \u0432 \u0434\u0435\u0442\u0441\u043a\u043e\u043c \u0441\u0430\u0434\u0443 \u0437\u0430\u0434\u0430\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0433\u0440\u0443\u0448\u043a\u0443 \u043d\u0430 \u0451\u043b\u043a\u0443. \u042f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043c\u043e\u0447\u044c \u0438 \u0432\u0437\u044f\u0442\u044c \u043d\u0430 \u0441\u0435\u0431\u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043f\u043e \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0438\u044e \u043f\u043e\u0434\u0435\u043b\u043a\u0438, \u0430 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u0441\u043a\u0443\u044e \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u0431\u0435\u043d\u043a\u0443. \u0422.\u043a. \u044f \u043d\u0435 \u0438\u0449\u0443 \u043b\u0435\u0433\u043a\u0438\u0445 \u043f\u0443\u0442\u0435\u0439, \u0442\u043e \u043f\u0440\u0438\u043d\u044f\u043b \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0438\u0433\u0440\u0443\u0448\u043a\u0443 \u0438 \u0447\u0442\u043e-\u0431\u044b \u044d\u0442\u043e \u0431\u044b\u043b\u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0432\u0435\u0442\u044f\u0448\u043a\u0430 \u0432 \u0448\u0430\u0440\u0435. \u041d\u0435 \u0437\u043d\u0430\u044e \u043a\u0430\u043a, \u043d\u043e \u0432 \u043c\u043e\u0435\u0439 \u0433\u043e\u043b\u043e\u0432\u0435 \u0441\u0440\u0430\u0437\u0443 \u0441\u043e\u0437\u0440\u0435\u043b\u0430 \u0438\u0434\u0435\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0432\u0435\u0437\u0434\u0443-\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0448\u0430\u0433\u043e\u0432\u043e\u0433\u043e \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f \u0438 \u0430\u0434\u0440\u0435\u0441\u043d\u044b\u0445 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432.<\/p>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b:<\/p>\n<ol>\n<li>\u041e\u0440\u0433\u0441\u0442\u0435\u043a\u043b\u043e \u0434\u043b\u044f \u0442\u043e\u0440\u0446\u0435\u0432\u043e\u0439 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438<\/li>\n<li>\u0428\u0430\u0433\u043e\u0432\u044b\u0439 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c 28BYJ-48<\/li>\n<li>\u0414\u0440\u0430\u0439\u0432\u0435\u0440 \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0435 ULN2003<\/li>\n<li>\u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 ATTINY85<\/li>\n<li>\u0421\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043d\u0430\u044f \u043b\u0435\u043d\u0442\u0430 WS2812<\/li>\n<\/ol>\n<p><a name=\"habracut\"><\/a><br \/>  \u0415\u0441\u043b\u0438 \u043f\u043e\u0441\u0432\u0435\u0442\u0438\u0442\u044c \u0432 \u043a\u0440\u0430\u0439 \u043e\u0440\u0433\u0441\u0442\u0435\u043a\u043b\u0443 \u0434\u043b\u044f \u0442\u043e\u0440\u0446\u0435\u0432\u043e\u0439 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438, \u0442\u043e \u0431\u0443\u0434\u0443\u0442 \u0441\u0432\u0435\u0442\u0438\u0442\u044c\u0441\u044f \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0440\u0430\u044f, \u043d\u043e \u0438 \u0441\u0430\u043c\u0430 \u043f\u043b\u043e\u0441\u043a\u043e\u0441\u0442\u044c. \u0418\u0437-\u0437\u0430 \u043d\u0435\u043e\u0434\u043d\u043e\u0440\u043e\u0434\u043d\u043e\u0441\u0442\u0438 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0442\u0430\u043a\u043e\u0433\u043e \u043e\u0440\u0433\u0441\u0442\u0435\u043a\u043b\u0430 \u0441\u0432\u0435\u0442 \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437 \u043f\u0435\u0440\u0435\u043e\u0442\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0438 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043b\u043e\u0441\u043a\u043e\u0441\u0442\u044c. \u0420\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u0430\u043b \u043d\u0430 \u043b\u0438\u0441\u0442\u0435 A4 \u043b\u0435\u043a\u0430\u043b\u043e \u0438 \u0432\u044b\u0440\u0435\u0437\u0430\u043b 2 \u0447\u0430\u0441\u0442\u0438 \u0437\u0432\u0435\u0437\u0434\u044b.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/h4\/pn\/gr\/h4pngrv0kcd2xskthuemvqt6wuq.jpeg\" alt=\"image\"><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/9-\/qn\/ny\/9-qnnyzxpts8btngsjh2siy1ii4.jpeg\"><\/p>\n<p>  \u0412 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0447\u0430\u0441\u0442\u0435\u0439 \u043f\u0440\u0438\u043c\u0435\u0440\u0438\u043b \u0448\u0430\u0433\u043e\u0432\u044b\u0439 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c, \u043d\u0430\u0448\u0435\u043b \u0446\u0435\u043d\u0442\u0440 \u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0438 \u0432\u044b\u0440\u0435\u0437\u0430\u043b \u043a\u0440\u0443\u0433\u043b\u043e\u0435 \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u043a\u043b\u0435\u0438\u043b \u043a\u0443\u0441\u043e\u0447\u0435\u043a \u043b\u0435\u043d\u0442\u044b WS2812 \u0441 5 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0430\u043c\u0438. \u041d\u0430 \u0432\u0430\u043b \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u0438\u043b \u0432\u0442\u043e\u0440\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0438 \u0432\u0441\u0435 \u044d\u0442\u043e \u0434\u0435\u043b\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b \u043a Arduino.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/tf\/9f\/y8\/tf9fy8_nagb1xw1am-kcptad9ye.png\"><\/p>\n<p>  \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 Stepper \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0448\u0430\u0433\u043e\u0432\u044b\u043c \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0431\u0430\u0433 \u0438 \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043a\u0440\u0443\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0442\u0438\u0432 \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0435\u043b\u043a\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 TinyStepper_28BYJ_48. \u0414\u043b\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 Adafruit_NeoPixel.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0435\u0442\u0447 \u0434\u043b\u044f \u0437\u0432\u0435\u0437\u0434\u044b-\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\/\/ Documentation for this library can be found at:<br \/>  \/\/ <a href=\"https:\/\/github.com\/Stan-Reifel\/TinyStepper_28BYJ_48\">github.com\/Stan-Reifel\/TinyStepper_28BYJ_48<\/a><br \/>  \/\/<br \/>  \/\/<br \/>  \/\/ This library requires that the stepper motor be connected to the Arduino <br \/>  \/\/ using ULN2003 driver board. <\/p>\n<p>  \/\/ ***********************************************************************<\/p>\n<p>  #include &lt;TinyStepper_28BYJ_48.h&gt;<br \/>  #include &lt;Adafruit_NeoPixel.h&gt;<\/p>\n<p>  \/\/ NEO Pixel configuration<br \/>  #define PIN 0<br \/>  #define LEDS_COUNT 5<br \/>  #define RED strip.Color(255, 0, 0)<br \/>  #define GREEN strip.Color(0, 255, 0)<br \/>  #define BLUE strip.Color(0, 0, 255)<br \/>  #define WHITE strip.Color(255, 255, 255)<\/p>\n<p>  \/\/ pin assignments, any digital pins can be used<br \/>  #define MOTOR_IN1_PIN 1<br \/>  #define MOTOR_IN2_PIN 2<br \/>  #define MOTOR_IN3_PIN 3<br \/>  #define MOTOR_IN4_PIN 4<\/p>\n<p>  \/\/ create the stepper motor object<br \/>  TinyStepper_28BYJ_48 stepper;<br \/>  Adafruit_NeoPixel strip = Adafruit_NeoPixel(LEDS_COUNT, PIN, NEO_GRB + NEO_KHZ800);<\/p>\n<p>  void setup() {<br \/>   \/\/ connect and configure the stepper motor to its IO pins<br \/>   stepper.connectToPins(MOTOR_IN1_PIN, MOTOR_IN2_PIN, MOTOR_IN3_PIN, MOTOR_IN4_PIN);<br \/>   \/\/ set the speed and acceleration rates for the stepper motor<br \/>   stepper.setSpeedInStepsPerSecond(256);<br \/>   stepper.setAccelerationInStepsPerSecondPerSecond(512);<\/p>\n<p>  strip.begin();<br \/>   strip.show(); \/\/ Initialize all pixels to &#8216;off&#8217;<br \/>  }<\/p>\n<p>  void loop() {<br \/>   \/\/ Rotate the motor in the forward direction one revolution<br \/>   stepper.moveRelativeInSteps(410);<br \/>   for (byte i = 0; i &lt; 20; i++){<br \/>   fadeInOut(0xff, 0x00, 0x00); \/\/ red<br \/>   }<\/p>\n<p>  \/\/ rotate backward 1 rotation, then wait 1 second<br \/>   stepper.moveRelativeInSteps(-410);<br \/>   for (byte i = 0; i &lt; 20; i++){<br \/>   fadeInOut(0x00, 0x00, 0xff); \/\/ blue<br \/>   }<br \/>  }<\/p>\n<p>  void fadeInOut(byte red, byte green, byte blue){<br \/>   float r, g, b;<\/p>\n<p>   for(int k = 0; k &lt; 256; k=k+1) {<br \/>   r = (k\/256.0)*red;<br \/>   g = (k\/256.0)*green;<br \/>   b = (k\/256.0)*blue;<br \/>   setAll(r,g,b);<br \/>   strip.show();<br \/>   delay(5);<br \/>   }<\/p>\n<p>   for(int k = 255; k &gt;= 0; k=k-2) {<br \/>   r = (k\/256.0)*red;<br \/>   g = (k\/256.0)*green;<br \/>   b = (k\/256.0)*blue;<br \/>   setAll(r,g,b);<br \/>   strip.show();<br \/>   delay(5);<br \/>   }<br \/>  }<\/p>\n<p>  void setAll(byte red, byte green, byte blue) {<br \/>   for(int i = 0; i &lt; LEDS_COUNT; i++ ) {<br \/>   strip.setPixelColor(i, strip.Color(red, green, blue));<br \/>   }<br \/>   strip.show();<br \/>  }  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"oembed\">\n<div>\n<div style=\"left: 0; width: 100%; height: 0; position: relative; padding-bottom: 56.2493%;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/_vXpzMvhptM?rel=0&amp;showinfo=1&amp;hl=en-US\" style=\"border: 0; top: 0; left: 0; width: 100%; height: 100%; position: absolute;\" allowfullscreen scrolling=\"no\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<p>  \u041e\u043d\u043e \u0436\u0438\u0432\u043e\u0435!!!<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u0441\u0435 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u0432\u043c\u0435\u0441\u0442\u043e Arduino \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c ATTINY85. \u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0443\u044f\u0441\u044c <a href=\"https:\/\/create.arduino.cc\/projecthub\/arjun\/programming-attiny85-with-arduino-uno-afb829\">\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 \u0441 \u0441\u0430\u0439\u0442\u0430 create.arduino.cc<\/a> \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u0448\u0438\u0442\u044c ATTINY85 \u0430\u0440\u0434\u0443\u0438\u043d\u043e\u0432\u0441\u043a\u0438\u043c \u0441\u043a\u0435\u0442\u0447\u0435\u043c. \u0418\u0437 8 \u043d\u043e\u0433 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b 7, 4 \u043d\u0430 \u0448\u0430\u0433\u043e\u0432\u044b\u0439 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c, 1 \u043d\u0430 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u044b, 2 \u043d\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u0435, \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0439 \u043e\u0441\u0442\u0430\u043b\u0441\u044f RESET. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ym\/4g\/i0\/ym4gi00f26xysikfpt4fjebrelq.jpeg\"><\/p>\n<p>  \u0414\u043b\u044f \u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043c\u0430\u043a\u0443\u0448\u043a\u0443 \u0435\u043b\u043a\u0438 \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u043e\u0434\u043e\u0448\u043b\u0430 \u0440\u0443\u0447\u043a\u0430 \u043e\u0442 \u0432\u0430\u043d\u0442\u0443\u0437\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/rd\/-w\/gj\/rd-wgjqv1hv5m04_cujb98vdjmm.png\"><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0434\u0435\u043a\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0442 \u0437\u0432\u0435\u0437\u0434\u0430 \u0441\u0442\u0430\u043b\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u043f\u0430\u0442\u0438\u0447\u043d\u0435\u0435. \u0420\u0443\u0447\u043a\u0443 \u043e\u0431\u043c\u043e\u0442\u0430\u043b\u0438 \u043a\u0440\u0430\u0441\u043d\u043e\u0439 \u0430\u0442\u043b\u0430\u0441\u043d\u043e\u0439 \u043b\u0435\u043d\u0442\u043e\u0439, \u0430 \u043e\u0440\u0433\u0441\u0442\u0435\u043a\u043b\u043e \u043f\u043e\u043a\u0440\u044b\u043b\u0438 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u043c \u043b\u0430\u043a\u043e\u043c \u0441 \u0431\u043b\u0435\u0441\u0442\u043a\u0430\u043c\u0438, \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u044d\u0444\u0444\u0435\u043a\u0442 \u0441\u0432\u0435\u0447\u0435\u043d\u0438\u044f \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0443\u0441\u0438\u043b\u0438\u043b\u0441\u044f.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/i2\/4_\/qh\/i24_qh_hniaov-fk_tmwbx70pou.jpeg\"><\/p>\n<p>  \u0412\u0441\u0435\u0445 \u0441 \u043d\u0430\u0441\u0442\u0443\u043f\u0430\u044e\u0449\u0438\u043c 2020 \u0433\u043e\u0434\u043e\u043c, \u043d\u043e\u0432\u043e\u0433\u043e\u0434\u043d\u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0438 \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438!<\/p>\n<div class=\"oembed\">\n<div>\n<div style=\"left: 0; width: 100%; height: 0; position: relative; padding-bottom: 56.2493%;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/1EOEBSHe-0c?rel=0&amp;showinfo=1&amp;hl=en-US\" style=\"border: 0; top: 0; left: 0; width: 100%; height: 100%; position: absolute;\" allowfullscreen scrolling=\"no\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>               <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d() } } }t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>      <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/480058\/\"> https:\/\/habr.com\/ru\/post\/480058\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/480058\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/m7\/ah\/mj\/m7ahmjr26iyzzdwcuulaowehrss.gif\"><\/p>\n<p>  \u0412 \u043f\u0440\u0435\u0434\u0432\u0435\u0440\u0438\u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u0433\u043e\u0434\u0430 \u0432 \u0434\u0435\u0442\u0441\u043a\u043e\u043c \u0441\u0430\u0434\u0443 \u0437\u0430\u0434\u0430\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0433\u0440\u0443\u0448\u043a\u0443 \u043d\u0430 \u0451\u043b\u043a\u0443. \u042f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043c\u043e\u0447\u044c \u0438 \u0432\u0437\u044f\u0442\u044c \u043d\u0430 \u0441\u0435\u0431\u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043f\u043e \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0438\u044e \u043f\u043e\u0434\u0435\u043b\u043a\u0438, \u0430 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u0441\u043a\u0443\u044e \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u0431\u0435\u043d\u043a\u0443. \u0422.\u043a. \u044f \u043d\u0435 \u0438\u0449\u0443 \u043b\u0435\u0433\u043a\u0438\u0445 \u043f\u0443\u0442\u0435\u0439, \u0442\u043e \u043f\u0440\u0438\u043d\u044f\u043b \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0438\u0433\u0440\u0443\u0448\u043a\u0443 \u0438 \u0447\u0442\u043e-\u0431\u044b \u044d\u0442\u043e \u0431\u044b\u043b\u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0432\u0435\u0442\u044f\u0448\u043a\u0430 \u0432 \u0448\u0430\u0440\u0435. \u041d\u0435 \u0437\u043d\u0430\u044e \u043a\u0430\u043a, \u043d\u043e \u0432 \u043c\u043e\u0435\u0439 \u0433\u043e\u043b\u043e\u0432\u0435 \u0441\u0440\u0430\u0437\u0443 \u0441\u043e\u0437\u0440\u0435\u043b\u0430 \u0438\u0434\u0435\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0432\u0435\u0437\u0434\u0443-\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0448\u0430\u0433\u043e\u0432\u043e\u0433\u043e \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f \u0438 \u0430\u0434\u0440\u0435\u0441\u043d\u044b\u0445 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432.<\/p>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b:<\/p>\n<ol>\n<li>\u041e\u0440\u0433\u0441\u0442\u0435\u043a\u043b\u043e \u0434\u043b\u044f \u0442\u043e\u0440\u0446\u0435\u0432\u043e\u0439 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438<\/li>\n<li>\u0428\u0430\u0433\u043e\u0432\u044b\u0439 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c 28BYJ-48<\/li>\n<li>\u0414\u0440\u0430\u0439\u0432\u0435\u0440 \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0435 ULN2003<\/li>\n<li>\u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 ATTINY85<\/li>\n<li>\u0421\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043d\u0430\u044f \u043b\u0435\u043d\u0442\u0430 WS2812<\/li>\n<\/ol>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-295685","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/295685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=295685"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/295685\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=295685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=295685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=295685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}