{"id":5126,"date":"2026-04-05T13:20:47","date_gmt":"2026-04-05T04:20:47","guid":{"rendered":"https:\/\/www.freelifemakers.org\/wordpress\/?p=5126"},"modified":"2026-04-05T13:35:37","modified_gmt":"2026-04-05T04:35:37","slug":"arduionesp32-temt6000-illuminance-sensor","status":"publish","type":"post","link":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/2026\/04\/05\/arduionesp32-temt6000-illuminance-sensor\/","title":{"rendered":"[Arduion]ESP32-TEMT6000(\uc870\ub3c4\uc13c\uc11c\/Illuminance sensor)"},"content":{"rendered":"\n<p>\ud83d\udc49\ud83c\udffb ESP32\ubcf4\ub4dc\uc5d0 \uc870\ub3c4\uc13c\uc11c(TEMP6000)\ub97c \uc5f0\uacb0\ud558\uace0 \ud14c\uc2a4\ud2b8\ud558\ub294 \uc124\uba85\uc785\ub2c8\ub2e4.<br>This is an explanation of connecting and testing a Illuminance sensor (TEMP6000) to an ESP32 board.<\/p>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \uc870\ub3c4\ub780 \ub2e8\uc704 \uba74\uc801\ub2f9 \ud45c\uba74\uc5d0 \ub3c4\ub2ec\ud558\ub294 \ube5b\uc758 \ubc1d\uae30\ub97c \ub098\ud0c0\ub0b4\ub294 \ubb3c\ub9ac\ub7c9\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4.<br>Illuminance refers to a physical quantity representing the brightness of light reaching a surface per unit area.<\/p>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \uc989 TEMT600\uc740 \uc8fc\uc704\ud658\uacbd\uc758 \ubc1d\uae30\ub97c \uce21\uc815\ud558\ub294 \uc13c\uc11c\uc785\ub2c8\ub2e4.<br>In other words, the TEMT600 is a sensor that measures the brightness of the surrounding environment.<\/p>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \uba3c\uc800 \uc778\ub450\uae30\ub85c \uc13c\uc11c\uc640 \ud540\uc744 \ub0a9\ub55c\ud569\ub2c8\ub2e4.<br>First, solder the sensor and pins with a soldering iron.<\/p>\n\n\n\n<p>&#8211;\ub0a9\ub55c\ud558\uae30 \uc804 \/ Before soldering<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"853\" data-id=\"5130\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/sensor-front-jpg.jpg\" alt=\"\" class=\"wp-image-5130\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/sensor-front-jpg.jpg 640w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/sensor-front-jpg-225x300.jpg 225w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/sensor-front-jpg-400x533.jpg 400w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">\uc804\uba74\/front<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"800\" data-id=\"5129\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/sensor-back-jpg.jpg\" alt=\"\" class=\"wp-image-5129\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/sensor-back-jpg.jpg 600w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/sensor-back-jpg-225x300.jpg 225w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/sensor-back-jpg-400x533.jpg 400w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">\ud6c4\uba74\/back<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p>&#8212; \ub0a9\ub55c \ud6c4(\ud540\uc758 \uae34 \ubd80\ubd84\uc774 \uc13c\uc11c \ub4b7 \ubd80\ubd84\uc5d0 \ubcf4\uc774\uac8c \ub0a9\ub594\ud569\ub2c8\ub2e4.)<br>After soldering (solder so that the long part of the pin is visible on the back of the sensor).<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"800\" data-id=\"5133\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/soldering-front.jpg\" alt=\"\" class=\"wp-image-5133\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/soldering-front.jpg 600w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/soldering-front-225x300.jpg 225w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/soldering-front-400x533.jpg 400w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">\uc804\uba74\/front<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"800\" data-id=\"5132\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/soldering-back.jpg\" alt=\"\" class=\"wp-image-5132\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/soldering-back.jpg 600w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/soldering-back-225x300.jpg 225w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/soldering-back-400x533.jpg 400w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">\ud6c4\uba74\/back<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \uacb0\uc120 \ubc29\ubc95 \/ Wiring method<\/p>\n\n\n\n<p>\u2714\ufe0f ESP32 SGV\uc5f0\uacb0 \/ ESP32 SGV connection<\/p>\n\n\n\n<p>&#8212; SGV\ubd80\ubd84\uc744 \ubcf4\ub4dc\uc758 \ud540\uacfc \uc5f0\uacb0\ud569\ub2c8\ub2e4.<br>Connect the SGV part to the pin on the board.<\/p>\n\n\n\n<p>&#8212; GPIO034\ub294 WROOM\ubcf4\ub4dc\uc5d0\uc11c D34\uc640 \uac19\uc2b5\ub2c8\ub2e4.<br>GPIO034 is the same as D34 on the WROOM board.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>S \u2192 ESP32 ADC \ud540(\uc608 GPIO34) \/ ESP32 ADC pin (e.g., GPIO34)\nG \u2192 GND\nV \u2192 3.3V<\/code><\/pre>\n\n\n\n<p>\u2714\ufe0f \uac08\uc0c9 \uc804\uc120\uc740 Sensor, \uccad\uc0c9\uc740 GND(-),\ube68\uac04\uc0c9\uc740 3.3V(+)\uc785\ub2c8\ub2e4.<br>The brown wire is the Sensor, the blue wire is GND(-), and the red wire is 3.3V(+).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"561\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-esp32.jpg\" alt=\"\" class=\"wp-image-5135\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-esp32.jpg 600w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-esp32-300x281.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-esp32-400x374.jpg 400w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">ESP32<\/figcaption><\/figure>\n\n\n\n<p>\u2714\ufe0f TEMT6000 \uc870\ub3c4\uc13c\uc11c\uc5d0\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \uc5f0\uacb0\ud569\ub2c8\ub2e4.<br>Connect the TEMT6000 light sensor as follows.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"450\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-sensor.jpg\" alt=\"\" class=\"wp-image-5137\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-sensor.jpg 600w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-sensor-300x225.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-sensor-400x300.jpg 400w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>\u2714\ufe0f\uc804\uccb4 \uacb0\uc120 \/ full wirering<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"800\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-device-full.jpg\" alt=\"\" class=\"wp-image-5139\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-device-full.jpg 600w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-device-full-225x300.jpg 225w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/breadboard-device-full-400x533.jpg 400w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>\u2714\ufe0f ADC1 ,ADC2<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A<strong>DC1<\/strong>: Wi\u2011Fi \uc0ac\uc6a9 \uc911\uc5d0\ub3c4 \uc548\uc815\uc801\uc73c\ub85c \uc77d\ud788\ub294 \ud540\uc785\ub2c8\ub2e4. <br>This is a pin that is reliably read even while using Wi-Fi.<\/li>\n\n\n\n<li><strong>ADC2<\/strong>: Wi\u2011Fi\uac00 \ucf1c\uc838 \uc788\uc73c\uba74&nbsp;\uc774 \ud540\uc740 \ub370\uc774\ud130 <strong>\uc77d\uae30\uac00 \ub9c9\ud788\uac70\ub098 \uac12\uc774 \ubd88\uc548\uc815<\/strong>\ud574\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br>If Wi-Fi is turned on, data reading from this PIN may be blocked or the value may become unstable.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>ESP32(DevKit \uae30\uc900)\uc5d0\uc11c\/On ESP32 (DevKit):\n\nADC1 \ud540: GPIO32, 33, 34, 35, 36, 39\nADC2 \ud540: GPIO0, 2, 4, 12, 13, 14, 15, 25, 26, 27<\/code><\/pre>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \ucf54\ub4dc \uc5c5\ub85c\ub4dc \/ Upload Code<\/p>\n\n\n\n<p>\u2714\ufe0f \ub2e4\uc74c \ucf54\ub4dc\ub97c ESP32\ubcf4\ub4dc\uc5d0 \uc5c5\ub85c\ub4dc \ud569\ub2c8\ub2e4.<br>Upload the following code to the ESP32 board.<\/p>\n\n\n\n<p>\u2714\ufe0f \ubaa8\ub4e0 \uc124\uc815\uc740 \uc774\uc804\uacfc \ub3d9\uc77c\ud569\ub2c8\ub2e4.<br>All settings are the same as before.<\/p>\n\n\n\n<p>\u2714\ufe0f \ucf54\ub4dc\uac00 \uc5c5\ub85c\ub4dc\ub418\uc9c0 \uc54a\uac70\ub098 \uc5c5\ub85c\ub4dc\uac00 \uc911\uc9c0\ub418\ub294\uacbd\uc6b0 \uc804\uccb4 \uc2dc\uc2a4\ud15c\uc744 \uc7ac\ubd80\ud305\ud574\ubcf4\uc138\uc694<br>If the code does not upload or the upload stops, try rebooting the entire system.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const int sensorPin = 34; \/\/ GPIO34 (ADC1)\n\nvoid setup() {\n  Serial.begin(115200);\n}\n\nvoid loop() {\n  int value = analogRead(sensorPin); \/\/ 0~4095\n  Serial.println(value);\n  delay(500);\n}\n<\/code><\/pre>\n\n\n\n<p>\u2714\ufe0f \uc5c5\ub85c\ub4dc\uac00 \uc644\ub8cc\ub418\uace0 \ub098\uc11c \uc13c\uc11c\uc5d0 \ubd88\ube5b\uc744 \ube44\ucd94\uba74 \uc774\ub807\uac8c \uac12\uc774 \ud655\uc778\ub418\ub294\uac83\uc744 \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br>Once the upload is complete, if you shine a light on the sensor, you can see the value confirmed like this.<\/p>\n\n\n\n<p>\u2714\ufe0f \uc800\uc758 \uacbd\uc6b0\ub294 \uc8fc\uc704 \ud658\uacbd\uc774 \uc5b4\ub450\uc6cc\uc11c \uae30\ubcf8\uac12\uc774 0\uc73c\ub85c \ud45c\uc2dc\ub429\ub2c8\ub2e4.<br>In my case, the surrounding environment is dark, so the default value is displayed as 0.<\/p>\n\n\n\n<p>\u2714\ufe0f \uc22b\uc790\ub85c \ucc0d\ud788\ub294 \uac12\uc740 ADC\uc6d0\uc2dc \uac12\uc73c\ub85c ADC\ub294 0~3.3V\ub97c \uce21\uc815\ud574\uc11c \uadf8\uac78 12\ube44\ud2b8(<strong>2\u00b9\u00b2 = 4096&nbsp;<\/strong>)\ub85c \ub098\ub220\uc11c 0~4095 \uc22b\uc790\ub85c \ud45c\ud604\ub418\ub294 \uac12\uc785\ub2c8\ub2e4.<br>The numerical value displayed is the raw ADC value. The ADC measures 0 to 3.3V and divides it into 12 bits(<strong>2\u00b9\u00b2 = 4096&nbsp;<\/strong>) to represent a value ranging from 0 to 4095.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"629\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/temp6000-serialmonitor-1024x629.png\" alt=\"\" class=\"wp-image-5141\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/temp6000-serialmonitor-1024x629.png 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/temp6000-serialmonitor-300x184.png 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/temp6000-serialmonitor-768x472.png 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/temp6000-serialmonitor-400x246.png 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/temp6000-serialmonitor-800x491.png 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/04\/temp6000-serialmonitor.png 1420w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udc49\ud83c\udffb ESP32\ubcf4\ub4dc\uc5d0 \uc870\ub3c4\uc13c\uc11c(TEMP6000)\ub97c \uc5f0\uacb0\ud558\uace0 \ud14c\uc2a4\ud2b8\ud558\ub294 \uc124\uba85\uc785\ub2c8\ub2e4.This is an explanation of connecting and testing a Illuminance sensor (TEMP6000) to an ESP32 board. \ud83d\udc49\ud83c\udffb \uc870\ub3c4\ub780 \ub2e8\uc704 \uba74\uc801\ub2f9 \ud45c\uba74\uc5d0 \ub3c4\ub2ec\ud558\ub294 \ube5b\uc758 \ubc1d\uae30\ub97c \ub098\ud0c0\ub0b4\ub294 \ubb3c\ub9ac\ub7c9\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4.Illuminance refers to a physical quantity representing the brightness of light reaching a surface per unit area. \ud83d\udc49\ud83c\udffb \uc989 TEMT600\uc740 \uc8fc\uc704\ud658\uacbd\uc758 \ubc1d\uae30\ub97c \uce21\uc815\ud558\ub294 \uc13c\uc11c\uc785\ub2c8\ub2e4.In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,1],"tags":[],"class_list":["post-5126","post","type-post","status-publish","format-standard","hentry","category-arduino","category-uncategorized","missing-thumbnail"],"_links":{"self":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/5126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=5126"}],"version-history":[{"count":9,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/5126\/revisions"}],"predecessor-version":[{"id":5143,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/5126\/revisions\/5143"}],"wp:attachment":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=5126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=5126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=5126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}