{"id":331123,"date":"2022-03-27T15:00:30","date_gmt":"2022-03-27T15:00:30","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=331123"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=331123","title":{"rendered":"<span>\u0421\u0435\u0439\u0444 \u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c \u043f\u043e \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0443 \u043f\u0430\u043b\u044c\u0446\u0430<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/656889\/\"><\/p>\n<div class=\"oembed\">\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/6239beb010d5580b3c67a176\" data-style=\"\" id=\"6239beb010d5580b3c67a176\" width=\"\"><\/div>\n<\/div>\n<p><\/a>\u042d\u0442\u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 <a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/657029\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c<\/a>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u0437\u0430\u043c\u0435\u043d\u0438\u043b \u043f\u043b\u0430\u0442\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0441\u0435\u0439\u0444\u0430 \u043d\u0430 ESP8266 D1 Mini, \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0432 \u0435\u0433\u043e \u0432 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0439\u0444 \u0441 \u043e\u0434\u043d\u043e\u0440\u0430\u0437\u043e\u0432\u044b\u043c \u043f\u0430\u0440\u043e\u043b\u0435\u043c. \u041d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430 \u043f\u0430\u043b\u044c\u0446\u0430, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043d\u043e\u0432\u044b\u0445 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u043e\u0432.<a name=\"habracut\"><\/a><\/p>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0430 \u2014 \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043a\u0430\u043d\u0435\u0440 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u0441 \u043f\u0430\u043d\u0435\u043b\u044c\u044e \u0432\u0432\u043e\u0434\u0430, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u0435\u0439\u0444 \u043a\u0430\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u0434\u043d\u043e\u0440\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043f\u0430\u0440\u043e\u043b\u044f, \u0442\u0430\u043a \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430.<\/p>\n<p>  \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u0435\u0448\u044c\u0441\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0438. \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u00ab\u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435\u00bb \u0441\u0435\u0439\u0444\u0430 \u043d\u043e\u0432\u043e\u043c\u0443 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0443, \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u0434\u043b\u044f \u043e\u0442\u043f\u0438\u0440\u0430\u043d\u0438\u044f \u0441\u0435\u0439\u0444\u0430. \u0414\u0430\u043a\u0442\u0438\u043b\u043e\u0441\u043a\u043e\u043f\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0434\u0430\u0442\u0447\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0434\u043e 127 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440, \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043e\u043a \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u0430\u043b\u044c\u0446\u0430 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u043c\u0438. \u0414\u043b\u044f \u0432\u0445\u043e\u0434\u0430 \u0432 \u0440\u0435\u0436\u0438\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0442\u043f\u0435\u0440\u0435\u0442\u044c \u0441\u0435\u0439\u0444 (\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0440\u0430\u043d\u0435\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430 \u0438\u043b\u0438 \u043e\u0434\u043d\u043e\u0440\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043f\u0430\u0440\u043e\u043b\u044f).<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043e\u0442\u043f\u0438\u0440\u0430\u043d\u0438\u044f \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c 10 \u0441\u0435\u043a\u0443\u043d\u0434, \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u0441\u043a\u0430\u043d\u0435\u0440\u0430 \u043c\u0438\u0433\u0430\u0435\u0442 \u0444\u0438\u043e\u043b\u0435\u0442\u043e\u0432\u044b\u043c. \u0415\u0441\u043b\u0438 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u0432\u0435\u0441\u0442\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043d\u043e\u043f\u043e\u0447\u043d\u043e\u0439 \u043f\u0430\u043d\u0435\u043b\u0438 \u0447\u0438\u0441\u043b\u043e \u0432 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0435 1 \u2014 127, \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0432 \u0435\u0433\u043e \u0410 \u0438\u043b\u0438 B, \u0442\u043e \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0432\u043e\u0439\u0434\u0451\u0442 \u0432 \u0440\u0435\u0436\u0438\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043e\u043a \u0432 \u044f\u0447\u0435\u0439\u043a\u0435 1 \u2014 127 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0432\u0432\u043e\u0434\u0443. \u0414\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043d\u0443\u0436\u043d\u043e \u0434\u0432\u0430\u0436\u0434\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0438\u0442\u044c \u043f\u0430\u043b\u0435\u0446 \u043a \u0441\u0435\u043d\u0441\u043e\u0440\u0443.<\/p>\n<h2><font color=\"#3AC1EF\">\u041e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435<\/font><\/h2>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/zs\/59\/s2\/zs59s25_ynflkpdrvlw9lslb6iw.png\" data-src=\"https:\/\/habrastorage.org\/webt\/zs\/59\/s2\/zs59s25_ynflkpdrvlw9lslb6iw.png\"\/><\/p>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u043a\u0430\u043d\u0435\u0440\u0430 \u044f \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043b <a href=\"https:\/\/www.adafruit.com\/product\/4651\">\u0451\u043c\u043a\u043e\u0441\u0442\u043d\u044b\u0439 \u0434\u0430\u043a\u0442\u0438\u043b\u043e\u0441\u043a\u043e\u043f\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0434\u0430\u0442\u0447\u0438\u043a R503<\/a>.<\/p>\n<p>  \u042f \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430 \u0437\u0430\u043c\u043a\u0430 \u0441\u0435\u0439\u0444\u0430, \u043d\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b, \u0447\u0442\u043e \u0443 \u0441\u043a\u0430\u043d\u0435\u0440\u0430 \u0434\u0438\u0430\u043c\u0435\u0442\u0440 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u0440\u0435\u0437\u044c\u0431\u044b \u0440\u0430\u0432\u0435\u043d 23.5\u043c\u043c, \u0447\u0442\u043e \u043d\u0430 5.5\u043c\u043c \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0443 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430. \u0418 \u0432\u0441\u0451 \u0441\u043a\u0430\u043d\u0435\u0440 \u044f \u0437\u0430\u043a\u0430\u0437\u0430\u043b, \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0432, \u0447\u0442\u043e \u043d\u0430\u0439\u0434\u0443 \u0441\u043f\u043e\u0441\u043e\u0431 \u0435\u0433\u043e \u0442\u0443\u0434\u0430 \u0432\u0442\u0438\u0441\u043d\u0443\u0442\u044c. \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0432\u043d\u0435\u0448\u043d\u0435\u043c\u0443 \u0434\u0438\u0430\u043c\u0435\u0442\u0440\u0443 (25\u043c\u043c) \u043e\u043d \u043f\u043b\u043e\u0442\u043d\u043e \u043f\u0440\u0438\u043b\u0435\u0433\u0430\u0435\u0442 \u043a \u043f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u043e\u0439 \u043d\u0430\u043a\u043b\u0430\u0434\u043a\u0435, \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044f \u043f\u0440\u043e\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043d\u0438\u044f \u0432\u0433\u043b\u0443\u0431\u044c \u0434\u0432\u0435\u0440\u0446\u044b.<\/p>\n<h2><font color=\"#3AC1EF\">\u0428\u0430\u0433 1: \u0437\u0430\u043c\u0435\u043d\u0430 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430 \u043a\u043b\u044e\u0447\u0430 \u0441\u043a\u0430\u043d\u0435\u0440\u043e\u043c<\/font><\/h2>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/qe\/vw\/nj\/qevwnj_txmzci4uiaamg89wcnee.png\" data-src=\"https:\/\/habrastorage.org\/webt\/qe\/vw\/nj\/qevwnj_txmzci4uiaamg89wcnee.png\"\/>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u043e\u0442\u043e<\/b>                         <\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/pc\/hr\/04\/pchr04sqjyxj9uwud_ppgegaxwg.png\" data-src=\"https:\/\/habrastorage.org\/webt\/pc\/hr\/04\/pchr04sqjyxj9uwud_ppgegaxwg.png\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/n9\/dw\/ge\/n9dwgec-tv_53w05mhrfwnqtgza.png\" data-src=\"https:\/\/habrastorage.org\/webt\/n9\/dw\/ge\/n9dwgec-tv_53w05mhrfwnqtgza.png\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/vb\/wy\/4y\/vbwy4y5jmxmyf9gzbitoaobdwti.png\" data-src=\"https:\/\/habrastorage.org\/webt\/vb\/wy\/4y\/vbwy4y5jmxmyf9gzbitoaobdwti.png\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/k2\/w8\/h4\/k2w8h4pwurajapnuiyvm6uhijm8.png\" data-src=\"https:\/\/habrastorage.org\/webt\/k2\/w8\/h4\/k2w8h4pwurajapnuiyvm6uhijm8.png\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/an\/2v\/g-\/an2vg-_5i9huietu3djrrwrndsq.png\" data-src=\"https:\/\/habrastorage.org\/webt\/an\/2v\/g-\/an2vg-_5i9huietu3djrrwrndsq.png\"\/>  <\/div>\n<\/p><\/div>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u0446\u0438\u043b\u0438\u043d\u0434\u0440, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0435\u0433\u043e \u0437\u0430\u0434\u043d\u044e\u044e \u0447\u0430\u0441\u0442\u044c (\u0441 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0434\u0432\u0435\u0440\u0446\u044b). \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0441\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043a\u043b\u044e\u0447\u0443 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0437\u0430\u043c\u043e\u043a. \u0417\u0430\u0442\u0435\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0432\u0438\u043d\u0442\u0438\u0442\u044c \u0435\u0449\u0451 \u043e\u0434\u043d\u0443 \u0448\u0430\u0439\u0431\u0443, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0446\u0438\u043b\u0438\u043d\u0434\u0440 \u043c\u043e\u0436\u043d\u043e \u0441\u043d\u044f\u0442\u044c. \u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043c\u043d\u0435 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0441\u043d\u044f\u0442\u044c \u043b\u0438\u0446\u0435\u0432\u0443\u044e \u043f\u0430\u043d\u0435\u043b\u044c.<\/p>\n<p>  \u0421\u043a\u0430\u043d\u0435\u0440 \u043d\u0435 \u0432\u0441\u0442\u0430\u0451\u0442 \u0432 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0432 \u043f\u0430\u0437 \u0438\u0437-\u043f\u043e\u0434 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430 (23.5\u043c\u043c \u043f\u0440\u043e\u0442\u0438\u0432 18\u043c\u043c), \u043d\u043e \u043c\u0435\u0441\u0442\u0430 \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 \u0445\u0432\u0430\u0442\u0438\u043b\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u043f\u0438\u0440\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0437\u0430\u043c\u043e\u043a. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u043e\u0432\u043e\u0434\u0430 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e \u043f\u0440\u043e\u0441\u0443\u043d\u0443\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435 \u043f\u043e\u0434 \u0446\u0438\u043b\u0438\u043d\u0434\u0440.<\/p>\n<h2><font color=\"#3AC1EF\">\u0428\u0430\u0433 2: \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/font><\/h2>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/l0\/6o\/vh\/l06ovhe6torsvr01q1fofwi4ui0.png\" data-src=\"https:\/\/habrastorage.org\/webt\/l0\/6o\/vh\/l06ovhe6torsvr01q1fofwi4ui0.png\"\/>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u043e\u0442\u043e<\/b>                         <\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/lh\/x1\/ky\/lhx1kytftl4qry-w9jkptbfymk8.png\" data-src=\"https:\/\/habrastorage.org\/webt\/lh\/x1\/ky\/lhx1kytftl4qry-w9jkptbfymk8.png\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/op\/d6\/si\/opd6si9tgik2fqcch_lntk9ydw0.png\" data-src=\"https:\/\/habrastorage.org\/webt\/op\/d6\/si\/opd6si9tgik2fqcch_lntk9ydw0.png\"\/>  <\/div>\n<\/p><\/div>\n<p>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f R503 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u2014 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043b\u0438\u0448\u044c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u043f\u0440\u043e\u0432\u043e\u0434\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 (TX\/RX) \u043a \u043b\u044e\u0431\u043e\u043c\u0443 \u0432\u044b\u0432\u043e\u0434\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 (\u043d\u0435 \u043f\u0443\u0442\u0430\u0442\u044c \u0441 \u0432\u044b\u0432\u043e\u0434\u0430\u043c\u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 TX\/RX). \u041f\u043e\u043c\u0438\u043c\u043e \u044d\u0442\u043e\u0433\u043e, \u0435\u043c\u0443 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u0435 3\u0412 \u0438 GND.<\/p>\n<p>  \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u043c\u043e\u0435\u0433\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0437\u0434\u0435\u0441\u044c \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432\u044b\u0432\u043e\u0434\u043e\u0432 \u043d\u0435 \u0431\u044b\u043b\u043e, \u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c D8 \u0438 D0 \u0431\u044b\u043b\u043e \u043d\u0435\u043b\u044c\u0437\u044f, \u0442\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u043b\u0438\u044f\u043b\u043e \u043d\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0437\u0443\u043c\u043c\u0435\u0440\u0430 \u0438 \u0440\u0435\u043b\u0435, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f TX \u0438 RX \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0432\u043e\u0434\u044b D6 \u0438 D7 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<pre><code class=\"bash\">Arduino  |  Component   ---------+------------- D0       |  Keypad-Col1      D5       |  Buzzer-Red D6       |  R503-TX D7       |  R503-RX D8       |  Keypad-Col2 TX       |  Keypad-Row1 RX       |  Keypad-Row2 D1       |  Relay Signal D2       |  Keypad-Row3 D3       |  Keypad-Row4 D4       |  Keypad-Col3 3V       |  R503-VCC GND      |  R503-GND, Relay-GND, Buzzer-Black 5V       |  Relay-VCC<\/code><\/pre>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u0428\u0430\u0433 3: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430<\/font><\/h2>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430 \u2014 \u044d\u0442\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430. \u0412 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 <code>Adafruit_Fingerprint<\/code> \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440. \u041d\u0438\u0436\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0430 \u0443\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u0434\u0430, \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u043e\u043b\u043d\u0443\u044e \u0434\u0430\u043d\u0430 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n<pre><code class=\"bash\">#include &lt;Adafruit_Fingerprint.h>  #define buzzer D5  \/\/ ## \u0421\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u0435\u043b\u044c \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430 SoftwareSerial mySerial(D6, D7); Adafruit_Fingerprint finger = Adafruit_Fingerprint(&amp;mySerial); unsigned long lastTry = 0;  void setup() {   pinMode(buzzer, OUTPUT);    finger.begin(57600);    if (!finger.verifyPassword()) {     Serial.println(\"Fingerprint reader not found!\");     for (int i = 0; i &lt; 3; i++) {       tone(buzzer, 4500, 500);       delay(1000);     }   }    finger.getTemplateCount();   if (finger.templateCount == 0) {     Serial.println(\"Fingerprint reader doesn't have any signatures!\");     for (int i = 0; i &lt; 2; i++) {       tone(buzzer, 4500, 500);       delay(1000);     }   } }  void loop() {   \/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430   if (millis() >= lastTry) {     finger.LEDcontrol(FINGERPRINT_LED_OFF, 0, FINGERPRINT_LED_BLUE);     int fingerId = getFingerprintID();     if (fingerId > 0) {       openSafe();     } else if (fingerId == -1) {       wrongPin();     }   } }  void openSafe() {   finger.LEDcontrol(FINGERPRINT_LED_GRADUAL_ON, 200, FINGERPRINT_LED_BLUE);   digitalWrite(relayLockPin, LOW);   delay(100);   tone(buzzer, 3000, 500;   lastTry = millis() + 10000; }  void wrongPin() {   finger.LEDcontrol(FINGERPRINT_LED_FLASHING, 25, FINGERPRINT_LED_RED, 3);   delay(100);   for (int i = 0; i &lt; 2; i++) {     tone(buzzer, 4500, 100\/beepFactor);     delay(200);   }   tone(buzzer, 4500, 300\/beepFactor);   delay(400); }  int getFingerprintID() {   uint8_t p = finger.getImage();   if (p == FINGERPRINT_NOFINGER || finger.image2Tz() != FINGERPRINT_OK) {     return 0;   }    p = finger.fingerSearch();   if (p == FINGERPRINT_OK) {     return finger.fingerID;   } else {     lastTry = millis() + 1000;   }    return -1; }<\/code><\/pre>\n<p>  \u041c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0434\u043b\u044f TX\/RX, \u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0441\u043a\u0430\u043d\u0435\u0440 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430.<\/p>\n<pre><code class=\"bash\">SoftwareSerial mySerial(D6, D7); Adafruit_Fingerprint finger = Adafruit_Fingerprint(&amp;mySerial);<\/code><\/pre>\n<p>  \u0412\u043e \u0432\u0440\u0435\u043c\u044f <code>setup()<\/code> \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u0441\u043a\u0430\u043d\u0435\u0440\u0430. \u0415\u0441\u043b\u0438 \u043e\u043d \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d, \u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0437\u0434\u0435\u0441\u044c \u043d\u0443\u0436\u043d\u043e \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u044b\u0445\u043e\u0434, \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0444\u043b\u0430\u0433, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0445\u0440\u0430\u043d\u044f\u0449\u0438\u0445\u0441\u044f \u0432 \u0441\u043a\u0430\u043d\u0435\u0440\u0435 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440 \u0438 \u0434\u0430\u0442\u044c \u0437\u0432\u0443\u043a\u043e\u0432\u0443\u044e \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0432\u044f\u0437\u044c \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0438\u0445 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u043d\u0435 \u0443\u0434\u0430\u0441\u0442\u0441\u044f.<\/p>\n<pre><code class=\"bash\">void setup() {   finger.begin(57600);    if (!finger.verifyPassword()) {     Serial.println(\"Fingerprint reader not found!\");   }    finger.getTemplateCount();   if (finger.templateCount == 0) {     Serial.println(\"Fingerprint reader doesn't have any signatures!\");     for (int i = 0; i &lt; 2; i++) {       tone(buzzer, 4500, 500);       delay(1000);     }   } }<\/code><\/pre>\n<p>  \u0412\u043d\u0443\u0442\u0440\u0438 <code>loop()<\/code> \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0435 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430. \u0415\u0441\u043b\u0438 \u043a \u0441\u043a\u0430\u043d\u0435\u0440\u0443 \u043d\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d \u043f\u0430\u043b\u0435\u0446, \u0438\u043b\u0438 \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0432\u0430\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u0442\u043e <code>getFingerprintID()<\/code> \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 <code>0<\/code>. \u0415\u0441\u043b\u0438 \u0436\u0435 \u043f\u0430\u043b\u0435\u0446 \u043a \u0441\u043a\u0430\u043d\u0435\u0440\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d, \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043b\u0438\u0431\u043e \u0432\u0435\u0440\u043d\u0451\u0442 ID (1-127) \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0435\u0433\u043e \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430, \u043b\u0438\u0431\u043e <code>-1<\/code> \u043f\u0440\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0439.<\/p>\n<pre><code class=\"bash\">void loop() {   int fingerId = getFingerprintID();   if (fingerId > 0) {     openSafe();   } else if (fingerId == -1) {     wrongPin();   } }<\/code><\/pre>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u0428\u0430\u0433 4: \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430<\/font><\/h2>\n<p>  \u042d\u0442\u043e \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0430 \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u0420\u0430\u0434\u0438 \u043a\u0440\u0430\u0442\u043a\u043e\u0441\u0442\u0438 \u044f \u0443\u0434\u0430\u043b\u0438\u043b \u043e\u0442\u0441\u044e\u0434\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b. \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<pre><code class=\"bash\">void loop() {   \/\/ \u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430   char customKey = customKeypad.getKey();   if (customKey) {     if (customKey != 'A' &amp;&amp; customKey != 'B' &amp;&amp; codeIndex &lt;= 3) {       code[codeIndex] = customKey;       codeIndex = codeIndex + 1;       Serial.print(\"Fingerprint Id: \");       Serial.println(code);     } else {       uint16_t slotId = atoi(code);       codeIndex = 0;       memset(code, 0, 8);       if (slotId >= 1 &amp;&amp; slotId &lt;= 127) {         Serial.print(\"Fingerprint Id to enrol: \"); Serial.println(slotId);         if (getFingerprintEnroll(slotId)) {           \/\/ \u0423\u0441\u043f\u0435\u0445         } else {           \/\/ \u041e\u0448\u0438\u0431\u043a\u0430         }       }     }   } }  bool getFingerprintEnroll(uint8_t id) {   if (sampleFinger(1)) {     Serial.print(\"Remove finger.\");     while (finger.getImage() != FINGERPRINT_NOFINGER) {       Serial.print(\".\");       delay(10);     }     Serial.println();     delay(500);      if (sampleFinger(2)) {       Serial.println(\"Creating model\");       int p = finger.createModel();       if (p == FINGERPRINT_OK) {         Serial.println(\"Prints matched!\");         p = finger.storeModel(id);         if (p == FINGERPRINT_OK) {           Serial.println(\"Stored!\");           return true;         } else {           Serial.println(\"Error storing fingerprint model\");         }           } else {         Serial.println(\"Fingerprints did not match or other error\");       }     }   }   return false; }  bool sampleFinger(uint8_t slot) {   int p = -1;   while (p != FINGERPRINT_OK &amp;&amp; p != FINGERPRINT_PACKETRECIEVEERR) {     p = finger.getImage();     switch (p) {       case FINGERPRINT_OK:         Serial.println(\"Image taken\");         break;       case FINGERPRINT_NOFINGER:         Serial.print(\".\");         break;       case FINGERPRINT_PACKETRECIEVEERR:         Serial.println(\"Communication error\");         break;       case FINGERPRINT_IMAGEFAIL:         Serial.println(\"Imaging error\");         return false;       default:         Serial.println(\"Unknown error\");         return false;     }   }    p = finger.image2Tz(slot);   switch (p) {     case FINGERPRINT_OK:       Serial.println(\"Image converted\");       break;     case FINGERPRINT_IMAGEMESS:       Serial.println(\"Image too messy\");       break;     case FINGERPRINT_PACKETRECIEVEERR:       Serial.println(\"Communication error\");       break;     case FINGERPRINT_FEATUREFAIL:       Serial.println(\"Could not find fingerprint features\");       break;     case FINGERPRINT_INVALIDIMAGE:       Serial.println(\"Could not find fingerprint features\");       break;     default:       Serial.println(\"Unknown error\");       break;   }   return (p == FINGERPRINT_OK); }<\/code><\/pre>\n<p>  \u0412\u043d\u0443\u0442\u0440\u0438 <code>loop()<\/code> \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u043d\u0430\u0431\u0440\u0430\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e (\u043f\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u0432\u0432\u043e\u0434\u0443 \u0410 \u0438\u043b\u0438 \u0412) \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u043c \u043d\u043e\u043c\u0435\u0440\u043e\u043c \u044f\u0447\u0435\u0439\u043a\u0438 \u0434\u043b\u044f \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430 (1-127). \u0415\u0441\u043b\u0438 \u0434\u0430, \u0442\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e <code>getFingerprintEnroll()<\/code> \u0441 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u044f\u0447\u0435\u0439\u043a\u0438.<\/p>\n<p>  \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0439 \u043e\u0431\u0440\u0430\u0437\u0435\u0446 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043e\u0436\u0438\u0434\u0430\u0435\u0442 \u043e\u0442 \u0441\u043a\u0430\u043d\u0435\u0440\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f <code>FINGERPRINT_NOFINGER<\/code>, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e, \u0447\u0442\u043e \u043f\u0430\u043b\u0435\u0446 \u0431\u044b\u043b \u0443\u0431\u0440\u0430\u043d. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0442\u043e\u0440\u043e\u0439 \u043e\u0431\u0440\u0430\u0437\u0435\u0446. \u0414\u0430\u043b\u0435\u0435 \u043e\u0431\u0430 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442 \u0442\u0435\u0441\u0442\u044b, \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e\u0449\u0438\u0435 \u0438\u0445 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u044c.<\/p>\n<pre><code class=\"bash\">int p = finger.createModel(); if (p == FINGERPRINT_OK) {   Serial.println(\"Prints matched!\"); }  \u0412 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438, \u0435\u0441\u043b\u0438 \u0432\u0441\u0451 \u043f\u0440\u043e\u0448\u043b\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f. p = finger.storeModel(id); if (p == FINGERPRINT_OK) {   Serial.println(\"Stored!\"); }<\/code><\/pre>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u0428\u0430\u0433 5: \u0438\u0442\u043e\u0433\u0438<\/font><\/h2>\n<p>  \u041f\u043e\u043b\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u0434\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u043d\u0430 <a href=\"https:\/\/github.com\/adi-miller\/totp-safe\">GitHub<\/a>. \u041e\u043d\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043e\u0434\u043d\u043e\u0440\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043f\u0430\u0440\u043e\u043b\u044f, \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0437\u0430\u043c\u043a\u043e\u043c \u0438 \u043f\u0440\u043e\u0447\u0435\u0435.<\/p>\n<p>  \u042f \u043d\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0435\u0433\u043e \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u043a\u0430\u043d\u0435\u0440\u0430\u0445 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u043e\u0432, \u043d\u043e \u0432 \u0442\u0435\u043e\u0440\u0438\u0438 \u0432\u0441\u0451 \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0411\u0443\u0434\u0435\u0442 \u0437\u0434\u043e\u0440\u043e\u0432\u043e, \u0435\u0441\u043b\u0438 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u0432\u044b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u0435\u0441\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0442\u044e\u043d\u0438\u043d\u0433\u0430 \u0441\u0435\u0439\u0444\u043e\u0432.<\/p>\n<p>  \u041f\u043e\u0432\u0442\u043e\u0440\u044e \u0434\u0438\u0441\u043a\u043b\u0435\u0439\u043c\u0435\u0440 \u0438\u0437 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u00abTime-Based One-Time Password (TOTP) Smart Safe \u2014 Instructables\u00bb:<\/p>\n<blockquote><p>\u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u044d\u0442\u043e\u0442 \u0441\u0435\u0439\u0444 \u043d\u0435 \u0442\u0430\u043a\u043e\u0439 \u0443\u0436 \u201csafe\u201d. \u041f\u043e\u043c\u0438\u043c\u043e \u0440\u0438\u0441\u043a\u0430 \u0432\u0437\u043b\u043e\u043c\u0430 \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u0435\u0439\u0444\u0430, \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0442\u043e\u0447\u043a\u0438 \u0441\u0431\u043e\u044f. \u0415\u0441\u043b\u0438 Di Mini \u0443\u043c\u0440\u0451\u0442, \u0442\u043e \u0432\u044b \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0441 \u043d\u0438\u043c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c. \u0422\u0430\u043a \u0447\u0442\u043e \u0431\u0443\u0434\u044c\u0442\u0435 \u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u044b.<\/p><\/blockquote>\n<p>  <a href=\"http:\/\/ruvds.com\/ru-rub?utm_source=habr&amp;utm_medium=article&amp;utm_campaign=Bright_Translate&amp;utm_content=sejf_s_dostupom_po_otpechatku_palca\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ou\/g5\/kh\/oug5kh6sjydt9llengsiebnp40w.png\" data-src=\"https:\/\/habrastorage.org\/webt\/ou\/g5\/kh\/oug5kh6sjydt9llengsiebnp40w.png\"\/><\/a><\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/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\/company\/ruvds\/blog\/656889\/\"> https:\/\/habr.com\/ru\/company\/ruvds\/blog\/656889\/<\/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_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/656889\/\"><\/p>\n<div class=\"oembed\">\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/6239beb010d5580b3c67a176\" data-style=\"\" id=\"6239beb010d5580b3c67a176\" width=\"\"><\/div>\n<\/div>\n<p><\/a>\u042d\u0442\u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 <a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/657029\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c<\/a>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u0437\u0430\u043c\u0435\u043d\u0438\u043b \u043f\u043b\u0430\u0442\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0441\u0435\u0439\u0444\u0430 \u043d\u0430 ESP8266 D1 Mini, \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0432 \u0435\u0433\u043e \u0432 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0439\u0444 \u0441 \u043e\u0434\u043d\u043e\u0440\u0430\u0437\u043e\u0432\u044b\u043c \u043f\u0430\u0440\u043e\u043b\u0435\u043c. \u041d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044e \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0430 \u043f\u0430\u043b\u044c\u0446\u0430, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043d\u043e\u0432\u044b\u0445 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u043e\u0432.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-331123","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/331123","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=331123"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/331123\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=331123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=331123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=331123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}