{"id":1807,"date":"2022-08-19T15:20:00","date_gmt":"2022-08-19T12:20:00","guid":{"rendered":"https:\/\/arduinolab.pw\/?p=1807"},"modified":"2023-08-15T01:16:56","modified_gmt":"2023-08-14T22:16:56","slug":"datchik-osveshhennosti-temt6000","status":"publish","type":"post","link":"https:\/\/arduinolab.pw\/index.php\/2022\/08\/19\/datchik-osveshhennosti-temt6000\/","title":{"rendered":"\u0414\u0430\u0442\u0447\u0438\u043a \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u0438 TEMT6000"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u041c\u043e\u0434\u0443\u043b\u044c <a rel=\"noreferrer noopener\" href=\"http:\/\/alli.pub\/6foxia\" target=\"_blank\">CJMCU-TEMT6000<\/a> \u0441 \u0444\u043e\u0442\u043e\u0442\u0440\u0430\u043d\u0437\u0438\u0441\u0442\u043e\u0440\u043e\u043c TEMT6000. <\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0414\u0430\u0442\u0447\u0438\u043a \u0438\u043c\u0435\u0435\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u0432\u044b\u0445\u043e\u0434, \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043c\u043e\u0434\u0443\u043b\u044f, \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0438\u043d\u0442\u0435\u043d\u0441\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u044f.<\/li>\n\n\n\n<li>\u0427\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0431\u043b\u0438\u0437\u043a\u0430 \u043a \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0433\u043b\u0430\u0437\u0430: 360 ~ 970 \u043d\u043c.<\/li>\n\n\n\n<li>\u0420\u0430\u0431\u043e\u0447\u0435\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435: 5 \u0412. <\/li>\n\n\n\n<li>\u0420\u0430\u0431\u043e\u0447\u0430\u044f \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430: \u043e\u0442 -40 \u0434\u043e +85 \u00b0C<\/li>\n\n\n\n<li>\u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 \u0444\u043e\u0442\u043e\u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440\u043e\u0432, \u0438\u043c\u0435\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b. \u041f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0432\u044b\u0441\u043e\u043a\u043e\u0447\u0430\u0441\u0442\u043e\u0442\u043d\u044b\u0445 \u043f\u0443\u043b\u044c\u0441\u0430\u0446\u0438\u044f \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0420\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430 \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u044f:<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-medium\"><a href=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000-300x300.jpg\" alt=\"\" class=\"wp-image-1809\" srcset=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000-300x300.jpg 300w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000-1024x1024.jpg 1024w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000-150x150.jpg 150w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000-768x768.jpg 768w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000-624x624.jpg 624w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000.jpg 1257w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0438\u043f\u0438\u0447\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u0434\u0430\u0442\u0447\u0438\u043a, \u0441 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0441\u0445\u0435\u043c\u043e\u0439 \u0432 \u0432\u0438\u0434\u0435 \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043a \u0410\u0426\u041f, \u043a \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c\u0443 \u0432\u0445\u043e\u0434\u0443, \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>\u041f\u0438\u043d<\/th><th>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/th><\/tr><tr><td>SIG\\ S \\OUT<\/td><td>\u0410\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u0432\u044b\u0445\u043e\u0434. \u0412\u044b\u0445\u043e\u0434\u043d\u043e\u0435 \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u0441\u043e \u0441\u0445\u0435\u043c\u044b \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f.<\/td><\/tr><tr><td>GND<\/td><td>GND (0V)<\/td><\/tr><tr><td>VCC<\/td><td>\u041d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f <strong>(\u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0442\u044c 6 \u0412)<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0421\u0445\u0435\u043c\u0430 \u043c\u043e\u0434\u0443\u043b\u044f:<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-medium\"><a href=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000_schematic.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"203\" height=\"300\" src=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000_schematic-203x300.jpg\" alt=\"\" class=\"wp-image-1810\" srcset=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000_schematic-203x300.jpg 203w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/TEMT6000_schematic.jpg 312w\" sizes=\"auto, (max-width: 203px) 100vw, 203px\" \/><\/a><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a Arduino:<\/strong><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-medium\"><a href=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/Untitled-Sketch_bb.png\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"236\" src=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/Untitled-Sketch_bb-300x236.png\" alt=\"\" class=\"wp-image-1811\" srcset=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/Untitled-Sketch_bb-300x236.png 300w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/Untitled-Sketch_bb-768x604.png 768w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/Untitled-Sketch_bb-624x490.png 624w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/Untitled-Sketch_bb.png 981w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u041a\u0430\u043a \u0438 \u043b\u044e\u0431\u043e\u0439 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u0434\u0430\u0442\u0447\u0438\u043a, \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u0432\u0445\u043e\u0434 \u0430\u0440\u0434\u0443\u0438\u043d\u043e. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u041a\u043e\u0434:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043a\u043e\u0434 \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 &#171;AnalogReadSerial&#187;<\/p>\n\n\n\n<pre>\n<font color=\"#95a5a6\">&#47;*<\/font>\n<font color=\"#95a5a6\"> &nbsp;AnalogReadSerial<\/font>\n<font color=\"#95a5a6\"><\/font>\n<font color=\"#95a5a6\"> &nbsp;Reads an analog input on pin 0, prints the result to the Serial Monitor.<\/font>\n<font color=\"#95a5a6\"> &nbsp;Graphical representation is available using Serial Plotter (Tools &gt; Serial Plotter menu).<\/font>\n<font color=\"#95a5a6\"> &nbsp;Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.<\/font>\n<font color=\"#95a5a6\"><\/font>\n<font color=\"#95a5a6\"> &nbsp;This example code is in the public domain.<\/font>\n<font color=\"#95a5a6\"><\/font>\n<font color=\"#95a5a6\"> &nbsp;<\/font><u><font color=\"#95a5a6\">http:&#47;&#47;www.arduino.cc&#47;en&#47;Tutorial&#47;AnalogReadSerial<\/font><\/u><font color=\"#95a5a6\"><\/font>\n<font color=\"#95a5a6\">*&#47;<\/font>\n\n<font color=\"#434f54\">&#47;&#47; the setup routine runs once when you press reset:<\/font>\n<font color=\"#00979c\">void<\/font> <font color=\"#5e6d03\">setup<\/font><font color=\"#000000\">(<\/font><font color=\"#000000\">)<\/font> <font color=\"#000000\">{<\/font>\n &nbsp;<font color=\"#434f54\">&#47;&#47; initialize serial communication at 9600 bits per second:<\/font>\n &nbsp;<b><font color=\"#d35400\">Serial<\/font><\/b><font color=\"#434f54\">.<\/font><font color=\"#d35400\">begin<\/font><font color=\"#000000\">(<\/font><font color=\"#000000\">9600<\/font><font color=\"#000000\">)<\/font><font color=\"#000000\">;<\/font>\n<font color=\"#000000\">}<\/font>\n\n<font color=\"#434f54\">&#47;&#47; the loop routine runs over and over again forever:<\/font>\n<font color=\"#00979c\">void<\/font> <font color=\"#5e6d03\">loop<\/font><font color=\"#000000\">(<\/font><font color=\"#000000\">)<\/font> <font color=\"#000000\">{<\/font>\n &nbsp;<font color=\"#434f54\">&#47;&#47; read the input on analog pin 0:<\/font>\n &nbsp;<font color=\"#00979c\">int<\/font> <font color=\"#000000\">sensorValue<\/font> <font color=\"#434f54\">=<\/font> <font color=\"#d35400\">analogRead<\/font><font color=\"#000000\">(<\/font><font color=\"#000000\">A0<\/font><font color=\"#000000\">)<\/font><font color=\"#000000\">;<\/font>\n &nbsp;<font color=\"#434f54\">&#47;&#47; print out the value you read:<\/font>\n &nbsp;<b><font color=\"#d35400\">Serial<\/font><\/b><font color=\"#434f54\">.<\/font><font color=\"#d35400\">println<\/font><font color=\"#000000\">(<\/font><font color=\"#000000\">sensorValue<\/font><font color=\"#000000\">)<\/font><font color=\"#000000\">;<\/font>\n &nbsp;<font color=\"#d35400\">delay<\/font><font color=\"#000000\">(<\/font><font color=\"#000000\">100<\/font><font color=\"#000000\">)<\/font><font color=\"#000000\">;<\/font> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#434f54\">&#47;&#47; delay in between reads for stability<\/font>\n<font color=\"#000000\">}<\/font>\n\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432 &#171;\u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0435 \u043f\u043e\u0440\u0442\u0430&#187; \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0430, \u0440\u0430\u0432\u043d\u043e\u0435 \u0438\u043d\u0442\u0435\u043d\u0441\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u044f.<\/p><div class=\"mzivh6ab44933b7f05\" ><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.mzivh6ab44933b7f05 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.mzivh6ab44933b7f05 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.mzivh6ab44933b7f05 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.mzivh6ab44933b7f05 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.mzivh6ab44933b7f05 {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/\u0411\u0435\u0437-\u0438\u043c\u0435\u043d\u0438-2.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"749\" height=\"711\" src=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/\u0411\u0435\u0437-\u0438\u043c\u0435\u043d\u0438-2.jpg\" alt=\"\" class=\"wp-image-1812\" srcset=\"https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/\u0411\u0435\u0437-\u0438\u043c\u0435\u043d\u0438-2.jpg 749w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/\u0411\u0435\u0437-\u0438\u043c\u0435\u043d\u0438-2-300x285.jpg 300w, https:\/\/arduinolab.pw\/wp-content\/uploads\/2022\/08\/\u0411\u0435\u0437-\u0438\u043c\u0435\u043d\u0438-2-624x592.jpg 624w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/a><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u041c\u043e\u0434\u0443\u043b\u044c CJMCU-TEMT6000 \u0441 \u0444\u043e\u0442\u043e\u0442\u0440\u0430\u043d\u0437\u0438\u0441\u0442\u043e\u0440\u043e\u043c TEMT6000.<\/p>\n","protected":false},"author":1,"featured_media":1808,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[7],"tags":[146,104],"class_list":["post-1807","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-video","tag-temt6000","tag-datchik-osveshhennosti"],"_links":{"self":[{"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/posts\/1807","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=1807"}],"version-history":[{"count":0,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/posts\/1807\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/media\/1808"}],"wp:attachment":[{"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/media?parent=1807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/categories?post=1807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arduinolab.pw\/index.php\/wp-json\/wp\/v2\/tags?post=1807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}