{"id":337906,"date":"2022-09-04T15:00:25","date_gmt":"2022-09-04T15:00:25","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=337906"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=337906","title":{"rendered":"<span>\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u043f\u0435\u043a\u0442\u0440\u043e\u0437\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u044a\u0435\u043c\u043a\u0438 \u043d\u0430 Raspberry Pi<\/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-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/685896\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/yu\/gs\/pj\/yugspjqx5xl2cknbskgllmhehbe.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/yu\/gs\/pj\/yugspjqx5xl2cknbskgllmhehbe.jpeg\" data-blurred=\"true\"\/><\/div>\n<p><\/a><\/p>\n<blockquote><p><i>\u041f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430<\/i>: \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0435\u0442 \u043e\u0431 \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043d\u0438\u043c\u043a\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0443\u0447\u0430\u0441\u0442\u043a\u0430\u0445 \u0441\u043f\u0435\u043a\u0442\u0440\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043c\u0430\u0433\u043d\u0438\u0442\u043d\u044b\u0445 \u0432\u043e\u043b\u043d. <\/p>\n<p>  \u0426\u0438\u0442\u0430\u0442\u0430 \u0438\u0437 \u0412\u0438\u043a\u0438\u043f\u0435\u0434\u0438\u0438: \u0441\u043f\u0435\u043a\u0442\u0440\u043e\u0437\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u044a\u0451\u043c\u043a\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u043d\u0435\u0440\u0430\u0437\u043b\u0438\u0447\u0438\u043c\u044b\u0445 \u0432 \u0432\u0438\u0434\u0438\u043c\u043e\u043c \u0441\u0432\u0435\u0442\u0435.<\/p>\n<p>  \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u043d\u043e\u0433\u043e \u0444\u043e\u0442\u043e.<\/p><\/blockquote>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0430\u0432\u0442\u043e\u0440 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430.<a name=\"habracut\"><\/a><\/p>\n<p>  \u042f \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0438 \u043a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0432 \u043d\u0430\u0448 \u043c\u0435\u0441\u0442\u043d\u044b\u0439 \u0445\u0430\u043a\u0441\u043f\u0435\u0439\u0441 (<a href=\"https:\/\/telavivmakers.org\/index.php\/Main_Page\">TAMI<\/a>), \u0433\u0434\u0435 \u044d\u0442\u0438\u043c \u0438 \u0437\u0430\u043d\u044f\u043b\u0441\u044f. \u0421\u043e\u0441\u0442\u043e\u0438\u0442 \u043e\u043d\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u043e\u0442\u0435\u043d \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432, \u043f\u043e\u0441\u0430\u0436\u0435\u043d\u043d\u044b\u0445 \u043d\u0430 \u043e\u0434\u043d\u0443 \u0448\u0438\u043d\u0443 I2C, \u0438 \u0442\u0435\u043c\u043d\u043e\u0433\u043e \u044f\u0449\u0438\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430 1\/3 \u0438\u0437\u043d\u0443\u0442\u0440\u0438 \u043e\u0431\u043a\u043b\u0435\u0435\u043d \u0430\u043b\u044e\u043c\u0438\u043d\u0438\u0435\u0432\u043e\u0439 \u0444\u043e\u043b\u044c\u0433\u043e\u0439 (\u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 \u2013 \u043f\u0435\u043d\u043e\u043f\u043e\u043b\u0438\u0441\u0442\u0438\u0440\u043e\u043b) \u0434\u043b\u044f \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u0435\u0438\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u0430, \u0430 \u043d\u0430 2\/3 \u0447\u0435\u0440\u043d\u044b\u043c \u043a\u0430\u0440\u0442\u043e\u043d\u043e\u043c \u0434\u043b\u044f \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043b\u0443\u0447\u0435\u0439. \u0412\u0441\u0435 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u044b \u044f \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u043b \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 \u043f\u043e 4 \u0448\u0442\u0443\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u044f\u0440\u043a\u043e\u0441\u0442\u0438.<\/p>\n<p>  \u041d\u0430\u0447\u0430\u043b\u0441\u044f \u0432\u0435\u0441\u044c \u043f\u0440\u043e\u0435\u043a\u0442 \u0441 \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0431\u043e\u0448\u043b\u0438\u0441\u044c \u043c\u043d\u0435 \u043e\u043a\u043e\u043b\u043e $0.5 \u043a\u0430\u0436\u0434\u044b\u0439. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/tx\/gl\/h_\/txglh_fps_cqmkwkqgbbwhgk3q0.png\" data-src=\"https:\/\/habrastorage.org\/webt\/tx\/gl\/h_\/txglh_fps_cqmkwkqgbbwhgk3q0.png\"\/><\/p>\n<p>  \u0417\u0430\u0442\u0435\u043c \u044f \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043b \u0438\u0445 \u0432\u0441\u0435 \u043d\u0430 \u0430\u043b\u044e\u043c\u0438\u043d\u0438\u0435\u0432\u043e\u043c \u043b\u0438\u0441\u0442\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0430\u043a\u0436\u0435 \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b \u0432 \u0440\u043e\u043b\u0438 \u0442\u0435\u043f\u043b\u043e\u043e\u0442\u0432\u043e\u0434\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ee\/dc\/yk\/eedcykhpvej1zmg-z9imu07o5vw.png\" data-src=\"https:\/\/habrastorage.org\/webt\/ee\/dc\/yk\/eedcykhpvej1zmg-z9imu07o5vw.png\"\/><\/p>\n<p>  \u041a\u0430\u0436\u0434\u0430\u044f \u0433\u0440\u0443\u043f\u043f\u0430 \u0438\u0437 4-\u0445 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043a \u041c\u041e\u041f-\u0442\u0440\u0430\u043d\u0437\u0438\u0441\u0442\u043e\u0440\u0443 \u0438 \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u043b\u0435\u043a\u0441\u043e\u0440\u0443 (pca9685). \u042f \u043f\u043e\u0434\u0443\u043c\u044b\u0432\u0430\u044e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u044d\u0442\u043e\u0442 <a href=\"https:\/\/cdn-shop.adafruit.com\/datasheets\/PCA9685.pdf\">pca9685<\/a> \u043d\u0430 <a href=\"https:\/\/www.nxp.com\/docs\/en\/data-sheet\/PCA9635.pdf\">pca9635<\/a> (1\u043a\u0413\u0446 \u043f\u0440\u043e\u0442\u0438\u0432 97\u043a\u0413\u0446) \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u043e\u0442\u043e\u0442\u0440\u0430\u043d\u0437\u0438\u0441\u0442\u043e\u0440 \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0428\u0418\u041c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432 \u0441 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u044c\u044e. \u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044f \u0438 \u0441\u043f\u0430\u0434\u0430 \u0441\u0432\u0435\u0447\u0435\u043d\u0438\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0433\u043e \u0442\u043e\u043a\u0430 \u044f \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043b \u0434\u0440\u0430\u0439\u0432\u0435\u0440 <a href=\"https:\/\/www.mouser.com\/ds\/2\/260\/LDD-H-spec-766227.pdf\">LDD-700H<\/a>, \u0430 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 Raspberry Pi (\u043a\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u0434\u0430\u043b\u0435\u0435).<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/sb\/it\/jn\/sbitjnzrhvmicoevltfhquo27tm.png\" data-src=\"https:\/\/habrastorage.org\/webt\/sb\/it\/jn\/sbitjnzrhvmicoevltfhquo27tm.png\"\/><\/p>\n<p>  \u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432 \u043f\u0435\u0440\u0435\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439:<\/p>\n<div class=\"oembed\">\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/63108ce8cca9c98d66075399\" data-style=\"\" id=\"63108ce8cca9c98d66075399\" width=\"\"><\/div>\n<\/div>\n<p>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 (\u0431\u0435\u043b\u044b\u0439 \u043b\u0438\u0441\u0442 \u04104 \u0438 \u044d\u0442\u0430\u043b\u043e\u043d \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u0438\u044f):<\/p>\n<div class=\"oembed\">\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/63108ce8014ea38d5124cf5b\" data-style=\"\" id=\"63108ce8014ea38d5124cf5b\" width=\"\"><\/div>\n<\/div>\n<p>\u0412\u0441\u0435 \u0446\u0432\u0435\u0442\u0430 \u044f \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u043f\u0435\u043a\u0442\u0440\u043e\u043c\u0435\u0442\u0440\u043e\u043c: \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043e\u0442 ~370\u043d\u043c \u0434\u043e ~880\u043d\u043c, \u0430 \u0446\u0432\u0435\u0442\u043e\u0432\u0430\u044f \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0431\u0435\u043b\u043e\u0433\u043e 2.7\u041a, 6\u041a, 10\u041a:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/nj\/8m\/fn\/nj8mfn5niergfrafm0li2nomjms.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/nj\/8m\/fn\/nj8mfn5niergfrafm0li2nomjms.jpeg\" data-blurred=\"true\"\/><br \/>  <i><font color=\"#999999\">\u041f\u0430\u0440\u0434\u043e\u043d \u0437\u0430 \u043a\u043e\u0441\u044f\u0447\u043d\u043e\u0435 \u0444\u043e\u0442\u043e \u044d\u043a\u0440\u0430\u043d\u0430 \u2013 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0431\u0440\u0430\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0434\u0438\u0441\u043f\u043b\u0435\u0439 \u0434\u043b\u044f \u043f\u043b\u0430\u043d\u0448\u0435\u0442\u0430 x61t<\/font><\/i><\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0432\u0435\u0440\u043b\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435 \u0432 \u0446\u0435\u043d\u0442\u0440\u0435 \u0430\u043b\u044e\u043c\u0438\u043d\u0438\u0435\u0432\u043e\u0439 \u043f\u043b\u0430\u0441\u0442\u0438\u043d\u044b \u043f\u043e\u0434 \u043c\u043e\u043d\u043e\u0445\u0440\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043a\u0430\u043c\u0435\u0440\u0443.   <\/p>\n<blockquote><p>\u041f\u0430\u043c\u044f\u0442\u043a\u0430 \u0441\u0435\u0431\u0435: \u043d\u0430\u0439\u0442\u0438 \u0444\u043e\u0442\u043e\u0434\u0438\u043e\u0434 <a href=\"https:\/\/www.thorlabs.com\/newgrouppage9.cfm?objectgroup_id=285\">FDS010<\/a>?). \u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0428\u0418\u041c \u0438 \u044f\u0440\u043a\u043e\u0441\u0442\u0438 \u0441\u0432\u0435\u0442\u0430 \u0444\u043e\u0442\u043e\u0434\u0438\u043e\u0434\/\u0444\u043e\u0442\u043e\u0442\u0440\u0430\u043d\u0437\u0438\u0441\u0442\u043e\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441\u043f\u0435\u043a\u0442\u0440\u0443 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432. \u041d\u0430\u0448\u0435\u043b \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0432 \u044f\u0449\u0438\u043a\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 (FDS10X10?, S2387-1010R?, 340\u043d\u043c-110\u043d\u043c ?). <\/p><\/blockquote>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/xj\/pn\/bd\/xjpnbdbd3yquctcvheewuf6zawo.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/xj\/pn\/bd\/xjpnbdbd3yquctcvheewuf6zawo.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  \u0414\u0443\u043c\u0430\u044e, \u043f\u043e\u043a\u0430 \u044d\u0442\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e. \u041f\u043e\u0445\u043e\u0436\u0435, \u0447\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u0434\u043b\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u043e\u043a\u0430 \u0444\u043e\u0442\u043e\u0434\u0438\u043e\u0434\u0430 \u0432 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <a href=\"https:\/\/www.analog.com\/media\/en\/technical-documentation\/data-sheets\/1050fb.pdf\">LTC1050<\/a>.<\/p>\n<p>  \u0421\u044a\u0435\u043c\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u0430 \u043f\u043b\u0430\u043d\u0448\u0435\u0442\u0430 (\u043b\u0438\u0441\u0442 \u0430\u0432\u043e\u043a\u0430\u0434\u043e) \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d. \u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043e \u0441 \u043c\u043e\u043d\u043e\u0445\u0440\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043a\u0430\u043c\u0435\u0440\u044b, \u0435\u0449\u0435 \u043d\u0435 \u043e\u0442\u043a\u0430\u043b\u0438\u0431\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0438 \u043d\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u043e \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0430\u043c\u0438.<\/p>\n<div class=\"oembed\">\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/63108ce98533a8ceb5fd4511\" data-style=\"\" id=\"63108ce98533a8ceb5fd4511\" width=\"\"><\/div>\n<\/div>\n<p>\u0410\u043f\u0434\u0435\u0439\u0442 \u043f\u043e \u0441\u0431\u043e\u0440\u043a\u0435: \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0441\u0435\u043d\u0441\u043e\u0440\u043d\u044b\u0439 \u0434\u0438\u0441\u043f\u043b\u0435\u0439 \u2013 \u043d\u0443\u0436\u043d\u043e \u0435\u0449\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0434\u0440\u0430\u0439\u0432\u0435\u0440 eGalax (<code>apt install xserver-xorg-input-evdev<\/code>, \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c <i>\/etc\/X11\/xorg.conf<\/i>, \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c libinput \u043d\u0430 evdev, <code>apt install xinput-calibrator<\/code>, \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043c\u0435\u0441\u0442\u0430\u043c\u0438 \u043e\u0441\u0438 <i>x-y<\/i> \u0434\u0438\u0441\u043f\u043b\u0435\u044f).<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/dk\/xk\/xj\/dkxkxjg1plez9tgse55aiwo79mi.png\" data-src=\"https:\/\/habrastorage.org\/webt\/dk\/xk\/xj\/dkxkxjg1plez9tgse55aiwo79mi.png\"\/><\/p>\n<p>  \u0412\u0441\u0435 \u0437\u0430\u043f\u0438\u0442\u0430\u043d\u043e \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e \u0411\u041f (\u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432 15\u0412, \u0434\u0438\u0441\u043f\u043b\u0435\u0439 12\u0412, Pi 5\u0412).<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/dc\/au\/t-\/dcaut-lf53thr1gn7t_by0ityuq.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/dc\/au\/t-\/dcaut-lf53thr1gn7t_by0ityuq.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  <i><font color=\"#999999\">\u041f\u0440\u043e\u0441\u0432\u0435\u0440\u043b\u0438\u043b \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435<\/font><\/i><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/ch\/rf\/9s\/chrf9slazsg5paaemqp7_bkycrq.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/ch\/rf\/9s\/chrf9slazsg5paaemqp7_bkycrq.jpeg\" data-blurred=\"true\"\/><\/div>\n<p><i><font color=\"#999999\">\u0422\u0435\u0441\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0441 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c \u0434\u0435\u0440\u0436\u0430\u0442\u0435\u043b\u0435\u043c \u043a\u0430\u043c\u0435\u0440\u044b<\/font><\/i><\/p>\n<p>  \u041f\u0440\u0438\u0442\u0430\u0449\u0438\u043b \u0438\u0437 TAMI \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0443\u0441\u043a\u043e\u0432 \u0430\u043d\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0430\u043b\u044e\u043c\u0438\u043d\u0438\u044f, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0431\u0440\u0430\u043b \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u043a\u0440\u043e\u043d\u0448\u0442\u0435\u0439\u043d \u0434\u043b\u044f \u043a\u0430\u043c\u0435\u0440\u044b.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/yi\/gj\/hj\/yigjhjecrbwvontp-qs4uj7emcu.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/yi\/gj\/hj\/yigjhjecrbwvontp-qs4uj7emcu.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  <\/p>\n<blockquote>\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\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/w_\/2-\/iw\/w_2-iwajcjbep2cwcdyhjvxc5vk.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/w_\/2-\/iw\/w_2-iwajcjbep2cwcdyhjvxc5vk.jpeg\" data-blurred=\"true\"\/><\/div>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/lp\/9j\/4t\/lp9j4tafzti4u8ixe2eqd3ammkw.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/lp\/9j\/4t\/lp9j4tafzti4u8ixe2eqd3ammkw.jpeg\" data-blurred=\"true\"\/><\/div>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/be\/7a\/-r\/be7a-rx-nfp_3btlmc3ssebry5e.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/be\/7a\/-r\/be7a-rx-nfp_3btlmc3ssebry5e.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  <\/div>\n<\/p><\/div>\n<\/blockquote>\n<p>  \u0410\u043f\u0434\u0435\u0439\u0442: \u0432\u0430\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u0438\u0432 \u043f\u043e\u043f\u0430\u0434\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u043d\u044b\u0439 \u043e\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0441\u0432\u0435\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0438\u0437\u043c\u0435\u0440\u0438\u043b \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u0435 \u0438 \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u043b \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0443\u044e \u041f\u0412\u0425-\u0442\u0440\u0443\u0431\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u043e\u0448\u043b\u0430 \u0432 \u043d\u0435\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043b\u043e\u0442\u043d\u043e. \u041e\u0431\u0440\u0435\u0437\u0430\u043b \u044f \u0435\u0435 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0432\u0430\u0442\u043e \u2013 \u043f\u043e \u0444\u0430\u043a\u0442\u0443 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u0435\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043b\u0438\u043d\u043d\u0435\u0435.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/fs\/qo\/kz\/fsqokz9daezp9jn6cj3veym-wnu.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/fs\/qo\/kz\/fsqokz9daezp9jn6cj3veym-wnu.jpeg\" data-blurred=\"true\"\/><\/div>\n<p><i><font color=\"#999999\">\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044f<\/font><\/i><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/is\/ps\/27\/isps27jcvesvrkdf63s7etimds0.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/is\/ps\/27\/isps27jcvesvrkdf63s7etimds0.jpeg\" data-blurred=\"true\"\/><\/div>\n<p><i><font color=\"#999999\">\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u041f\u0412\u0425-\u0442\u0440\u0443\u0431\u044b<\/font><\/i><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/11\/m6\/9s\/11m69sh5irpda3pxlsqy6jtstlq.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/11\/m6\/9s\/11m69sh5irpda3pxlsqy6jtstlq.jpeg\" data-blurred=\"true\"\/><\/div>\n<p><i><font color=\"#999999\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u043e\u0431\u044a\u0435\u043a\u0442\u0438\u0432 \u0441 \u0431\u043e\u043b\u0435\u0435 \u0448\u0438\u0440\u043e\u043a\u0438\u043c \u0443\u0433\u043b\u043e\u043c \u043e\u0431\u0437\u043e\u0440\u0430<\/font><\/i><\/p>\n<p>  \u041f\u043e\u0445\u043e\u0436\u0435, \u0447\u0442\u043e \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f, \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043a\u043e\u0440\u043e\u0442\u043a\u0443\u044e \u0442\u0440\u0443\u0431\u0443 (\u0434\u0443\u043c\u0430\u044e, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u0430 \u0434\u043b\u0438\u043d\u0430 \u043e\u0442 10\u0441\u043c). \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044f \u0435\u0435 \u043d\u0430\u0440\u0430\u0449\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0447\u0435\u0440\u043d\u043e\u0433\u043e \u043a\u0430\u0440\u0442\u043e\u043d\u0430 \u0438 \u043e\u0431\u0435\u0440\u043d\u0443 \u0432\u043d\u0435\u0448\u043d\u044e\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u0444\u043e\u043b\u044c\u0433\u043e\u0439. <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/oa\/_r\/bi\/oa_rbiisnjhxsrbnzstvzyus460.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/oa\/_r\/bi\/oa_rbiisnjhxsrbnzstvzyus460.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/el\/y1\/sk\/ely1sks3ikcyoanq9j6icj-c-xq.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/el\/y1\/sk\/ely1sks3ikcyoanq9j6icj-c-xq.jpeg\" data-blurred=\"true\"\/><\/div>\n<p><i><font color=\"#999999\">\u041f\u043e\u043a\u0440\u0430\u0441\u0438\u043b \u0432 \u0447\u0435\u0440\u043d\u044b\u0439. \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u0441\u044b\u0445\u0430\u043d\u0438\u044f \u0441\u043d\u0430\u0440\u0443\u0436\u0438 \u043e\u0431\u0435\u0440\u043d\u0443 \u0444\u043e\u043b\u044c\u0433\u043e\u0439<\/font><\/i><\/p>\n<p>  \u041d\u0438\u0436\u0435 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0435 \u0432\u0438\u0434\u0435\u043e, \u0442\u0435\u043f\u0435\u0440\u044c \u0441 \u043b\u0438\u0441\u0442\u043e\u043c \u0432\u0438\u043d\u043e\u0433\u0440\u0430\u0434\u0430. \u042f\u0440\u043a\u043e\u0441\u0442\u044c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432 \u0435\u0449\u0435 \u043d\u0435 \u043e\u0442\u043a\u0430\u043b\u0438\u0431\u0440\u043e\u0432\u0430\u043d\u0430, \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u044b \u043b\u0438\u0441\u0442 \u043f\u043e\u0433\u043b\u043e\u0449\u0430\u0435\u0442. \u041f\u043b\u044e\u0441 \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043b\u043d\u043e\u0435 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435 \u0437\u0430\u0442\u0432\u043e\u0440\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u0430. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0441\u043d\u044f\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0435 \u0432\u0438\u0434\u0435\u043e \u0437\u0430\u0432\u0442\u0440\u0430.<\/p>\n<div class=\"oembed\">\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/63108ce94c0070cee05491a4\" data-style=\"\" id=\"63108ce94c0070cee05491a4\" width=\"\"><\/div>\n<\/div>\n<p>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u00ab\u0432 \u043a\u0440\u0443\u0436\u043a\u0435\u00bb \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u044f \u0438\u0437\u043b\u0438\u0448\u043d\u0435 \u043d\u0430\u0440\u0430\u0441\u0442\u0438\u043b \u0442\u0440\u0443\u0431\u0443 (20\u0441\u043c), \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0447\u0435\u0433\u043e \u0443\u0433\u043e\u043b \u043e\u0431\u0437\u043e\u0440\u0430 \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0435\u0435 \u043a\u0440\u0430\u0439. \u0412 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0440\u0443\u0431\u0443 \u0443\u0436\u0435 \u0441 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0439 \u0434\u043b\u0438\u043d\u043d\u043e\u0439 \u043f\u043e\u0434 \u0440\u0430\u0437\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u044b.<\/p>\n<div class=\"oembed\">\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/63108ce91f2ba68d76b4c1bd\" data-style=\"\" id=\"63108ce91f2ba68d76b4c1bd\" width=\"\"><\/div>\n<\/div>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/mz\/i7\/ac\/mzi7acedsvjmbv5-pknvmihzqvc.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/mz\/i7\/ac\/mzi7acedsvjmbv5-pknvmihzqvc.jpeg\" data-blurred=\"true\"\/><\/div>\n<p><i><font color=\"#999999\">\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432\u0438\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/font><\/i><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/zv\/hs\/ly\/zvhslyjmgqphbvfekfwv_55_eh0.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/zv\/hs\/ly\/zvhslyjmgqphbvfekfwv_55_eh0.jpeg\" data-blurred=\"true\"\/><\/div>\n<p><i><font color=\"#999999\">\u0414\u043e\u0431\u0430\u0432\u0438\u043b \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u044b\u0439 \u0444\u0438\u043a\u0441\u0430\u0442\u043e\u0440 \u0434\u0432\u0435\u0440\u0446\u044b<\/font><\/i><\/p>\n<p>  \u0415\u0449\u0435 \u043e\u0434\u043d\u043e \u0432\u0438\u0434\u0435\u043e. \u0417\u0434\u0435\u0441\u044c \u043f\u043e\u0442\u0435\u0440\u044f\u043d\u0430 \u043f\u0430\u0440\u0430 \u043a\u0430\u0434\u0440\u043e\u0432 \u0438\u0437-\u0437\u0430 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0434\u043b\u044f Pi. \u041d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0441\u043d\u0438\u043c\u0430\u043b \u043b\u0438\u0441\u0442 \u043a\u0430\u0440\u0442\u043e\u0444\u0435\u043b\u044f \u0441 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 OpenCV (\u0444\u0443\u043d\u043a\u0446\u0438\u044f <a href=\"https:\/\/docs.opencv.org\/3.1.0\/d5\/daf\/tutorial_py_histogram_equalization.html\">CLAHE<\/a>). <\/p>\n<div class=\"oembed\">\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/631093fb9fd9c5cec245355f\" data-style=\"\" id=\"631093fb9fd9c5cec245355f\" width=\"\"><\/div>\n<\/div>\n<p>\u041d\u0430\u0445\u043e\u0434\u044f\u0441\u044c \u0432 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 \u0437\u0430\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0430\u043f\u0433\u0440\u0435\u0439\u0434\u0430 \u0432 \u0432\u0438\u0434\u0435 Nvidia Jetson, \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0434 \u043a\u043e\u0441\u043c\u0435\u0442\u0438\u043a\u043e\u0439.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/7x\/4s\/4s\/7x4s4swewrmdz0qsdgd2ay2ooyc.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/7x\/4s\/4s\/7x4s4swewrmdz0qsdgd2ay2ooyc.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  <\/p>\n<blockquote>\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\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/oo\/c7\/xd\/ooc7xdrfrcign9hu57etxoaiapo.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/oo\/c7\/xd\/ooc7xdrfrcign9hu57etxoaiapo.jpeg\" data-blurred=\"true\"\/><\/div>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/yu\/gs\/pj\/yugspjqx5xl2cknbskgllmhehbe.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/yu\/gs\/pj\/yugspjqx5xl2cknbskgllmhehbe.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  <\/div>\n<\/p><\/div>\n<\/blockquote>\n<p>\u0418 \u0432\u043e\u0442 \u043c\u043e\u0439 \u00ab\u043f\u0440\u0435\u0437\u0435\u043d\u0442\u00bb \u0433\u043e\u0442\u043e\u0432 \u043a \u0432\u0435\u0434\u0435\u043d\u0438\u044e \u043c\u043d\u043e\u0433\u043e\u0437\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u044a\u0435\u043c\u043a\u0438.<\/p>\n<p>  \u041a\u0430\u043a \u0438 \u043e\u0431\u0435\u0449\u0430\u043b, \u043f\u0440\u0438\u0432\u043e\u0436\u0443:  <\/p>\n<blockquote>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041a\u043e\u0434<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">from __future__ import division import time import Adafruit_PCA9685 import cv2  from pyueye import ueye import ctypes import datetime  pwm = Adafruit_PCA9685.PCA9685(address = 0x40) #1st  pwm1 = Adafruit_PCA9685.PCA9685(address = 0x41) #2nd pwm2 = Adafruit_PCA9685.PCA9685(address = 0x42) #3rd pwm.set_pwm_freq(1000) pwm1.set_pwm_freq(1000) pwm2.set_pwm_freq(1000)  spec = \"avo_leaf\" #name of speciment  led = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31] lux = [1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931] #temporary initial value 0, 4095  for x,y in zip(led, lux):     if (x &lt; 16):        pwm.set_pwm(x,y,0) #led on 1st mux     elif ( x>14 and x&lt;32):        pwm1.set_pwm(x-16,y,0) #led on 2nd mux     elif (x>31 and x&lt;33):        pwm2.set_pwm(x-32,y,0) #led on 3rd mux    else:        print(x)     hcam = ueye.HIDS(1)     pccmem = ueye.c_mem_p()     memID = ueye.c_int()     hWnd = ctypes.c_voidp()     ueye.is_InitCamera(hcam, hWnd)     sensorinfo = ueye.SENSORINFO()     ueye.is_GetSensorInfo(hcam, sensorinfo)     ueye.is_AllocImageMem(hcam, sensorinfo.nMaxWidth, sensorinfo.nMaxHeight,24, pccmem, memID)     ueye.is_SetImageMem(hcam, pccmem, memID)     nret = ueye.is_FreezeVideo(hcam, ueye.IS_WAIT)     if (nret == 0):       print(\"camera\")     else:       print(\"____problem!!!____\")     FileParams = ueye.IMAGE_FILE_PARAMS()     FileParams.pwchFileName = spec + \"_led_\"+str(x+1)+\"_cam_\"+ datetime.datetime.now().strftime(\"%s\") + \".bmp\"     FileParams.nFileType = ueye.IS_IMG_BMP     FileParams.ppcImageMem = None     FileParams.pnImageID = None      nret = ueye.is_ImageFile(hcam, ueye.IS_IMAGE_FILE_CMD_SAVE, FileParams, ueye.sizeof(FileParams))     if (nret == 0):       print(\"camera\")     else:       print(\"____problem!!!____\")     ueye.is_FreeImageMem(hcam, pccmem, memID)     ueye.is_ExitCamera(hcam)      if (x &lt; 16):        pwm.set_pwm(x,0,0) #led off 1st mux     elif ( x>14 and x&lt;32):        pwm1.set_pwm(x-16,0,0) #led off 2nd mux     elif (x>31 and x&lt;33):        pwm2.set_pwm(x-32,0,0) #led off 3rd mux    else:        print(x)<\/code><\/pre>\n<\/div><\/div>\n<\/blockquote>\n<p>  <\/p>\n<h2><font color=\"#3AC1EF\">\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/font><\/h2>\n<p>  \u0412 \u0446\u0435\u043b\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0437\u0430\u043d\u044f\u0442\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u0438 \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u0434\u043e\u0432\u0435\u0441\u0442\u0438 \u0435\u0433\u043e \u0434\u043e \u0440\u0435\u0432\u0438\u0437\u0438\u0438 2.0. \u0412 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438: <\/p>\n<ul>\n<li>\u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c <a href=\"https:\/\/www.raspberrypi.org\/products\/raspberry-pi-3-model-b-plus\/#buy-now-modal\">Raspberry Pi<\/a> (~35$) \u043d\u0430 <a href=\"https:\/\/www.nvidia.com\/en-us\/autonomous-machines\/embedded-systems\/jetson-nano\/?nvid=nv-int-mn-78458\">Nvidia Jetson Nano<\/a> (~99$);<\/li>\n<li>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0442\u0440\u0430\u0441\u0442\u0430;<\/li>\n<li>\u043f\u0435\u0440\u0435\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043d\u0438\u0436\u043d\u044e\u044e \u0447\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043f\u043e\u0433\u043b\u043e\u0449\u0435\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u0430;<\/li>\n<li>\u0434\u043e\u0441\u0442\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043d\u043e\u0433\u043e\u0446\u0432\u0435\u0442\u043d\u044b\u0445 \u043b\u0430\u0437\u0435\u0440\u043e\u0432;<\/li>\n<li>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0442\u043e\u0432\u043e\u043b\u043e\u043a\u043d\u043e \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 \u0432 \u0443\u0433\u043b\u0430\u0445;<\/li>\n<li>\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u043f\u043e\u0440\u0442\u0430\u0442\u0438\u0432\u043d\u043e\u0439 (\u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043d\u0438\u044f \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440).<\/li>\n<\/ul>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 <a href=\"https:\/\/www.nasa.gov\/ames\/las\/midar\">\u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0430 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0430\u043c\u0438 NASA<\/a>. \u0412\u043e\u0442 \u0438\u0445 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0432\u0438\u0434\u0435\u043e:<\/p>\n<div class=\"oembed\">\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/631093fb9807468d86089efd\" data-style=\"\" id=\"631093fb9807468d86089efd\" width=\"\"><\/div>\n<\/div>\n<blockquote><p><b><font color=\"#3AC1EF\"><a href=\"https:\/\/bit.ly\/3bDQroY\">\u041a\u043e\u043d\u043a\u0443\u0440\u0441 \u0441\u0442\u0430\u0442\u0435\u0439 \u043e\u0442 RUVDS.COM<\/a>. \u0422\u0440\u0438 \u0434\u0435\u043d\u0435\u0436\u043d\u044b\u0435 \u043d\u043e\u043c\u0438\u043d\u0430\u0446\u0438\u0438. \u0413\u043b\u0430\u0432\u043d\u044b\u0439 \u043f\u0440\u0438\u0437 \u2014 100 000 \u0440\u0443\u0431\u043b\u0435\u0439. <\/font><\/b><\/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=sistema_spektrozonalnoj_semki_na_raspberry_pi\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/sz\/7j\/pf\/sz7jpfj8i1pa6ocj-eia09dev4q.png\" data-src=\"https:\/\/habrastorage.org\/webt\/sz\/7j\/pf\/sz7jpfj8i1pa6ocj-eia09dev4q.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\/685896\/\"> https:\/\/habr.com\/ru\/company\/ruvds\/blog\/685896\/<\/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-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/685896\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/yu\/gs\/pj\/yugspjqx5xl2cknbskgllmhehbe.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/yu\/gs\/pj\/yugspjqx5xl2cknbskgllmhehbe.jpeg\" data-blurred=\"true\"\/><\/div>\n<p><\/a><\/p>\n<blockquote><p><i>\u041f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430<\/i>: \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0435\u0442 \u043e\u0431 \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043d\u0438\u043c\u043a\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0443\u0447\u0430\u0441\u0442\u043a\u0430\u0445 \u0441\u043f\u0435\u043a\u0442\u0440\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043c\u0430\u0433\u043d\u0438\u0442\u043d\u044b\u0445 \u0432\u043e\u043b\u043d. <\/p>\n<p>  \u0426\u0438\u0442\u0430\u0442\u0430 \u0438\u0437 \u0412\u0438\u043a\u0438\u043f\u0435\u0434\u0438\u0438: \u0441\u043f\u0435\u043a\u0442\u0440\u043e\u0437\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u044a\u0451\u043c\u043a\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u043d\u0435\u0440\u0430\u0437\u043b\u0438\u0447\u0438\u043c\u044b\u0445 \u0432 \u0432\u0438\u0434\u0438\u043c\u043e\u043c \u0441\u0432\u0435\u0442\u0435.<\/p>\n<p>  \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u043d\u043e\u0433\u043e \u0444\u043e\u0442\u043e.<\/p><\/blockquote>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0430\u0432\u0442\u043e\u0440 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430.<\/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-337906","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/337906","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=337906"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/337906\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=337906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=337906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=337906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}