{"id":375189,"date":"2024-05-21T06:18:25","date_gmt":"2024-05-21T06:18:25","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=375189"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=375189","title":{"rendered":"<span>\u041c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f \u043d\u0430 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0435<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e\u0431 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043d\u0430 ESP8266 &#8212; \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043d\u0430 Arduino.<\/p>\n<p>\u0414\u0430! \u042d\u0442\u043e \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0430\u044f \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f \u043d\u0430 Arduino \ud83d\ude42<\/p>\n<p>\u041d\u043e \u043d\u0435 \u0441\u043f\u0435\u0448\u0438\u0442\u0435 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e, \u0443 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u044f \u0438\u0437\u044e\u043c\u0438\u043d\u043a\u0430, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u0438 \u0431\u0430\u0442\u0430\u0440\u0435\u0439 \u0432 \u0441\u0443\u0440\u043e\u0432\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u0443\u0440\u0430\u043b\u044c\u0441\u043a\u043e\u0439 \u0437\u0438\u043c\u044b.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u043e\u0432 \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u0443\u0434\u0435\u0442 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430, \u0430 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043b\u044e\u0431\u0438\u0442 \u043c\u0430\u0441\u0442\u0435\u0440\u0438\u0442\u044c \u0441\u0432\u043e\u0438\u043c\u0438 \u0440\u0443\u043a\u0430\u043c\u0438 \u0438 \u0443\u0437\u043d\u0430\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043d\u043e\u0432\u043e\u0435 &#8212; \u043f\u0440\u043e\u0448\u0443 \u043a \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044e.<\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0431\u0443\u0434\u0443 \u0447\u0430\u0441\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043f\u0440\u043e Arduino, \u043f\u0440\u0438\u0442\u043e\u043c \u0447\u0442\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0430\u043c\u0430 Arduino Uno (\u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c) \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c. \u041d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c SDK Arduino \u0438 Arduino-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0431\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 Arduino-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c.<\/p>\n<h3>\u0418\u0434\u0435\u044f<\/h3>\n<p>\u041c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0439 \u043d\u0430 Arduino \u0442\u0430\u043a\u043e\u0435 \u0432\u0435\u043b\u0438\u043a\u043e\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e, \u0447\u0442\u043e \u044d\u0442\u043e, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u0441\u0430\u043c\u044b\u0439 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e\u0441\u043b\u0435 \u043c\u043e\u0440\u0433\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c \u0443 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445.<\/p>\n<p>\u041c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0447\u0442\u043e\u0431\u044b, \u0443 \u043c\u0435\u043d\u044f \u0437\u0430 \u043e\u043a\u043d\u043e\u043c \u043d\u0430 \u0431\u0430\u043b\u043a\u043e\u043d\u0435 \u0431\u044b\u043b\u043e \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0449\u0435\u0435 \u043f\u043e\u0433\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435: \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443, \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0438 \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u0435. \u0422\u0430\u043a\u0436\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u043a\u0430\u043a \u0432\u0441\u0435 \u0445\u043e\u0440\u043e\u0448\u043e\/\u043f\u043b\u043e\u0445\u043e \u0441 \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c \u0432 \u043d\u043e\u0447\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a.<\/p>\n<p>\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c 24\/7 \u0438 \u043d\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u0441\u043b\u0435 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f (\u0440\u0430\u0437 \u0432 \u043f\u043e\u043b\u0447\u0430\u0441\u0430) \u043f\u043e Wi-Fi \u043d\u0430 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 MQTT-\u0441\u0435\u0440\u0432\u0435\u0440. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u043e\u0439 \u0432\u0435\u0431-\u043c\u043e\u0440\u0434\u043e\u0439.<\/p>\n<p>\u0421\u0430\u043c\u043e\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. \u0418\u0434\u0435\u044e \u0442\u044f\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0432\u043e\u0434\u0430 \u043d\u0430 \u0431\u0430\u043b\u043a\u043e\u043d \u044f \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u043c\u0435\u043b \u043a\u0430\u043a \u044d\u0441\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0443\u044e. \u041b\u0438\u0442\u0438\u0435\u0432\u044b\u0439 \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0442\u043e\u0436\u0435 \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u0443\u0440\u0430\u043b\u044c\u0441\u043a\u043e\u0439 \u0437\u0438\u043c\u044b \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0430\u0437\u0440\u044f\u0436\u0430\u0442\u044c\u0441\u044f \u0438 \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u041b\u0438\u0442\u0438\u0435\u0432\u0430\u044f \u0431\u0430\u0442\u0430\u0440\u0435\u044f, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0431\u044b \u043f\u043e\u0434\u043e\u0448\u043b\u0430, \u043d\u043e \u043d\u0435 \u0434\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f ESP \u0438 \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u043e Wi-Fi.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u0440\u0435\u0448\u0435\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u0443\u044e \u0431\u0430\u0442\u0430\u0440\u0435\u044e \u0438 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u0434\u043b\u044f \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u044f \u044d\u043d\u0435\u0440\u0433\u0438\u0438. \u0411\u044b\u043b\u0438 \u043e\u043f\u0430\u0441\u0435\u043d\u0438\u044f, \u0447\u0442\u043e \u0432 \u043d\u043e\u0447\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a ESP \u0441\u044a\u0435\u0441\u0442 \u0432\u0435\u0441\u044c \u0437\u0430\u0440\u044f\u0434 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0430. \u041d\u043e \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0431\u044b \u044d\u0442\u043e \u0438 \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u0442\u043e \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0435 \u0431\u043e\u0438\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u044f\u0434\u0430, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u043b\u0438\u0442\u0438\u0435\u0432\u044b\u0445 \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432.<\/p>\n<p>\u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u0434\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f ESP8266 \u0445\u043e\u0440\u043e\u0448 \u0435\u0449\u0435 \u0442\u0435\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u0442\u043e\u043a. \u0410 \u0443 ESP8266 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u044b\u043b\u0430 \u0441 \u044d\u0442\u0438\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043f\u0440\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u043c \u043f\u0438\u0442\u0430\u043d\u0438\u0438 \u043f\u043e \u0442\u043e\u043a\u0443 &#8212; \u043c\u043e\u0434\u0443\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0432\u0438\u0441\u043d\u0443\u0442\u044c. \u0422\u0430\u043a\u043e\u0435 \u0431\u044b\u0432\u0430\u0435\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0435 ESP8266 \u043a DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0434\u0430\u0435\u0442 \u043d\u0443\u0436\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0442\u043e\u043a\u0443.<\/p>\n<h3>\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/h3>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/df5\/9b3\/89d\/df59b389d87ac85084c322e6f800022c.jpg\" alt=\"\u041d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432\" title=\"\u041d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432\" width=\"4272\" height=\"2848\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/df5\/9b3\/89d\/df59b389d87ac85084c322e6f800022c.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u041d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<ul>\n<li>\n<p><strong>ESP-01S (ESP8266)<\/strong>. \u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u0438 \u043d\u0435\u0434\u043e\u0440\u043e\u0433\u043e\u0439 \u043c\u043e\u0434\u0443\u043b\u044c. \u0415\u0441\u0442\u044c \u0443 \u043d\u0435\u0433\u043e \u043e\u0434\u0438\u043d \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a \u0441 \u0432\u044b\u0445\u043e\u0434\u043e\u043c \u0438\u0437 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0433\u043e \u0441\u043d\u0430, \u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u044d\u0442\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u043f\u0438\u043b\u044c\u043d\u0438\u043a\u043e\u043c ?<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0431\u0432\u044f\u0437\u043a\u0430 \u0434\u043b\u044f ESP-01S<\/strong>\u00a0(\u043a\u0435\u0440\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440 0.1uF \u0438 \u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440 10K).<\/p>\n<\/li>\n<li>\n<p><strong>INA226<\/strong>\u00a0(\u0432\u043e\u043b\u044c\u0442\u043c\u0435\u0442\u0440\/\u0430\u043c\u043f\u0435\u0440\u043c\u0435\u0442\u0440, I2C, 3.3V); \u0411\u0443\u0434\u0435\u043c \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0435 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<\/li>\n<li>\n<p><strong>HTU31D<\/strong>\u00a0(\u0434\u0430\u0442\u0447\u0438\u043a \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438, I2C, 3.3V).<\/p>\n<\/li>\n<li>\n<p><strong>BMP280<\/strong>\u00a0(\u0434\u0430\u0442\u0447\u0438\u043a \u0430\u0442\u043c\u043e\u0441\u0444\u0435\u0440\u043d\u043e\u0433\u043e \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u044f, I2C, 3.3V). \u042d\u0442\u043e\u0442 \u0434\u0430\u0442\u0447\u0438\u043a \u0435\u0449\u0435 \u0443\u043c\u0435\u0435\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443, \u043d\u043e \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b;<\/p>\n<\/li>\n<li>\n<p><strong>\u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440<\/strong>\u00a0(D-\u0442\u0438\u043f\u0430 3.8V Farah, 100F); \u0415\u043c\u043a\u043e\u0441\u0442\u044c \u0432 100F \u0431\u044b\u043b\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u0430 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0437\u0430\u043f\u0430\u0441\u043e\u043c. \u0412\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f, \u0447\u0435\u043c \u0434\u043e\u043b\u044c\u0448\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0441\u043d\u0430, \u0442\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u0442\u0440\u0430\u0442\u0438\u0442\u0441\u044f \u044d\u043d\u0435\u0440\u0433\u0438\u0438 \u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442.<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0435 \u043f\u0430\u043d\u0435\u043b\u0438<\/strong>\u00a0(8 \u0448\u0442\u0443\u043a, 0.5W, 5V). \u041e\u0445, \u0443\u0436 \u043d\u0435 \u0437\u043d\u0430\u044e \u0447\u0442\u043e \u0442\u0430\u043c \u043f\u0440\u0438\u0441\u043b\u0430\u043b\u0438 \u043a\u0438\u0442\u0430\u0439\u0446\u044b, \u043d\u043e \u043f\u0430\u043d\u0435\u043b\u0435\u0439 \u044f \u0440\u0435\u0448\u0438\u043b \u0437\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u0431\u043e\u043b\u044c\u0448\u0435. \u0427\u0442\u043e\u0431\u044b \u0434\u0430\u0436\u0435 \u0432 \u0441\u0430\u043c\u0443\u044e \u043f\u0430\u0441\u043c\u0443\u0440\u043d\u0443\u044e \u0437\u0438\u043c\u043d\u044e\u044e \u043f\u043e\u0433\u043e\u0434\u0443 \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f \u043c\u043e\u0433\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044d\u0442\u0438\u0445 \u043f\u0430\u043d\u0435\u043b\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043c\u0435\u043d\u044c\u0448\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 6 \u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 4.<\/p>\n<\/li>\n<li>\n<p><strong>DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c<\/strong>\u00a0(600mA, input 3-15V, output 3.3V). \u0418\u043c\u043f\u0443\u043b\u044c\u0441\u043d\u044b\u0439 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043d\u0438\u0436\u0430\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u0441 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0445 \u043f\u0430\u043d\u0435\u043b\u0435\u0439 (5V), \u0434\u043e 3.3V \u0438 \u0437\u0430\u0440\u044f\u0436\u0430\u0442\u044c \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440. \u0421\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043d\u0435 \u043f\u043e\u0434\u0430\u0442\u044c \u043d\u0430 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0448\u0435 3.8V, \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043a \u0435\u0433\u043e \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044e.<\/p>\n<\/li>\n<li>\n<p><strong>\u0414\u0438\u043e\u0434 \u0428\u043e\u0442\u0442\u043a\u0438.<\/strong>\u00a0\u0411\u0435\u0437 \u043d\u0435\u0433\u043e \u0432 \u043d\u043e\u0447\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0430\u0447\u043d\u0435\u0442 \u0440\u0430\u0437\u0440\u044f\u0436\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u0443\u044e \u0431\u0430\u0442\u0430\u0440\u0435\u044e. \u0422\u043e \u0435\u0441\u0442\u044c \u0442\u043e\u043a \u043f\u043e\u0442\u0435\u0447\u0435\u0442 \u043d\u0430\u0437\u0430\u0434, \u0430 \u043d\u0430\u043c \u044d\u0442\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e.<\/p>\n<\/li>\n<li>\n<p><strong>\u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0447\u0430\u0442\u043d\u0430\u044f \u043f\u043b\u0430\u0442\u0430<\/strong>\u00a0(\u0432 \u0442\u0435 \u0433\u043e\u0434\u044b \u044f \u043d\u0435 \u0443\u043c\u0435\u043b \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u044b \u0444\u043e\u0442\u043e\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u043c \u043a\u043e\u043b\u0445\u043e\u0437\u0438\u0442\u044c).<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u044b\u0439 \u043a\u043e\u0440\u043f\u0443\u0441<\/strong>\u00a0(\u043e\u0431\u044b\u0447\u043d\u0430\u044f \u043a\u043e\u0440\u043e\u0431\u043a\u0430 \u0438\u0437 ABS-\u043f\u043b\u0430\u0441\u0442\u0438\u043a\u0430).<\/p>\n<\/li>\n<li>\n<p><strong>\u041d\u0435\u043e\u0434\u0438\u043c\u043e\u0432\u044b\u0435 \u043c\u0430\u0433\u043d\u0438\u0442\u044b<\/strong>\u00a0(\u0434\u043b\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0433\u043e \u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u043a \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u0431\u0430\u043b\u043a\u043e\u043d\u0430).<\/p>\n<\/li>\n<li>\n<p><strong>MQTT-\u0441\u0435\u0440\u0432\u0435\u0440\/\u0432\u0435\u0431-\u043c\u043e\u0440\u0434\u0430<\/strong>\u00a0\u0414\u043b\u044f MQTT-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b Mosquitto. \u0412\u0435\u0431 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430 React\/Nest.JS . \u0412\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043b\u0443\u0448\u0430\u043b\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043d\u0430 MQTT-\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438 \u043f\u0440\u0438 \u0438\u0445 \u043d\u0430\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u043b\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0431\u0430\u0437\u0435. \u0412\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0443\u0441\u043a\u0430\u043b\u043e \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0433\u0434\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u043b\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0432\u0438\u0434\u0435 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432 (\u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430\/\u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c\/\u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0435).<\/p>\n<\/li>\n<\/ul>\n<h3>\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e<\/h3>\n<h4>ESP-01<\/h4>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/cad\/9b3\/add\/cad9b3add8792ad70b6656e41a52dc59.jpg\" alt=\"ESP-01\" title=\"ESP-01\" width=\"4272\" height=\"2848\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cad\/9b3\/add\/cad9b3add8792ad70b6656e41a52dc59.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>ESP-01<\/figcaption><\/div>\n<\/figure>\n<p>\u041a\u0430\u043a \u044f \u043f\u0438\u0441\u0430\u043b \u0432\u044b\u0448\u0435 \u0432 ESP-01 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441 \u0432\u044b\u0445\u043e\u0434\u043e\u043c \u0438\u0437 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0433\u043e \u0441\u043d\u0430. ESP-01 \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0432 \u0433\u043b\u0443\u0431\u043e\u043a\u0438\u0439 \u0441\u043e\u043d \u0432\u044b\u0437\u0432\u0430\u0432\u00a0<code>ESP.deepSleep(timeout, mode)<\/code>, \u043d\u043e \u043c\u043e\u0434\u0443\u043b\u044c \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u0438\u0437 \u043d\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0439\u0434\u0435\u0442. \u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b RESET \u0438 GPIO16. \u042d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437-\u0437\u0430 \u043c\u0430\u043b\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043e\u0432. \u041a\u043e\u0433\u0434\u0430 \u0442\u0430\u0439\u043c\u0430\u0443\u0442 \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0432 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u043c \u0441\u043d\u0435 \u0438\u0441\u0442\u0435\u0447\u0435\u0442, \u0442\u043e \u043d\u0430 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0435 GPIO16 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043d\u0438\u0437\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f (LOW), \u0431\u0443\u0434\u0443\u0447\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c \u043a RESET, \u043e\u043d \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442 ESP-01.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/3bf\/2b3\/91e\/3bf2b391ee0a49f861a2cd40333b51d6.jpg\" alt=\"ESP-01 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439\" title=\"ESP-01 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439\" width=\"1096\" height=\"1638\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3bf\/2b3\/91e\/3bf2b391ee0a49f861a2cd40333b51d6.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>ESP-01 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439<\/figcaption><\/div>\n<\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0432\u044f\u0437\u043a\u0438 \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b ESP-01:<\/p>\n<ul>\n<li>\n<p>\u041a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440 0.1uF \u043c\u0435\u0436\u0434\u0443 RESET \u0438 GND. \u042d\u0442\u043e\u0442 \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u043a\u0440\u0430\u0442\u043a\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0435 \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430 RESET \u043d\u0430 \u0437\u0435\u043c\u043b\u044e \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u0447\u0442\u043e \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0441\u0431\u0440\u043e\u0441 \u043c\u043e\u0434\u0443\u043b\u044f.<\/p>\n<\/li>\n<li>\n<p>\u0420\u0435\u0437\u0438\u0441\u0442\u043e\u0440 10K \u043c\u0435\u0436\u0434\u0443 RESET \u0438 VCC. \u042d\u0442\u043e\u0442 \u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440 \u043f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0430\u043a\u0442 RESET \u043a \u0432\u044b\u0441\u043e\u043a\u043e\u043c\u0443 \u0443\u0440\u043e\u0432\u043d\u044e, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d \u043d\u0435 \u0437\u0430\u0437\u0435\u043c\u043b\u0435\u043d. \u042d\u0442\u043e \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0441\u0431\u0440\u043e\u0441 \u043c\u043e\u0434\u0443\u043b\u044f \u0438\u0437-\u0437\u0430 \u0448\u0443\u043c\u0430 \u0438\u043b\u0438 \u043f\u043e\u043c\u0435\u0445.<\/p>\n<\/li>\n<\/ul>\n<h4>\u041f\u0438\u0442\u0430\u043d\u0438\u0435<\/h4>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/a52\/099\/f5c\/a52099f5c3f219f3c5818da61fc8afd0.jpg\" alt=\"\u041f\u0438\u0442\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u044f\" title=\"\u041f\u0438\u0442\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u044f\" width=\"4272\" height=\"2848\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a52\/099\/f5c\/a52099f5c3f219f3c5818da61fc8afd0.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u041f\u0438\u0442\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u044f<\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043a \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430\u043c +\/- DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041a \u044d\u0442\u0438\u043c \u0436\u0435 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c ESP-01 \u0438 \u0441\u0435\u043d\u0441\u043e\u0440\u044b (\u043a VCC \u0438 GND).<\/p>\n<p>\u041d\u0430 \u0432\u0445\u043e\u0434 DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u0443\u044e \u0431\u0430\u0442\u0430\u0440\u0435\u044e. \u041f\u0435\u0440\u0435\u0434 \u043f\u043b\u044e\u0441\u043e\u0432\u044b\u043c \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043e\u043c DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0434\u0438\u043e\u0434 \u0428\u043e\u0442\u0442\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u0432 \u043d\u043e\u0447\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0435 \u043d\u0430\u0447\u0430\u043b \u0440\u0430\u0437\u0440\u044f\u0436\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u0443\u044e \u0431\u0430\u0442\u0430\u0440\u0435\u044e.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/797\/f0c\/3c1\/797f0c3c132dd4063252f437dd184af1.jpg\" alt=\"\u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440\" title=\"\u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440\" width=\"1200\" height=\"842\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/797\/f0c\/3c1\/797f0c3c132dd4063252f437dd184af1.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440<\/figcaption><\/div>\n<\/figure>\n<p>\u041f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043e\u0431 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0435. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u0438\u043b\u0438 \u043a\u0430\u043a \u0435\u0449\u0435 \u0435\u0433\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0441\u0443\u043f\u0435\u0440\u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440 \u043d\u0430 100F, 3.8V. \u041e\u043d \u043c\u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u043c\u0430\u043b\u044b\u043c \u0441\u0430\u043c\u043e\u0440\u0430\u0437\u0440\u044f\u0434\u043e\u043c. \u0414\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f ESP-01 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u0434\u0430\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0442\u043e\u043a, \u043c\u043e\u0434\u0443\u043b\u044c \u0443 \u043c\u0435\u043d\u044f \u043d\u0438 \u0440\u0430\u0437\u0443 \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0430\u043b. \u0421\u0442\u043e\u044f\u0442 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u044b \u043d\u0435\u043c\u0430\u043b\u043e, \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0430 100F \u043e\u0431\u043e\u0448\u0435\u043b\u0441\u044f \u043c\u043d\u0435 \u0432 800 \u0440\u0443\u0431. \u041f\u043e \u0432\u0438\u0434\u0443 \u0438 \u0432\u0435\u0441\u0443 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440. \u0422\u0430\u043a\u0436\u0435 \u043d\u0443\u0436\u043d\u043e, \u0438\u043c\u0435\u0442\u044c \u0432 \u0432\u0438\u0434\u0443 \u0447\u0442\u043e, \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u044b \u043d\u0435 \u0432\u0435\u0447\u043d\u044b, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0441\u043b\u0443\u0436\u0438\u0442\u044c \u0432\u0430\u043c \u043e\u0442 5 \u0434\u043e 10 \u043b\u0435\u0442.<\/p>\n<h4>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0435 \u0431\u0430\u0442\u0430\u0440\u0435\u0438<\/h4>\n<p>\u0411\u043b\u043e\u043a\u0438 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0445 \u0431\u0430\u0442\u0430\u0440\u0435\u0439 \u0431\u044b\u043b\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u044b \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0438 \u043f\u0440\u0438\u043a\u043b\u0435\u0435\u043d\u044b \u043d\u0430 \u043f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u0443\u044e \u0434\u043e\u0441\u043a\u0443.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/812\/fa8\/4ad\/812fa84ad0c2b3b4913e777ec8776824.jpg\" alt=\"\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c\" title=\"\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c\" width=\"4272\" height=\"2848\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/812\/fa8\/4ad\/812fa84ad0c2b3b4913e777ec8776824.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/128\/04a\/e00\/12804ae00baddd584687530f1671fb44.jpg\" alt=\"\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c\" title=\"\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c\" width=\"4272\" height=\"2848\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/128\/04a\/e00\/12804ae00baddd584687530f1671fb44.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c<\/figcaption><\/div>\n<\/figure>\n<p>\u0413\u043e\u0442\u043e\u0432\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c \u0441 8 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u043c\u0438 \u0431\u0430\u0442\u0430\u0440\u0435\u044f\u043c\u0438 \u0431\u044b\u043b\u0430 \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0430 \u043d\u0430 \u0431\u0430\u043b\u043a\u043e\u043d\u0435. \u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0443\u0433\u043b\u043e\u043c \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0445 \u043b\u0443\u0447\u0435\u0439 \u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u0430\u0447\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438. \u041d\u043e \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441 \u044d\u0442\u0438\u043c.<\/p>\n<p>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0443\u044e \u043f\u0430\u043d\u0435\u043b\u044c \u044f \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0432\u043f\u0440\u0438\u0442\u044b\u043a \u043a \u043e\u043a\u043d\u0443 \u043d\u0430 \u0443\u043b\u0438\u0446\u0443, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u0432\u0435\u0442\u0430 \u043f\u043e\u043f\u0430\u0434\u0430\u043b\u043e \u043d\u0430 \u043d\u0435\u0435. \u0411\u044b\u043b\u043e \u0431\u044b \u0435\u0449\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435\u0435 \u0432\u044b\u043d\u0435\u0441\u0442\u0438 \u0435\u0435 \u043d\u0430 \u0443\u043b\u0438\u0446\u0443, \u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u0434\u0435\u043b\u0430\u0442\u044c \u0433\u0435\u0440\u043c\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u044e.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/2d5\/433\/867\/2d54338670e8c40c035fe1553cb3906a.jpg\" alt=\"\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c\" title=\"\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c\" width=\"4272\" height=\"2848\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2d5\/433\/867\/2d54338670e8c40c035fe1553cb3906a.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c<\/figcaption><\/div>\n<\/figure>\n<h4>\u041c\u043e\u0434\u0443\u043b\u0438 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432<\/h4>\n<p>\u0412\u0441\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u043e I2C \u043a ESP-01. \u041f\u0438\u0442\u0430\u043d\u0438\u0435 \u0443 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u043e\u0435 \u0436\u0435, \u043a\u0430\u043a \u0443 ESP-01 (3.3V).<\/p>\n<p>\u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0433\u0440\u0435\u0431\u0435\u043d\u043a\u0438 \u0441 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430\u043c\u0438, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043b\u0435\u0433\u043a\u043e \u0434\u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 (\u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432). \u0414\u0443\u043c\u0430\u044e, \u0447\u0442\u043e \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u043f\u0430\u044f\u043d\u044b \u043e\u043b\u043e\u0432\u043e\u043c \u0434\u043b\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/93e\/ffc\/59d\/93effc59db88fd6716d26be214dfa12c.jpg\" alt=\"\u041c\u043e\u0434\u0443\u043b\u0438 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432\" title=\"\u041c\u043e\u0434\u0443\u043b\u0438 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432\" width=\"4272\" height=\"2848\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/93e\/ffc\/59d\/93effc59db88fd6716d26be214dfa12c.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u041c\u043e\u0434\u0443\u043b\u0438 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<h4>\u041a\u043e\u0440\u043f\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/h4>\n<p>\u041a \u043a\u043e\u0440\u043f\u0443\u0441\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0431\u044b\u043b\u0438 \u043d\u0430\u0434\u0435\u0436\u043d\u043e \u043f\u0440\u0438\u043a\u043b\u0435\u0435\u043d\u044b \u043c\u0430\u0433\u043d\u0438\u0442\u044b \u0434\u043b\u044f \u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u0435. \u0421\u0430\u043c \u043a\u043e\u0440\u043f\u0443\u0441 \u0431\u044b\u043b \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d \u0433\u0435\u0440\u043c\u0435\u0442\u0438\u043a\u043e\u043c.<\/p>\n<p>\u0411\u0435\u043b\u044b\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u0430, \u0442\u043e\u0440\u0447\u0430\u0449\u0438\u0435 \u0438\u0437 \u043a\u043e\u0440\u043f\u0443\u0441\u0430, \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0432\u043e\u0434\u0430\u043c\u0438 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u043e\u0439 \u043f\u0430\u043d\u0435\u043b\u0438.<\/p>\n<p>\u041f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u044b\u0439 \u043a\u043e\u043b\u043f\u0430\u0447\u043e\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0432\u0435\u043d\u0442\u0438\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0439. \u041f\u043e\u0434 \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u043a\u043e\u043b\u043f\u0430\u0447\u043a\u043e\u043c \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0437\u0430\u0449\u0438\u0449\u0430\u044e\u0449\u0438\u0439 \u043e\u0442 \u0432\u043b\u0430\u0433\u0438. \u0421\u043c\u044b\u0441\u043b \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0432\u043e\u0437\u0434\u0443\u0445 \u043c\u043e\u0433 \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u044c \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432, \u0430 \u0432\u043e\u0442 \u0434\u043b\u044f \u0432\u043b\u0430\u0433\u0438 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u043e.<\/p>\n<p>\u041f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 3D \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u0430 \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0432 \u0440\u0430\u0437\u044b \u043b\u0443\u0447\u0448\u0435.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/bb8\/4eb\/ccc\/bb84ebccc9abb041947c1a79a2586c3d.jpg\" alt=\"\u041a\u043e\u0440\u043f\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\" title=\"\u041a\u043e\u0440\u043f\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\" width=\"4272\" height=\"2848\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/bb8\/4eb\/ccc\/bb84ebccc9abb041947c1a79a2586c3d.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u041a\u043e\u0440\u043f\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/dea\/94a\/816\/dea94a8162776a4a1aa6bcb19ce85c91.jpg\" alt=\"\u041a\u043e\u0440\u043f\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\" title=\"\u041a\u043e\u0440\u043f\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\" width=\"4272\" height=\"2848\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dea\/94a\/816\/dea94a8162776a4a1aa6bcb19ce85c91.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u041a\u043e\u0440\u043f\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/figcaption><\/div>\n<\/figure>\n<h3>\u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u0435\u0439<\/h3>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/179\/200\/2a5\/1792002a5a1407cd41158752a94f8b2d.png\" alt=\"\u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u0435\u0439\" title=\"\u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u0435\u0439\" width=\"1127\" height=\"1135\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/179\/200\/2a5\/1792002a5a1407cd41158752a94f8b2d.png\"\/><\/p>\n<div><figcaption>\u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u0435\u0439<\/figcaption><\/div>\n<\/figure>\n<h3>\u041f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443<\/h3>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b PlatformIO.<\/p>\n<p>\u041a\u043e\u0434 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438:<\/p>\n<pre><code class=\"cpp\">\/\/ main.cpp #include &lt;Adafruit_BMP280.h> #include &lt;Adafruit_HTU31D.h> #include &lt;Arduino.h> #include &lt;ArduinoJson.h> #include &lt;ESP8266WiFi.h> #include &lt;INA226_WE.h> #include &lt;PubSubClient.h> #include &lt;Wire.h> \/\/ I2C  #define uS_TO_M_FACTOR 6e7                            \/\/ \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u043a\u0443\u043d\u0434 \u0432 \u043c\u0438\u043d\u0443\u0442\u0435 #define DEEP_SLEEP_TIMEOUT (int)(30 * uS_TO_M_FACTOR) \/\/ \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0433\u043e \u0441\u043d\u0430 (\u0432 \u043c\u0438\u043d\u0443\u0442\u0430\u0445) #define RECONNECTION_LIMIT 3 \/\/ \u0427\u0438\u0441\u043b\u043e \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0445 \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u043f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f #define RECONNECTION_DELAY 500 \/\/ \u0417\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u0435\u0440\u0435\u0434 \u043f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c (\u0432 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445) #define WIFI_SSID \"ENTER WI-FI SSID\" #define WIFI_PASSWORD \"ENTER WI-FI PASSWORD\" #define MQTT_SERVER \"ENTER MQTT SERVER IP ADDRESS\" #define MQTT_PORT 1883 #define MQTT_CLIENT_ID \"Weather Station\" #define MQTT_TOPIC \"devices\/weather-station\/status\"  #define BMP280_I2C 0x76 #define HTU31D_I2C 0x40 #define INA226_I2C 0x41  Adafruit_BMP280 bmp = Adafruit_BMP280(); Adafruit_Sensor *bmp_pressure = bmp.getPressureSensor(); Adafruit_HTU31D htu = Adafruit_HTU31D(); INA226_WE ina226 = INA226_WE(INA226_I2C); WiFiClient espClient; PubSubClient client(espClient);  struct sensors_data {   float temperature;   float humidity;   float pressure;   float voltage; };  struct sensors_data sensors_data;  float convertHumidity(float hPa) {   float one_mmHg_in_Pa = 101325.0 \/ 760.0;   return (hPa * 100.0) \/ one_mmHg_in_Pa; }  void bmpEnable(bool val) {   if (val) {     bmp.setSampling(Adafruit_BMP280::MODE_NORMAL, Adafruit_BMP280::SAMPLING_X16, Adafruit_BMP280::SAMPLING_X16,                     Adafruit_BMP280::FILTER_X16, Adafruit_BMP280::STANDBY_MS_1);   } else {     bmp.setSampling(Adafruit_BMP280::MODE_SLEEP, Adafruit_BMP280::SAMPLING_NONE, Adafruit_BMP280::SAMPLING_NONE,                     Adafruit_BMP280::FILTER_OFF, Adafruit_BMP280::STANDBY_MS_4000);   } }  void update_sensors_data() {   \/\/ HTU sensor   htu.enableHeater(true); \/\/ Enable power   sensors_event_t humidity_event, temperature_event;   htu.getEvent(&amp;humidity_event, &amp;temperature_event);   htu.enableHeater(false); \/\/ Disable power   sensors_data.temperature = temperature_event.temperature;   sensors_data.humidity = humidity_event.relative_humidity;    \/\/ BMP sensor   bmpEnable(true);   sensors_event_t pressure_event;   bmp_pressure->getEvent(&amp;pressure_event);   bmpEnable(false);   sensors_data.pressure = convertHumidity(pressure_event.pressure);    \/\/ INA sensor   ina226.powerUp();   ina226.readAndClearFlags();   sensors_data.voltage = ina226.getBusVoltage_V();   ina226.powerDown(); }  bool wifi_connect() {   if (WiFi.SSID() != \"\") {     WiFi.begin(); \/\/ \u0411\u044b\u0441\u0442\u0440\u043e\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0440\u0430\u043d\u0435\u0435 \u0437\u0430\u043f\u043e\u043c\u043d\u0435\u043d\u043d\u043e\u0439 Wi-Fi \u0442\u043e\u0447\u043a\u0435 (\u043e\u0431\u044b\u0447\u043d\u043e \u043c\u0435\u043d\u0435\u0435 1 \u0441\u0435\u043a).   } else {     WiFi.persistent(true); \/\/ \u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u043c Wi-Fi \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0432 \u043f\u0430\u043c\u044f\u0442\u044c     WiFi.mode(WIFI_STA);     WiFi.setAutoConnect(true); \/\/ \u041f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0442\u043e\u0447\u043a\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0430     WiFi.setAutoReconnect(false); \/\/ \u041f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u043e\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438     WiFi.begin(WIFI_SSID, WIFI_PASSWORD); \/\/ \u0414\u043e\u043b\u0433\u043e\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 (\u043e\u0431\u044b\u0447\u043d\u043e \u043e\u043a\u043e\u043b\u043e 5 \u0441\u0435\u043a).   }   int conn_result = WiFi.waitForConnectResult();   return conn_result == WL_CONNECTED; }  void mqtt_subscribe_cb(char *topic, byte *payload, unsigned int length) {}  bool send_message(char *message) {   client.setServer(MQTT_SERVER, MQTT_PORT);    int count = 0;   while (!client.connect(MQTT_CLIENT_ID)) {     count += 1;     if (count == RECONNECTION_LIMIT) {       return false;     }     delay(RECONNECTION_DELAY);   }    client.publish(MQTT_TOPIC, message);   client.disconnect();   return true; }  bool send_sensors_message() {   StaticJsonDocument&lt;256> doc;   char message[256];   doc[\"temperature\"] = sensors_data.temperature;   doc[\"humidity\"] = sensors_data.humidity;   doc[\"pressure\"] = sensors_data.pressure;   doc[\"voltage\"] = sensors_data.voltage;   serializeJson(doc, message);   return send_message(message); }  bool start_htu() {   int count = 0;   while (!htu.begin(HTU31D_I2C)) {     count += 1;     if (count == RECONNECTION_LIMIT) {       return false;     }     delay(RECONNECTION_DELAY);   };   htu.enableHeater(false);   return true; }  bool start_bmp() {   int count = 0;   while (!bmp.begin(BMP280_I2C)) {     count += 1;     if (count == RECONNECTION_LIMIT) {       return false;     }     delay(RECONNECTION_DELAY);   }   bmpEnable(false);   return true; }  bool start_ina() {   int count = 0;   while (!ina226.init()) {     count += 1;     if (count == RECONNECTION_LIMIT) {       return false;     }     delay(RECONNECTION_DELAY);   }   ina226.powerDown();   return true; }  void setup() { #if defined(BOARD_ESP_01S) || defined(BOARD_ESP_01)   Wire.begin(2, 0); \/\/ \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 I2C (SDA, SCL) #endif  #ifdef BOARD_ESP_01S #define LED_BUILTIN 2 \/\/ \u0414\u043b\u044f ESP-01S #endif  #ifdef BOARD_ESP_01 #define LED_BUILTIN 1 \/\/ \u0414\u043b\u044f ESP-01 #endif    pinMode(LED_BUILTIN, OUTPUT);    if (start_htu() &amp;&amp; start_bmp() &amp;&amp; start_ina()) {     update_sensors_data();      if (wifi_connect()) {       send_sensors_message();     }   }    \/\/ WAKE_RF_DEFAULT - \u043f\u0440\u043e\u0441\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c \u043c\u043e\u0434\u0443\u043b\u0435\u043c Wi-Fi   ESP.deepSleep(DEEP_SLEEP_TIMEOUT, WAKE_RF_DEFAULT); }  void loop() {}<\/code><\/pre>\n<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 PlatformIO \u0434\u043b\u044f ESP-01 \u0438 ESP-01S:<\/p>\n<pre><code>; platformio.ini [env:esp_01] platform = espressif8266 board = esp01_1m framework = arduino upload_speed = 3000000 monitor_speed = 74880 lib_deps = knolleary\/pubsubclient@^2.8 adafruit\/Adafruit BMP280 Library@^2.3.0 adafruit\/Adafruit HTU31D Library@^1.1.0 bblanchon\/ArduinoJson@^6.18.3 wollewald\/INA226_WE@^1.2.3 build_flags = -D PIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK3 -D BOARD_ESP_01 board_build.f_cpu = 80000000L  [env:esp_01s] platform = espressif8266 board = esp01_1m framework = arduino upload_speed = 3000000 monitor_speed = 74880 lib_deps = knolleary\/pubsubclient@^2.8 adafruit\/Adafruit BMP280 Library@^2.3.0 adafruit\/Adafruit HTU31D Library@^1.1.0 bblanchon\/ArduinoJson@^6.18.3 wollewald\/INA226_WE@^1.2.3 build_flags = -D PIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK3 -D BOARD_ESP_01S board_build.f_cpu = 80000000L<\/code><\/pre>\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b<\/h3>\n<h4>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u0433\u0435\u0440\u043c\u0435\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u044c<\/h4>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0430\u0440\u044b \u0434\u043e\u0436\u0434\u043b\u0438\u0432\u044b\u0445 \u0434\u043d\u0435\u0439 \u0432 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0435 \u043c\u043e\u044f \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0430 \u043e\u0447\u0435\u043d\u044c \u0432\u044b\u0441\u043e\u043a\u0438\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438, \u043e\u043a\u043e\u043b\u043e 90%. \u042f \u043d\u0435 \u043f\u043e\u0432\u0435\u0440\u0438\u043b \u0432 \u044d\u0442\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b, \u0432\u0435\u0434\u044c \u0434\u043e\u0436\u0434\u044f \u0437\u0430 \u043e\u043a\u043d\u043e\u043c \u0443\u0436\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0441\u0438\u043b\u044c\u043d\u044b\u0439 \u0434\u043e\u0436\u0434\u044c \u0441\u043c\u043e\u0433 \u0437\u0430\u043b\u0438\u0442\u044c \u0441\u0442\u0430\u043d\u0446\u0438\u044e \u0432\u043e\u0434\u043e\u0439 \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u043d\u0442\u0438\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044f \u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u043a\u043e\u0440\u043f\u0443\u0441\u0430.<\/p>\n<p>\u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043a\u043e\u0440\u043f\u0443\u0441, \u0441\u0443\u0448\u0438\u0442\u044c \u043f\u043b\u0430\u0442\u0443 \u0438 \u0432\u0441\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435. \u0411\u043b\u0430\u0433\u043e \u0432\u043d\u0438\u0437\u0443 \u0431\u044b\u043b \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0437\u0430\u0437\u043e\u0440 \u043c\u0435\u0436\u0434\u0443 \u0434\u043d\u043e\u043c \u0438 \u0441\u0430\u043c\u043e\u0439 \u043f\u043b\u0430\u0442\u043e\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0438\u043b\u044c\u043d\u043e \u043d\u0430\u0447\u0438\u043d\u043a\u0430 \u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043d\u0435 \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u043b\u0430. \u042f \u0441\u0434\u0435\u043b\u0430\u043b \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u044b\u0439 \u043a\u043e\u043b\u043f\u0430\u0447\u043e\u043a \u0432\u043d\u0443\u0442\u0440\u0438 \u0443 \u0432\u0435\u043d\u0442\u0438\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u0432\u043e\u0434\u0430 \u043d\u0435 \u043c\u043e\u0433\u043b\u0430 \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u044c \u0438 \u0441\u043d\u043e\u0432\u0430 \u0437\u0430\u0433\u0435\u0440\u043c\u0435\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b \u043a\u043e\u0440\u043f\u0443\u0441.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u044d\u0442\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u043b\u0430. \u041f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438 \u0431\u044b\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0440\u0430\u0432\u043d\u044b \u0442\u0435\u043c, \u0447\u0442\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435. \u0415\u0441\u043b\u0438 \u0431\u044b \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b 3D-\u043f\u0440\u0438\u043d\u0442\u0435\u0440, \u0442\u043e \u043a\u043e\u0440\u043f\u0443\u0441 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043b\u0443\u0447\u0448\u0435. \u0412\u0430\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u043f\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u0438 \u0432\u043e\u0434\u044b \u0441\u0432\u0435\u0440\u0445\u0443, \u0432\u0430\u0448 \u043a\u043e\u0440\u043f\u0443\u0441 \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u043b \u0435\u0439 \u0441\u0442\u0435\u043a\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u043d\u0442\u0438\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044f \u0432\u043d\u0438\u0437.<\/p>\n<h4>\u041c\u043e\u0440\u043e\u0437\u043d\u044b\u0435 \u0438 \u043f\u0430\u0441\u043c\u0443\u0440\u043d\u044b\u0435 \u0434\u043d\u0438<\/h4>\n<p>\u041d\u043e\u0447\u044c\u044e \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u044d\u043d\u0435\u0440\u0433\u0438\u044e, \u0437\u0430\u043f\u0430\u0441\u0435\u043d\u043d\u0443\u044e \u0432 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0435 \u0432 \u0434\u043d\u0435\u0432\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f. \u0417\u0438\u043c\u043e\u0439 \u0438\u043d\u043e\u0433\u0434\u0430 \u0441\u043e\u043b\u043d\u0446\u0430 \u0431\u044b\u0432\u0430\u0435\u0442 \u043c\u0430\u043b\u043e, \u043d\u043e \u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u0435\u0433\u043e \u0445\u0432\u0430\u0442\u0430\u043b\u043e. \u0412\u0438\u0434\u0438\u043c\u043e, \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u0431\u0430\u0442\u0430\u0440\u0435\u044f \u0443\u0441\u043f\u0435\u0432\u0430\u043b\u0430 \u0437\u0430\u0440\u044f\u0436\u0430\u0442\u044c \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u0434\u043e \u043d\u0443\u0436\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u0431\u044b\u043b\u043e \u0442\u0440\u0435\u0432\u043e\u0436\u043d\u043e, \u043a\u043e\u0433\u0434\u0430 \u0448\u0435\u043b \u0441\u0438\u043b\u044c\u043d\u044b\u0439 \u0441\u043d\u0435\u0433 \u0438 \u0443\u0436\u0435 \u0432 4 \u0447\u0430\u0441\u0430 \u0434\u043d\u044f \u0431\u044b\u043b\u043e \u0442\u0435\u043c\u043d\u043e. \u041c\u043d\u0435 \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0432\u043e\u0442 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0442\u043e\u0447\u043d\u043e \u0437\u0430\u0440\u044f\u0434\u0430 \u0432 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0435 \u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u0442 \u0438 \u0441\u0442\u0430\u043d\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u0435\u0442 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0442\u044c \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043f\u043e\u0433\u043e\u0434\u044b. \u041d\u043e \u043d\u0435\u0442, \u0434\u0430\u0436\u0435 \u0432 \u0441\u0430\u043c\u044b\u0439 \u0442\u0435\u043c\u043d\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u0441\u0435 \u043e\u0431\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c. \u041f\u043e \u043c\u043e\u0438\u043c \u043f\u043e\u0434\u0441\u0447\u0435\u0442\u0430\u043c \u0443 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0430 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u044b\u043b \u0437\u0430\u043f\u0430\u0441 \u044d\u043d\u0435\u0440\u0433\u0438\u0438 \u043d\u0430 3-4 \u0447\u0430\u0441\u0430 \u0434\u043e \u043d\u0430\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u0441\u0432\u0435\u0442\u0430.<\/p>\n<p>\u0417\u0438\u043c\u043d\u0438\u0439 \u0445\u043e\u043b\u043e\u0434 \u0442\u043e\u0436\u0435 \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b \u0432\u043b\u0438\u044f\u043d\u0438\u0435 \u043d\u0430 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440. \u0427\u0435\u043c \u043d\u0438\u0436\u0435 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430, \u0442\u0435\u043c \u043a\u0430\u043a \u0431\u044b \u0431\u043e\u043b\u044c\u0448\u0435 \u0442\u0440\u0430\u0442\u0438\u043b\u043e\u0441\u044c \u044d\u043d\u0435\u0440\u0433\u0438\u0438 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0435 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435. \u042f \u0434\u0443\u043c\u0430\u044e \u0432 \u0445\u043e\u043b\u043e\u0434\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0441\u0438\u043b\u0438\u0432\u0430\u043b\u0441\u044f \u0441\u0430\u043c\u043e\u0440\u0430\u0437\u0440\u044f\u0434 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0430.<\/p>\n<p>\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0438 \u043d\u0430 \u0447\u0442\u043e, \u0432\u0441\u044e \u0437\u0438\u043c\u0443 \u0441\u0442\u0430\u043d\u0446\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0431\u043e\u0435\u0432, \u0437\u0430\u0440\u044f\u0434\u0430 \u0432 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0435 \u0445\u0432\u0430\u0442\u0430\u043b\u043e \u043d\u0430 \u0432\u0441\u044e \u043d\u043e\u0447\u044c \u0441 \u0437\u0430\u043f\u0430\u0441\u043e\u043c.<\/p>\n<h3>\u041f\u043e\u0434\u0432\u0435\u0434\u0435\u043c \u0438\u0442\u043e\u0433\u0438<\/h3>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/a4c\/3b6\/3b0\/a4c3b63b048715dc3989c6341b40873f.jpg\" alt=\"\u041f\u043e\u0433\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0430\u043d\u0446\u0438\u044f\" title=\"\u041f\u043e\u0433\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0430\u043d\u0446\u0438\u044f\" width=\"4272\" height=\"2848\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a4c\/3b6\/3b0\/a4c3b63b048715dc3989c6341b40873f.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u041f\u043e\u0433\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0430\u043d\u0446\u0438\u044f<\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u0438 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u0431\u0430\u0442\u0430\u0440\u0435\u044f &#8212; \u0432\u043f\u043e\u043b\u043d\u0435 \u0433\u043e\u0434\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0432 \u0442\u0435\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445, \u0433\u0434\u0435 \u043b\u0438\u0442\u0438\u0435\u0432\u044b\u0439 \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 (\u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b). \u0425\u043e\u0442\u044c \u0441\u0430\u043c \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0435 \u0432\u0435\u0447\u0435\u043d, \u043d\u043e \u0442\u0430\u043a\u0438\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0433\u043e\u0434\u0430\u043c\u0438, \u0430 \u043c\u043e\u0436\u0435\u0442, \u0438 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u044f\u043c\u0438, \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044f \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u0431\u0430\u0442\u0430\u0440\u0435\u044f \u0432 \u044d\u0442\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u043e. \u0414\u0443\u043c\u0430\u044e \u0435\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u044b, \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0437\u0430 \u0441\u0447\u0435\u0442 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u044f \u0435\u043c\u043a\u043e\u0441\u0442\u0438 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0430 \u0438\u043b\u0438 \u0432\u044b\u0431\u043e\u0440\u0430 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0431\u043e\u043b\u0435\u0435 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u043e \u043f\u0438\u0442\u0430\u043d\u0438\u044e \u043c\u043e\u0434\u0443\u043b\u044f \u0432\u043c\u0435\u0441\u0442\u043e ESP.<\/p>\n<p>\u041c\u043e\u0434\u0443\u043b\u044c ESP-01 \u044f \u0431\u044b \u0437\u0430\u043c\u0435\u043d\u0438\u043b \u043d\u0430 \u0447\u0442\u043e-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0435. ESP \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0441 \u043c\u0430\u043b\u044b\u043c \u044d\u043d\u0435\u0440\u0433\u043e\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435\u043c. \u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 Wi-Fi \u0432 ESP-01 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u044d\u043d\u0435\u0440\u0433\u0438\u0438 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0432\u0435\u043b\u0438\u043a\u043e (\u043e\u0442 70 \u043c\u0410 \u0434\u043e 200 \u043c\u0410). \u041f\u0440\u043e\u0441\u0442\u043e \u0442\u043e\u0433\u0434\u0430 \u043e\u043d \u0431\u044b\u043b \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 \u0438 \u0435\u0433\u043e \u043c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u043b \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0431\u044b \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u043b \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043c\u043e\u0434\u0443\u043b\u044c Bluetooth \u0443 Nordic Semiconductor \u0441 \u043d\u0438\u0437\u043a\u0438\u043c \u044d\u043d\u0435\u0440\u0433\u043e\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435\u043c.<\/p>\n<p>\u041a\u043e\u0440\u043f\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0443\u0436\u043d\u043e \u043b\u0443\u0447\u0448\u0435 \u043f\u0440\u043e\u0434\u0443\u043c\u0430\u0442\u044c. \u041e\u043d \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u043d\u0430\u0433\u0440\u0435\u0432\u0430\u0442\u044c\u0441\u044f \u043b\u0435\u0442\u043e\u043c \u0438 \u043f\u0440\u043e\u043c\u043e\u043a\u0430\u0442\u044c \u043e\u0441\u0435\u043d\u044c\u044e \u0432 \u0434\u043e\u0436\u0434\u043b\u0438\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f. \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u0432\u0435\u043d\u0442\u0438\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044f \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0434\u0430\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u043e\u0434\u0435 \u043f\u0440\u043e\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0432\u043d\u0443\u0442\u0440\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. \u041f\u043b\u0430\u0442\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0432\u043f\u0440\u0438\u0442\u044b\u043a \u043a\u043e \u0434\u043d\u0443 \u043a\u043e\u0440\u043f\u0443\u0441\u0430. \u0415\u0441\u043b\u0438 \u0432\u043b\u0430\u0433\u0430 \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u043f\u0440\u043e\u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0432\u043e\u0432\u043d\u0443\u0442\u0440\u044c, \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043f\u043b\u0430\u0442\u0435 \u043d\u0430\u043c\u043e\u043a\u043d\u0443\u0442\u044c.<\/p>\n<p>\u042d\u0442\u043e \u0431\u044b\u043b \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439 \u043e\u043f\u044b\u0442, \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0433\u043e\u0434 \u0431\u0435\u0437 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f, \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 MQTT-\u0441\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0435\u0437 \u043a\u0430\u0436\u0434\u044b\u0435 \u043f\u043e\u043b\u0447\u0430\u0441\u0430. \u0411\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043c\u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f. \u0410\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0442\u0430\u043a\u0438\u0445 \u0434\u0435\u0432\u0430\u0439\u0441\u043e\u0432 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u044f\u0435\u0442. \u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0440\u0430\u0434\u0438\u043e\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442, \u201c\u043c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u043d\u0430\u044f \u0431\u0430\u0442\u0430\u0440\u0435\u0439\u043a\u0430\u201d \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430\u044f \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u044b\u0441\u043e\u043a\u0438\u0435 \u0442\u043e\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043f\u043e\u043b\u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u044f \u044d\u043d\u0435\u0440\u0433\u0438\u0438 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 (\u0441\u0438\u0441\u0442\u0435\u043c \u0430\u0432\u0442\u043e\u043f\u043e\u043b\u0438\u0432\u0430 \u043d\u0430 \u0434\u0430\u0447\u0435, \u0443\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u043e\u0432 \u0438 \u0442.\u043f.).<\/p>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0447\u0442\u043e \u0434\u043e\u0447\u0438\u0442\u0430\u043b\u0438 \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e \u0434\u043e \u043a\u043e\u043d\u0446\u0430, \u0443\u0434\u0430\u0447\u043d\u044b\u0445 \u0441\u0430\u043c\u043e\u0434\u0435\u043b\u043e\u043a!<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/811673\/\"> https:\/\/habr.com\/ru\/articles\/811673\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e\u0431 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043d\u0430 ESP8266 &#8212; \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043d\u0430 Arduino.<\/p>\n<p>\u0414\u0430! \u042d\u0442\u043e \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0430\u044f \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f \u043d\u0430 Arduino \ud83d\ude42<\/p>\n<p>\u041d\u043e \u043d\u0435 \u0441\u043f\u0435\u0448\u0438\u0442\u0435 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e, \u0443 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u044f \u0438\u0437\u044e\u043c\u0438\u043d\u043a\u0430, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u0438 \u0431\u0430\u0442\u0430\u0440\u0435\u0439 \u0432 \u0441\u0443\u0440\u043e\u0432\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u0443\u0440\u0430\u043b\u044c\u0441\u043a\u043e\u0439 \u0437\u0438\u043c\u044b.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u043e\u0432 \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u0443\u0434\u0435\u0442 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430, \u0430 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043b\u044e\u0431\u0438\u0442 \u043c\u0430\u0441\u0442\u0435\u0440\u0438\u0442\u044c \u0441\u0432\u043e\u0438\u043c\u0438 \u0440\u0443\u043a\u0430\u043c\u0438 \u0438 \u0443\u0437\u043d\u0430\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043d\u043e\u0432\u043e\u0435 &#8212; \u043f\u0440\u043e\u0448\u0443 \u043a \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044e.<\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0431\u0443\u0434\u0443 \u0447\u0430\u0441\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043f\u0440\u043e Arduino, \u043f\u0440\u0438\u0442\u043e\u043c \u0447\u0442\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0430\u043c\u0430 Arduino Uno (\u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c) \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c. \u041d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c SDK Arduino \u0438 Arduino-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0431\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 Arduino-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c.<\/p>\n<h3>\u0418\u0434\u0435\u044f<\/h3>\n<p>\u041c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0439 \u043d\u0430 Arduino \u0442\u0430\u043a\u043e\u0435 \u0432\u0435\u043b\u0438\u043a\u043e\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e, \u0447\u0442\u043e \u044d\u0442\u043e, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u0441\u0430\u043c\u044b\u0439 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e\u0441\u043b\u0435 \u043c\u043e\u0440\u0433\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c \u0443 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445.<\/p>\n<p>\u041c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0447\u0442\u043e\u0431\u044b, \u0443 \u043c\u0435\u043d\u044f \u0437\u0430 \u043e\u043a\u043d\u043e\u043c \u043d\u0430 \u0431\u0430\u043b\u043a\u043e\u043d\u0435 \u0431\u044b\u043b\u043e \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0449\u0435\u0435 \u043f\u043e\u0433\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435: \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443, \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0438 \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u0435. \u0422\u0430\u043a\u0436\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u043a\u0430\u043a \u0432\u0441\u0435 \u0445\u043e\u0440\u043e\u0448\u043e\/\u043f\u043b\u043e\u0445\u043e \u0441 \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c \u0432 \u043d\u043e\u0447\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a.<\/p>\n<p>\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c 24\/7 \u0438 \u043d\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u0441\u043b\u0435 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f (\u0440\u0430\u0437 \u0432 \u043f\u043e\u043b\u0447\u0430\u0441\u0430) \u043f\u043e Wi-Fi \u043d\u0430 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 MQTT-\u0441\u0435\u0440\u0432\u0435\u0440. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u043e\u0439 \u0432\u0435\u0431-\u043c\u043e\u0440\u0434\u043e\u0439.<\/p>\n<p>\u0421\u0430\u043c\u043e\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. \u0418\u0434\u0435\u044e \u0442\u044f\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0432\u043e\u0434\u0430 \u043d\u0430 \u0431\u0430\u043b\u043a\u043e\u043d \u044f \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u043c\u0435\u043b \u043a\u0430\u043a \u044d\u0441\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0443\u044e. \u041b\u0438\u0442\u0438\u0435\u0432\u044b\u0439 \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0442\u043e\u0436\u0435 \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u0443\u0440\u0430\u043b\u044c\u0441\u043a\u043e\u0439 \u0437\u0438\u043c\u044b \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u0440\u0430\u0437\u0440\u044f\u0436\u0430\u0442\u044c\u0441\u044f \u0438 \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u041b\u0438\u0442\u0438\u0435\u0432\u0430\u044f \u0431\u0430\u0442\u0430\u0440\u0435\u044f, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0431\u044b \u043f\u043e\u0434\u043e\u0448\u043b\u0430, \u043d\u043e \u043d\u0435 \u0434\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f ESP \u0438 \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u043e Wi-Fi.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u0440\u0435\u0448\u0435\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u0443\u044e \u0431\u0430\u0442\u0430\u0440\u0435\u044e \u0438 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u0434\u043b\u044f \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u044f \u044d\u043d\u0435\u0440\u0433\u0438\u0438. \u0411\u044b\u043b\u0438 \u043e\u043f\u0430\u0441\u0435\u043d\u0438\u044f, \u0447\u0442\u043e \u0432 \u043d\u043e\u0447\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a ESP \u0441\u044a\u0435\u0441\u0442 \u0432\u0435\u0441\u044c \u0437\u0430\u0440\u044f\u0434 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0430. \u041d\u043e \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0431\u044b \u044d\u0442\u043e \u0438 \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u0442\u043e \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0435 \u0431\u043e\u0438\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u044f\u0434\u0430, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u043b\u0438\u0442\u0438\u0435\u0432\u044b\u0445 \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u0432.<\/p>\n<p>\u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u0434\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f ESP8266 \u0445\u043e\u0440\u043e\u0448 \u0435\u0449\u0435 \u0442\u0435\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0432\u044b\u0441\u043e\u043a\u0438\u0439 \u0442\u043e\u043a. \u0410 \u0443 ESP8266 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u044b\u043b\u0430 \u0441 \u044d\u0442\u0438\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043f\u0440\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u043c \u043f\u0438\u0442\u0430\u043d\u0438\u0438 \u043f\u043e \u0442\u043e\u043a\u0443 &#8212; \u043c\u043e\u0434\u0443\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0432\u0438\u0441\u043d\u0443\u0442\u044c. \u0422\u0430\u043a\u043e\u0435 \u0431\u044b\u0432\u0430\u0435\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0435 ESP8266 \u043a DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0434\u0430\u0435\u0442 \u043d\u0443\u0436\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0442\u043e\u043a\u0443.<\/p>\n<h3>\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/h3>\n<figure class=\"full-width\">\n<div><figcaption>\u041d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<ul>\n<li>\n<p><strong>ESP-01S (ESP8266)<\/strong>. \u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u0438 \u043d\u0435\u0434\u043e\u0440\u043e\u0433\u043e\u0439 \u043c\u043e\u0434\u0443\u043b\u044c. \u0415\u0441\u0442\u044c \u0443 \u043d\u0435\u0433\u043e \u043e\u0434\u0438\u043d \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a \u0441 \u0432\u044b\u0445\u043e\u0434\u043e\u043c \u0438\u0437 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0433\u043e \u0441\u043d\u0430, \u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u044d\u0442\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u043f\u0438\u043b\u044c\u043d\u0438\u043a\u043e\u043c ?<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0431\u0432\u044f\u0437\u043a\u0430 \u0434\u043b\u044f ESP-01S<\/strong>\u00a0(\u043a\u0435\u0440\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440 0.1uF \u0438 \u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440 10K).<\/p>\n<\/li>\n<li>\n<p><strong>INA226<\/strong>\u00a0(\u0432\u043e\u043b\u044c\u0442\u043c\u0435\u0442\u0440\/\u0430\u043c\u043f\u0435\u0440\u043c\u0435\u0442\u0440, I2C, 3.3V); \u0411\u0443\u0434\u0435\u043c \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0435 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<\/li>\n<li>\n<p><strong>HTU31D<\/strong>\u00a0(\u0434\u0430\u0442\u0447\u0438\u043a \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438, I2C, 3.3V).<\/p>\n<\/li>\n<li>\n<p><strong>BMP280<\/strong>\u00a0(\u0434\u0430\u0442\u0447\u0438\u043a \u0430\u0442\u043c\u043e\u0441\u0444\u0435\u0440\u043d\u043e\u0433\u043e \u0434\u0430\u0432\u043b\u0435\u043d\u0438\u044f, I2C, 3.3V). \u042d\u0442\u043e\u0442 \u0434\u0430\u0442\u0447\u0438\u043a \u0435\u0449\u0435 \u0443\u043c\u0435\u0435\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443, \u043d\u043e \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b;<\/p>\n<\/li>\n<li>\n<p><strong>\u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440<\/strong>\u00a0(D-\u0442\u0438\u043f\u0430 3.8V Farah, 100F); \u0415\u043c\u043a\u043e\u0441\u0442\u044c \u0432 100F \u0431\u044b\u043b\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u0430 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0437\u0430\u043f\u0430\u0441\u043e\u043c. \u0412\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f, \u0447\u0435\u043c \u0434\u043e\u043b\u044c\u0448\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0441\u043d\u0430, \u0442\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u0442\u0440\u0430\u0442\u0438\u0442\u0441\u044f \u044d\u043d\u0435\u0440\u0433\u0438\u0438 \u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442.<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0435 \u043f\u0430\u043d\u0435\u043b\u0438<\/strong>\u00a0(8 \u0448\u0442\u0443\u043a, 0.5W, 5V). \u041e\u0445, \u0443\u0436 \u043d\u0435 \u0437\u043d\u0430\u044e \u0447\u0442\u043e \u0442\u0430\u043c \u043f\u0440\u0438\u0441\u043b\u0430\u043b\u0438 \u043a\u0438\u0442\u0430\u0439\u0446\u044b, \u043d\u043e \u043f\u0430\u043d\u0435\u043b\u0435\u0439 \u044f \u0440\u0435\u0448\u0438\u043b \u0437\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u0431\u043e\u043b\u044c\u0448\u0435. \u0427\u0442\u043e\u0431\u044b \u0434\u0430\u0436\u0435 \u0432 \u0441\u0430\u043c\u0443\u044e \u043f\u0430\u0441\u043c\u0443\u0440\u043d\u0443\u044e \u0437\u0438\u043c\u043d\u044e\u044e \u043f\u043e\u0433\u043e\u0434\u0443 \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f \u043c\u043e\u0433\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044d\u0442\u0438\u0445 \u043f\u0430\u043d\u0435\u043b\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043c\u0435\u043d\u044c\u0448\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 6 \u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 4.<\/p>\n<\/li>\n<li>\n<p><strong>DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c<\/strong>\u00a0(600mA, input 3-15V, output 3.3V). \u0418\u043c\u043f\u0443\u043b\u044c\u0441\u043d\u044b\u0439 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043d\u0438\u0436\u0430\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u0441 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0445 \u043f\u0430\u043d\u0435\u043b\u0435\u0439 (5V), \u0434\u043e 3.3V \u0438 \u0437\u0430\u0440\u044f\u0436\u0430\u0442\u044c \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440. \u0421\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043d\u0435 \u043f\u043e\u0434\u0430\u0442\u044c \u043d\u0430 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0448\u0435 3.8V, \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043a \u0435\u0433\u043e \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044e.<\/p>\n<\/li>\n<li>\n<p><strong>\u0414\u0438\u043e\u0434 \u0428\u043e\u0442\u0442\u043a\u0438.<\/strong>\u00a0\u0411\u0435\u0437 \u043d\u0435\u0433\u043e \u0432 \u043d\u043e\u0447\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0430\u0447\u043d\u0435\u0442 \u0440\u0430\u0437\u0440\u044f\u0436\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u0443\u044e \u0431\u0430\u0442\u0430\u0440\u0435\u044e. \u0422\u043e \u0435\u0441\u0442\u044c \u0442\u043e\u043a \u043f\u043e\u0442\u0435\u0447\u0435\u0442 \u043d\u0430\u0437\u0430\u0434, \u0430 \u043d\u0430\u043c \u044d\u0442\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e.<\/p>\n<\/li>\n<li>\n<p><strong>\u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0447\u0430\u0442\u043d\u0430\u044f \u043f\u043b\u0430\u0442\u0430<\/strong>\u00a0(\u0432 \u0442\u0435 \u0433\u043e\u0434\u044b \u044f \u043d\u0435 \u0443\u043c\u0435\u043b \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u044b \u0444\u043e\u0442\u043e\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u043c \u043a\u043e\u043b\u0445\u043e\u0437\u0438\u0442\u044c).<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u044b\u0439 \u043a\u043e\u0440\u043f\u0443\u0441<\/strong>\u00a0(\u043e\u0431\u044b\u0447\u043d\u0430\u044f \u043a\u043e\u0440\u043e\u0431\u043a\u0430 \u0438\u0437 ABS-\u043f\u043b\u0430\u0441\u0442\u0438\u043a\u0430).<\/p>\n<\/li>\n<li>\n<p><strong>\u041d\u0435\u043e\u0434\u0438\u043c\u043e\u0432\u044b\u0435 \u043c\u0430\u0433\u043d\u0438\u0442\u044b<\/strong>\u00a0(\u0434\u043b\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0433\u043e \u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u043a \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u0431\u0430\u043b\u043a\u043e\u043d\u0430).<\/p>\n<\/li>\n<li>\n<p><strong>MQTT-\u0441\u0435\u0440\u0432\u0435\u0440\/\u0432\u0435\u0431-\u043c\u043e\u0440\u0434\u0430<\/strong>\u00a0\u0414\u043b\u044f MQTT-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b Mosquitto. \u0412\u0435\u0431 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430 React\/Nest.JS . \u0412\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043b\u0443\u0448\u0430\u043b\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043d\u0430 MQTT-\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438 \u043f\u0440\u0438 \u0438\u0445 \u043d\u0430\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u043b\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0431\u0430\u0437\u0435. \u0412\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0443\u0441\u043a\u0430\u043b\u043e \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0433\u0434\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u043b\u0438\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0432\u0438\u0434\u0435 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432 (\u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430\/\u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c\/\u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0435).<\/p>\n<\/li>\n<\/ul>\n<h3>\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e<\/h3>\n<h4>ESP-01<\/h4>\n<figure class=\"full-width\">\n<div><figcaption>ESP-01<\/figcaption><\/div>\n<\/figure>\n<p>\u041a\u0430\u043a \u044f \u043f\u0438\u0441\u0430\u043b \u0432\u044b\u0448\u0435 \u0432 ESP-01 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441 \u0432\u044b\u0445\u043e\u0434\u043e\u043c \u0438\u0437 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0433\u043e \u0441\u043d\u0430. ESP-01 \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0432 \u0433\u043b\u0443\u0431\u043e\u043a\u0438\u0439 \u0441\u043e\u043d \u0432\u044b\u0437\u0432\u0430\u0432\u00a0<code>ESP.deepSleep(timeout, mode)<\/code>, \u043d\u043e \u043c\u043e\u0434\u0443\u043b\u044c \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u0438\u0437 \u043d\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0439\u0434\u0435\u0442. \u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b RESET \u0438 GPIO16. \u042d\u0442\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437-\u0437\u0430 \u043c\u0430\u043b\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043e\u0432. \u041a\u043e\u0433\u0434\u0430 \u0442\u0430\u0439\u043c\u0430\u0443\u0442 \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0432 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u043c \u0441\u043d\u0435 \u0438\u0441\u0442\u0435\u0447\u0435\u0442, \u0442\u043e \u043d\u0430 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0435 GPIO16 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043d\u0438\u0437\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f (LOW), \u0431\u0443\u0434\u0443\u0447\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c \u043a RESET, \u043e\u043d \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442 ESP-01.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>ESP-01 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439<\/figcaption><\/div>\n<\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0432\u044f\u0437\u043a\u0438 \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b ESP-01:<\/p>\n<ul>\n<li>\n<p>\u041a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440 0.1uF \u043c\u0435\u0436\u0434\u0443 RESET \u0438 GND. \u042d\u0442\u043e\u0442 \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u043a\u0440\u0430\u0442\u043a\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0435 \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430 RESET \u043d\u0430 \u0437\u0435\u043c\u043b\u044e \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u0447\u0442\u043e \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0441\u0431\u0440\u043e\u0441 \u043c\u043e\u0434\u0443\u043b\u044f.<\/p>\n<\/li>\n<li>\n<p>\u0420\u0435\u0437\u0438\u0441\u0442\u043e\u0440 10K \u043c\u0435\u0436\u0434\u0443 RESET \u0438 VCC. \u042d\u0442\u043e\u0442 \u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440 \u043f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0430\u043a\u0442 RESET \u043a \u0432\u044b\u0441\u043e\u043a\u043e\u043c\u0443 \u0443\u0440\u043e\u0432\u043d\u044e, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d \u043d\u0435 \u0437\u0430\u0437\u0435\u043c\u043b\u0435\u043d. \u042d\u0442\u043e \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0441\u0431\u0440\u043e\u0441 \u043c\u043e\u0434\u0443\u043b\u044f \u0438\u0437-\u0437\u0430 \u0448\u0443\u043c\u0430 \u0438\u043b\u0438 \u043f\u043e\u043c\u0435\u0445.<\/p>\n<\/li>\n<\/ul>\n<h4>\u041f\u0438\u0442\u0430\u043d\u0438\u0435<\/h4>\n<figure class=\"full-width\">\n<div><figcaption>\u041f\u0438\u0442\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u044f<\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043a \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430\u043c +\/- DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041a \u044d\u0442\u0438\u043c \u0436\u0435 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c ESP-01 \u0438 \u0441\u0435\u043d\u0441\u043e\u0440\u044b (\u043a VCC \u0438 GND).<\/p>\n<p>\u041d\u0430 \u0432\u0445\u043e\u0434 DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u0443\u044e \u0431\u0430\u0442\u0430\u0440\u0435\u044e. \u041f\u0435\u0440\u0435\u0434 \u043f\u043b\u044e\u0441\u043e\u0432\u044b\u043c \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043e\u043c DC-DC \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0434\u0438\u043e\u0434 \u0428\u043e\u0442\u0442\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u0432 \u043d\u043e\u0447\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0435 \u043d\u0430\u0447\u0430\u043b \u0440\u0430\u0437\u0440\u044f\u0436\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u0443\u044e \u0431\u0430\u0442\u0430\u0440\u0435\u044e.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0418\u043e\u043d\u0438\u0441\u0442\u043e\u0440<\/figcaption><\/div>\n<\/figure>\n<p>\u041f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043e\u0431 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u0435. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u0438\u043b\u0438 \u043a\u0430\u043a \u0435\u0449\u0435 \u0435\u0433\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0441\u0443\u043f\u0435\u0440\u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440 \u043d\u0430 100F, 3.8V. \u041e\u043d \u043c\u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u043c\u0430\u043b\u044b\u043c \u0441\u0430\u043c\u043e\u0440\u0430\u0437\u0440\u044f\u0434\u043e\u043c. \u0414\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f ESP-01 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u0434\u0430\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0442\u043e\u043a, \u043c\u043e\u0434\u0443\u043b\u044c \u0443 \u043c\u0435\u043d\u044f \u043d\u0438 \u0440\u0430\u0437\u0443 \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0430\u043b. \u0421\u0442\u043e\u044f\u0442 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u044b \u043d\u0435\u043c\u0430\u043b\u043e, \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0430 100F \u043e\u0431\u043e\u0448\u0435\u043b\u0441\u044f \u043c\u043d\u0435 \u0432 800 \u0440\u0443\u0431. \u041f\u043e \u0432\u0438\u0434\u0443 \u0438 \u0432\u0435\u0441\u0443 \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u043d\u0434\u0435\u043d\u0441\u0430\u0442\u043e\u0440. \u0422\u0430\u043a\u0436\u0435 \u043d\u0443\u0436\u043d\u043e, \u0438\u043c\u0435\u0442\u044c \u0432 \u0432\u0438\u0434\u0443 \u0447\u0442\u043e, \u0438\u043e\u043d\u0438\u0441\u0442\u043e\u0440\u044b \u043d\u0435 \u0432\u0435\u0447\u043d\u044b, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0441\u043b\u0443\u0436\u0438\u0442\u044c \u0432\u0430\u043c \u043e\u0442 5 \u0434\u043e 10 \u043b\u0435\u0442.<\/p>\n<h4>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0435 \u0431\u0430\u0442\u0430\u0440\u0435\u0438<\/h4>\n<p>\u0411\u043b\u043e\u043a\u0438 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0445 \u0431\u0430\u0442\u0430\u0440\u0435\u0439 \u0431\u044b\u043b\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u044b \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0438 \u043f\u0440\u0438\u043a\u043b\u0435\u0435\u043d\u044b \u043d\u0430 \u043f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u0443\u044e \u0434\u043e\u0441\u043a\u0443.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c<\/figcaption><\/div>\n<\/figure>\n<p>\u0413\u043e\u0442\u043e\u0432\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c \u0441 8 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u043c\u0438 \u0431\u0430\u0442\u0430\u0440\u0435\u044f\u043c\u0438 \u0431\u044b\u043b\u0430 \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0430 \u043d\u0430 \u0431\u0430\u043b\u043a\u043e\u043d\u0435. \u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0443\u0433\u043b\u043e\u043c \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u044b\u0445 \u043b\u0443\u0447\u0435\u0439 \u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u0430\u0447\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438. \u041d\u043e \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441 \u044d\u0442\u0438\u043c.<\/p>\n<p>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0443\u044e \u043f\u0430\u043d\u0435\u043b\u044c \u044f \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0432\u043f\u0440\u0438\u0442\u044b\u043a \u043a \u043e\u043a\u043d\u0443 \u043d\u0430 \u0443\u043b\u0438\u0446\u0443, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u0432\u0435\u0442\u0430 \u043f\u043e\u043f\u0430\u0434\u0430\u043b\u043e \u043d\u0430 \u043d\u0435\u0435. \u0411\u044b\u043b\u043e \u0431\u044b \u0435\u0449\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435\u0435 \u0432\u044b\u043d\u0435\u0441\u0442\u0438 \u0435\u0435 \u043d\u0430 \u0443\u043b\u0438\u0446\u0443, \u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u0434\u0435\u043b\u0430\u0442\u044c \u0433\u0435\u0440\u043c\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u044e.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u043b\u043d\u0435\u0447\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c<\/figcaption><\/div>\n<\/figure>\n<h4>\u041c\u043e\u0434\u0443\u043b\u0438 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432<\/h4>\n<p>\u0412\u0441\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u043e I2C \u043a ESP-01. \u041f\u0438\u0442\u0430\u043d\u0438\u0435 \u0443 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u043e\u0435 \u0436\u0435, \u043a\u0430\u043a \u0443 ESP-01 (3.3V).<\/p>\n<p>\u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0433\u0440\u0435\u0431\u0435\u043d\u043a\u0438 \u0441 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430\u043c\u0438, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043b\u0435\u0433\u043a\u043e \u0434\u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 (\u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432). \u0414\u0443\u043c\u0430\u044e, \u0447\u0442\u043e \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u0440\u0438\u043f\u0430\u044f\u043d\u044b \u043e\u043b\u043e\u0432\u043e\u043c \u0434\u043b\u044f \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u041c\u043e\u0434\u0443\u043b\u0438 \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432<\/figcaption><\/div>\n<\/figure>\n<h4>\u041a\u043e\u0440\u043f\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/h4>\n<p>\u041a \u043a\u043e\u0440\u043f\u0443\u0441\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0431\u044b\u043b\u0438 \u043d\u0430\u0434\u0435\u0436\u043d\u043e \u043f\u0440\u0438\u043a\u043b\u0435\u0435\u043d\u044b \u043c\u0430\u0433\u043d\u0438\u0442\u044b \u0434\u043b\u044f \u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u0435. \u0421\u0430\u043c \u043a\u043e\u0440\u043f\u0443\u0441 \u0431\u044b\u043b \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d \u0433\u0435\u0440\u043c\u0435\u0442\u0438\u043a\u043e\u043c.<\/p>\n<p>\u0411\u0435\u043b\u044b\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u0430, \u0442\u043e\u0440\u0447\u0430\u0449\u0438\u0435 \u0438\u0437 \u043a\u043e\u0440\u043f\u0443\u0441\u0430, \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0432\u043e\u0434\u0430\u043c\u0438 \u0441\u043e\u043b\u043d\u0435\u0447\u043d\u043e\u0439 \u043f\u0430\u043d\u0435\u043b\u0438.<\/p>\n<p>\u041f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u044b\u0439 \u043a\u043e\u043b\u043f\u0430\u0447\u043e\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0432\u0435\u043d\u0442\u0438\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0439. \u041f\u043e\u0434 \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u043a\u043e\u043b\u043f\u0430\u0447\u043a\u043e\u043c \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0437\u0430\u0449\u0438\u0449\u0430\u044e\u0449\u0438\u0439 \u043e\u0442 \u0432\u043b\u0430\u0433\u0438. \u0421\u043c\u044b\u0441\u043b \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0432\u043e\u0437\u0434\u0443\u0445 \u043c\u043e\u0433 \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u044c \u0434\u0430\u0442\u0447\u0438\u043a\u043e\u0432, \u0430 \u0432\u043e\u0442 \u0434\u043b\u044f \u0432\u043b\u0430\u0433\u0438 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u043e.<\/p>\n<p>\u041f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 3D \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u0430 \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0432 \u0440\u0430\u0437\u044b \u043b\u0443\u0447\u0448\u0435.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u041a\u043e\u0440\u043f\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption>\u041a\u043e\u0440\u043f\u0443\u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/figcaption><\/div>\n<\/figure>\n<h3>\u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u0435\u0439<\/h3>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u0435\u0439<\/figcaption><\/div>\n<\/figure>\n<h3>\u041f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443<\/h3>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b PlatformIO.<\/p>\n<p>\u041a\u043e\u0434 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438:<\/p>\n<pre><code class=\"cpp\">\/\/ main.cpp #include &lt;Adafruit_BMP280.h> #include &lt;Adafruit_HTU31D.h> #include &lt;Arduino.h> #include &lt;ArduinoJson.h> #include &lt;ESP8266WiFi.h> #include &lt;INA226_WE.h> #include &lt;PubSubClient.h> #include &lt;Wire.h> \/\/ I2C  #define uS_TO_M_FACTOR 6e7                            \/\/ \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u043a\u0443\u043d\u0434 \u0432 \u043c\u0438\u043d\u0443\u0442\u0435 #define DEEP_SLEEP_TIMEOUT (int)(30 * uS_TO_M_FACTOR) \/\/ \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0433\u043e \u0441\u043d\u0430 (\u0432 \u043c\u0438\u043d\u0443\u0442\u0430\u0445) #define RECONNECTION_LIMIT 3 \/\/ \u0427\u0438\u0441\u043b\u043e \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0445 \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u043f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f #define RECONNECTION_DELAY 500 \/\/ \u0417\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u0435\u0440\u0435\u0434 \u043f\u0435\u0440\u0435\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c (\u0432 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445) #define WIFI_SSID \"ENTER WI-FI SSID\" #define WIFI_PASSWORD \"ENTER WI-FI PASSWORD\" #define MQTT_SERVER \"ENTER MQTT SERVER IP ADDRESS\" #define MQTT_PORT 1883 #define MQTT_CLIENT_ID \"Weather Station\" #define MQTT_TOPIC \"devices\/weather-station\/status\"  #define BMP280_I2C 0x76 #define HTU31D_I2C 0x40 #define INA226_I2C 0x41  Adafruit_BMP280 bmp = Adafruit_BMP280(); Adafruit_Sensor *bmp_pressure = bmp.getPressureSensor(); Adafruit_HTU31D htu = Adafruit_HTU31D(); INA226_WE ina226 = INA226_WE(INA226_I2C); WiFiClient espClient; PubSubClient client(espClient);  struct sensors_data {   float temperature;   float humidity;   float pressure;   float voltage; };  struct sensors_data sensors_data;  float convertHumidity(float hPa) {   float one_mmHg_in_Pa = 101325.0 \/ 760.0;   return (hPa * 100.0) \/ one_mmHg_in_Pa; }  void bmpEnable(bool val) {   if (val) {     bmp.setSampling(Adafruit_BMP280::MODE_NORMAL, Adafruit_BMP280::SAMPLING_X16, Adafruit_BMP280::SAMPLING_X16,                     Adafruit_BMP280::FILTER_X16, Adafruit_BMP280::STANDBY_MS_1);   } else {     bmp.setSampling(Adafruit_BMP280::MODE_SLEEP, Adafruit_BMP280::SAMPLING_NONE, Adafruit_BMP280::SAMPLING_NONE,                     Adafruit_BMP280::FILTER_OFF, Adafruit_BMP280::STANDBY_MS_4000);   } }  void update_sensors_data() {   \/\/ HTU sensor   htu.enableHeater(true); \/\/ Enable power   sensors_event_t humidity_event, temperature_event;   htu.getEvent(&amp;humidity_event, &amp;temperature_event);   htu.enableHeater(false); \/\/ Disable power   sensors_data.temperature = temperature_event.temperature;   sensors_data.humidity = humidity_event.relative_humidity;    \/\/ BMP sensor   bmpEnable(true);<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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-375189","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/375189","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=375189"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/375189\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=375189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=375189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=375189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}