{"id":245031,"date":"2014-12-04T23:03:03","date_gmt":"2014-12-04T19:03:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=245031"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=245031","title":{"rendered":"<span class=\"post_title\">\u041a\u0430\u043a \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0443\u043c\u043d\u0435\u0435 \u043d\u0430\u0448 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0439 \u0444\u0443\u0442\u0431\u043e\u043b \u0438 \u0441\u0435\u0431\u044f<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t<img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/5d6\/ec5\/b0f\/5d6ec5b0f8484b21b1bcab77335ab0e0.jpg\"\/><\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0443\u043c\u043d\u044b\u0439 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0439 \u0444\u0443\u0442\u0431\u043e\u043b, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0433\u043b\u0443\u043f\u044b\u0439 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0439 \u0444\u0443\u0442\u0431\u043e\u043b \u2014 1\u0448\u0442.,<\/li>\n<li>\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 Arduino \u2014 1\u0448\u0442., <\/li>\n<li>\u043b\u0430\u0437\u0435\u0440 \u2014 2\u0448\u0442.,<\/li>\n<li>\u0444\u043e\u0442\u043e\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440 \u2014 2\u0448\u0442.,<\/li>\n<li>\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043b\u044e\u0434\u0435\u0439,<\/li>\n<li>\u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0435 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435.<\/li>\n<\/ul>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h3>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h3>\n<p>  \u0412 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432 \u043d\u0435 \u043f\u0440\u043e\u0447\u044c \u0441\u044b\u0433\u0440\u0430\u0442\u044c \u043f\u0430\u0440\u0442\u0435\u0439\u043a\u0443 \u0432 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0439 \u0444\u0443\u0442\u0431\u043e\u043b. \u0421\u043a\u043e\u0440\u0435\u0435 \u0434\u0430\u0436\u0435 \u043e\u0447\u0435\u043d\u044c \u043b\u044e\u0431\u044f\u0442 \u0438, \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043e\u0434\u043d\u043e\u0439 \u043f\u0430\u0440\u0442\u0438\u0435\u0439 \u0434\u0435\u043b\u043e \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u043e\u0431\u0435\u0434\u0435 \u0438 \u0432\u0435\u0447\u0435\u0440\u043e\u043c \u0432\u043e\u0437\u043b\u0435 \u0441\u0442\u043e\u043b\u0430 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u043f\u0430 \u0436\u0434\u0443\u0449\u0438\u0445 \u0441\u0432\u043e\u0435\u0439 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u0430\u0439\u0442\u0438\u0448\u043d\u0438\u043a\u043e\u0432.<\/p>\n<p>  \u0418 \u0432\u043e\u0442, \u043e\u0434\u043d\u0430\u0436\u0434\u044b, \u043a\u043e\u0433\u0434\u0430 \u043f\u0443\u0442\u0430\u043d\u0438\u0446\u0430 \u0441 \u043e\u0447\u0435\u0440\u0435\u0434\u044c\u044e \u0432\u0441\u0435\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u043c \u043d\u0430\u0434\u043e\u0435\u043b\u0430, \u043d\u0430\u043c \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u043f\u0440\u0438\u0448\u043b\u0430 \u0438\u0434\u0435\u044f:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/b65\/354\/f90\/b65354f90df6472f9a718c4e8c512361.jpg\"\/><\/p>\n<ul>\n<li>\u0410 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c!<\/li>\n<li>\u0418 \u0447\u0442\u043e\u0431\u044b \u0441\u0442\u043e\u043b \u0441\u0430\u043c \u0433\u043e\u043b\u044b \u0441\u0447\u0438\u0442\u0430\u043b!<\/li>\n<li>\u0418 \u043c\u043e\u0433 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043a\u0442\u043e \u0438\u0437 \u043d\u0430\u0441 \u043a\u0440\u0443\u0447\u0435!<\/li>\n<li>\u0418 \u0441\u043c\u0441\u043a\u0438 \u043f\u0443\u0441\u0442\u044c \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0435\u0442, \u0447\u0442\u043e \u043e\u0441\u0432\u043e\u0431\u043e\u0434\u0438\u043b\u0441\u044f!<\/li>\n<\/ul>\n<p>  \u0418 \u0432\u0441\u0435 \u0440\u0430\u0437\u0431\u0435\u0436\u0430\u043b\u0438\u0441\u044c \u0433\u0443\u0433\u043b\u0438\u0442\u044c.<\/p>\n<h3>\u0414\u0435\u043d\u044c 1<\/h3>\n<p>  \u0412 \u043f\u044f\u0442\u043d\u0438\u0446\u0443 \u0432\u0435\u0447\u0435\u0440\u043e\u043c \u0433\u0440\u0443\u043f\u043f\u0430 \u0435\u0434\u0438\u043d\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u043e\u0432-\u0444\u0443\u0442\u0431\u043e\u043b\u043e\u043f\u043e\u043a\u043b\u043e\u043d\u043d\u0438\u043a\u043e\u0432 \u0441\u043e\u0431\u0440\u0430\u043b\u0430\u0441\u044c \u0432\u043e\u0437\u043b\u0435 \u0432\u0438\u043d\u043e\u0432\u043d\u0438\u043a\u0430 \u0442\u043e\u0440\u0436\u0435\u0441\u0442\u0432\u0430 \u2013 \u0441\u0442\u043e\u043b\u0430 \u2013 \u043d\u0430 \u0441\u043e\u0432\u0435\u0449\u0430\u043d\u0438\u0435. \u041f\u043e\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c \u043d\u0430\u0433\u0443\u0433\u043b\u0435\u043d\u043d\u044b\u043c, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c \u0441 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u0438 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u043c\u0438, \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438 \u0440\u043e\u043b\u0438, \u043f\u043e\u0432\u0435\u0440\u0442\u0435\u043b\u0438 \u0432 \u0440\u0443\u043a\u0430\u0445 \u0432\u044b\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u044b\u0439 \u0443 \u043d\u0430\u0447\u0430\u043b\u044c\u0441\u0442\u0432\u0430 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440.<\/p>\n<h3>\u0414\u0435\u043d\u044c 2<\/h3>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/2bf\/216\/c83\/2bf216c8347849cbb75711710118f50e.jpg\"\/><\/p>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0432 \u0441\u0443\u0431\u0431\u043e\u0442\u0443 \u0443\u0442\u0440\u043e\u043c \u0440\u0430\u0437\u0432\u0438\u043d\u0442\u0438\u043b\u0438 \u0441\u0442\u043e\u043b. \u0427\u0442\u043e\u0431\u044b \u043d\u0430\u0443\u0447\u0438\u0442\u044c \u0435\u0433\u043e \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0437\u0430\u0431\u0438\u0442\u044b\u0435 \u0433\u043e\u043b\u044b, \u043f\u0440\u0438\u0446\u0435\u043f\u0438\u043b\u0438 2 \u043b\u0430\u0437\u0435\u0440\u0430 \u0438 2 \u0444\u043e\u0442\u043e\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440\u0430 \u043d\u0430 \u0432\u043e\u0440\u043e\u0442\u0430 \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 Arduino \u043f\u043e\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435. \u0421\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u0442\u0430\u043a\u0443\u044e: \u043a\u043e\u0433\u0434\u0430 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u043c\u0435\u0436\u0434\u0443 \u043b\u0430\u0437\u0435\u0440\u043e\u043c \u0438 \u0444\u043e\u0442\u043e\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440\u043e\u043c \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u043c\u044f\u0447, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0441\u0435\u043d\u0441\u043e\u0440\u0435. \u0422\u0430\u043a, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u043f\u0440\u043e\u0442\u0438\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u0444\u043e\u0442\u043e\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440\u0435. \u041f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0430 \u043d\u0438\u0436\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/375\/44d\/df0\/37544ddf033440658292e94da1194dd1.png\"\/><\/p>\n<p>  \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432\u0441\u0435 \u0436\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u0432 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0438 \u0441 \u0444\u0443\u0442\u0431\u043e\u043b\u044c\u043d\u044b\u043c \u0441\u0442\u043e\u043b\u043e\u043c \u043c\u043e\u0433\u043b\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u043b\u043e\u0436\u043d\u043e-\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u043e\u0441\u043e\u0431\u043e \u0441\u0438\u043b\u044c\u043d\u044b\u0435 \u0432\u0438\u0431\u0440\u0430\u0446\u0438\u0438 \u0441\u0442\u043e\u043b\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u0433\u0440\u044b \u043c\u043e\u0433\u043b\u0438 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043c\u0435\u0445\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<p>  \u041f\u0435\u0440\u0432\u0443\u044e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0443\u0441\u0442\u0440\u0430\u043d\u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u043a\u0430\u043b\u0438\u0431\u0440\u043e\u0432\u043a\u043e\u0439 \u0444\u043e\u0442\u043e\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440\u0430 \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u0442\u0430\u0440\u0442\u0435 \u0438\u0433\u0440\u044b. \u0412\u0442\u043e\u0440\u0430\u044f \u0440\u0435\u0448\u0438\u043b\u0430\u0441\u044c \u0435\u0449\u0435 \u043f\u0440\u043e\u0449\u0435 \u2013 c \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u0442\u0432\u0435\u0440\u0442\u043a\u0438, \u0441\u0443\u043f\u0435\u0440\u043a\u043b\u0435\u044f \u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0441\u0438\u043d\u0435\u0439 \u0438\u0437\u043e\u043b\u0435\u043d\u0442\u044b \u0432\u0441\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0431\u044b\u043b\u0438 \u043d\u0430\u0434\u0435\u0436\u043d\u043e \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u044b. <\/p>\n<p>  <i>Arduino:<\/i><\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/26e\/f36\/56f\/26ef3656f7db45a1997c5b8198391806.jpg\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/3d4\/776\/e9f\/3d4776e9fb6846139705bc32d13ffe56.jpg\"\/><\/p>\n<p>  <i>\u041b\u0430\u0437\u0435\u0440\u044b:<\/i><\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/806\/f47\/44b\/806f4744b6254a6c878eb998bfe2ef6f.jpg\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/2f7\/5d1\/00a\/2f75d100ab854ba882dea4117928c6e1.jpg\"\/><\/p>\n<p>  \u041f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0447\u0430\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0443 \u043d\u0430\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0439 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f:   <\/p>\n<ul>\n<li>\u0420\u0435\u0436\u0438\u043c\u044b \u0438\u0433\u0440\u044b 1&#215;1, 2&#215;2.<\/li>\n<li>\u0423\u0440\u043e\u0432\u043d\u0438 \u0438\u0433\u0440\u043e\u043a\u043e\u0432.<\/li>\n<li>\u041a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u0439 \u0438\u0433\u0440\u043e\u043a\u043e\u0432.<\/li>\n<li>\u0412\u0435\u0434\u0435\u043d\u0438\u0435 \u043b\u0438\u0447\u043d\u044b\u0445 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u044b\u0445 \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u043e\u0432.<\/li>\n<li>\u0417\u0432\u0443\u043a\u043e\u0432\u043e\u0435 \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0438\u0433\u0440\u044b.<\/li>\n<\/ul>\n<p>  \u041d\u0430\u0434\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u043d\u0430\u043c \u043a\u0440\u0443\u043f\u043d\u043e \u043f\u043e\u0432\u0435\u0437\u043b\u043e, \u0447\u0442\u043e \u0432 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0439 \u0444\u0443\u0442\u0431\u043e\u043b \u043b\u044e\u0431\u0438\u0442 \u0440\u0435\u0437\u0430\u0442\u044c\u0441\u044f \u0438 \u043d\u0430\u0448\u0430 \u043a\u0440\u0435\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a \u043e\u0431\u0435\u0434\u0443 \u0443 \u043d\u0430\u0441 \u043d\u0430 \u0440\u0443\u043a\u0430\u0445 \u0443\u0436\u0435 \u0431\u044b\u043b\u0438 \u0441\u0438\u043c\u043f\u0430\u0442\u0438\u0447\u043d\u044b\u0435 \u043c\u043e\u043a\u0430\u043f\u044b. \u0417\u0430\u0431\u0435\u0433\u0430\u044f \u0432\u043f\u0435\u0440\u0435\u0434, \u043f\u043e\u043a\u0430\u0436\u0435\u043c \u0447\u0442\u043e \u0438\u0437 \u043d\u0438\u0445 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/d1c\/9b9\/1ac\/d1c9b91ac876430b850b9ba34ff99611.PNG\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/74b\/b27\/e95\/74bb27e9547c4e5986a4435b7bf9ce74.PNG\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/c07\/0d1\/7d8\/c070d17d8a3a43a881519640d4d5d272.PNG\"\/><\/p>\n<p>  \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432\u0435\u043b\u0430\u0441\u044c \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u043f\u043e \u0442\u0440\u0435\u043c \u0432\u0435\u0442\u043a\u0430\u043c:  <\/p>\n<ol>\n<li>\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0430\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u0430 \u2014 Angular.js, Bootstrap.<br \/>   \u0421\u043e\u0437\u0434\u0430\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043e\u0444\u043e\u0440\u043c\u0438\u043b\u0438 \u0434\u0438\u0437\u0430\u0439\u043d, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b\u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0447\u0435\u0440\u0435\u0437 Rest API \u0438 Socket.io. \u0410\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432\u0435\u0440\u0441\u0442\u043a\u0443 \u043f\u043e\u0434 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430.<\/li>\n<li>\u0421\u0435\u0440\u0432\u0435\u0440\u043d\u0430\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u0430 \u2014 Node.js, Socket.io, MongoDB.<br \/>   \u0421\u043e\u0437\u0434\u0430\u043b\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u043c\u043e\u0434\u0435\u043b\u044c \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u0440\u0430\u0437\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u043f\u0440\u0430\u0432\u0430\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0430. \u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b\u0438 \u043b\u043e\u0433\u0438\u043a\u0443 \u043f\u043e \u0440\u0430\u0441\u0447\u0451\u0442\u0443 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438, \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u0439, \u0432\u0435\u0434\u0435\u043d\u0438\u044e \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u043e\u0432. \u0421\u0434\u0435\u043b\u0430\u043b\u0438 \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043e \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0449\u0438\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u0445 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Socket.io.<\/li>\n<li>\u0412\u0437\u0430\u0438\u043c\u043e\u0441\u0432\u044f\u0437\u044c \u043c\u0435\u0436\u0434\u0443 Arduino \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c.<br \/>   \u041d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043f\u0440\u043e\u0441\u043b\u043e\u0439\u043a\u0443 \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c.<\/li>\n<\/ol>\n<p>  \u0422\u0443\u0442 \u043d\u0430\u0434\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0435 \u0441 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u044b\u0431\u0438\u0440\u0430\u043b\u0438 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u043c\u0430\u043b\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043e\u0434\u043d\u043e \u043f\u0440\u043e\u043a\u0430\u0447\u0430\u0442\u044c \u0441\u043a\u0438\u043b\u044b.<\/p>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c-\u0442\u043e, \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u043f\u0435\u0440\u0432\u043e\u043c \u0438 \u0432\u0442\u043e\u0440\u043e\u043c \u043f\u0443\u043d\u043a\u0442\u0430\u0445 \u0441\u043c\u044b\u0441\u043b\u0430 \u043d\u0435\u0442\u0443. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u044d\u0442\u0438\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u0437\u0430\u043d\u044f\u043b\u0430 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0441\u0432\u0435\u0440\u0445\u0437\u0430\u0434\u0430\u0447 \u0442\u0443\u0442 \u043d\u0435 \u0441\u0442\u043e\u044f\u043b\u043e, \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u0441\u0430\u043c\u043e\u043c\u0443 \u0432\u043a\u0443\u0441\u043d\u043e\u043c\u0443 \u2013 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044e \u043c\u0435\u0436\u0434\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0438 \u043d\u0430\u0448\u0438\u043c \u0443\u043c\u043d\u044b\u043c \u0441\u0442\u043e\u043b\u043e\u043c.<\/p>\n<p>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0435\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0435\u0441\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u0436\u0434\u0443 Adruino \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f wi-fi \u0438\u043b\u0438 bluetooth \u043c\u043e\u0434\u0443\u043b\u0438 \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c. \u0418\u043b\u0438 \u0434\u0430\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Raspberry Pi \u043a\u0430\u043a \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041d\u043e \u0443 \u043d\u0430\u0441 \u043d\u0435 \u0431\u044b\u043b\u043e \u043d\u0438 \u043f\u0435\u0440\u0432\u043e\u0433\u043e, \u043d\u0438 \u0432\u0442\u043e\u0440\u043e\u0433\u043e, \u043d\u0438 \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e, \u0437\u0430\u0442\u043e \u0431\u044b\u043b <s>\u043a\u043e\u043c\u043f\u043e\u0442<\/s> \u0441\u0442\u0430\u0440\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0441\u0435 \u0435\u0449\u0435 \u043c\u043e\u0433 \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u0442\u044c \u043d\u0430\u043c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d \u0441\u043e \u0441\u0442\u043e\u043b\u043e\u043c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 USB \u043a\u0430\u0431\u0435\u043b\u044f, \u0438 \u0432\u0441\u0435 \u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 Arduino \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 COM-\u043f\u043e\u0440\u0442.<\/p>\n<p>  Arduino \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0441 \u043f\u043e\u0440\u0442\u0430 \u0441\u0438\u0433\u043d\u0430\u043b\u044b \u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438\/\u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043b\u0430\u0437\u0435\u0440\u043e\u0432 \u0438, \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0438\u0433\u043d\u0430\u043b\u044b \u043e \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0433\u043e\u043b\u0430\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0435\u0442\u0447 \u0434\u043b\u044f Arduino<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>\/\/Pin for white gate laser #define WHITE_LED_PIN 13 \/\/Pin for blue gate laser #define BLUE_LED_PIN 8 \/\/Pin for white gate photoresistor #define WHITE_LDR_PIN A0 \/\/Pin for blue gate photoresistor #define BLUE_LDR_PIN A1  \/\/Commands to arduino: \/\/ 1 - start game const int START_COMMAND = 1; \/\/ 2 - stop game const int STOP_COMMAND = 2;  \/\/Commands from arduino: \/\/ 'GOAL:WHITE' - goal to white gate \/\/ 'GOAL:BLUE' - goal to blue gate const char GOAL_PREFIX[] = &quot;GOAL:&quot;; const char WHITE_TEAM_NAME[] = &quot;WHITE&quot;; const char BLUE_TEAM_NAME[] = &quot;BLUE&quot;; \/\/ 'LISTENING' - waiting for commands const char LISTENING_MESSAGE[] = &quot;LISTENING&quot;; \/\/ 'START' - game is started const char START_GAME_MESSAGE[] = &quot;START&quot;; \/\/ 'CALIBRATION' - sensors are in calibration const char CALIBRATION_MESSAGE[] = &quot;CALIBRATION&quot;; \/\/ 'STOP' - game is stopped const char STOP_GAME_MESSAGE[] = &quot;STOP&quot;;  \/\/Timeout after which game will be automatically stopped \/\/15 minutes - 900000 ms const long INACTIVITY_TIMEOUT = 900000;  \/\/Minumum deviation that is necessary to count a goal \/\/E.g if deviation is 1.1 it means that when value on photoresistor exceeds calibrated maximum at least on 10%, goal will be counted const int MINIMUM_SENSOR_DEVIATION = 1.1;  \/\/Time in milliseconds for photoresistors calibration const long CALIBRATION_TIME = 1000;  \/\/Delay in milliseconds after goals to avoid multiple counting of the same goal  const long DELAY_AFTER_GOALS = 1000;  \/\/Delay in milliseconds to avoid interference on LDR right after lasers are 'ON' const long DELAY_BEFORE_CALIBRATION = 200;  \/\/Maximum values on photoresistors after calibration. int maxWhiteSensorValue = 0; int maxBlueSensorValue = 0;  \/\/Is game currently running boolean running = false; \/\/Milliseconds from last activity (from game start or from last goal) long lastActivityTime = 0;  void setup() {   Serial.begin(9600);    pinMode(WHITE_LED_PIN, OUTPUT);   pinMode(BLUE_LED_PIN, OUTPUT);   Serial.println(LISTENING_MESSAGE); }  void loop() {   if (running)   {     if (millis() - lastActivityTime &gt;= INACTIVITY_TIMEOUT)     {       \/\/Stop the game because of inactivity       stopTheGame();     }     else     {       checkFootballGate(WHITE_LDR_PIN, maxWhiteSensorValue, WHITE_TEAM_NAME);       checkFootballGate(BLUE_LDR_PIN, maxBlueSensorValue, BLUE_TEAM_NAME);      }   }   else   {     \/\/If game isn't running, check serial port for incoming commands     int serialValue = Serial.parseInt();     if (serialValue == START_COMMAND)      {       startTheGame();     }   } }   \/\/Turn on lasers and calibrate the photoresistors void startTheGame() {   digitalWrite(WHITE_LED_PIN, HIGH);   digitalWrite(BLUE_LED_PIN, HIGH);   \/\/Delay to avoid interference on LDR right after lasers are 'ON'   delay(DELAY_BEFORE_CALIBRATION);   Serial.println(CALIBRATION_MESSAGE);     calibrateSensors();      running = true;   lastActivityTime = millis();   Serial.println(START_GAME_MESSAGE);   }  void stopTheGame() {   Serial.println(STOP_GAME_MESSAGE);   digitalWrite(WHITE_LED_PIN, LOW);   digitalWrite(BLUE_LED_PIN, LOW);   running = false; }  \/\/Measuring of maximum values on photoresistors during calibrationTime period void calibrateSensors() {   maxWhiteSensorValue = 0;   maxBlueSensorValue = 0;   long startMillis = millis();   while (millis() - startMillis &lt; CALIBRATION_TIME)    {     int whiteSensorValue = analogRead(WHITE_LDR_PIN);     int blueSensorValue = analogRead(BLUE_LDR_PIN);     \/\/ record the maximum sensor value     if (whiteSensorValue &gt; maxWhiteSensorValue)      {       maxWhiteSensorValue = whiteSensorValue;     }     if (blueSensorValue &gt; maxBlueSensorValue)      {       maxBlueSensorValue = blueSensorValue;     }   } }  void checkFootballGate(int ldrPin, int maxSensorValue, const char *teamName) {   int sensorValue = analogRead(ldrPin);   \/\/If sensorValue is exceeds maxValue at least on configured minimum deviation (which means that light flow is interrupted)   if (sensorValue &gt;= (maxSensorValue * MINIMUM_SENSOR_DEVIATION))    {             Serial.print(GOAL_PREFIX);       Serial.println(teamName);       lastActivityTime = millis();       checkForStopCommand();       delay(DELAY_AFTER_GOALS);   } }  \/\/Check serial port for stop game command void checkForStopCommand() {   int serialValue = Serial.parseInt();   if (serialValue == STOP_COMMAND)   {     stopTheGame();   } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u0435<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">var Arduino = function () {     var self = this;    \/\/ constans block    self.LISTENING_MESSGAE = &quot;LISTENING&quot;;    self.STOP_GAME_MESSAGE = &quot;STOP&quot;;    ...     var portIsReady = true;       \/\/ init SerialPort    var serialPort = new SerialPort(self.PORT_NUMBER, {        parser: serialport.parsers.readline(&quot;\\r\\n&quot;),        baudrate: 9600,        dataBits: 8,        parity: 'none',        stopBits: 1,        flowControl: false    }, true);    \/\/ open connection and listening port    serialPort.on(self.PORT_OPEN_COMMAND, function () {        serialPort.on(self.PORT_RECEIVE_DATA_COMMAND, function (arduinoMessage) {            if (arduinoMessage === self.LISTENING_MESSGAE) { \/\/ arduino is ready                self.emit(self.ARDUINO_READY_COMMAND, arduinoMessage);            } else if (arduinoMessage === self.STOP_GAME_MESSAGE) { \/\/ stop command or timeout stop                self.emit(self.ARDUINO_IS_STOPPED, arduinoMessage);            } else if (arduinoMessage === self.GOAL_WHITE_MESSAGE || arduinoMessage === self.GOAL_BLUE_MESSAGE) { \/\/ goal in white gate (point for blue team)                self.emit(self.ARDUINO_GOAL, arduinoMessage);            }        });    });     serialPort.on(self.PORT_CLOSE_COMMAND, function () {        portIsReady = false;    });    serialPort.on(self.PORT_ERROR_COMMAND, function () {        portIsReady = false;    });    self.on(self.ARDUINO_READY_COMMAND, function () {        portIsReady = true;    });    self.on(self.ARDUINO_START_COMMAND, function () {        if (portIsReady) {            serialPort.write(self.START_GAME_COMMAND);        }    });    self.on(self.ARDUINO_STOP_COMMAND, function () {        if (portIsReady) {            serialPort.write(self.STOP_GAME_COMMAND);        }    });    self.start = function () {        self.emit(self.ARDUINO_START_COMMAND);    };     self.stop = function () {        self.emit(self.ARDUINO_STOP_COMMAND);    }; }; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043c \u043f\u043e\u0440\u0442, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d Arduino. \u041f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u0442\u043e \u0438\u043b\u0438 \u0438\u043d\u043e\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435. \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Arduino \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u0432\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 start \u0438 stop, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043b\u0430\u0437\u0435\u0440\u043e\u0432.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u0439<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">var GameController = function () { ... Arduino.on(Arduino.ARDUINO_GOAL, function (team) {    goal(team); });  Arduino.on(Arduino.ARDUINO_IS_STOPPED, function () {    _stop(currentGame, true); });  ... } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043a \u043a\u043e\u043d\u0446\u0443 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0434\u043d\u044f \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u0433\u043e\u0442\u043e\u0432\u0443\u044e \u043f\u0440\u043e\u0441\u043b\u043e\u0439\u043a\u0443 \u043f\u043e \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044e \u0441 Arduino.<\/p>\n<h3>\u0414\u0435\u043d\u044c 3<\/h3>\n<p>  \u0412 \u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435 \u043d\u0430\u043c \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u0432\u0441\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0432\u043e\u0435\u0434\u0438\u043d\u043e \u0438 \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0431\u043e\u043d\u0443\u0441\u044b \u0432\u0440\u043e\u0434\u0435 \u0432\u043d\u0443\u0442\u0440\u0438\u0438\u0433\u0440\u043e\u0432\u044b\u0445 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u0439 \u0438 \u0432\u0435\u0441\u0435\u043b\u0435\u043d\u044c\u043a\u043e\u0439 \u043c\u0443\u0437\u044b\u0447\u043a\u0438. <\/p>\n<p>  \u042d\u0442\u043e\u0442 \u0434\u0435\u043d\u044c \u043f\u0440\u043e\u0448\u0435\u043b \u0432 \u0431\u043e\u043b\u0435\u0435 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u043e\u043c \u043a\u043b\u044e\u0447\u0435, \u043c\u044b \u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043b\u0438, \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u043b\u0438 \u0443\u0440\u043e\u0432\u043d\u0438 \u0438\u0433\u0440\u043e\u043a\u043e\u0432, \u0430\u0447\u0438\u0432\u043c\u0435\u043d\u0442\u044b \u0438 \u043c\u0443\u0437\u044b\u043a\u0443 \u043f\u043e\u0434 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0438\u0433\u0440\u043e\u0432\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f.<\/p>\n<p>  \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0432\u0441\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u043e, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043e, \u0437\u0430\u043f\u0443\u0441\u043a \u2013 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e!<\/p>\n<p>  \u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u043a \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e. \u041b\u0430\u0434\u043d\u043e-\u043b\u0430\u0434\u043d\u043e, \u0438\u0433\u0440\u0430\u043b\u0438 \u0432 \u0444\u0443\u0442\u0431\u043e\u043b, \u0447\u0435\u0433\u043e \u0443\u0436 \u0442\u0443\u0442)<\/p>\n<p>  \u041f\u0430\u0440\u043e\u0447\u043a\u0430 \u0431\u0430\u0433\u0444\u0438\u043a\u0441\u0438\u043d\u0433\u043e\u0432, \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0434\u043e\u043f\u0438\u043b \u0438 &#8230;PROFIT! \u0423\u043c\u043d\u044b\u0439 \u0444\u0443\u0442\u0431\u043e\u043b \u0433\u043e\u0442\u043e\u0432.<\/p>\n<p>  <iframe loading=\"lazy\" width=\"560\" height=\"349\" src=\"\/\/www.youtube.com\/embed\/o8CH9i9iQSM?wmode=opaque\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<h3>\u0418\u0442\u043e\u0433<\/h3>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f \u0432\u044b\u0441\u043e\u043a\u043e\u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u0433\u043e \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0444\u0443\u0442\u0431\u043e\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u0438 \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0437\u0430\u0431\u0438\u0442\u044b\u0435 \u0433\u043e\u043b\u044b, \u0432\u0435\u0434\u0435\u0442 \u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u0438\u0433\u0440\u043e\u043a\u043e\u0432, \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0438, \u0432\u043e\u043e\u0431\u0449\u0435, \u0434\u0435\u043b\u0430\u0435\u0442 \u043d\u0430\u0448 \u043e\u0442\u0434\u044b\u0445 \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435. \u0410 \u0435\u0449\u0435 \u043c\u044b \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u043b\u0438 \u0432\u0440\u0435\u043c\u044f \u0438 \u043f\u043e\u0432\u044b\u0441\u0438\u043b\u0438 \u0441\u0432\u043e\u0438 \u0441\u043a\u0438\u043b\u044b, \u043a\u043e\u043d\u0435\u0447\u043d\u043e. <\/p>\n<p>  \u041d\u0430\u0434\u0435\u0435\u043c\u0441\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u044b\u043b\u0430 \u0445\u043e\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0438 \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u0442 \u0432\u0430\u0441 \u043d\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b. \u0412\u0441\u0435\u043c \u0443\u0434\u0430\u0447\u0438!      \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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=\"http:\/\/habrahabr.ru\/post\/245031\/\"> http:\/\/habrahabr.ru\/post\/245031\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t<img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/5d6\/ec5\/b0f\/5d6ec5b0f8484b21b1bcab77335ab0e0.jpg\"\/><\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0443\u043c\u043d\u044b\u0439 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0439 \u0444\u0443\u0442\u0431\u043e\u043b, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0433\u043b\u0443\u043f\u044b\u0439 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0439 \u0444\u0443\u0442\u0431\u043e\u043b \u2014 1\u0448\u0442.,<\/li>\n<li>\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 Arduino \u2014 1\u0448\u0442., <\/li>\n<li>\u043b\u0430\u0437\u0435\u0440 \u2014 2\u0448\u0442.,<\/li>\n<li>\u0444\u043e\u0442\u043e\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440 \u2014 2\u0448\u0442.,<\/li>\n<li>\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043b\u044e\u0434\u0435\u0439,<\/li>\n<li>\u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0435 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435.<\/li>\n<\/ul>\n<p>  <\/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-245031","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/245031","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=245031"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/245031\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=245031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=245031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=245031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}