{"id":258720,"date":"2015-06-05T12:51:02","date_gmt":"2015-06-05T08:51:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=258720"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=258720","title":{"rendered":"\u0414\u0430\u043d\u043d\u044b\u0435 \u0441 Arduino \u0432 \u0432\u0438\u0434\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c \u0438 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432"},"content":{"rendered":"<p>             \u0418\u043d\u043e\u0433\u0434\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043d\u0435 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0434\u0438\u043d\u0430\u043c\u0438\u043a\u0443 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0437\u0430 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043f\u0435\u0440\u0438\u043e\u0434. \u0412\u043e\u0442 \u0438 \u043c\u043d\u0435 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u0432 \u0432\u0438\u0434\u0435<s> \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0445 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a<\/s> \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u043e\u043a\u043d\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438\u043b\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0445 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0435\u0442\u044c. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0438\u043c \u0444\u0430\u043a\u0442\u043e\u0440\u043e\u043c \u0431\u044b\u043b\u0430 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c, \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. <\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043e\u0431\u0440\u0430\u0442\u0438\u043b \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b Arduino. \u041f\u043b\u044e\u0441\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u00ab\u0436\u0435\u043b\u0435\u0437\u043d\u043e\u0433\u043e\u00bb \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u043f\u0443\u0442\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u044c\u044e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0443 \u043d\u0430\u0434\u0435\u0442\u044c \u0441\u0432\u0435\u0440\u0445\u0443 \u043f\u043b\u0430\u0442\u0443 \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430. \u0413\u043b\u0430\u0432\u043d\u043e\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043e\u0432\u043f\u0430\u043b\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0440\u0430\u0437\u044a\u0435\u043c\u044b. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/84e\/3a5\/0db\/84e3a50dbcfe4aae8c772b61efa70db7.jpg\" alt=\"image\"\/><br \/>  <a name=\"habracut\"><\/a><br \/>  \u0421\u0438\u0433\u043d\u0430\u043b \u0441 \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u0432\u0445\u043e\u0434 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430, \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443\u0441\u0440\u0435\u0434\u043d\u044f\u0435\u0442\u0441\u044f \u0437\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435, \u0440\u0430\u043d\u0435\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0435 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0435\u0435 http-\u0441\u0435\u0440\u0432\u0435\u0440, \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443 \u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432\u044b\u0434\u0430\u044e\u0449\u0438\u0439 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0435\u0442\u044c html \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043e\u0442 \u0434\u0430\u0442\u0447\u0438\u043a\u0430. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043b\u044e\u0431\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0438\u043c\u0435\u044e\u0449\u0435\u0435 \u0432\u0435\u0431-\u0431\u0440\u0430\u0443\u0437\u0435\u0440, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0435 \u043a \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438, \u0438\u043c\u0435\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0433\u0440\u0430\u0444\u0438\u043a\u0430.<\/p>\n<p>  \u0410\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0447\u0430\u0441\u0442\u0435\u0439: \u043f\u043b\u0430\u0442\u044b Arduino Uno, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0435\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 Atmega328, \u0438 Ethernet \u0448\u0438\u043b\u0434\u0430. \u0411\u044b\u043b\u0438 \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043d\u044b \u043e\u0431\u0430 \u0442\u0438\u043f\u0430 \u0438\u043c\u0435\u044e\u0449\u0438\u0445\u0441\u044f \u0432 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0435 Arduino Ethernet-\u0448\u0438\u043b\u0434\u043e\u0432 \u043d\u0430 \u0418\u0421 ENC28j60 \u0438 \u043d\u0430 W5100. <br \/>  \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043a\u0440\u0430\u0439\u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u044b \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u043b\u0430\u0442\u044b Arduino \u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043e\u0439 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u043f\u043b\u0430\u0442\u044b, \u043d\u043e \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043a\u0435\u0442\u0447, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0441 \u043e\u0431\u0435\u0438\u043c\u0438 Ethernet-\u0448\u0438\u043b\u0434\u0430\u043c\u0438.<\/p>\n<p>  \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0435 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435 (\u0441\u043a\u0435\u0442\u0447) \u0434\u043b\u044f arduino \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043e \u0434\u043b\u044f \u0434\u0432\u0443\u0445 \u0440\u0430\u0437\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f. \u0412 \u043f\u0435\u0440\u0432\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u044b, \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u044e\u0449\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0438\u043c\u0435\u044e\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c \u043e\u0442 Google \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0438, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u043e\u0439 \u043e\u0442 Arduino, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0438\u043c:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/83c\/573\/a90\/83c573a90ef74218a9190ce6f0575515.png\" alt=\"image\"\/><\/p>\n<p>  \u0421\u043a\u0435\u0442\u0447 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0432\u0438\u0434\u0435 \u0442\u0430\u043a\u043e\u0439 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b c Ethernet \u0448\u0438\u043b\u0434\u043e\u043c \u043d\u0430 \u0431\u0430\u0437\u0435 \u0447\u0438\u043f\u0430 W5100 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0438\u0436\u0435. \u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u0443 \u0441 \u0447\u0438\u043f\u043e\u043c ENC28J60 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c 1 \u0441\u0442\u0440\u043e\u043a\u0443 \u0438 \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 2 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u043a\u0435\u0442\u0447\u0430. \u0412 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u044b \u043c\u0435\u0442\u043e\u0434\u044b \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043e\u0441\u0432\u043e\u0431\u043e\u0434\u0438\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043d\u0430 \u043e\u0431\u043e\u0438\u0445 \u0442\u0438\u043f\u0430\u0445 \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u043e\u0432.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0441\u043a\u0435\u0442\u0447 \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b<\/b><\/p>\n<div class=\"spoiler_text\">\/\/\u0432\u044b\u0432\u043e\u0434 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u0432\u0438\u0434\u0435 \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b<br \/>  \/\/ \u0430\u0432\u0442\u043e\u0440 \u0410. \u041a\u043e\u043d\u043e\u0432\u0430\u043b\u043e\u0432 2015 \u0433.<br \/>  \/\/#include &lt;UIPEthernet.h&gt; \/\/\u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 ENC28J60<br \/>  #include &lt;Ethernet.h&gt;<br \/>  #include &lt;SPI.h<br \/>  byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };<br \/>  IPAddress ip(192,168,26,15);<\/p>\n<p>  EthernetServer server(80);<br \/>  const char str1[] PROGMEM = &quot;&lt;!DOCTYPE html&gt;&quot;; <br \/>  const char str2[] PROGMEM = &quot; \u00bb;<br \/>  const char str12[] PROGMEM = &quot; &quot;;<\/p>\n<p>  const char* const string_table[] PROGMEM = {str1, str2, str3, str4, str5, str6, str7};<br \/>  const char* const string_table2[] PROGMEM = {str8, str9, str10, str11, str12};<br \/>  char myChar;<br \/>  char buffer[80]; <\/p>\n<p>  unsigned long previousMillis1 = 0;\/\/ \u043f\u043e\u0441\u043b \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>  unsigned long previousMillis2 = 1;\/\/ \u043f\u043e\u0441\u043b \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>  unsigned long previousMillis3 = 1;\/\/ \u043f\u043e\u0441\u043b \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/p>\n<p>  long OnTime2 = 60000; \/\/ \u043c\u0438\u043d\u0443\u0442\u0430<br \/>  long OnTime3 = 1800000; \/\/ \u043f\u043e\u043b\u0447\u0430\u0441\u0430<br \/>  int In_sec = 0; \/\/ \u043e\u0442\u0441\u0447\u0435\u0442 \u0437\u0430 \u0441\u0435\u043a<br \/>  int In_min = 0; \/\/ \u043e\u0442\u0441\u0447\u0435\u0442 \u0437\u0430 \u043c\u0438\u043d<br \/>  int In_half = 0; \/\/ \u043e\u0442\u0441\u0447\u0435\u0442 \u0437\u0430 \u043f\u043e\u043b\u0447\u0430\u0441\u0430<\/p>\n<p>  long Sum_min = 0; \/\/ \u0441\u0443\u043c\u043c\u0430 \u0437\u0430 \u043c\u0438\u043d<br \/>  long Sum_half = 0; \/\/ \u0441\u0443\u043c\u043c\u0430 \u0437\u0430 \u043f\u043e\u043b\u0447\u0430\u0441\u0430<br \/>  float Sum_base_min = 0;<br \/>  float Sum_base_half = 0;<br \/>  int i,j,k =0;<\/p>\n<p>  void setup()<br \/>  {<br \/>  \/\/ start the Ethernet connection and the server:<br \/>  Ethernet.begin(mac, ip);<br \/>  server.begin();<\/p>\n<p>  }<br \/>  \/\/unsigned long begMillis = millis();\/\/ \u043d\u0430\u0447 \u0432\u0440\u0435\u043c\u044f \u0432 \u043c\u0441 <br \/>  void loop()<br \/>  {<br \/>   unsigned long currentMillis = millis();\/\/ \u0442\u0435\u043a \u0432\u0440\u0435\u043c\u044f \u0432 \u043c\u0441 <\/p>\n<p>  In_sec = analogRead(0); <br \/>   Sum_min = Sum_min + (currentMillis \u2014 previousMillis1) * In_sec;<br \/>   In_min = (Sum_min + Sum_base_min ) \/ (OnTime2 * i + currentMillis \u2014 previousMillis2);<br \/>   Sum_half = Sum_half + (currentMillis \u2014 previousMillis1) * In_sec;<br \/>   In_half = (Sum_half + Sum_base_half) \/ (OnTime3 * j + currentMillis \u2014 previousMillis3);<br \/>   previousMillis1 = currentMillis; \/\/ \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/p>\n<p>   if(currentMillis \u2014 previousMillis2 &gt;= OnTime2)<br \/>   { i=1;<br \/>   Sum_base_min = Sum_min;<br \/>   previousMillis2 = currentMillis; \/\/ \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>   Sum_min = 0;<br \/>   } <br \/>   if(currentMillis \u2014 previousMillis3 &gt;= OnTime3)<br \/>   { j=1;<br \/>   Sum_base_half = Sum_half;<br \/>   previousMillis3 = currentMillis; \/\/ \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>   Sum_half = 0;<br \/>   } <\/p>\n<p>  EthernetClient client = server.available();<br \/>  if (client) {<br \/>   boolean currentLineIsBlank = true;<br \/>   while (client.connected()) {<br \/>   if (client.available()) {<br \/>   char c = client.read();<br \/>   if (c == &#8216;\\n&#8217; &#038;&#038; currentLineIsBlank) {<br \/>   for (int i = 0; i &lt; 7; i++)<br \/>   {<br \/>   strcpy_P(buffer, (char*)pgm_read_word(&#038;(string_table[i]))); <br \/>   client.print(buffer);<br \/>   delay( 500 );<br \/>   } <br \/>   client.print(&quot;[&#8216;\u0412\u0432\u043e\u0434 1&#8217;, &quot;);<br \/>   client.print(In_sec);<br \/>   client.print(&quot;, &quot;);<br \/>   client.print(In_min);<br \/>   client.print(&quot;, &quot;);<br \/>   client.print(In_half);<br \/>   client.print( &quot;],]);&quot;);<\/p>\n<p>   for (int i = 0; i &lt; 5; i++)<br \/>   {<br \/>   strcpy_P(buffer, (char*)pgm_read_word(&#038;(string_table2[i]))); <br \/>   client.print(buffer);<br \/>   delay( 500 );<br \/>   }<br \/>  break;<br \/>  }<br \/>  if (c == &#8216;\\n&#8217;) {<br \/>  }<br \/>  else if (c != &#8216;\\r&#8217;) {<\/p>\n<p>  }<br \/>  }<br \/>  }<br \/>  delay(1);<br \/>  client.stop();<br \/>  }<br \/>  }<\/p>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043a\u0435\u0442\u0447\u0435 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u043d\u0443\u043b\u0435\u0432\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0430 \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0438\u0445 \u0443\u0441\u0440\u0435\u0434\u043d\u0435\u043d\u0438\u0435 \u0437\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0438 \u043c\u0438\u043d\u0443\u0442\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b. \u041f\u0440\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0441 http \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 192.168.26.15 \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u043d\u0443\u0436\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0432\u0430\u0448\u0435\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438.<\/p>\n<p>  \u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 arduino \u0432 \u0432\u0438\u0434\u0435 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0445 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/554\/44d\/37e\/55444d37eed744a68847b77580fe24f9.png\" alt=\"image\"\/><\/p>\n<p>  \u0421\u043a\u0435\u0442\u0447 \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0438\u0436\u0435:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0441\u043a\u0435\u0442\u0447 \u0441 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u043c \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u043c<\/b><\/p>\n<div class=\"spoiler_text\">\/\/\u0432\u044b\u0432\u043e\u0434 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u0432\u0438\u0434\u0435 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432<br \/>  \/\/ \u0430\u0432\u0442\u043e\u0440 \u0410. \u041a\u043e\u043d\u043e\u0432\u0430\u043b\u043e\u0432 2015 \u0433.<br \/>  \/\/#include &lt;UIPEthernet.h&gt;<br \/>  #include &lt;Ethernet.h&gt;<br \/>  #include &lt;SPI.h&gt;<br \/>  byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };<br \/>  IPAddress ip(192,168,26,15);<\/p>\n<p>  EthernetServer server(80);<br \/>  const char str1[] PROGMEM = &quot;&lt;!DOCTYPE html&gt;&quot;; <br \/>  const char str2[] PROGMEM = &quot; \u00bb;<br \/>  const char str12[] PROGMEM = &quot; &quot;;<\/p>\n<p>  const char* const string_table[] PROGMEM = {str1, str2, str3, str4, str5, str6, str7};<br \/>  const char* const string_table2[] PROGMEM = {str8, str9, str10, str11, str12};<br \/>  char myChar;<br \/>  char buffer[80]; <\/p>\n<p>  unsigned long previousMillis1 = 0;\/\/ \u043f\u043e\u0441\u043b \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>  unsigned long previousMillis2 = 1;\/\/ \u043f\u043e\u0441\u043b \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>  unsigned long previousMillis3 = 1;\/\/ \u043f\u043e\u0441\u043b \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/p>\n<p>  long OnTime2 = 60000; \/\/ \u043c\u0438\u043d\u0443\u0442\u0430<br \/>  long OnTime3 = 600000; \/\/ \u043f\u043e\u043b\u0447\u0430\u0441\u0430<br \/>  int In_sec = 0; \/\/ \u043e\u0442\u0441\u0447\u0435\u0442 \u0437\u0430 \u0441\u0435\u043a<br \/>  int In_min = 0; \/\/ \u043e\u0442\u0441\u0447\u0435\u0442 \u0437\u0430 \u043c\u0438\u043d<br \/>  int In_half = 0; \/\/ \u043e\u0442\u0441\u0447\u0435\u0442 \u0437\u0430 \u043f\u043e\u043b\u0447\u0430\u0441\u0430<\/p>\n<p>  long Sum_min = 0; \/\/ \u0441\u0443\u043c\u043c\u0430 \u0437\u0430 \u043c\u0438\u043d<br \/>  long Sum_half = 0; \/\/ \u0441\u0443\u043c\u043c\u0430 \u0437\u0430 \u043f\u043e\u043b\u0447\u0430\u0441\u0430<br \/>  float Sum_base_min = 0;<br \/>  float Sum_base_half = 0;<br \/>  int i,j,k =0;<\/p>\n<p>  void setup()<br \/>  {<br \/>  \/\/ start the Ethernet connection and the server:<br \/>  Ethernet.begin(mac, ip);<br \/>  server.begin();<\/p>\n<p>  }<br \/>  \/\/unsigned long begMillis = millis();\/\/ \u0442\u0435\u043a \u0432\u0440\u0435\u043c\u044f \u0432 \u043c\u0441 <br \/>  void loop()<br \/>  {<br \/>   unsigned long currentMillis = millis();\/\/ \u0442\u0435\u043a \u0432\u0440\u0435\u043c\u044f \u0432 \u043c\u0441 <\/p>\n<p>  In_sec = analogRead(0); <br \/>   Sum_min = Sum_min + (currentMillis \u2014 previousMillis1) * In_sec;<br \/>   In_min = (Sum_min + Sum_base_min ) \/ (OnTime2 * i + currentMillis \u2014 previousMillis2);<br \/>   Sum_half = Sum_half + (currentMillis \u2014 previousMillis1) * In_sec;<br \/>   In_half = (Sum_half + Sum_base_half) \/ (OnTime3 * j + currentMillis \u2014 previousMillis3);<br \/>   previousMillis1 = currentMillis; \/\/ \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/p>\n<p>   if(currentMillis \u2014 previousMillis2 &gt;= OnTime2)<br \/>   { i=1;<br \/>   Sum_base_min = Sum_min;<br \/>   previousMillis2 = currentMillis; \/\/ \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>   Sum_min = 0;<br \/>   } <br \/>   if(currentMillis \u2014 previousMillis3 &gt;= OnTime3)<br \/>   { j=1;<br \/>   Sum_base_half = Sum_half;<br \/>   previousMillis3 = currentMillis; \/\/ \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>   Sum_half = 0;<br \/>   } <\/p>\n<p>  EthernetClient client = server.available();<br \/>  if (client) {<br \/>  \/\/ an http request ends with a blank line<br \/>   boolean currentLineIsBlank = true;<br \/>   while (client.connected()) {<br \/>   if (client.available()) {<br \/>   char c = client.read();<br \/>   if (c == &#8216;\\n&#8217; &#038;&#038; currentLineIsBlank) {<\/p>\n<p>  for (int i = 0; i &lt; 7; i++)<br \/>   {<br \/>   strcpy_P(buffer, (char*)pgm_read_word(&#038;(string_table[i]))); \/\/ Necessary casts and dereferencing, just copy.<br \/>   client.print(buffer);<br \/>   delay( 500 );<br \/>   }<\/p>\n<p>   client.print(&quot;[&#8216;\u0412\u0432\u043e\u0434 1&#8217;, &quot;);<br \/>   client.print(In_sec);<br \/>   client.print(&quot;, &quot;);<br \/>   client.print(In_min);<br \/>   client.print(&quot;, &quot;);<br \/>   client.print(In_half);<br \/>   client.print( &quot;],]);&quot;);<\/p>\n<p>   for (int i = 0; i &lt; 5; i++)<br \/>   {<br \/>   strcpy_P(buffer, (char*)pgm_read_word(&#038;(string_table2[i]))); \/\/ Necessary casts and dereferencing, just copy.<br \/>   client.print(buffer);<br \/>   delay( 500 );<br \/>   }<\/p>\n<p>  break;<br \/>  }<br \/>  if (c == &#8216;\\n&#8217;) {<br \/>  \/\/ you&#8217;re starting a new line<br \/>  currentLineIsBlank = true;<br \/>  }<br \/>  else if (c != &#8216;\\r&#8217;) {<br \/>  \/\/ you&#8217;ve gotten a character on the current line<br \/>  currentLineIsBlank = false;<br \/>  }<br \/>  }<br \/>  }<br \/>  \/\/ give the web browser time to receive the data<br \/>  delay(1);<br \/>  \/\/ close the connection:<br \/>  client.stop();<br \/>  }<br \/>  }<\/p>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, <s>\u0438\u0437 \u0447\u0438\u0441\u0442\u043e\u0433\u043e \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u0441\u0442\u0432\u0430,<\/s> \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 google \u0431\u044b\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0441\u043a\u0435\u0442\u0447, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432 \u0432\u0438\u0434\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0431\u043e\u0440\u0430. \u041e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u0430. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f7f\/884\/546\/f7f884546c65459ebf47364bead53040.png\" alt=\"image\"\/><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0441\u043a\u0435\u0442\u0447 \u0441 \u043f\u0440\u0438\u0431\u043e\u0440\u043e\u043c<\/b><\/p>\n<div class=\"spoiler_text\">\/\/\u0432\u044b\u0432\u043e\u0434 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e web-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u0432\u0438\u0434\u0435 \u043f\u0440\u0438\u0431\u043e\u0440\u0430<br \/>  \/\/ \u0430\u0432\u0442\u043e\u0440 \u0410. \u041a\u043e\u043d\u043e\u0432\u0430\u043b\u043e\u0432 2015 \u0433.<br \/>  \/\/#include &lt;UIPEthernet.h&gt;<br \/>  #include &lt;Ethernet.h&gt;<br \/>  #include &lt;SPI.h&gt;<\/p>\n<p>  byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };<br \/>  IPAddress ip(192,168,26,15);<\/p>\n<p>  EthernetServer server(80);<br \/>  const char str1[] PROGMEM = &quot;&lt;!DOCTYPE html&gt;&quot;; <br \/>  const char str2[] PROGMEM = &quot; \u00bb;<br \/>  const char str12[] PROGMEM = &quot; &quot;;<\/p>\n<p>  const char* const string_table[] PROGMEM = {str1, str2, str3, str4, str5, str6, str7};<br \/>  const char* const string_table2[] PROGMEM = {str8, str9, str10, str11, str12};<br \/>  char myChar;<br \/>  char buffer[80]; <\/p>\n<p>  int In_sec = 0; \/\/ \u043e\u0442\u0441\u0447\u0435\u0442 \u0437\u0430 \u0441\u0435\u043a<br \/>  int i,j,k =0;<\/p>\n<p>  void setup()<br \/>  {<br \/>  \/\/ start the Ethernet connection and the server:<br \/>  Ethernet.begin(mac, ip);<br \/>  server.begin();<\/p>\n<p>  }<br \/>  \/\/unsigned long begMillis = millis();\/\/ \u0442\u0435\u043a \u0432\u0440\u0435\u043c\u044f \u0432 \u043c\u0441 <br \/>  void loop()<br \/>  {<br \/>   In_sec = analogRead(0); <br \/>  EthernetClient client = server.available();<br \/>  if (client) {<br \/>  \/\/ an http request ends with a blank line<br \/>   boolean currentLineIsBlank = true;<br \/>   while (client.connected()) {<br \/>   if (client.available()) {<br \/>   char c = client.read();<br \/>   if (c == &#8216;\\n&#8217; &#038;&#038; currentLineIsBlank) {<\/p>\n<p>  for (int i = 0; i &lt; 7; i++)<br \/>   {<br \/>   strcpy_P(buffer, (char*)pgm_read_word(&#038;(string_table[i]))); \/\/ Necessary casts and dereferencing, just copy.<br \/>   client.print(buffer);<br \/>   delay( 500 );<br \/>   }<\/p>\n<p>   client.print(In_sec);<br \/>   client.print(&quot;]]);&quot;);<\/p>\n<p>   for (int i = 0; i &lt; 5; i++)<br \/>   {<br \/>   strcpy_P(buffer, (char*)pgm_read_word(&#038;(string_table2[i]))); \/\/ Necessary casts and dereferencing, just copy.<br \/>   client.print(buffer);<br \/>   delay( 500 );<br \/>   }<\/p>\n<p>  break;<br \/>  }<br \/>  if (c == &#8216;\\n&#8217;) {<br \/>  \/\/ you&#8217;re starting a new line<br \/>  currentLineIsBlank = true;<br \/>  }<br \/>  else if (c != &#8216;\\r&#8217;) {<br \/>  \/\/ you&#8217;ve gotten a character on the current line<br \/>  currentLineIsBlank = false;<br \/>  }<br \/>  }<br \/>  }<br \/>  \/\/ give the web browser time to receive the data<br \/>  delay(1);<br \/>  \/\/ close the connection:<br \/>  client.stop();<br \/>  }<br \/>  }<\/p>\n<p>  \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u043e\u043c, \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043d \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c \u0432 Arduino, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 Scalable Vector Graphic (SVG). <\/p>\n<p>  \u0422.\u043a. \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0434\u0438\u043d\u0430\u043c\u0438\u043a\u0443 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u0442\u043e \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043d\u0438\u0436\u0435\u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u043a\u0435\u0442\u0447\u0430 \u043f\u0440\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0430\u0440\u0434\u0443\u0438\u043d\u043e, \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0443\u0432\u0438\u0434\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u043a\u0443:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/2cf\/7a9\/155\/2cf7a915560d4bb9a020994534b24870.png\" alt=\"image\"\/><\/p>\n<p>  \u041e\u0434\u0438\u043d \u0432\u0437\u0433\u043b\u044f\u0434 \u043d\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u043a\u0443 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043d\u044f\u0442\u044c \u0434\u0438\u043d\u0430\u043c\u0438\u043a\u0443 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0437\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0440\u0430\u043d\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>  \u0421\u043a\u0435\u0442\u0447 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u043d\u0438\u0436\u0435:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0441\u043a\u0435\u0442\u0447 SVG \u0433\u0440\u0430\u0444\u0438\u043a<\/b><\/p>\n<div class=\"spoiler_text\">\/\/#include &lt;UIPEthernet.h&gt;<br \/>  #include &lt;Ethernet.h&gt;<br \/>  #include &lt;SPI.h&gt;<\/p>\n<p>  byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };<br \/>  IPAddress ip(192,168,26,15);<\/p>\n<p>  EthernetServer server(80);<br \/>  const char str1[] PROGMEM = &quot;&quot;; <br \/>  const char str2[] PROGMEM = &quot;\/&gt;&quot;;<br \/>  const char str4[] PROGMEM = &quot;&quot;;<br \/>  char myChar;<br \/>  int out;<\/p>\n<p>  unsigned long previousMillis1 = 0;\/\/ \u043f\u043e\u0441\u043b \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>  unsigned long previousMillis2 = 1;\/\/ \u043f\u043e\u0441\u043b \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>  unsigned long previousMillis3 = 1;\/\/ \u043f\u043e\u0441\u043b \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/p>\n<p>  long OnTime2 = 60000; \/\/ \u043c\u0438\u043d\u0443\u0442\u0430<br \/>  long OnTime3 = 600000; \/\/ \u043f\u043e\u043b\u0447\u0430\u0441\u0430<br \/>  int In_sec = 0; \/\/ \u043e\u0442\u0441\u0447\u0435\u0442 \u0437\u0430 \u0441\u0435\u043a<br \/>  int In_min = 0; \/\/ \u043e\u0442\u0441\u0447\u0435\u0442 \u0437\u0430 \u043c\u0438\u043d<br \/>  int In_half = 0; \/\/ \u043e\u0442\u0441\u0447\u0435\u0442 \u0437\u0430 \u043f\u043e\u043b\u0447\u0430\u0441\u0430<\/p>\n<p>  long Sum_min = 0; \/\/ \u0441\u0443\u043c\u043c\u0430 \u0437\u0430 \u043c\u0438\u043d<br \/>  long Sum_half = 0; \/\/ \u0441\u0443\u043c\u043c\u0430 \u0437\u0430 \u043f\u043e\u043b\u0447\u0430\u0441\u0430<br \/>  float Sum_base_min = 0;<br \/>  float Sum_base_half = 0;<br \/>  int i,j,k =0;<\/p>\n<p>  void setup()<br \/>  {<\/p>\n<p>  Ethernet.begin(mac, ip);<br \/>  server.begin();<\/p>\n<p>  }<br \/>  \/\/unsigned long begMillis = millis();\/\/ \u0442\u0435\u043a \u0432\u0440\u0435\u043c\u044f \u0432 \u043c\u0441 <br \/>  void loop()<br \/>  {<br \/>   unsigned long currentMillis = millis();\/\/ \u0442\u0435\u043a \u0432\u0440\u0435\u043c\u044f \u0432 \u043c\u0441 <\/p>\n<p>  In_sec = analogRead(0); <br \/>   Sum_min = Sum_min + (currentMillis \u2014 previousMillis1) * In_sec;<br \/>   In_min = (Sum_min + Sum_base_min ) \/ (OnTime2 * i + currentMillis \u2014 previousMillis2);<br \/>   Sum_half = Sum_half + (currentMillis \u2014 previousMillis1) * In_sec;<br \/>   In_half = (Sum_half + Sum_base_half) \/ (OnTime3 * j + currentMillis \u2014 previousMillis3);<br \/>   previousMillis1 = currentMillis; \/\/ \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/p>\n<p>   if(currentMillis \u2014 previousMillis2 &gt;= OnTime2)<br \/>   { i=1;<br \/>   Sum_base_min = Sum_min;<br \/>   previousMillis2 = currentMillis; \/\/ \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>   Sum_min = 0;<br \/>   } <br \/>   if(currentMillis \u2014 previousMillis3 &gt;= OnTime3)<br \/>   { j=1;<br \/>   Sum_base_half = Sum_half;<br \/>   previousMillis3 = currentMillis; \/\/ \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<br \/>   Sum_half = 0;<br \/>   } <\/p>\n<p>  EthernetClient client = server.available();<br \/>  if (client) {<br \/>  \/\/ an http request ends with a blank line<br \/>   boolean currentLineIsBlank = true;<br \/>   while (client.connected()) {<br \/>   if (client.available()) {<br \/>   char c = client.read();<br \/>   if (c == &#8216;\\n&#8217; &#038;&#038; currentLineIsBlank) {<\/p>\n<p>  for (k = 0; k &lt; strlen(str1); k++)<br \/>   {<br \/>   myChar = pgm_read_byte_near(str1 + k);<br \/>   client.print(myChar);<br \/>   } <\/p>\n<p>   for (k = 0; k &lt; strlen(str2); k++)<br \/>   {<br \/>   myChar = pgm_read_byte_near(str2 + k);<br \/>   client.print(myChar);<br \/>   } <br \/>   out = 200 \u2014 In_sec\/3;<br \/>   client.print(out);<br \/>   client.print(&quot; 100,&quot;);<br \/>   client.print(out);<br \/>   client.print(&quot; 250,&quot;);<br \/>   out = 200 \u2014 In_min\/3;<br \/>   client.print(out);<br \/>   client.print(&quot; 300,&quot;);<br \/>   out = 200 \u2014 In_half\/3;<br \/>   client.print(out);<\/p>\n<p>   for (k = 0; k &lt; strlen(str3); k++)<br \/>   {<br \/>   myChar = pgm_read_byte_near(str3 + k);<br \/>   client.print(myChar);<br \/>   } <br \/>  client.println(); <br \/>  client.print(In_sec);<br \/>  client.println(); <br \/>  client.print(In_min);<br \/>  client.println(); <br \/>  client.print(In_half);<br \/>   for (k = 0; k &lt; strlen(str4); k++)<br \/>   {<br \/>   myChar = pgm_read_byte_near(str4 + k);<br \/>   client.print(myChar);<br \/>   } <br \/>  break;<br \/>  }<\/p>\n<p>  if (c == &#8216;\\n&#8217;) {<br \/>  \/\/ you&#8217;re starting a new line<br \/>  currentLineIsBlank = true;<br \/>  }<br \/>  else if (c != &#8216;\\r&#8217;) {<br \/>  \/\/ you&#8217;ve gotten a character on the current line<br \/>  currentLineIsBlank = false;<br \/>  }<br \/>  }<br \/>  }<br \/>  \/\/ give the web browser time to receive the data<br \/>  delay(1);<br \/>  \/\/ close the connection:<br \/>  client.stop();<br \/>  }<br \/>  }<\/p>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u0432\u044b\u0448\u0435 \u0441\u043a\u0435\u0442\u0447\u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442, \u043a\u0430\u043a \u0441\u0430\u043c\u044b\u043c\u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438, \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u044b\u0439 \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u0432\u0438\u0434 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0441 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u0440\u0438 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u0438 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, Wi-Fi \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 \u044d\u0442\u0443 \u0441\u0435\u0442\u044c. <\/p>\n<p>  \u041f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0441\u043a\u0435\u0442\u0447\u0435\u0439 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043f\u043e\u043c\u043e\u0449\u044c \u043e\u043a\u0430\u0437\u0430\u043b\u043e <a href=\"https:\/\/google-developers.appspot.com\/chart\/interactive\/docs\/\">\u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430<\/a>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430 \u0425\u0430\u0431\u0440\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/157087\/\">\u00ab\u0417\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u043e \u0441 SVG-\u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0439\u00bb<\/a>.<\/p>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u043e\u043f\u0438\u0440\u0430\u044f\u0441\u044c \u043d\u0430 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u043c\u043d\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441\u043a\u0435\u0442\u0447\u0435\u0439 \u0438 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b \u0432\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c Arduino \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0432 \u0442\u043e\u043c \u0432\u0438\u0434\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0430\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f.<\/p><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"clear\"><\/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\/259615\/\"> http:\/\/habrahabr.ru\/post\/259615\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>             \u0418\u043d\u043e\u0433\u0434\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043d\u0435 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0434\u0438\u043d\u0430\u043c\u0438\u043a\u0443 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0437\u0430 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043f\u0435\u0440\u0438\u043e\u0434. \u0412\u043e\u0442 \u0438 \u043c\u043d\u0435 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u0432 \u0432\u0438\u0434\u0435<s> \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0445 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a<\/s> \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u043e\u043a\u043d\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0438\u043b\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0445 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0435\u0442\u044c. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0438\u043c \u0444\u0430\u043a\u0442\u043e\u0440\u043e\u043c \u0431\u044b\u043b\u0430 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c, \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. <\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043e\u0431\u0440\u0430\u0442\u0438\u043b \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b Arduino. \u041f\u043b\u044e\u0441\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u00ab\u0436\u0435\u043b\u0435\u0437\u043d\u043e\u0433\u043e\u00bb \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u043f\u0443\u0442\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u044c\u044e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0443 \u043d\u0430\u0434\u0435\u0442\u044c \u0441\u0432\u0435\u0440\u0445\u0443 \u043f\u043b\u0430\u0442\u0443 \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430. \u0413\u043b\u0430\u0432\u043d\u043e\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043e\u0432\u043f\u0430\u043b\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0440\u0430\u0437\u044a\u0435\u043c\u044b. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/84e\/3a5\/0db\/84e3a50dbcfe4aae8c772b61efa70db7.jpg\" alt=\"image\"\/>  <\/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-258720","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/258720","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=258720"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/258720\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=258720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=258720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=258720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}