{"id":280499,"date":"2016-11-06T05:50:04","date_gmt":"2016-11-06T02:50:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=280499"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=280499","title":{"rendered":"\u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Raspberry Pi \u0438 Arduino"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/geektimes\/post_images\/646\/052\/3e1\/6460523e1496f0be7641e42d0c3f8e8a.png\" alt=\"image\"\/><\/p>\n<p>  \u042d\u0442\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043b \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0447\u0430\u0441\u0442\u0438 \u2014 &quot;<a href=\"https:\/\/geektimes.ru\/post\/280300\/\">\u041e\u043d\u043b\u0430\u0439\u043d-\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0443\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430<\/a>&quot; \u0438 &quot;<a href=\"https:\/\/geektimes.ru\/post\/280748\/\">\u041e\u043d\u043b\u0430\u0439\u043d \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f Raspberry Pi<\/a>&quot;, \u0438 \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c GPIO Raspberry Pi \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u043e\u0439 \u043a \u043d\u0435\u0439 Arduino \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.<\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0421\u0443\u0442\u044c \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0443 \u0412\u0430\u0441 \u0435\u0441\u0442\u044c Raspberry Pi \u0438 Arduino, \u0442\u043e\u0433\u0434\u0430 \u0441\u043e\u0431\u0440\u0430\u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e \u0441\u0435\u0442\u0438 \u0438\u0437 <a href=\"https:\/\/geektimes.ru\/post\/280300\/\">\u044d\u0442\u043e\u0439<\/a> \u0441\u0442\u0430\u0442\u044c\u0438 \u0438 <a href=\"https:\/\/geektimes.ru\/post\/280748\/\">\u044d\u0442\u043e\u0439<\/a>, \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0432 \u0410\u0440\u0434\u0443\u0438\u043d\u0443 \u043a Raspberry (\u043f\u043e usb), \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u044d\u0442\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u0432 \u043e\u0434\u0438\u043d.<\/p>\n<p>  \u041f\u0440\u043e\u0449\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, Raspberry Pi \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043a \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443, \u0438 \u043f\u043e\u043c\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0448\u0442\u0430\u0442\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0435\u0451 GPIO (\u0438 \u0434\u0430\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b) \u0447\u0435\u0440\u0435\u0437 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0438 \u0447\u0435\u0440\u0435\u0437 \u0442\u043e\u0442 \u0436\u0435 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u043e\u0439 \u043a \u043d\u0435\u0439 \u0410\u0440\u0434\u0443\u0438\u043d\u043e\u0439. <\/p>\n<p>  \u0421\u0445\u0435\u043c\u0430:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/geektimes\/post_images\/e35\/d19\/e85\/e35d19e85c5b87b1e41c4b193cb0ac38.png\" alt=\"image\"\/><\/p>\n<p>  <i>\u0410\u0440\u0434\u0443\u0438\u043d\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043f\u043e usb \u043a Raspberry Pi, \u0442\u0430 \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043a \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443 \u0447\u0435\u0440\u0435\u0437 \u0440\u043e\u0443\u0442\u0435\u0440, \u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u043f\u043e LAN \u0438 WIFI. \u0415\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442\u0435 \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u0438\u0437\u0432\u043d\u0435, \u0442\u043e \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u043e\u0440\u0442\u044b.<\/i><\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0412\u044b \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043b\u0438 \u0432\u0441\u0451 \u0447\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u0438 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0434\u0432\u0430 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 (\u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 homestd \u0434\u043b\u044f RaspberryPi). \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0438 \u0432\u0441\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0438 \u0443 \u0432\u0430\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0434\u0432\u0435 \u043f\u0430\u043f\u043a\u0438 <b>mydom<\/b> \u0438 <b>mydomrp<\/b>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0412\u044b \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043b\u0438 \u043d\u0430 Raspberry \u0432 \u043a\u043e\u0440\u0435\u043d\u044c \u0434\u0438\u0441\u043a\u0430 (\/mydom \u0438 \/mydomrp)\u2026<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 c \u0440\u0435\u0436\u0438\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Raspberry \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0430\u0440\u0434\u0443\u0438\u043d\u043e\u0439 (\u0443\u0441\u043b\u043e\u0432\u043d\u043e \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0433\u043b\u0430\u0432\u043d\u043e\u0439). \u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u0444\u0430\u0439\u043b index.html \u0438\u0437 \u043f\u0430\u043f\u043a\u0438 mydomrp, \u0438 \u0433\u0434\u0435-\u0442\u043e \u0432 \u0440\u0430\u0439\u043e\u043d\u0435 25-\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438, \u043f\u043e\u0441\u043b\u0435\u2026<\/p>\n<pre><code class=\"cpp\">$(document).ready(function(){   function sendtoardu(){ slmode = 0; $.ajax({ type: &quot;POST&quot;, url: comanda + cod_comand }); } ... <\/code><\/pre>\n<p>  \u041f\u0438\u0448\u0435\u043c:<\/p>\n<pre><code class=\"cpp\">$('.knp0').click(function(){ var url = &quot;http:\/\/192.168.5.146:82\/&quot;; $(location).attr('href',url); }); <\/code><\/pre>\n<p>  \u0422\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"cpp\">$(document).ready(function(){   function sendtoardu(){ slmode = 0; $.ajax({ type: &quot;POST&quot;, url: comanda + cod_comand }); }  $('.knp0').click(function(){ var url = &quot;http:\/\/192.168.5.146:82\/&quot;; $(location).attr('href',url); }); ... <\/code><\/pre>\n<p>  <i>\u0413\u0434\u0435 \u0430\u0434\u0440\u0435\u0441 (192.168.5.146) \u2014 \u044d\u0442\u043e \u0430\u0434\u0440\u0435\u0441 Raspberry.<br \/>  <b>82<\/b> \u2014 \u044d\u0442\u043e \u043f\u043e\u0440\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b homestd. (sudo \/mydom\/homestd \/dev\/ttyUSB0 57600 82 \/mydom\/ 0)<\/i><\/p>\n<p>  \u0411\u043b\u0438\u0436\u0435 \u043a \u043a\u043e\u043d\u0446\u0443 \u0444\u0430\u0439\u043b\u0430, \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0442\u0435\u0433\u0430 <b>body<\/b>, \u043d\u0443\u0436\u043d\u043e \u0432\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u0447\u043a\u0443:<\/p>\n<pre><code class=\"cpp\">&lt;div class='knpvid knp0'  title='1' &gt;Raspberry \u21e8 Arduino&lt;\/div&gt;&lt;br &gt; <\/code><\/pre>\n<p>  \u0414\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0442\u0430\u043a:<\/p>\n<pre><code class=\"cpp\">... &lt;\/script&gt; &lt;\/head&gt;  &lt;body&gt;  &lt;div class='knpvid knp0'  title='1' &gt;Raspberry \u21e8 Arduino&lt;\/div&gt;&lt;br &gt; ... <\/code><\/pre>\n<p>  <b>\u041c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043a\u043d\u043e\u043f\u043a\u0443 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0443\u044e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0430\u0440\u0434\u0443\u0438\u043d\u043e\u0439.<\/b><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 c \u0440\u0435\u0436\u0438\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Arduino \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 Raspberry. <\/p>\n<p>  \u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u0444\u0430\u0439\u043b index.html \u0438\u0437 \u043f\u0430\u043f\u043a\u0438 mydom, \u0438 \u0442\u0430\u043c \u0436\u0435, \u0432 \u0440\u0430\u0439\u043e\u043d\u0435 25-\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438, \u043f\u043e\u0441\u043b\u0435:<\/p>\n<pre><code class=\"cpp\">$(document).ready(function(){   function sendtoardu(){ slmode = 0; $.ajax({ type: &quot;POST&quot;, url: comanda + cod_comand }); } ... <\/code><\/pre>\n<p>  \u041f\u0438\u0448\u0435\u043c:<\/p>\n<pre><code class=\"cpp\">$('.knp0').click(function(){ var url = &quot;http:\/\/192.168.5.146\/&quot;; $(location).attr('href',url); }); <\/code><\/pre>\n<p>  \u0422\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"cpp\">$(document).ready(function(){   function sendtoardu(){ slmode = 0; $.ajax({ type: &quot;POST&quot;, url: comanda + cod_comand }); }  $('.knp0').click(function(){ var url = &quot;http:\/\/192.168.5.146\/&quot;; $(location).attr('href',url); }); ... <\/code><\/pre>\n<p>  \u0410\u0434\u0440\u0435\u0441 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0442\u043e\u0442 \u0436\u0435, \u0430 \u043f\u043e\u0440\u0442 \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 homestdrp, \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c (80) \u043f\u043e\u0440\u0442\u0443. <i>\u0415\u0441\u043b\u0438 \u043e\u043d \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u043d\u0435 \u0437\u0430\u043d\u044f\u0442 \u0447\u0435\u043c-\u043b\u0438\u0431\u043e.<\/i><\/p>\n<p>  \u0412 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b homestdrp, \u0431\u0443\u0434\u0435\u0442\u0435 \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c 80-\u044b\u0439 \u043f\u043e\u0440\u0442. <i>(sudo \/mydomrp\/homestdrp 80 \/mydomrp\/ 6)<\/i><\/p>\n<p>  \u0418 \u0442\u0430\u043a \u0436\u0435, \u0431\u043b\u0438\u0436\u0435 \u043a \u043a\u043e\u043d\u0446\u0443 \u0444\u0430\u0439\u043b\u0430, \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0442\u0435\u0433\u0430 body, \u043d\u0443\u0436\u043d\u043e \u0432\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u0447\u043a\u0443:<\/p>\n<pre><code class=\"cpp\">&lt;div class='knpvid knp0'  title='1' &gt;Arduino \u21e8 Raspberry&lt;\/div&gt;&lt;br &gt; <\/code><\/pre>\n<p>  \u0414\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0442\u0430\u043a:<\/p>\n<pre><code class=\"cpp\">... &lt;\/script&gt; &lt;\/head&gt;  &lt;body&gt;  &lt;div class='knpvid knp0'  title='1' &gt;Arduino \u21e8 Raspberry&lt;\/div&gt;&lt;br &gt; ... <\/code><\/pre>\n<p>  <b>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043a\u043d\u043e\u043f\u043a\u0443 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 Raspberry.<\/b><\/p>\n<p>  \u0418 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f Rasberry \u0438 \u0410\u0440\u0434\u0443\u0438\u043d\u044b.<\/p>\n<p>  \u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0434\u0435\u043b\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u0441\u043a\u0440\u0438\u043f\u0442:<\/p>\n<pre><code class=\"cpp\">sudo chmod +x \/mydom\/homestd sudo chmod +x \/mydomrp\/homestdrp sudo chmod +x \/mydomrp\/init.sh <\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <b>homestdrp<\/b><\/p>\n<pre><code class=\"cpp\">sudo \/mydomrp\/homestdrp 80  \/mydomrp\/ 6 <\/code><\/pre>\n<p>  \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <b>homestd<\/b><\/p>\n<pre><code class=\"cpp\">sudo \/mydom\/homestd \/dev\/ttyUSB0 57600 82 \/mydom\/ 0 <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0432 <b>rc.local<\/b><\/p>\n<pre><code class=\"cpp\">nano \/etc\/rc.local <\/code><\/pre>\n<p>  \u0412 \u043a\u043e\u043d\u0435\u0446 \u0444\u0430\u0439\u043b\u0430, \u043f\u0435\u0440\u0435\u0434 <b>exit 0<\/b> \u0432\u043f\u0438\u0448\u0438\u0442\u0435 \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u043a:<\/p>\n<pre><code class=\"cpp\">... (\/mydomrp\/homestdrp 80  \/mydomrp\/ 6)& (\/mydom\/homestd \/dev\/ttyUSB0 57600 82 \/mydom\/ 0)&  exit 0 <\/code><\/pre>\n<p>  <i>\u041e\u0447\u0435\u0440\u0451\u0434\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/i><\/p>\n<p>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0430\u0434\u0440\u0435\u0441 Raspberry\u2026<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/geektimes\/post_images\/f71\/0f6\/5b3\/f710f65b3509ff7ac9c173fc1a1f13e0.png\" alt=\"image\"\/><\/p>\n<p>  \u041d\u0430\u0436\u0430\u0442\u0438\u0435 \u043d\u0430 \u0432\u0435\u0440\u0445\u043d\u044e\u044e \u043a\u043d\u043e\u043f\u043a\u0443 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u0442 \u043d\u0430 \u0410\u0440\u0434\u0443\u0438\u043d\u0443\u2026<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/geektimes\/post_images\/56d\/334\/167\/56d3341675024b3de4dc192c3f390ff3.png\" alt=\"image\"\/><\/p>\n<p>  <i>\u041f\u043e\u0441\u043b\u0435 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 index.html \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435.<\/i><\/p>\n<p>  \u041d\u0443 \u0438 \u043f\u043e\u0434 \u00ab\u0437\u0430\u043d\u0430\u0432\u0435\u0441\u00bb \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0432\u0438\u0434\u0435\u043e \u043e \u0442\u043e\u043c, \u044d\u0442\u043e \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<div class=\"oembed\">\n<div>\n<div style=\"left: 0px; width: 100%; height: 0px; position: relative; padding-bottom: 56.2493%;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/Svv57S5o6yw?rel=0&amp;showinfo=1\" frameborder=\"0\" allowfullscreen=\"true\" webkitallowfullscreen=\"true\" mozallowfullscreen=\"true\" style=\"top: 0px; left: 0px; width: 100%; height: 100%; position: absolute;\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<p> \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:\/\/geektimes.ru\/post\/282270\/\"> https:\/\/geektimes.ru\/post\/282270\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/geektimes\/post_images\/646\/052\/3e1\/6460523e1496f0be7641e42d0c3f8e8a.png\" alt=\"image\"\/><\/p>\n<p>  \u042d\u0442\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043b \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0447\u0430\u0441\u0442\u0438 \u2014 &quot;<a href=\"https:\/\/geektimes.ru\/post\/280300\/\">\u041e\u043d\u043b\u0430\u0439\u043d-\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0443\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430<\/a>&quot; \u0438 &quot;<a href=\"https:\/\/geektimes.ru\/post\/280748\/\">\u041e\u043d\u043b\u0430\u0439\u043d \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f Raspberry Pi<\/a>&quot;, \u0438 \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c GPIO Raspberry Pi \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u043e\u0439 \u043a \u043d\u0435\u0439 Arduino \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.<\/p>\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-280499","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/280499","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=280499"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/280499\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=280499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=280499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=280499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}