{"id":214011,"date":"2014-03-26T23:12:03","date_gmt":"2014-03-26T19:12:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=214011"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=214011","title":{"rendered":"<span class=\"post_title\">\u041f\u043e\u0433\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0430\u043d\u0446\u0438\u044f \u043d\u0430 Ethernet (HTTP+Modbus) \u0441 \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c \u043f\u043e POE<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a \u0445\u0430\u0431\u0440-\u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e.<br \/>  \u0421 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043c\u043e\u0435\u0433\u043e <a href=\"http:\/\/habrahabr.ru\/post\/187410\/\">\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043f\u043e\u0441\u0442\u0430 \u043f\u0440\u043e \u0443\u043c\u043d\u044b\u0439 \u0434\u043e\u043c<\/a> \u043f\u0440\u043e\u0448\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u042f \u0440\u0435\u0448\u0438\u043b \u0435\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u043f\u043e\u0433\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438. <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/19e\/188\/4d7\/19e1884d7dadbda7203030300c5f934a.png\"\/><br \/>  <i>\u0420\u0438\u0441\u0443\u043d\u043e\u043a 1 \u2014 \u0424\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u043c\u0430\u043a\u0435\u0442\u043d\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0446\u0430<\/i><\/p>\n<p>  \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043e\u0431\u0438\u043b\u0438\u0435 \u0441\u0442\u0430\u0442\u0435\u0439 \u043f\u0440\u043e \u043f\u043e\u0433\u043e\u0434\u043d\u044b\u0435 \u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043d\u0430 arduino (http:\/\/habrahabr.ru\/post\/165747\/, <a href=\"http:\/\/habrahabr.ru\/post\/171525\/\">habrahabr.ru\/post\/171525\/<\/a>, <a href=\"http:\/\/habrahabr.ru\/post\/213405\/\">habrahabr.ru\/post\/213405\/<\/a> ) \u042f \u0432\u0441\u0435-\u0442\u0430\u043a\u0438 \u0440\u0435\u0448\u0438\u043b \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0451 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n<h5>\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b<\/h5>\n<p>  \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442:  <\/p>\n<ul>\n<li>\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b<\/li>\n<li>\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438<\/li>\n<li>\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/li>\n<li>\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u0438<\/li>\n<li>\u0418\u043d\u0434\u0438\u043a\u0430\u0446\u0438\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432<\/li>\n<li>\u0412\u044b\u0434\u0430\u0447\u0430 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043f\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 HTTP \u0432 \u0432\u0438\u0434\u0435 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430<\/li>\n<li>\u0412\u044b\u0434\u0430\u0447\u0430 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 HTTP XSLT \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u0434\u043b\u044f \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 XML \u043f\u0440\u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c<\/li>\n<li>\u0412\u044b\u0434\u0430\u0447\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e Modbus (\u0435\u0433\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u043c\u043d\u044b\u043c \u0434\u043e\u043c\u043e\u043c)<\/li>\n<li>\u041f\u0438\u0442\u0430\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 Passive POE<\/li>\n<\/ul>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c, \u043d\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c:  <\/p>\n<ul>\n<li>\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043e\u0441\u0430\u0434\u043a\u043e\u0432<\/li>\n<li>\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0435\u0442\u0440\u0430<\/li>\n<li>\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u0435\u0442\u0440\u0430<\/li>\n<li>DHCP \u2014 \u043a\u043b\u0438\u0435\u043d\u0442<\/li>\n<\/ul>\n<p>  \u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c ~1700\u0440\u0443\u0431 (\u043f\u043e \u043a\u0443\u0440\u0441\u0443 \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u043e\u043a\u0443\u043f\u043a\u0438), \u0432 \u043d\u0435\u0433\u043e \u0432\u0445\u043e\u0434\u0438\u043b\u043e:  <\/p>\n<ol>\n<li>DHT22 Digital Temperature And Humidity Sensor $ 5.13 <\/li>\n<li>GY-65 BMP085 Atmospheric Pressure Altimeter Module $ 4.09<\/li>\n<li>GY-302 BH1750 Chip Light Intensity Light Module $ 2.85 <\/li>\n<li>IBOARD W5100 Ethernet Module for Arduino Development Board with POE \/ Xbee and SD Card Slot Expansion $ 18.46 <\/li>\n<li>MAX7219 Digital Tube Display Module$ 4.74<\/li>\n<li>40pcs 20cm 2.54mm 1p-1p pin Dupont wire cable Line connector $ 2.42<\/li>\n<li>FT232RL USB To Serial Line Download Line Downloader USB TO 232 $ 4.47 <\/li>\n<li>\u041a\u043e\u0440\u043f\u0443\u0441 \u043f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u044b\u0439 ~100 \u0440\u0443\u0431<\/li>\n<\/ol>\n<h5>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/h5>\n<p>  \u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043e\u0431\u0440\u0430\u043d\u043e \u0438\u0437 \u043f\u043e\u043a\u0443\u043f\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043d\u0430 \u0431\u0430\u0437\u0435 Arduino. \u0412\u0441\u0435 \u0434\u0430\u0442\u0447\u0438\u043a\u0438 \u0431\u044b\u043b\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u0430\u043c\u0438 \u0438 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u044b \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u043e\u043a\u0443\u043f\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u044d\u043b\u044f \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0435 \u043e\u043a\u043d\u0430 \u0432 \u043e\u043f\u044b\u0442\u043d\u043e\u043c \u043e\u0431\u0440\u0430\u0437\u0446\u0435 \u0441\u0434\u0435\u043b\u0430\u043d\u044b \u0438\u0437 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0439 \u043b\u0438\u043f\u043a\u043e\u0439 \u043b\u0435\u043d\u0442\u044b.<\/p>\n<p>  \u0412 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d LED-\u0434\u0438\u0441\u043f\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u0440\u0438 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430\u0445, \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u0431\u0435\u0437 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u043d\u043e\u0447\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u2014 \u0432 \u041f\u041e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c \u043f\u043e \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u043e\u0437\u0433\u043e\u0432 \u0432\u044b\u0431\u0440\u0430\u043d\u0430 \u043f\u043b\u0430\u0442\u0430 Iboard w5100, \u043f\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0432 \u043d\u0435\u0439 \u0443\u0436\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u0435\u0441\u044c \u0444\u0443\u043d\u043a\u0446\u043e\u043d\u0430\u043b arduino + Ethernet shield + sensor board \u0434\u043b\u044f \u0440\u0430\u0437\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0438 \u0437\u0435\u043c\u043b\u0438, \u043f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u0422\u0430\u043a\u0430\u044f \u0432\u044b\u0441\u043e\u043a\u043e\u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043f\u043b\u0430\u0442\u0430 \u0441\u044a\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u0434\u0435\u043d\u044c\u0433\u0438 \u0438 \u043c\u0435\u0441\u0442\u043e. \u0422\u0430\u043a\u0436\u0435 \u044d\u0442\u0430 \u043f\u043b\u0430\u0442\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 Passiv POE.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u044f \u0440\u0435\u0448\u0438\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u043c (\u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u0443\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430) \u043f\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c:  <\/p>\n<ol>\n<li>\u041f\u0440\u043e\u0432\u043e\u0434 \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0442\u044f\u043d\u0443\u0442\u044c \u2014 \u0431\u0443\u0434\u044c \u0442\u043e \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445<\/li>\n<li>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u0440\u0435\u0448\u0435\u043d\u043e \u0437\u0430\u043f\u0438\u0442\u0430\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043e\u0442 \u0445\u0438\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u2014 \u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441 \u0438\u0445 \u0437\u0430\u043c\u0435\u043d\u044b<\/li>\n<li>\u041f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0438 \u043a\u0430\u0436\u0443\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0434\u0451\u0436\u043d\u044b\u043c\u0438:<br \/> \n<ol>\n<li>\u041a \u043d\u0438\u043c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0442\u0435\u043d\u0437\u0438\u0439 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0420\u043e\u0441\u043a\u043e\u043c\u043d\u0430\u0434\u0437\u043e\u0440\u0430, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0438\u0437\u043b\u0443\u0447\u0430\u044e\u0442 \u0432 \u044d\u0444\u0438\u0440<\/li>\n<li>\u041d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441\u043e \u0432\u0437\u0430\u0438\u043c\u043d\u044b\u043c \u0432\u043b\u0438\u044f\u043d\u0438\u0435\u043c \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u0438\u0435\u043c\u043e-\u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u0432 \u0442\u043e\u0439-\u0436\u0435 \u0447\u0430\u0441\u0442\u043e\u0442\u044b<\/li>\n<li>\u041d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0440\u0430\u0434\u0438\u043e\u0441\u0432\u044f\u0437\u0438 (\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u044d\u0444\u0438\u0440\u0430, \u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u044f \u0441\u0438\u0433\u043d\u0430\u043b\u0430, \u0432\u043b\u0438\u0435\u043d\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0442\u0430\u043a\u0438\u0445-\u0436\u0435 \u0441\u0438\u0441\u0442\u0435\u043c \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0432\u0430\u043d\u0438\u0438 \u0437\u043e\u043d \u043f\u0440\u0438\u0451\u043c\u0430, \u0438.\u0442.\u0434.)<\/li>\n<li>\u0411\u0443\u0434\u0443\u0442 \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u044b \u043b\u044e\u0434\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u043c Wifi \u0433\u0440\u0435\u0435\u0442 \u043c\u043e\u0437\u0433.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u043b\u043e\u0434\u0438\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b, \u0438 \u0432\u0441\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0434\u0438\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u043e \u2014 \u044f \u0440\u0435\u0448\u0438\u043b \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Ethernet. \u041f\u0438\u0442\u0430\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e \u044d\u0442\u043e\u043c\u0443-\u0436\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e Passiv POE. \u0414\u043e\u0441\u0442\u043e\u0438\u043d\u0441\u0442\u0432\u0430 \u044d\u0442\u043e\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u2014 \u0435\u0441\u043b\u0438 \u0432\u0441\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u043e\u0431\u0449\u0443\u044e Ethernet \u0441\u0435\u0442\u044c \u2014 \u0442\u043e \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u0430 \u0441 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044c\u043d\u044b\u043c\u0438 \u043a\u043e\u043d\u0432\u0435\u043a\u0442\u043e\u0440\u0430\u043c\u0438\/\u0448\u043b\u044e\u0437\u0430\u043c\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ba5\/cb8\/71a\/ba5cb871abea2de0b2cd915b68ba2a02.png\"\/><br \/>  <i>\u0420\u0438\u0441\u0443\u043d\u043e\u043a 2 \u2014 \u0411\u043b\u043e\u043a \u0441\u0445\u0435\u043c\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/i><\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ef1\/d18\/cc2\/ef1d18cc2a711131303fd1a71db94e9b.png\"\/><br \/>  <i>\u0420\u0438\u0441\u0443\u043d\u043e\u043a 3 \u2014 \u0441\u0445\u0435\u043c\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f <\/i><\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/516\/6a7\/7c4\/5166a77c4fc7bf1f181edc1cdbcfd0d6.png\"\/><br \/>  <i>\u0420\u0438\u0441\u0443\u043d\u043e\u043a 4 \u2014 \u0412\u0438\u0434 \u0438\u0437\u043d\u0443\u0442\u0440\u0438<\/i><\/p>\n<h5>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f Passiv POE<\/h5>\n<p>  Passive POE \u2014 \u042d\u0442\u043e \u043e\u0441\u043e\u0431\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u0438 POE. \u0412 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c POE \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0438\u043d\u0436\u0435\u043a\u0442\u043e\u0440 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0432\u044f\u0437\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f, \u0438 \u0435\u0441\u043b\u0438 \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0435\u0433\u043e \u0437\u0430\u043f\u0438\u0442\u0430\u0442\u044c \u2014 \u0442\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442. Passive POE \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u0445\u0438\u0442\u0440\u044b\u0435 \u043a\u0438\u0442\u0430\u0439\u0446\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0445\u0438\u0442\u0440\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e, \u043d\u043e \u0445\u043e\u0442\u0435\u043b\u0438 \u0432\u044b\u0439\u0442\u0438 \u043d\u0430 \u0440\u044b\u043d\u043e\u043a POE \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f, \u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043e\u043d\u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u0442\u0443\u043f\u043e \u043f\u043e\u0434\u0430\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0432\u0438\u0442\u044b\u0435 \u043f\u0430\u0440\u044b \u043a\u0430\u0431\u0435\u043b\u044f \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 5E. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0430\u0436\u0435 \u043f\u0438\u0448\u0443\u0442 \u0447\u0442\u043e \u043e\u043d\u0438 \u044f\u043a\u043e\u0431\u044b \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430 IEEE 802.3af \u0432 \u0447\u0430\u0441\u0442\u0438 \u044d\u043b\u0435\u043a\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a, \u043e\u0434\u043d\u0430\u043a\u043e \u0434\u0430\u0436\u0435 \u044d\u0442\u043e \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0442\u0430\u043a.<\/p>\n<p>  IBOARD W5100 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0435\u0441\u043b\u0438 \u043d\u0430 \u0432\u044b\u0432\u043e\u0434\u044b 4,5 \u0438 7,8 \u0440\u0430\u0437\u044a\u0435\u043c\u0430 Ethernet \u043f\u043e\u0434\u0430\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 6-20\u0412. \u042f \u043f\u043e\u0434\u0430\u044e 20 \u0412. \u041f\u043e \u0438\u0434\u0435\u0435 <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/cb2\/182\/b1e\/cb2182b1ed6a1e60ae6f5a0c40ade276.jpg\"\/><br \/>  <i>\u0420\u0438\u0441\u0443\u043d\u043e\u043a 5 \u2014 \u0421\u0445\u0435\u043c\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0438\u043d\u0436\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f POE<\/i><\/p>\n<p>  \u0418\u043d\u0436\u0435\u043a\u0442\u043e\u0440 \u044f \u0432\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0432 D-LINK 320, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432 \u0432 \u043d\u0435\u0433\u043e \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0439 \u043f\u043e\u0432\u044b\u0448\u0430\u044e\u0449\u0438\u0439 DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/45e\/554\/d0c\/45e554d0c27f8e62c58188253eb4834f.png\"\/><br \/>  <i>\u0420\u0438\u0441\u0443\u043d\u043e\u043a 6 \u2014 \u0424\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438<\/i><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043c\u043e\u043d\u0442\u0430\u0436\u0430 \u2014 \u0432\u0441\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e. <\/p>\n<p>  \u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \u041f\u0435\u0440\u0435\u0434 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0447\u0442\u043e \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 \u0432\u044b\u0434\u0430\u0447\u0443 20\u0412.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/410\/3fc\/77d\/4103fc77d5f132d23cd090d62b4f416e.png\"\/><br \/>  <i>\u0420\u0438\u0441\u0443\u043d\u043e\u043a 7 \u2014 \u0420\u0430\u0431\u043e\u0442\u044b \u0432\u0441\u0435\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<\/i><\/p>\n<h5>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f WEB-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430<\/h5>\n<p>  Web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0431\u044b\u043b \u0441\u0434\u0435\u043b\u0430\u043d, \u0434\u043b\u044f \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c \u0438\u0437 \u0441\u0435\u0442\u0438 \u0431\u0435\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u041f\u041e \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0414\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0434\u0430\u043d\u043d\u044b\u043c \u0431\u044b\u043b\u043e \u0431\u044b \u0443\u0434\u043e\u0431\u043d\u043e \u0432\u044b\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432 \u0432\u0438\u0434\u0435 XML \u0444\u0430\u0439\u043b\u0430. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0431\u044b\u043b\u043e \u0441\u043e\u0432\u043c\u0435\u0449\u0435\u043d\u043e \u044d\u0442\u0438 \u0434\u0432\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0434\u0430\u043d\u043d\u044b\u043c \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f XSLT \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430.<\/p>\n<p>  Web-\u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 <a href=\"http:\/\/192.168.0.20\/\">192.168.0.20\/<\/a>; Arduino \u0432 \u043e\u0442\u0432\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442:  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;?xml-stylesheet type=&quot;text\/xsl&quot; href=&quot;http:\/\/192.168.0.20\/z1.xsl&quot;?&gt; &lt;response&gt; \t&lt;temperature&gt; \t\t&lt;celsius&gt;30.70&lt;\/celsius&gt; \t\t&lt;sensors&gt; \t\t\t&lt;sensor name='BMP' unit='C'&gt;32.62&lt;\/sensor&gt; \t\t\t&lt;sensor name='DHT' unit='C'&gt;30.70&lt;\/sensor&gt; \t\t&lt;\/sensors&gt; \t&lt;\/temperature&gt; \t&lt;humidity&gt; \t\t&lt;percentage&gt;21.60&lt;\/percentage&gt; \t&lt;\/humidity&gt; \t&lt;pressure&gt; \t\t&lt;pa&gt;99309&lt;\/pa&gt; \t\t&lt;mmHg&gt;745&lt;\/mmHg&gt; \t&lt;\/pressure&gt;\t&lt;illuminance&gt; \t\t&lt;lx&gt;11&lt;\/lx&gt; \t&lt;\/illuminance&gt; &lt;\/response&gt; <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0432 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u043c \u0432\u0438\u0434\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 XSLT \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440, \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0435\u0433\u043e \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 HTML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\"> &lt;?xml version='1.0' encoding='UTF-8'?&gt; &lt;xsl:stylesheet version='1.0' xmlns:xsl='http:\/\/www.w3.org\/1999\/XSL\/Transform'&gt; &lt;xsl:template match='\/'&gt;   &lt;html&gt;   &lt;head&gt; \t  &lt;title&gt;Weather station&lt;\/title&gt;      &lt;meta http-equiv='refresh' content='5'\/&gt; \t  &lt;style&gt; \t   .z1 { \t\tfont-family:Arial, Helvetica, sans-serif; \t\tcolor:#666;\t\t\tfont-size:12px; \t\ttext-shadow: 1px 1px 0px #fff; \t\tbackground:#eaebec; \t\tmargin:20px;\t \t\tborder:#ccc 1px solid;\t \t\tborder-collapse:separate;  \t\tborder-radius:3px; \t\tbox-shadow: 0 1px 2px #d1d1d1; \t   } \t .z1 th {\t \t\tfont-weight:bold; \t\tpadding:15px; \t\tborder-bottom:1px solid #e0e0e0; \t\tbackground: #ededed; \t\tbackground: linear-gradient(to top,  #ededed,  #ebebeb); \t   } \t .z1 td { \t\tpadding:10px; \t\tbackground: #f2f2f2; \t\tbackground: linear-gradient(to top,  #f2f2f2,  #f0f0f0);   \t   } \t.z1 tr:hover td{ \t\tbackground: #aaaaaa; \t\tbackground: linear-gradient(to top, #f2f2f2,  #e0e0e0);   \t} \t  &lt;\/style&gt;   &lt;\/head&gt;   &lt;body&gt;   &lt;h2&gt;Weather station&lt;\/h2&gt;     &lt;table class='z1'&gt;       &lt;tr&gt;         &lt;th&gt;Property&lt;\/th&gt;         &lt;th&gt;Value&lt;\/th&gt;       &lt;\/tr&gt;       &lt;tr&gt;         &lt;td&gt; Temperature &lt;\/td&gt;         &lt;td&gt;&lt;xsl:value-of select='response\/temperature\/celsius'\/&gt; C&lt;\/td&gt;       &lt;\/tr&gt;       &lt;tr&gt;         &lt;td&gt; Humidity &lt;\/td&gt;         &lt;td&gt;&lt;xsl:value-of select='response\/humidity\/percentage'\/&gt; %&lt;\/td&gt;       &lt;\/tr&gt;       &lt;tr&gt;         &lt;td&gt; Pressure &lt;\/td&gt;         &lt;td&gt;&lt;xsl:value-of select='response\/pressure\/mmHg'\/&gt; mm.Hg&lt;\/td&gt;       &lt;\/tr&gt;       &lt;tr&gt;         &lt;td&gt; Illuminance &lt;\/td&gt;         &lt;td&gt;&lt;xsl:value-of select='response\/illuminance\/lx'\/&gt; lx&lt;\/td&gt;       &lt;\/tr&gt;     &lt;\/table&gt; \t&lt;h2&gt;Termosensor&lt;\/h2&gt;     &lt;table class='z1'&gt;       &lt;tr&gt;         &lt;th&gt;Sensor&lt;\/th&gt;         &lt;th&gt;Value&lt;\/th&gt;       &lt;\/tr&gt; \t  &lt;xsl:for-each select='response\/temperature\/sensors\/sensor'&gt;       &lt;tr&gt;         &lt;td&gt; &lt;xsl:value-of select='@name'\/&gt; &lt;\/td&gt;         &lt;td&gt;&lt;xsl:value-of select='.'\/&gt; &lt;xsl:value-of select='@unit'\/&gt;&lt;\/td&gt;       &lt;\/tr&gt; \t  &lt;\/xsl:for-each&gt;     &lt;\/table&gt;   &lt;\/body&gt;   &lt;\/html&gt; &lt;\/xsl:template&gt; &lt;\/xsl:stylesheet&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u0441\u0435\u0445 \u044d\u0442\u0438\u0445 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u0439 \u044d\u0442\u043e\u0442 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0432 Web-\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/2b4\/569\/1d8\/2b45691d86508670a85bcb962bd66816.png\"\/><br \/>  <i>\u0420\u0438\u0441\u0443\u043d\u043e\u043a 8 \u2014 \u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0432 Firefox<\/i><\/p>\n<h5>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0435 \u043e\u0431\u0435\u0447\u043f\u0435\u0447\u0435\u043d\u0438\u0435<\/h5>\n<p>  \u0412 \u041f\u041e \u044f \u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u043f\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441.<\/p>\n<p>  \u041b\u043e\u0433\u0438\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u2014 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0432\u0441\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0432\u044b\u0437\u044b\u0432\u0430\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a.<\/p>\n<p>  \u0412 \u0446\u0438\u043a\u043b\u0435 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432, \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u2014 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 8-\u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u043c LED-\u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u0435 \u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u043e \u0441\u0435\u0442\u0438 Ethernet.<\/p>\n<p>  \u0412 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0431\u044b\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438:  <\/p>\n<ul>\n<li><a href=\"http:\/\/playground.arduino.cc\/Main\/DHTLib\">DHTLib<\/a> \u2014 \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0434\u0430\u0442\u0447\u0438\u043a\u0443 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b\/\u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438<\/li>\n<li><a href=\"https:\/\/github.com\/adafruit\/Adafruit-BMP085-Library\">Adafruit-BMP085-Library<\/a> \u2014 \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0434\u0430\u0442\u0447\u0438\u043a\u0443 \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u044f\/\u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b<\/li>\n<li><a href=\"https:\/\/github.com\/claws\/BH1750\">BH1750<\/a> \u2014 \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0434\u0430\u0442\u0447\u0438\u043a\u0443 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u0438<\/li>\n<li><a href=\"http:\/\/playground.arduino.cc\/Main\/LedControl\">LedControl<\/a> \u2014 \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 LED \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u043c \u043f\u043e \u043f\u0442\u043e\u043a\u043e\u043b\u0443 SPI<\/li>\n<li><a href=\"https:\/\/github.com\/sirleech\/Webduino\/\">Webduino<\/a> \u2014 \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 HTTP<\/li>\n<li><a href=\"http:\/\/code.google.com\/p\/mudbus\/\">Mudbus<\/a> \u2014 \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 Modbus<\/li>\n<\/ul>\n<p>  \u0421\u0442\u043e\u0438\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0431\u0443\u043a\u0432 \u2014 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043c\u043e\u0434\u0435\u0440\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 LedControl. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u044d\u0442\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0443\u043a\u0432\u044b a-f.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">#include &lt;Ethernet.h&gt; #include &lt;SPI.h&gt; #include &lt;Wire.h&gt; #include &quot;DHT.h&quot; #include &quot;BH1750.h&quot; #include &quot;Adafruit_BMP085.h&quot; #include &quot;LedControl.h&quot; #include &quot;Mudbus.h&quot; #include &quot;WebServer.h&quot;  #define WEATHER_STATION_Z1 0x20  \/\/ =============================================================== #define DHT_S1_PIN A0    \/\/ \u043f\u0438\u043d \u0434\u043b\u044f \u0434\u0430\u0442\u0447\u0438\u043a\u0430 DHT22 \/\/ =============================================================== \/\/ assign a MAC address for the ethernet controller. \/\/ fill in your address here: byte mac[] = {    0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED}; \/\/ assign an IP address for the controller: IPAddress ip(192,168,0,20); IPAddress gateway(192,168,0,1);\t IPAddress subnet(255, 255, 255, 0); \/\/ =============================================================== float humidity = 0, temp_dht = 0, temp_bmp = 0, temp = 0; uint16_t light = 0; int32_t pressure_pa = 0, pressure_mm = 0; int mode = 0;  dht dht_s1;  BH1750 lightMeter;  Adafruit_BMP085 bmp;  \/* This creates an instance of the webserver.  By specifying a prefix  * of &quot;&quot;, all pages will be at the root of the server. *\/ #define PREFIX &quot;&quot; WebServer webserver(PREFIX, 80); \/\/EthernetServer webserver(80);  #define DEV_ID Mb.R[0] #define TEMPERATURE Mb.R[1] #define TEMPERATURE_DHT Mb.R[2] #define TEMPERATURE_BMP Mb.R[3] #define HUMIDITY Mb.R[4] #define PRESSURE_MM Mb.R[5] #define LIGHT Mb.R[6] Mudbus Mb;  \/\/ pin A5 is connected to the DataIn  \/\/ pin A6 is connected to the CLK  \/\/ pin A7 is connected to LOAD  LedControl lc=LedControl(A1,A2,A3,1);  \/\/ ======================== Web pages ========================== void web_index(WebServer &server, WebServer::ConnectionType type, char *, bool) {   \/* this line sends the standard &quot;we're all OK&quot; headers back to the      browser *\/   server.httpSuccess(&quot;application\/xml; charset=utf-8&quot;);    \/* if we're handling a GET or POST, we can output our data here.      For a HEAD request, we just stop after outputting headers. *\/   if (type != WebServer::HEAD)   {     \/* this defines some HTML text in read-only memory aka PROGMEM.      * This is needed to avoid having the string copied to our limited      * amount of RAM. *\/     P(index_p1) =        &quot;&lt;?xml version=\\&quot;1.0\\&quot; encoding=\\&quot;UTF-8\\&quot;?&gt;&quot;       &quot;&lt;?xml-stylesheet type=\\&quot;text\/xsl\\&quot; href=\\&quot;http:\/\/192.168.0.20\/z1.xsl\\&quot;?&gt;&quot;       &quot;&lt;response&gt;&quot;       &quot;\t&lt;temperature&gt;&quot;       &quot;\t\t&lt;celsius&gt;&quot;;     P(index_p2) = &quot;&lt;\/celsius&gt;&quot;       &quot;\t\t&lt;sensors&gt;&quot;       &quot;\t\t\t&lt;sensor name='BMP' unit='C'&gt;&quot;;     P(index_p3) = &quot;&lt;\/sensor&gt;&quot;       &quot;\t\t\t&lt;sensor name='DHT' unit='C'&gt;&quot;;     P(index_p4) = &quot;&lt;\/sensor&gt;&quot;       &quot;\t\t&lt;\/sensors&gt;&quot;       &quot;\t&lt;\/temperature&gt;&quot;       &quot;\t&lt;humidity&gt;&quot;       &quot;\t\t&lt;percentage&gt;&quot;;     P(index_p5) = &quot;&lt;\/percentage&gt;&quot;       &quot;\t&lt;\/humidity&gt;&quot;       &quot;\t&lt;pressure&gt;&quot;       &quot;\t\t&lt;pa&gt;&quot;;     P(index_p6) = &quot;&lt;\/pa&gt;&quot;       &quot;\t\t&lt;mmHg&gt;&quot;;     P(index_p7) = &quot;&lt;\/mmHg&gt;&quot;       &quot;\t&lt;\/pressure&gt;&quot;       &quot;\t&lt;illuminance&gt;&quot;       &quot;\t\t&lt;lx&gt;&quot;;     P(index_p8) = &quot;&lt;\/lx&gt;&quot;       &quot;\t&lt;\/illuminance&gt;&quot;       &quot;&lt;\/response&gt;&quot;;     \/* this is a special form of print that outputs from PROGMEM *\/     server.printP(index_p1);     server.print(temp);     server.printP(index_p2);     server.print(temp_bmp);     server.printP(index_p3);     server.print(temp_dht);     server.printP(index_p4);     server.print(humidity);     server.printP(index_p5);     server.print(pressure_pa);     server.printP(index_p6);     server.print(pressure_mm);     server.printP(index_p7);     server.print(light);     server.printP(index_p8);   } } void web_z1_xsl(WebServer &server, WebServer::ConnectionType type, char *, bool) {   server.httpSuccess(&quot;text\/xsl; charset=utf-8&quot;);   if (type != WebServer::HEAD)   {     P(z1_xsl) =      &quot;&lt;?xml version='1.0' encoding='UTF-8'?&gt;&quot;     &quot;&lt;xsl:stylesheet version='1.0' xmlns:xsl='http:\/\/www.w3.org\/1999\/XSL\/Transform'&gt;&quot;     &quot;&lt;xsl:template match='\/'&gt;&quot;     &quot;  &lt;html&gt;&quot;     &quot;  &lt;head&gt;&quot;     &quot;\t  &lt;title&gt;Weather station&lt;\/title&gt;&quot;     &quot;     &lt;meta http-equiv='refresh' content='5'\/&gt;&quot;     &quot;\t  &lt;style&gt;&quot;     &quot;\t   .z1 {&quot;     &quot;\t\t\tfont-family:Arial, Helvetica, sans-serif;&quot;     &quot;\t\t\tcolor:#666;&quot;     &quot;\t\t\tfont-size:12px;&quot;     &quot;\t\t\ttext-shadow: 1px 1px 0px #fff;&quot;     &quot;\t\t\tbackground:#eaebec;&quot;     &quot;\t\t\tmargin:20px;&quot;     &quot;\t\t\tborder:#ccc 1px solid;&quot;     &quot;\t\t\tborder-collapse:separate; &quot;     &quot;\t\t\tborder-radius:3px;&quot;     &quot;\t\t\tbox-shadow: 0 1px 2px #d1d1d1;&quot;     &quot;\t   }&quot;     &quot;\t   .z1 th {&quot;     &quot;\t\t\tfont-weight:bold;&quot;     &quot;\t\t\tpadding:15px;&quot;     &quot;\t\t\tborder-bottom:1px solid #e0e0e0;&quot;     &quot;\t\t\tbackground: #ededed;&quot;     &quot;\t\t\tbackground: linear-gradient(to top,  #ededed,  #ebebeb);&quot;     &quot;\t   }&quot;     &quot;\t   .z1 td {&quot;     &quot;\t\t\tpadding:10px;&quot;     &quot;\t\t\tbackground: #f2f2f2;&quot;     &quot;\t\t\tbackground: linear-gradient(to top,  #f2f2f2,  #f0f0f0);  &quot;     &quot;\t   }&quot;     &quot;\t\t.z1 tr:hover td{&quot;     &quot;\t\t\tbackground: #aaaaaa;&quot;     &quot;\t\t\tbackground: linear-gradient(to top, #f2f2f2,  #e0e0e0);  &quot;     &quot;\t\t}&quot;     &quot;\t  &lt;\/style&gt;&quot;     &quot;  &lt;\/head&gt;&quot;     &quot;  &lt;body&gt;&quot;     &quot;  &lt;h2&gt;Weather station&lt;\/h2&gt;&quot;     &quot;    &lt;table class='z1'&gt;&quot;     &quot;      &lt;tr&gt;&quot;     &quot;        &lt;th&gt;Property&lt;\/th&gt;&quot;     &quot;        &lt;th&gt;Value&lt;\/th&gt;&quot;     &quot;      &lt;\/tr&gt;&quot;     &quot;      &lt;tr&gt;&quot;     &quot;        &lt;td&gt; Temperature &lt;\/td&gt;&quot;     &quot;        &lt;td&gt;&lt;xsl:value-of select='response\/temperature\/celsius'\/&gt; C&lt;\/td&gt;&quot;     &quot;      &lt;\/tr&gt;&quot;     &quot;      &lt;tr&gt;&quot;     &quot;        &lt;td&gt; Humidity &lt;\/td&gt;&quot;     &quot;        &lt;td&gt;&lt;xsl:value-of select='response\/humidity\/percentage'\/&gt; %&lt;\/td&gt;&quot;     &quot;      &lt;\/tr&gt;&quot;     &quot;      &lt;tr&gt;&quot;     &quot;        &lt;td&gt; Pressure &lt;\/td&gt;&quot;     &quot;        &lt;td&gt;&lt;xsl:value-of select='response\/pressure\/mmHg'\/&gt; mm.Hg&lt;\/td&gt;&quot;     &quot;      &lt;\/tr&gt;&quot;     &quot;      &lt;tr&gt;&quot;     &quot;        &lt;td&gt; Illuminance &lt;\/td&gt;&quot;     &quot;        &lt;td&gt;&lt;xsl:value-of select='response\/illuminance\/lx'\/&gt; lx&lt;\/td&gt;&quot;     &quot;      &lt;\/tr&gt;&quot;     &quot;    &lt;\/table&gt;&quot;     &quot;\t&lt;h2&gt;Termosensor&lt;\/h2&gt;&quot;     &quot;    &lt;table class='z1'&gt;&quot;     &quot;      &lt;tr&gt;&quot;     &quot;        &lt;th&gt;Sensor&lt;\/th&gt;&quot;     &quot;        &lt;th&gt;Value&lt;\/th&gt;&quot;     &quot;      &lt;\/tr&gt;&quot;     &quot;\t  &lt;xsl:for-each select='response\/temperature\/sensors\/sensor'&gt;&quot;     &quot;      &lt;tr&gt;&quot;     &quot;        &lt;td&gt; &lt;xsl:value-of select='@name'\/&gt; &lt;\/td&gt;&quot;     &quot;        &lt;td&gt;&lt;xsl:value-of select='.'\/&gt; &lt;xsl:value-of select='@unit'\/&gt;&lt;\/td&gt;&quot;     &quot;      &lt;\/tr&gt;&quot;     &quot;\t  &lt;\/xsl:for-each&gt;&quot;     &quot;    &lt;\/table&gt;&quot;     &quot;  &lt;\/body&gt;&quot;     &quot;  &lt;\/html&gt;&quot;     &quot;&lt;\/xsl:template&gt;&quot;     &quot;&lt;\/xsl:stylesheet&gt;&quot;;      \/* this is a special form of print that outputs from PROGMEM *\/     server.printP(z1_xsl);   } }  \/\/ ========================\u0421\u0422\u0410\u0420\u0422\u0423\u0415\u041c============================= void setup(){   \/\/ Init LED display   lc.shutdown(0,false);   lc.setIntensity(0,2);   lc.clearDisplay(0);   lc.setChar(0,7,'L',false);   lc.setChar(0,6,'O',false);   lc.setChar(0,5,'A',false);   lc.setChar(0,4,'d',false);   \/\/\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Ethernet   SPI.begin();      Ethernet.begin(mac, ip);   \/\/ Init Light sensor   lightMeter.begin();   \/\/ Init pressure sensor   if (!bmp.begin()) {     Serial.println(&quot;ERROR: BMP085 sensor failed&quot;);   }    \/\/enable serial datada print   Serial.begin(9600);    Serial.println(&quot;Weather Z1 v 0.1&quot;); \/\/ \u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0435 \u043f\u043e\u0440\u0442\u0430      webserver.setDefaultCommand(&web_index);   webserver.addCommand(&quot;index.html&quot;, &web_index);   webserver.addCommand(&quot;z1.xsl&quot;, &web_z1_xsl);      webserver.begin(); }  void loop(){   char buff[64];   int len = 64;      mode = (mode + 1) % 100;    Z1_sensors_update();      Z1_SerialOutput();      Z1_ledDisplay();      Z1_modbus_tcp_slave();    \/\/  Z1_http_server();    webserver.processConnection(buff, &len); }  void Z1_sensors_update() {  if (mode%30==0) {    \/\/ BH1750 (light)   light = lightMeter.readLightLevel();   \/\/ BMP085 (Temp and Pressure)   temp_bmp = bmp.readTemperature();   pressure_pa = bmp.readPressure();   pressure_mm = pressure_pa\/133.3;   \/\/ DHT22 (Temp)   if (dht_s1.read22(DHT_S1_PIN) == DHTLIB_OK) {     humidity = dht_s1.humidity;     temp_dht = dht_s1.temperature;     temp = temp_dht;   } else {     temp = temp_bmp;   }     } }  void Z1_SerialOutput() {   Serial.print(&quot;T1= &quot;);    Serial.print(temp_dht);   Serial.print(&quot; *C \\t&quot;);   Serial.print(&quot;T2= &quot;);    Serial.print(temp_bmp);   Serial.print(&quot; *C \\t&quot;);   Serial.print(&quot;Pressure= &quot;);    Serial.print(pressure_mm);   Serial.print(&quot; mm \\t&quot;);   Serial.print(&quot;Humidity= &quot;);    Serial.print(humidity);   Serial.print(&quot; %\\t&quot;);   Serial.print(&quot;Light= &quot;);    Serial.print(light);   Serial.print(&quot; lx \\t&quot;);   Serial.print(&quot;\\n&quot;);  }  void Z1_ledDisplay() {   int v;      if (light&lt;50) {     lc.setIntensity(0,0);   } else if (light&gt;80 && light&lt;200) {     lc.setIntensity(0,2);   } else if (light&gt;250 && light&lt;1000) {     lc.setIntensity(0,5);   } else if (light&gt;1100) {     lc.setIntensity(0,15);   }      if (mode&lt;=25) {   \/\/  lc.clearDisplay(0);     lc.setChar(0,7,'t',false);     if (temp&gt;=0) {       lc.setChar(0,6,' ',false);     } else {       lc.setChar(0,6,'-',false);     }     v = (int)( temp \/ 10 ) % 10;     lc.setDigit(0,5,(byte)v,false);     v = (int)( temp  ) % 10;     lc.setDigit(0,4,(byte)v,true);     v = (int)( temp * 10 ) % 10;     lc.setDigit(0,3,(byte)v,false);     lc.setChar(0,2,' ',false);     lc.setChar(0,1,'*',false);     lc.setChar(0,0,'C',false);     delay(1);   } else if (mode&lt;=50) {   \/\/  lc.clearDisplay(0);     lc.setChar(0,7,'H',false);     lc.setChar(0,6,' ',false);     v = (int)( humidity \/ 10 ) % 10;     lc.setDigit(0,5,(byte)v,false);     v = (int)( humidity  ) % 10;     lc.setDigit(0,4,(byte)v,true);     v = (int)( humidity * 10 ) % 10;     lc.setDigit(0,3,(byte)v,false);     lc.setChar(0,2,' ',false);     lc.setChar(0,1,'*',false);     lc.setChar(0,0,'o',false);     delay(1);   } else if (mode&lt;=75) {   \/\/  lc.clearDisplay(0);     lc.setChar(0,7,'P',false);     lc.setChar(0,6,' ',false);     v = (int)( pressure_mm \/ 100 ) % 10;     lc.setDigit(0,5,(byte)v,false);     v = (int)( pressure_mm\/10  ) % 10;     lc.setDigit(0,4,(byte)v,false);     v = (int)( pressure_mm ) % 10;     lc.setDigit(0,3,(byte)v,false);     lc.setChar(0,2,' ',false);     lc.setChar(0,1,'n',false);     lc.setChar(0,0,'n',false);     delay(1);   } else {   \/\/  lc.clearDisplay(0);     lc.setChar(0,7,'L',false);     lc.setChar(0,6,' ',false);     v = (int)( light \/ 1000 ) % 10;     lc.setDigit(0,5,(byte)v,false);     v = (int)( light \/ 100  ) % 10;     lc.setDigit(0,4,(byte)v,false);     v = (int)( light \/ 10 ) % 10;     lc.setDigit(0,3,(byte)v,false);     v = (int)( light ) % 10;     lc.setDigit(0,2,(byte)v,false);     lc.setChar(0,1,' ',false);     lc.setChar(0,0,' ',false);     delay(1);   } }  void Z1_modbus_tcp_slave() {   Mb.Run();    DEV_ID = WEATHER_STATION_Z1;   TEMPERATURE = temp*10;   TEMPERATURE_DHT = temp_dht*10;   TEMPERATURE_BMP = temp_bmp*10;   HUMIDITY = humidity*10;   PRESSURE_MM = pressure_mm;   LIGHT = light;    } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  Git-\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 \u041f\u041e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 Arduino: <a href=\"https:\/\/github.com\/krotos139\/sh1_arduino_weather_station_v1\">github.com\/krotos139\/sh1_arduino_weather_station_v1<\/a><\/p>\n<h5>\u0412\u044b\u0432\u043e\u0434<\/h5>\n<p>  \u0423\u043c\u043d\u0430\u044f \u043f\u043e\u0433\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0430\u043d\u0446\u0438\u044f \u0441 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c Ethernet \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u0435\u0433\u043a\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 arduino.<br \/>  \u0421\u0435\u0431\u0435\u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u0440\u0438 \u043e\u043f\u044b\u0442\u043d\u043e\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u2014 ~1700 \u0440\u0443\u0431<br \/>  \u0412\u0440\u0435\u043c\u044f \u043d\u0430 \u0441\u0431\u043e\u0440\u043a\u0443 \u2014 ~1 \u0434\u0435\u043d\u044c<br \/>  \u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0444\u0430\u043d\u0442\u0430\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u2014 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043a\u0430\u043a \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0441 \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c \u043e\u0442 POE \u0438 \u043e\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e arduino-\u0432\u0441\u043a\u043e\u0433\u043e \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u0442\u0430\u043a \u0438 \u043a\u0430\u043a smart-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u2014 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0432\u0441\u044e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u0414\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432 \u0432\u0438\u0434\u0435 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0438 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 modbus.    \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\/214011\/\"> http:\/\/habrahabr.ru\/post\/214011\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a \u0445\u0430\u0431\u0440-\u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e.<br \/>  \u0421 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043c\u043e\u0435\u0433\u043e <a href=\"http:\/\/habrahabr.ru\/post\/187410\/\">\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043f\u043e\u0441\u0442\u0430 \u043f\u0440\u043e \u0443\u043c\u043d\u044b\u0439 \u0434\u043e\u043c<\/a> \u043f\u0440\u043e\u0448\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u042f \u0440\u0435\u0448\u0438\u043b \u0435\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u043f\u043e\u0433\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438. <\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/19e\/188\/4d7\/19e1884d7dadbda7203030300c5f934a.png\"\/><br \/>  <i>\u0420\u0438\u0441\u0443\u043d\u043e\u043a 1 \u2014 \u0424\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u043c\u0430\u043a\u0435\u0442\u043d\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0446\u0430<\/i><\/p>\n<p>  \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043e\u0431\u0438\u043b\u0438\u0435 \u0441\u0442\u0430\u0442\u0435\u0439 \u043f\u0440\u043e \u043f\u043e\u0433\u043e\u0434\u043d\u044b\u0435 \u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043d\u0430 arduino (http:\/\/habrahabr.ru\/post\/165747\/, <a href=\"http:\/\/habrahabr.ru\/post\/171525\/\">habrahabr.ru\/post\/171525\/<\/a>, <a href=\"http:\/\/habrahabr.ru\/post\/213405\/\">habrahabr.ru\/post\/213405\/<\/a> ) \u042f \u0432\u0441\u0435-\u0442\u0430\u043a\u0438 \u0440\u0435\u0448\u0438\u043b \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0451 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n<h5>\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b<\/h5>\n<p>  \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442:  <\/p>\n<ul>\n<li>\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b<\/li>\n<li>\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438<\/li>\n<li>\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/li>\n<li>\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u0438<\/li>\n<li>\u0418\u043d\u0434\u0438\u043a\u0430\u0446\u0438\u044f \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432<\/li>\n<li>\u0412\u044b\u0434\u0430\u0447\u0430 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043f\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 HTTP \u0432 \u0432\u0438\u0434\u0435 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430<\/li>\n<li>\u0412\u044b\u0434\u0430\u0447\u0430 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 HTTP XSLT \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u0434\u043b\u044f \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 XML \u043f\u0440\u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c<\/li>\n<li>\u0412\u044b\u0434\u0430\u0447\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e Modbus (\u0435\u0433\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u043c\u043d\u044b\u043c \u0434\u043e\u043c\u043e\u043c)<\/li>\n<li>\u041f\u0438\u0442\u0430\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 Passive POE<\/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-214011","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/214011","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=214011"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/214011\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=214011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=214011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=214011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}