{"id":1864,"date":"2023-09-01T19:15:09","date_gmt":"2023-09-01T19:15:09","guid":{"rendered":"https:\/\/domesticlight.art\/%e8%bd%af%e4%bb%b6%e6%9b%b4%e6%96%b0-2023-%e5%b9%b4-8-%e6%9c%88-12-%e6%97%a5%ef%bc%bd\/"},"modified":"2024-12-14T19:18:29","modified_gmt":"2024-12-14T19:18:29","slug":"%e8%bd%af%e4%bb%b6%e6%9b%b4%e6%96%b0-2023-%e5%b9%b4-8-%e6%9c%88-12-%e6%97%a5%ef%bc%bd","status":"publish","type":"page","link":"https:\/\/domesticlight.art\/zh-hans\/%e8%bd%af%e4%bb%b6%e6%9b%b4%e6%96%b0-2023-%e5%b9%b4-8-%e6%9c%88-12-%e6%97%a5%ef%bc%bd\/","title":{"rendered":"\u8f6f\u4ef6\u66f4\u65b0 2024 \u5e74 3 \u6708 15 \u65e5"},"content":{"rendered":"\n<p>\u8be5\u66f4\u65b0\u6dfb\u52a0\u4e86 &#8220;OTA&#8221;\uff08\u7a7a\u4e2d\u4e0b\u8f7d\uff09\u66f4\u65b0\u652f\u6301\uff0c\u56e0\u6b64\u4eca\u540e\u7684\u66f4\u65b0\u53ef\u4ee5\u901a\u8fc7\u7f51\u7edc\u6d4f\u89c8\u5668\u5b8c\u6210\uff0c\u65e0\u9700\u4f7f\u7528 Arduino IDE \u6216\u638c\u63e1\u76f8\u5173\u77e5\u8bc6\u3002 \u5176\u4ed6\u91cd\u8981\u66f4\u65b0\u5305\u62ec\u4e0e AWS IOT \u5de5\u5177\u5305\u7684\u517c\u5bb9\u6027\u66f4\u65b0\uff0c\u5927\u5927\u63d0\u9ad8\u4e86\u8fde\u63a5\u53ef\u9760\u6027\u3002  <\/p>\n\n<p>\u672c\u9875\u9762\u4ec5\u4f9b Prototype \u677f\u5347\u7ea7\u5230 1.0 \u7248\u8f6f\u4ef6\u65f6\u4f7f\u7528\u3002 \u5b89\u88c5\u6b64\u66f4\u65b0\u540e\uff0c\u4eca\u540e\u6240\u6709\u66f4\u65b0\u90fd\u5c06\u4f7f\u7528 OTA \u8fdb\u7a0b\u3002<\/p>\n\n<p class=\"has-medium-font-size\">\n          <a href=\"https:\/\/drive.google.com\/file\/d\/1XdGwy4BThisoIUX0VjQOhM3lNFkHUBnA\/view?usp=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">\n            <strong>\u4e0b\u8f7d\u5e26\u56fe\u7247\u7684 PDF \u6307\u5357<\/strong>\n          <\/a>\n        <\/p>\n\n<p>\u4f20\u611f\u5668\u8f6f\u4ef6\u4e5f\u53ef\u4ee5\u4ece <a href=\"https:\/\/github.com\/thirtysevennorth\/domesticlight_public\">\n  <strong>GitHub<\/strong>\n<\/a><\/p>\n\n<p>\u8981\u5b9e\u73b0\u8fd9\u4e00\u66f4\u65b0\uff0c\u60a8\u9700\u8981\u4f7f\u7528 <a href=\"https:\/\/www.arduino.cc\/en\/Guide\/Introduction\">\n  <strong>Arduino IDE \u8f6f\u4ef6<\/strong>\n<\/a>\u4ee5\u53ca\u6240\u9700\u7684\u5e93\u548c\u7535\u8def\u677f\u5b9a\u4e49\u3002 \u5982\u679c\u60a8\u5df2\u7ecf\u719f\u6089 Arduino\uff0c\u53ef\u4ee5\u8df3\u5230\u4e0b\u4e00\u6b65\u3002  <\/p>\n\n<p>\n          <strong>arduino \u8bbe\u7f6e\uff08\u9996\u6b21\u4f7f\u7528\uff09<\/strong>\n        <\/p>\n\n<p>\n          <strong>A)<a href=\"https:\/\/www.arduino.cc\/en\/software#future-version-of-the-arduino-ide\">\u4e0b\u8f7d\u5e76\u5b89\u88c5 Arduino IDE 2.32<\/a>\u6216\u66f4\u9ad8\u7248\u672c<\/strong>\n        <\/p>\n\n<p>\n          <strong>B) \u5b89\u88c5 ESP32S3 BOARD \u6587\u4ef6\uff1a<\/strong>\n        <\/p>\n\n<ul class=\"wp-block-list\">\n<li>1.\u6253\u5f00 Arduino IDE <\/li>\n\n\n\n<li>2.\u8f6c\u5230 &gt; \u504f\u597d\u8bbe\u7f6e &gt; \u9644\u52a0\u677f\u7ba1\u7406\u5668 URL  <\/li>\n\n\n\n<li>3. <strong>Add this URL:&nbsp;<\/strong>\n<ul class=\"wp-block-list\">\n<li>\n          <a href=\"https:\/\/raw.githubusercontent.com\/espressif\/arduino-esp32\/gh-pages\/package_esp32_dev_index.json\">https:\/\/raw.githubusercontent.com\/espressif\/arduino-esp32\/gh-pages\/package_esp32_dev_index.json<\/a>\n        <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>4.\u91cd\u542f Arduino\uff0c\u7136\u540e\u5728 Boards Manager \u4e2d\u6dfb\u52a0 Espressif Systems \u7684<strong>&#8220;esp32<\/strong>&#8220;\uff08\u5efa\u8bae\u4f7f\u7528 2.0.11 \u6216 2.0.14 \u7248\uff0c\u622a\u81f3 3 \u6708 15 \u65e5\uff0calpha 3.0.0 \u7248\u5c1a\u672a\u4e0e\u6240\u6709\u4f7f\u7528\u7684\u5e93\u517c\u5bb9\uff09\u3002<\/li>\n<\/ul>\n\n<p><strong>C) <\/strong>\u5728 MAC \u4e0a\uff0c\u6839\u636e\u63d0\u793a\u5b89\u88c5 Xcode \u547d\u4ee4\u884c\u5de5\u5177\uff08\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165 &#8220;xcode-select &#8211;install&#8221;\uff09\u3002<\/p>\n\n<p><strong>D)<\/strong>\u901a\u8fc7<strong>Arduino \u5e93\u7ba1\u7406\u5668<\/strong>\u5b89\u88c5\u8fd9\u4e9b<strong>\u5e93<\/strong>\uff1a<\/p>\n\n<ul class=\"wp-block-list\">\n<li>\n          <strong>RTClib<\/strong>\n        <\/li>\n\n\n\n<li>\n          <strong>Adafruit_AS7341<\/strong>\n        <\/li>\n\n\n\n<li><strong>pubSubClient<\/strong>\u4f5c\u8005\uff1aNick O&#8217;leary (http:\/\/knolleary.net)<\/li>\n\n\n\n<li><strong>ArduinoJson (https:\/\/arduinojson.org<\/strong>)  <\/li>\n\n\n\n<li><strong>AnalogRTClib<\/strong> <\/li>\n\n\n\n<li><strong>FastLED<\/strong>\u4f5c\u8005\uff1a\u4e39\u5c3c\u5c14-\u52a0\u897f\u4e9a<\/li>\n\n\n\n<li><strong>ESP32-OTA<\/strong>\u4f5c\u8005\uff1a<a href=\"https:\/\/github.com\/scottchiefbaker\/ESP-WebOTA\">Scott Baker <\/a> <\/li>\n<\/ul>\n\n<p>\u8981\u67e5\u627e\u5e93\uff0c\u8bf7\u8bbf\u95ee &#8220;\u5e93\u7ba1\u7406\u5668&#8221;\uff0c\u7136\u540e\u5199\u5165\u8981\u5b89\u88c5\u7684\u5e93\u7684\u540d\u79f0\u3002 \u6ce8\u610f\u4f5c\u8005\u59d3\u540d\u4e0e\u672c\u6307\u5357\u4e2d\u6807\u6ce8\u7684\u59d3\u540d\u4e00\u81f4\u3002<\/p>\n\n<p><strong>E) <\/strong>\u624b\u52a8\u6dfb\u52a0<a href=\"https:\/\/github.com\/thirtysevennorth\/domesticlight_public\/blob\/main\/MicrOSCript.zip\">MicroOSCcript<\/a>\u5e93\uff08\u6216\u6587\u4ef6\u5939\uff09\uff0c\u65b9\u6cd5\u662f1) \u4ece Domestic Light GitHUB \u4e2d\u89e3\u538b MicroOSCript.zip \u6587\u4ef6\u3002 <strong>\n  <a href=\"https:\/\/github.com\/thirtysevennorth\/domesticlight_public\">Domestic Light GitHUB <\/a>\n<\/strong>\u8f6f\u4ef6\u4e0b\u8f7d\u4e2d\u7684 MicroOSCript.zip \u6587\u4ef6\uff1b2\uff09\u5c06\u8be5\u6587\u4ef6\u5939\u4e2d\u7684 &#8220;MicroOSCript &#8220;\u6587\u4ef6\u5939\u590d\u5236\u5230 Arduino \u5e93\u6587\u4ef6\u5939\u4e2d\u3002 \u5178\u578b\u4f4d\u7f6e\u662f<strong>\u6587\u6863&gt;Arduino&gt; \u5e93<\/strong><\/p>\n\n<p><\/p>\n\n<p><\/p>\n\n<p>\n          <strong>\u66f4\u65b0\u73b0\u6709\u7535\u8def\u677f<\/strong>\n        <\/p>\n\n<p><\/p>\n\n<p>1.\u901a\u8fc7\u514b\u9686<a href=\"https:\/\/github.com\/thirtysevennorth\/domesticlight_public.git\">Domestic Light \u516c\u5171<\/a>\u8f6f\u4ef6\u6e90\u6216<a href=\"https:\/\/github.com\/thirtysevennorth\/domesticlight_public\/archive\/refs\/heads\/main.zip\"> \u4e0b\u8f7d\u538b\u7f29\u6587\u4ef6\u6765\u4e0b\u8f7d<\/a>\u8f6f\u4ef6\u6e90\uff0c\u4e0b\u8f7d\u5b8c\u6210\u540e\u89e3\u538b<a href=\"https:\/\/github.com\/thirtysevennorth\/domesticlight_public\/archive\/refs\/heads\/main.zip\"> \u6587\u4ef6<\/a>\u5e76\u5bfc\u822a\u5230 DL_client \u76ee\u5f55\u3002<\/p>\n\n<p>2.\u901a\u8fc7 USB-C \u8fde\u63a5\u4f20\u611f\u5668\u7535\u8def\u677f\u3002<\/p>\n\n<p>3.\u5728 Arduino IDE \u4e2d\u6253\u5f00\u7535\u8def\u677f\u7cfb\u5217\u7684 DL_client.ino \u6587\u4ef6\uff08100xxx \u4f7f\u7528\u6807\u6709 DL_Client_DS3231 \u7684\u6587\u4ef6\u5939\uff1b200xxx \u4f7f\u7528\u6807\u6709 DL_Client \u7684\u6587\u4ef6\u5939\uff09\u3002<\/p>\n\n<p>4.\u9009\u62e9\u6b63\u786e\u7684\u7535\u8def\u677f\/\u7aef\u53e3\uff08Unexpected Maker Feather S3\uff09\u3002<\/p>\n\n<p>5.\u6784\u5efa\u5e76\u4e0a\u4f20\u4ee3\u7801\u3002 \u786e\u4fdd\u9009\u62e9\u4e86\u6b63\u786e\u7684\u7535\u8def\u677f\/\u4e32\u884c\u7aef\u53e3*\u3002<\/p>\n\n<p>6.\u91cd\u7f6e\u6309\u94ae\uff08\u5728\u4f20\u611f\u5668\u5185\uff09\uff0c\u5e76\u901a\u8fc7\u4e32\u884c\u76d1\u89c6\u5668\u9a8c\u8bc1\u4f20\u611f\u5668\u8f93\u51fa\u3002<\/p>\n\n<p><\/p>\n\n<p>\u6ce8\u610f\uff1a\u5728\u67d0\u4e9b MAC \u548c PC \u4e0a\uff0c\u4f20\u611f\u5668\u677f\uff08ESP-32-S3\uff09\u53ef\u80fd\u4f1a\u5728\u7f16\u8bd1\u65f6\u5931\u53bb\u4e32\u884c\u8fde\u63a5\uff08\u6240\u9009\u7aef\u53e3\u6d88\u5931\uff09\uff0c\u5fc5\u987b\u5728\u7f16\u8bd1\u540e\u548c\u4e0a\u4f20\u524d\u91cd\u65b0\u9009\u62e9\uff0c\u5426\u5219\u4f1a\u751f\u6210\u4e0a\u4f20\u9519\u8bef 1 \u6216 2\u3002  <\/p>\n\n<p><\/p>\n\n<p><strong>\u89e3\u51b3\u4e0a\u8f7d\u9519\u8bef 1 \u6216 2 \u7684\u6ce8\u610f\u4e8b\u9879<\/strong> <\/p>\n\n<p>\u5f53 IDE \u4e0e\u7535\u8def\u677f\u7684\u4e32\u884c\u7aef\u53e3\u5931\u53bb\u8fde\u63a5\u6216\u4e32\u884c\u7aef\u53e3\u91cd\u65b0\u7f16\u53f7\u65f6\uff0c\u5c31\u4f1a\u53d1\u751f\u6b64\u9519\u8bef\u3002<\/p>\n\n<ul class=\"wp-block-list\">\n<li>\u786e\u8ba4\u7535\u8def\u677f\/\u4e32\u884c\u7aef\u53e3\u3002 \u5982\u6709\u9700\u8981\uff0c\u8bf7\u91cd\u65b0\u9009\u62e9\u3002<\/li>\n\n\n\n<li>Put the sensor board (ESP-32) into &#8220;boot&#8221; mode:&nbsp;\n<ul class=\"wp-block-list\">\n<li>\u6309\u4e0b &#8220;\u542f\u52a8 &#8220;\u6309\u94ae\uff08\u673a\u7bb1\u5185\u90e8\uff09<\/li>\n\n\n\n<li>\u6309\u4e0b\/\u677e\u5f00\u590d\u4f4d\u6309\u94ae<\/li>\n\n\n\n<li>\u677e\u5f00 &#8220;\u542f\u52a8 &#8220;\u6309\u94ae\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u8f6c\u5230\u6b65\u9aa4 4\uff0c\u9009\u62e9\u7aef\u53e3\/\u677f\uff0c\u7136\u540e\u9009\u62e9 &#8220;\u5176\u4ed6\u677f\u548c\u7aef\u53e3&#8221;\uff0c\u5e76\u6307\u5b9a Unexpected Maker Feather S3\uff08UM Feather S3\uff09\u3002<\/li>\n\n\n\n<li>\u5982\u679c\u7ee7\u7eed\u51fa\u73b0\u9519\u8bef 1 \u6216 2\uff0c\u8bf7\u91cd\u65b0\u542f\u52a8 IDE \u548c\/\u6216\u673a\u5668\uff0c\u7136\u540e\u91cd\u590d\u4e0a\u8ff0\u6b65\u9aa4\u3002<\/li>\n<\/ul>\n\n<p><\/p>\n\n<p><\/p>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"1067\" src=\"https:\/\/domesticlight.art\/wp-content\/uploads\/2023\/09\/DSC00385-1600x1067.jpg\" alt=\"\" class=\"wp-image-1561\" srcset=\"https:\/\/domesticlight.art\/wp-content\/uploads\/2023\/09\/DSC00385-1600x1067.jpg 1600w, https:\/\/domesticlight.art\/wp-content\/uploads\/2023\/09\/DSC00385-400x267.jpg 400w, https:\/\/domesticlight.art\/wp-content\/uploads\/2023\/09\/DSC00385-768x512.jpg 768w, https:\/\/domesticlight.art\/wp-content\/uploads\/2023\/09\/DSC00385-1536x1024.jpg 1536w, https:\/\/domesticlight.art\/wp-content\/uploads\/2023\/09\/DSC00385-2048x1365.jpg 2048w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u8be5\u66f4\u65b0\u6dfb\u52a0\u4e86 &#8220;OTA&#8221;\uff08\u7a7a\u4e2d\u4e0b\u8f7d\uff09\u66f4\u65b0\u652f\u6301\uff0c\u56e0\u6b64\u4eca\u540e\u7684\u66f4\u65b0\u53ef\u4ee5\u901a\u8fc7\u7f51\u7edc\u6d4f\u89c8\u5668\u5b8c\u6210\uff0c\u65e0 [&hellip;]<\/p>\n","protected":false},"author":42,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1864","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/domesticlight.art\/zh-hans\/wp-json\/wp\/v2\/pages\/1864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/domesticlight.art\/zh-hans\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/domesticlight.art\/zh-hans\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/domesticlight.art\/zh-hans\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/domesticlight.art\/zh-hans\/wp-json\/wp\/v2\/comments?post=1864"}],"version-history":[{"count":9,"href":"https:\/\/domesticlight.art\/zh-hans\/wp-json\/wp\/v2\/pages\/1864\/revisions"}],"predecessor-version":[{"id":2794,"href":"https:\/\/domesticlight.art\/zh-hans\/wp-json\/wp\/v2\/pages\/1864\/revisions\/2794"}],"wp:attachment":[{"href":"https:\/\/domesticlight.art\/zh-hans\/wp-json\/wp\/v2\/media?parent=1864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}