{"id":1557,"date":"2019-05-22T00:22:06","date_gmt":"2019-05-21T21:22:06","guid":{"rendered":"http:\/\/arduinolab.pw\/?p=1557"},"modified":"2022-08-15T09:31:22","modified_gmt":"2022-08-15T06:31:22","slug":"datchik-osveshhennosti-bh1750fvi-gy-30-podklyuchenie-k-arduino","status":"publish","type":"post","link":"https:\/\/arduinolab.pw\/index.php\/2019\/05\/22\/datchik-osveshhennosti-bh1750fvi-gy-30-podklyuchenie-k-arduino\/","title":{"rendered":"\u0414\u0430\u0442\u0447\u0438\u043a \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u0438 BH1750FVI (GY-30). \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a Arduino"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u0426\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0434\u0430\u0442\u0447\u0438\u043a \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u044f, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0432 \u043b\u044e\u043a\u0441\u0430\u0445. \u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0439 \u0431\u044b\u0442\u043e\u0432\u043e\u0439 \u0442\u0435\u0445\u043d\u0438\u043a\u0438, \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u044f\u0440\u043a\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043e\u0442\u0432\u0435\u0434\u0435\u043d\u0438\u044f.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u043e\u0441\u043d\u043e\u0432\u0435 <a rel=\"noreferrer noopener\" href=\"https:\/\/buyeasy.by\/redirect\/cpa\/o\/prvi0aeyxapvei4wtlgzyssd3orrtg9v\/\" target=\"_blank\">\u043c\u043e\u0434\u0443\u043b\u044f<\/a> GY-30 \u043b\u0435\u0436\u0438\u0442 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0430 BH1750FVI.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u0434\u0443\u043b\u044f.<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0432 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0435 \u043e\u0442 1 \u0434\u043e 65535 \u043b\u044e\u043a\u0441.<\/li><li>\u0427\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0431\u043b\u0438\u0437\u043a\u0430 \u043a \u0432\u0438\u0434\u0438\u043c\u043e\u043c\u0443 \u0441\u043f\u0435\u043a\u0442\u0440\u0443.<\/li><li>\u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u0434\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0432\u0435\u0442\u043e\u0432\u043e\u0433\u043e \u0448\u0443\u043c\u0430 50 \u0413\u0446 \/ 60 \u0413\u0446.<\/li><li>\u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 I2C, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0434\u0432\u0443\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u043d\u0430 \u0448\u0438\u043d\u0435.<\/li><li>\u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c: 1,8 \u0412 <\/li><li>\u0421\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0443\u0440\u043e\u0432\u043d\u0435\u0439 \u043d\u0430 \u043f\u043b\u0430\u0442\u0435.<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0420\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2019\/05\/71XAK7RhlZL.jpg\" alt=\"\" class=\"wp-image-1560\" width=\"392\" height=\"209\" srcset=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2019\/05\/71XAK7RhlZL.jpg 522w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2019\/05\/71XAK7RhlZL-300x160.jpg 300w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\"><li><strong>VCC<\/strong> \u0438 <strong>GND<\/strong> \u2014 \u041f\u0438\u0442\u0430\u043d\u0438\u0435 \u0438 \u043c\u0430\u0441\u0441\u0430.    <\/li><li><strong>AD0<\/strong> &#8212; \u0412\u044b\u0431\u043e\u0440 \u0430\u0434\u0440\u0435\u0441\u0430 \u043c\u043e\u0434\u0443\u043b\u044f \u043d\u0430 \u0448\u0438\u043d\u0435 I2C, \u0432\u044b\u0445\u043e\u0434 \u043f\u0440\u0438\u0442\u044f\u043d\u0443\u0442 \u043a \u043c\u0430\u0441\u0441\u0435 \u0438 \u0430\u0434\u0440\u0435\u0441 \u043c\u043e\u0434\u0443\u043b\u044f 0x23, \u0435\u0441\u043b\u0438 \u043d\u0430 AD0 \u043f\u043e\u0434\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0435\u0434\u0438\u043d\u0438\u0446\u0443, \u0430\u0434\u0440\u0435\u0441 \u0431\u0443\u0434\u0435\u0442 0X5C.<\/li><li><strong>SCL<\/strong> \u0438 <strong>SDA<\/strong> \u2014 \u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 I2C.<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a Arduino<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"836\" src=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2019\/05\/Untitled-Sketch_bb-3-1024x836.jpg\" alt=\"\" class=\"wp-image-1558\" srcset=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2019\/05\/Untitled-Sketch_bb-3-1024x836.jpg 1024w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2019\/05\/Untitled-Sketch_bb-3-300x245.jpg 300w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2019\/05\/Untitled-Sketch_bb-3-768x627.jpg 768w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2019\/05\/Untitled-Sketch_bb-3-624x510.jpg 624w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2019\/05\/Untitled-Sketch_bb-3.jpg 1032w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>\u041d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c <a rel=\"noreferrer noopener\" aria-label=\"GY-302 (\u043e\u0442\u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0432 \u043d\u043e\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435)\" href=\"https:\/\/buyeasy.by\/redirect\/cpa\/o\/prvhk35rw0x7u1oluyma951rbckieyj2\/\" target=\"_blank\">GY-302<\/a>.<\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0421\u043e\u0444\u0442:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043c\u043e\u0434\u0443\u043b\u0435\u043c \u0443\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430, <a rel=\"noreferrer noopener\" aria-label=\"\u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0442\u0443\u0442 (\u043e\u0442\u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0432 \u043d\u043e\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435)\" href=\"https:\/\/github.com\/claws\/BH1750\" target=\"_blank\">\u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0442\u0443\u0442<\/a>. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u041c\u043e\u0434\u0443\u043b\u044c \u043d\u0430 Aliexpress:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" href=\"https:\/\/buyeasy.by\/redirect\/cpa\/o\/prvi0aeyxapvei4wtlgzyssd3orrtg9v\/\" target=\"_blank\">\u0422\u0443\u0442<\/a>.<\/p><div class=\"vpdrf6ab48c3f49a1b\" ><hr>\n<!-- Yandex.RTB R-A-1793072-2 -->\n<div id=\"yandex_rtb_R-A-1793072-2\"><\/div>\n<script>window.yaContextCb.push(()=>{\n  Ya.Context.AdvManager.render({\n    renderTo: 'yandex_rtb_R-A-1793072-2',\n    blockId: 'R-A-1793072-2'\n  })\n})<\/script><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.vpdrf6ab48c3f49a1b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.vpdrf6ab48c3f49a1b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.vpdrf6ab48c3f49a1b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.vpdrf6ab48c3f49a1b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.vpdrf6ab48c3f49a1b {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n\n\n\n\n<h2 class=\"wp-block-heading\">\u0412\u0438\u0434\u0435\u043e:<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/www.youtube.com\/watch?v=fRp7GscVJXE\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u0426\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0434\u0430\u0442\u0447\u0438\u043a \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u044f, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0432 \u043b\u044e\u043a\u0441\u0430\u0445. \u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0439 \u0431\u044b\u0442\u043e\u0432\u043e\u0439 \u0442\u0435\u0445\u043d\u0438\u043a\u0438, \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u044f\u0440\u043a\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043e\u0442\u0432\u0435\u0434\u0435\u043d\u0438\u044f.<\/p>\n","protected":false},"author":1,"featured_media":1561,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[7],"tags":[105,104],"class_list":["post-1557","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-video","tag-bh1750fvi","tag-datchik-osveshhennosti"],"_links":{"self":[{"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/posts\/1557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/comments?post=1557"}],"version-history":[{"count":0,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/posts\/1557\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/media\/1561"}],"wp:attachment":[{"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/media?parent=1557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/categories?post=1557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/tags?post=1557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}