{"id":21467,"date":"2024-04-25T14:50:38","date_gmt":"2024-04-25T06:50:38","guid":{"rendered":"https:\/\/www.circuspi.com\/?p=21467"},"modified":"2024-04-26T15:14:43","modified_gmt":"2024-04-26T07:14:43","slug":"no_code_iot","status":"publish","type":"post","link":"https:\/\/www.circuspi.com\/index.php\/2024\/04\/25\/no_code_iot\/","title":{"rendered":"\u4e0d\u5beb\u7a0b\u5f0f\u505a\u7269\u806f\u7db2 \uff0d Adafruit.io WipperSnapper"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"526\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1000x526_2.jpg\" alt=\"\" class=\"wp-image-21499\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Adafruit.io WipperSnapper<\/h2>\n\n\n\n<p>\u4e0d\u5beb\u7a0b\u5f0f\u505a\u7269\u806f\u7db2\u5c08\u6848\u5481\u6709\u53ef\u80fd\uff01\uff1f<a href=\"http:\/\/Adafruit.io\" target=\"_blank\" rel=\"noreferrer noopener\">Adafruit.io<\/a> WipperSnapper \u662f\u4e00\u7a2e\u7269\u806f\u7db2\uff08IoT\uff09\u5de5\u5177\uff0c\u5c08\u70ba\u521d\u5b78\u8005\u8a2d\u8a08\uff0c\u4f7f\u4ed6\u5011\u53ef\u4ee5\u5728\u4e0d\u7de8\u5beb\u7a0b\u5f0f\u78bc\u7684\u60c5\u6cc1\u4e0b\u5efa\u7acb\u7269\u806f\u7db2\u5c08\u6848\u3002\u9019\u500b\u5de5\u5177\u8b93\u4f60\u53ef\u4ee5\u9023\u63a5\u548c\u63a7\u5236\u5404\u7a2e\u611f\u6e2c\u5668\uff0c\u4e26\u5c07\u6578\u64da\u8f15\u9b06\u4e0a\u50b3\u5230\u96f2\u7aef\uff0c\u4ee5\u4fbf\u5728\u4efb\u4f55\u5730\u65b9\u9032\u884c\u89c0\u5bdf\u548c\u5206\u6790\u3002\u7121\u8ad6\u4f60\u662f\u60f3\u5efa\u7acb\u4e00\u500b\u667a\u6167\u5bb6\u5c45\u7cfb\u7d71\uff0c\u9084\u662f\u53ea\u662f\u60f3\u8ffd\u8e64\u6eab\u5ea6\u6216\u6fd5\u5ea6\uff0cAdafruit.io WipperSnapper \u90fd\u63d0\u4f9b\u4e86\u4e00\u500b\u7c21\u55ae\u6613\u7528\u7684\u89e3\u6c7a\u65b9\u6848\u3002\u9019\u7bc7\u6587\u7ae0\u5be6\u969b\u64cd\u4f5c\u5728\u4e0d\u5beb\u4efb\u4f55\u7a0b\u5f0f\u78bc\u7684\u60c5\u6cc1\u4e0b\uff0c\u4ecb\u7d39\u4f7f\u7528 Adafruit.io WipperSnapper \u5b8c\u6210\u7269\u806f\u7db2\u5c08\u6848\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2000\" height=\"896\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-bSKEFGrGuHltmsWqLqzRyw.webp\" alt=\"\" class=\"wp-image-21468\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u786c\u9ad4\u63a5\u7dda Hardware<\/h2>\n\n\n\n<p>WipperSnapper \u652f\u63f4\u591a\u6578 ESP32 \u70ba\u6838\u5fc3\u7684\u958b\u767c\u677f\uff0c\u5176\u5927\u591a\u90fd\u662f adafruit \u81ea\u884c\u8a2d\u8a08\u751f\u7522\u7684\uff0c\u9019\u4e5f\u90fd\u76f8\u7576\u5408\u7406\uff0c\u7562\u7adf\u80a5\u6c34\u4e0d\u843d\u5916\u4eba\u7530\u3002\u9664\u4e86 ESP32 \u4e4b\u5916\u4e5f\u652f\u63f4\u6a39\u8393\u6d3e\u7684 Pico W\uff0c\u56e0\u6b64\u672c\u7bc7\u5c07\u4f7f\u7528 Pico \u642d\u914d\u64f4\u5145\u677f\u8207\u611f\u6e2c\u5668\u9032\u884c\u5be6\u4f5c\uff0c\u5b8c\u6574\u6750\u6599\u6e05\u55ae\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul>\n<li><a href=\"https:\/\/www.icshop.com.tw\/products\/368030501795\" target=\"_blank\" rel=\"noreferrer noopener\">Raspberry Pi Pico W<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.icshop.com.tw\/products\/368030501871\" target=\"_blank\" rel=\"noreferrer noopener\">Raspberry Pi Pico GPIO \u64f4\u5c55\u677f<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.icshop.com.tw\/products\/368112100026\" target=\"_blank\" rel=\"noreferrer noopener\">SHT3x (SHT30) \u6eab\u6fd5\u5ea6\u611f\u6e2c\u5668<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.icshop.com.tw\/products\/368112100027\" target=\"_blank\" rel=\"noreferrer noopener\">SGP30 VOC &amp; eCO2 \u611f\u6e2c\u5668<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.icshop.com.tw\/products\/368112100107\" target=\"_blank\" rel=\"noreferrer noopener\">\u7e7c\u96fb\u5668\u6a21\u7d44<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.icshop.com.tw\/products\/368110700029\" target=\"_blank\" rel=\"noreferrer noopener\">Grove &#8211; \u6bcd\u675c\u90a6 \u7dda\u6750<\/a><\/li>\n<\/ul>\n\n\n\n<p>\u4e0a\u8ff0\u7684\u5169\u7a2e\u611f\u6e2c\u5668\uff0cSHT3x (SHT30) \u6eab\u6fd5\u5ea6\u611f\u6e2c\u5668\u548c SGP30 VOC &amp; eCO2 \u611f\u6e2c\u5668\uff0c\u90fd\u662f\u4f7f\u7528 I2C \u4ecb\u9762\u3002\u56e0\u6b64\uff0c\u5b83\u5011\u7684 SDA (\u8cc7\u6599\u7dda) \u548c SCL (\u6642\u8108\u7dda) \u9700\u8981\u9023\u63a5\u5230 PICO W \u7684\u5c0d\u61c9 I2C \u4ecb\u9762\u4e0a\u3002PICO W \u9810\u8a2d\u5f15\u89d2 SDA \u70ba GP4\u3001SCL \u70ba GP5\uff0c\u6b78\u7d0d\u9023\u63a5\u65b9\u5f0f\u5982\u4e0b\u8868\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><\/th><th>PICO W<\/th><th>SHT3x<\/th><th>SGP30<\/th><th>Relay Module<\/th><\/tr><\/thead><tbody><tr><td>SDA<\/td><td>GP4<\/td><td>SDA (\u767d)<\/td><td>SDA (\u767d)<\/td><td><\/td><\/tr><tr><td>SCL<\/td><td>GP5<\/td><td>SCL (\u9ec3)<\/td><td>SCL (\u9ec3)<\/td><td><\/td><\/tr><tr><td>3.3V<\/td><td>VCC<\/td><td>V (\u7d05)<\/td><td>V (\u7d05)<\/td><td>V (\u7d05)<\/td><\/tr><tr><td>0V<\/td><td>GND<\/td><td>G (\u9ed1)<\/td><td>G (\u9ed1)<\/td><td>G (\u9ed1)<\/td><\/tr><tr><td>PIN<\/td><td>GP15<\/td><td><\/td><td><\/td><td>S (\u9ec3)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u4f7f\u7528 GPIO \u64f4\u5c55\u677f\u53ef\u4ee5\u66f4\u65b9\u4fbf\u9023\u63a5\u5468\u908a\u5404\u6a21\u7d44\uff0c\u9996\u5148\u9700\u8981\u5c07\u5b83\u8207 Raspberry Pi Pico \u6b63\u78ba\u5730\u9023\u63a5\u8d77\u4f86\u3002\u63a5\u8457\uff0c\u5c07 SHT3x \u548c SGP30 \u611f\u6e2c\u5668\u4ee5\u53ca\u7e7c\u96fb\u5668\u6a21\u7d44\u9023\u63a5\u5230\u64f4\u5c55\u677f\u7684\u5c0d\u61c9\u4f4d\u7f6e\u3002\u78ba\u4fdd\u6240\u6709\u63a5\u7dda\u90fd\u6b63\u78ba\u7121\u8aa4\u5f8c\uff0c\u5c31\u53ef\u4ee5\u958b\u59cb\u8a2d\u5b9a\u548c\u4f7f\u7528\u9019\u4e9b\u786c\u9ad4\u8a2d\u5099\u4e86\uff0c\u5b8c\u6210\u5f8c\u63a5\u7dda\u5f8c\u7684\u5be6\u9ad4\u5982\u4e0b\u5716\u6240\u793a\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"590\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-w18Q5KhJMFkDkleK7WOUAA.webp\" alt=\"\" class=\"wp-image-21469\" style=\"object-fit:cover;width:800px;height:600px\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u71d2\u9304\u97cc\u9ad4 Burning Firmware<\/h2>\n\n\n\n<p>STEP 1: \u8a3b\u518a\u4e26\u767b\u5165 <a href=\"https:\/\/io.adafruit.com\/\">adafruit io<\/a> \u5f8c\uff0c\u53ef\u4ee5\u5728\u53f3\u4e0a\u627e\u5230\u4e00\u500b\u540d\u70ba \u201cNew Device\u201d \u7684\u6309\u9215\uff0c\u9ede\u9078\u5176\u9032\u884c\u65b0\u589e WipperSnapper \u8a2d\u5099\u3002\u5728\u641c\u5c0b\u6b04\u8f38\u5165 \u201cpico w\u201d \u627e\u5230\u5f8c\u9ede\u9078 &#8220;Choose Board&#8221; \u6309\u9215\u9032\u884c\u65b0\u589e\u8a2d\u5099\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2000\" height=\"974\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-kyttLPdsznrdr9ATo9Ub7g.webp\" alt=\"\" class=\"wp-image-21470\" style=\"width:600px;height:auto\"\/><\/figure>\n\n\n\n<p>STEP 2: \u6e96\u5099\u4e00\u689d micro USB \u50b3\u8f38\u7dda\u9023\u63a5\u96fb\u8166\u8207 Pico W\uff0c\u7531\u65bc Pico W \u6c92\u6709\u96fb\u6e90\u6307\u793a\u71c8\uff0c\u4e0d\u7528\u64d4\u5fc3\u6c92\u6709\u986f\u793a\u4efb\u4f55\u71c8\u865f\u7684\u72c0\u614b\u662f\u5426\u70ba\u7570\u5e38\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"477\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-AUjrleW_KoFgPD_8KDJ4ew.webp\" alt=\"\" class=\"wp-image-21471\" style=\"width:597px;height:auto\"\/><\/figure>\n\n\n\n<p>STEP 3: \u9019\u908a\u63d0\u9192\u5982\u679c\u6709\u4e4b\u524d\u4f7f\u7528\u7684\u7a0b\u5f0f\u53ef\u4ee5\u5148\u9032\u884c\u5099\u5206\uff0c\u82e5\u7121\u5247\u53ef\u4ee5\u7565\u904e\u6b64\u6b65\u9a5f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"490\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-IU8r-HrWJ3pBhfQ-i9_ETA.webp\" alt=\"\" class=\"wp-image-21472\" style=\"width:600px\"\/><\/figure>\n\n\n\n<p>STEP 4: \u9ede\u9078\u4e0b\u65b9 \u201cDownload WipperSnapper\u201d \u6309\u9215\u4e0b\u8f09\u97cc\u9ad4\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"475\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-ujt4GNxVY2r5kKTjrWLM-A.webp\" alt=\"\" class=\"wp-image-21473\" style=\"width:600px\"\/><\/figure>\n\n\n\n<p>STEP 5: \u6309\u58d3 Pico W \u4e0a\u65b9\u7684 \u201cBOOTSEL\u201d \u6309\u9215\u4e0d\u653e\uff0c\u518d\u6309\u58d3 GPIO \u64f4\u5c55\u677f\u4e0a\u7684 \u201dRUN\u201d \u6309\u9215\u5c07\u5176 Reset \u9032\u5165\u71d2\u9304\u6a21\u5f0f\u3002\uff08\u82e5\u7121\u4f7f\u7528 GPIO \u64f4\u5c55\u677f\u5247\u9700\u79fb\u9664\u96fb\u6e90\u5f8c\u91cd\u65b0\u63d2\u5165\u4f86\u9032\u884c Reset\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"562\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-rb53sf1AgxSAgGLS_1KCDQ.webp\" alt=\"\" class=\"wp-image-21474\" style=\"width:600px\"\/><\/figure>\n\n\n\n<p>STEP 6: \u63a5\u8457\u5c07\u525b\u4e0b\u8f09\u5b8c\u6210\u7684 WipperSnapper \u97cc\u9ad4\u5728\u6a94\u6848\u7e3d\u7ba1\u7528\u62d6\u62c9\u7684\u65b9\u5f0f\u62c9\u5230\u540d\u70ba \u201cRPI-RP2\u201d \u7684\u5378\u9664\u5f0f\u78c1\u789f\uff0cPico W \u5c07\u6703\u81ea\u52d5\u9032\u884c\u71d2\u9304\u3002\u5b8c\u6210\u71d2\u9304\u5f8c Pico W \u6703\u81ea\u884c\u91cd\u65b0\u555f\u52d5\uff0c\u6b64\u6642\u5378\u9664\u5f0f\u78c1\u789f\u540d\u7a31\u5df2\u8f49\u70ba &#8220;WIPPER\u201d \u4ee3\u8868\u97cc\u9ad4\u5df2\u6210\u529f\u71d2\u9304\u3002<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"519\" role=\"presentation\" class=\"bg nk nl c\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:764\/1*APgtGgGDs0Art7zNShkQ3w.png\" alt=\"\"><\/p>\n\n\n\n<p>STEP 7: \u8a2d\u5b9a\u9023\u7dda\u8cc7\u8a0a\uff0c\u65bc\u5c0d\u61c9\u6b04\u4f4d\u586b\u5165\u8981\u8b93 Pico W \u9023\u7dda\u7684 WiFi SSID \u540d\u7a31\u8207 Password\uff0c\u5b8c\u6210\u5f8c\u9ede\u9078 \u201cGenerate Secrets File\u201d \u6309\u9215\uff0c\u700f\u89bd\u5668\u6703\u958b\u59cb\u4e0b\u8f09\u4e00\u500b\u540d\u70ba &#8220;secrets.json\u201d \u7684\u6a94\u6848\uff0c\u88e1\u9762\u5305\u542b WiFi \u8207 Adafruit IO \u7269\u806f\u7db2\u5e73\u53f0\u7684\u9023\u7dda\u53c3\u6578\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"490\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-R92s44fMDic3aoGTRwhrIA.webp\" alt=\"\" class=\"wp-image-21475\" style=\"width:600px\"\/><\/figure>\n\n\n\n<p>STEP 8: \u5c07 \u201csecrets.json\u201d \u8907\u88fd\u5230 &#8220;WIPPER\u201d \u5378\u9664\u5f0f\u78c1\u789f\uff0c\u5b8c\u6210\u5f8c\u518d\u5c07 Pico W \u91cd\u958b\u6a5f\u4e00\u6b21\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2000\" height=\"1382\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-fWArJAasxQgNLtDJJjJ3-Q.webp\" alt=\"\" class=\"wp-image-21476\" style=\"width:600px\"\/><\/figure>\n\n\n\n<p>STEP 9: \u91cd\u958b\u6a5f\u5f8c Pico W \u6703\u8b80\u53d6\u9023\u7dda\u8a2d\u5b9a\u81ea\u52d5\u9023\u7dda\u5230 Adafruit IO \u5e73\u53f0\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"474\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-qJVB9TXHU3lygghVt2XJsw.webp\" alt=\"\" class=\"wp-image-21477\" style=\"width:600px\"\/><\/figure>\n\n\n\n<p>\u7d04\u83ab\u5169\uff5e\u4e09\u5206\u9418\u53ef\u4ee5\u770b\u5230\u53f3\u4e0b\u89d2\u5192\u51fa\u500b\u63d0\u793a\u8a0a\u606f\uff0c\u986f\u793a\u6709\u5fc3\u7684\u88dd\u7f6e\u9023\u7dda\u5230\u81ea\u5df1\u7684 adafruit IO \u5f8c\u53f0\uff0c\u9ede\u9078\u5176\u53ef\u65b0\u589e\u88dd\u7f6e\u5230\u5e73\u53f0\u4e0a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"177\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-YNQS0y-DtOhEVLaaBTigVw.webp\" alt=\"\" class=\"wp-image-21478\" style=\"width:281px;height:auto\"\/><\/figure>\n\n\n\n<p>\u8f38\u5165\u81ea\u884c\u547d\u540d\u7684\u88dd\u7f6e\u540d\u7a31\uff0c\u9ede\u9078 \u201cContinue to Device Page\u201d \u4f86\u7ba1\u7406\u88dd\u7f6e\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"731\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-L3scsUSz6MGrWISPenIFTg.webp\" alt=\"\" class=\"wp-image-21479\" style=\"width:461px;height:auto\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8a2d\u5b9a\u611f\u6e2c\u5668 Setup Sensors<\/h2>\n\n\n\n<p>STEP 1\uff1a\u9032\u5165\u88dd\u7f6e\u8a2d\u5b9a\u9801\u9762\uff0c\u9ede\u9078\u525b\u525b\u65b0\u589e\u7684 Pico W\uff0c\u9996\u5148\uff0c\u6253\u958b\u60a8\u7684\u8a2d\u5099\u9801\u9762\uff0c\u4e26\u5728\u9802\u90e8\u9078\u64c7 \u201cNew Component\u201d \u9078\u9805\u6216\u662f\u53f3\u5074 &#8220;+&#8221; \u7b26\u865f\uff0c\u4f86\u6dfb\u52a0\u65b0\u7684\u611f\u6e2c\u5668\u6216\u5176\u4ed6\u5143\u4ef6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"421\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-4q4ZehMPMe2DWQb0Gk03pQ.webp\" alt=\"\" class=\"wp-image-21481\" style=\"width:800px\"\/><\/figure>\n\n\n\n<p>STEP 2\uff1a \u9ede\u9078\u4e0a\u65b9 &#8220;I2C Scan\u201d \u53ef\u4ee5\u5217\u51fa\u76ee\u524d Pico W \u5075\u6e2c\u5230\u7684 I2C \u6a21\u7d44\u6709\u54ea\u4e9b\uff0c\u7b46\u8005\u7684\u7d50\u679c\u5982\u4e0b\u5716\u6240\u793a\uff0c\u5075\u6e2c\u5230 0x44 (SHT30) \u8207 0x58 (SGP30)\u3002\u82e5\u6240\u9023\u63a5\u7684\u611f\u6e2c\u5668\u6c92\u51fa\u73fe\u5728\u6b64\u8868\u683c\u4e0a\uff0c\u53ef\u4ee5\u91cd\u65b0\u6aa2\u67e5\u786c\u9ad4\u63a5\u7dda\u6216\u662f\u96fb\u6e90\u4f9b\u61c9\u662f\u5426\u6b63\u78ba\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"514\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-MDBSA9My6S6naUCqrrWSRw.webp\" alt=\"\" class=\"wp-image-21482\" style=\"width:480px\"\/><\/figure>\n\n\n\n<p>STEP 3\uff1a\u5f48\u51fa\u5c0d\u8a71\u6846\u4e2d\u5217\u51fa\u6240\u6709\u53ef\u7528\u7684\u611f\u6e2c\u5668\u548c\u5143\u4ef6\uff0c\u4ee5\u672c\u7bc7\u5be6\u4f5c\u4f86\u8aaa\uff0c\u6211\u5011\u5c07\u4f9d\u5e8f\u65b0\u589e SHT3x \u6eab\u6fd5\u5ea6\u611f\u6e2c\u5668\u3001 SGP30 VOC &amp; eCO2 \u611f\u6e2c\u5668\u8207\u7e7c\u96fb\u5668\u6a21\u7d44\u3002\u53ef\u65bc\u4e0a\u65b9\u641c\u5c0b\u6b04\u76f4\u63a5\u8f38\u5165&#8221; SHT3&#8243; \u627e\u5230 SHT3X \u6a21\u7d44\u9ede\u9078\u65b0\u589e\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"705\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-PY-aqCYNRfn92kWOGkiwLg.webp\" alt=\"\" class=\"wp-image-21483\" style=\"width:480px\"\/><\/figure>\n\n\n\n<p>STEP 4\uff1a\u8a2d\u5b9a\u611f\u6e2c\u5668\u7684\u53c3\u6578\uff0c\u9019\u5305\u62ec\u4e86\u8a2d\u5b9a\u6a21\u7d44 I2C \u532f\u6d41\u6392\u4f4d\u5740\u3001\u8981\u4e0a\u50b3\u7684\u611f\u6e2c\u6578\u503c\u3001\u4e0a\u50b3\u9593\u9694\u7b49\u8cc7\u8a0a\u3002\u4ee5\u7b46\u8005\u7684\u8a2d\u5b9a\u4f86\u8aaa\u53d6\u6d88\u4e86\u4e26\u4e0d\u5e38\u7528\u7684\u83ef\u6c0f\u6eab\u5ea6\uff0c\u4e26\u4e14\u5c07\u4e0a\u50b3\u8cc7\u6599\u9593\u9694\u6539\u70ba\u6bcf\u4e00\u5206\u9418\u4e00\u6b21\u3002\u9ede\u9078 &#8220;Create Component\u201d \u5b8c\u6210\u65b0\u589e\u6a21\u7d44\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"676\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-R9N_0D_skMQ7GNNvDaxCbg.webp\" alt=\"\" class=\"wp-image-21484\" style=\"width:480px\"\/><\/figure>\n\n\n\n<p>STEP 5\uff1a\u63a5\u8457\u518d\u4f9d\u5e8f\u65b0\u589e SGP30 \u8207\u7e7c\u96fb\u5668\u6a21\u7d44\uff0c\u5c07\u9019\u4e9b\u5143\u4ef6\u52a0\u5165\u5230 Pico W \u88dd\u7f6e\u4e2d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"650\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-gw25bItH7LZRUD30Dtsklw.webp\" alt=\"\" class=\"wp-image-21485\" style=\"width:480px\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"404\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-ARSdGTVg97w4VvMOAlWFvg.webp\" alt=\"\" class=\"wp-image-21486\" style=\"width:480px\"\/><\/figure>\n\n\n\n<p>STEP 6\uff1a\u6700\u5f8c\uff0c\u5728\u8a2d\u5099\u9801\u9762\u53ef\u4ee5\u770b\u5230\u6240\u6709\u5df2\u9023\u63a5\u611f\u6e2c\u5668\u7684\u72c0\u614b\u548c\u6578\u64da\uff0c\u9664\u4e86\u80fd\u5373\u6642\u67e5\u770b\u6bcf\u500b\u611f\u6e2c\u5668\u7684\u8b80\u6578\uff0c\u4e26\u5728\u9700\u8981\u7684\u6642\u5019\u96a8\u6642\u4fee\u6539\u611f\u6e2c\u5668\u7684\u8a2d\u5b9a\uff0c\u4ee5\u7b26\u5408\u5be6\u969b\u4f7f\u7528\u9700\u6c42\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"549\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-wOy7i9lxlCMDyQo_H91L3Q.webp\" alt=\"\" class=\"wp-image-21487\" style=\"width:600px\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u88fd\u4f5c\u5100\u9336\u677f Build Dashboard<\/h2>\n\n\n\n<p>STEP 1\uff1a\u5728 Adafruit IO \u4e3b\u9801\u9762\uff0c\u9ede\u9078 &#8220;Dashboards&#8221;\uff0c\u7136\u5f8c\u9078\u64c7 &#8220;New Dashboard&#8221;\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"224\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-ttT9HUsA5zdxHipCMCwXmQ.webp\" alt=\"\" class=\"wp-image-21488\" style=\"width:800px\"\/><\/figure>\n\n\n\n<p>STEP 2\uff1a\u70ba\u5100\u9336\u677f\u547d\u540d\uff0c\u4e26\u63d0\u4f9b\u63cf\u8ff0\uff08\u975e\u5fc5\u8981\uff09\u3002\u5b8c\u6210\u5f8c\uff0c\u9ede\u9078 &#8220;Create&#8221;\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"494\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-nf0BNBcCRjxMZI9ZLQBnIg.webp\" alt=\"\" class=\"wp-image-21489\" style=\"width:480px\"\/><\/figure>\n\n\n\n<p>STEP 3\uff1a\u91cd\u5c0e\u5411\u81f3\u65b0\u7684\u5100\u9336\u677f\u9801\u9762\uff0c\u9ede\u9078\u53f3\u5074\u9f52\u8f2a\u6309\u9215\uff0c\u518d\u9ede\u9078\u4e0b\u62c9\u5f0f\u9078\u55ae\u4e2d\u7684 &#8220;\uff0b Create New Block&#8221; \u6309\u9215\u958b\u59cb\u6dfb\u52a0\u5143\u4ef6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"1054\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-OZqi749JPceRXn8WEI9X_A.webp\" alt=\"\" class=\"wp-image-21490\" style=\"width:360px\"\/><\/figure>\n\n\n\n<p>STEP 4\uff1a\u9078\u64c7\u8981\u6dfb\u52a0\u7684\u5143\u4ef6\u985e\u578b\uff0c\u4f8b\u5982\u65b9\u584a\u3001\u5716\u8868\u6216\u6587\u5b57\u6846\u3002\u5e38\u7528\u7684\u6709\u6ed1\u52d5\u6309\u9215\uff08Toggle\uff0c\u7528\u4f86\u63a7\u5236\u958b\u95dc\uff09\u3001\u74b0\u5f62\u8a08\u91cf\u8868\uff08Gauge\uff0c\u7528\u4f86\u986f\u793a\u6578\u503c\uff09\u3001\u8da8\u52e2\u5716\uff08Line Chart\uff0c\u7528\u4f86\u986f\u793a\u9577\u6642\u9593\u6578\u503c\u8b8a\u5316\uff09\u7b49\u3002\u9019\u908a\u7b46\u8005\u5148\u9078\u64c7\u7b2c\u4e00\u500b\u6ed1\u52d5\u958b\u95dc\uff08Toggle\uff09\u4f86\u5c0d\u61c9\u6240\u8981\u63a7\u5236\u7684\u7e7c\u96fb\u5668\u6a21\u7d44\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"909\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-CB_Sbh_Do0SYnBoLjcOEhw.webp\" alt=\"\" class=\"wp-image-21491\" style=\"width:480px\"\/><\/figure>\n\n\n\n<p>STEP 5\uff1a\u9078\u64c7\u5c0d\u61c9\u7684\u6578\u64da\u6e90\uff08Feed\uff09\u3002\uff0c\u7136\u5f8c\u914d\u7f6e\u5176\u4ed6\u9078\u9805\uff0c\u5982\u5143\u4ef6\u7684\u5c3a\u5bf8\u548c\u984f\u8272\u3002\u5b8c\u6210\u5f8c\uff0c\u9ede\u9078 &#8220;Create&#8221;\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"823\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-yreEr68nGlc5nYeioUQOjg.webp\" alt=\"\" class=\"wp-image-21492\" style=\"width:480px\"\/><\/figure>\n\n\n\n<p>STEP 6\uff1a\u914d\u7f6e\u5c0d\u61c9\u9078\u9805\uff0c\u53c3\u6578\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul>\n<li>Block Title: \u5143\u4ef6\u540d\u7a31<\/li>\n\n\n\n<li>Button On Text: \u958b\u95dc\u6253\u958b\u6642\u986f\u5f0f\u7684\u6587\u5b57<\/li>\n\n\n\n<li>Button On Value: \u958b\u95dc\u6253\u958b\u6642\u8981\u5c0d\u6578\u64da\u6e90\u5beb\u5165\u7684\u6578\u503c\uff0c\u7b46\u8005\u5c07\u5176\u6539\u70ba \u201d1\u201d\u3002<\/li>\n\n\n\n<li>Button Off Text: \u958b\u95dc\u95dc\u9589\u6642\u986f\u5f0f\u7684\u6587\u5b57<\/li>\n\n\n\n<li>Button Off Value: \u958b\u95dc\u95dc\u9589\u6642\u8981\u5c0d\u6578\u64da\u6e90\u5beb\u5165\u7684\u6578\u503c\uff0c\u7b46\u8005\u5c07\u5176\u6539\u70ba \u201d0\u201d\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u8a2d\u5b9a\u5b8c\u6210\u9ede\u9078 \u201cUpdate block\u201d \u5373\u53ef\u5728\u5100\u8868\u677f\u4e2d\u9060\u7aef\u63a7\u5236\u7e7c\u96fb\u5668\u6a21\u7d44\u4e86\uff01<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"914\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-GLxAlZP3LTAABhkyqAkppA.webp\" alt=\"\" class=\"wp-image-21493\" style=\"width:480px\"\/><\/figure>\n\n\n\n<p>STEP 7\uff1a\u9078\u64c7 Gauge \u5c0d\u61c9\u6eab\u5ea6\u3001\u6fd5\u5ea6\u3001VOC\u7b49\u5404\u7a2e\u611f\u6e2c\u6578\u503c\uff0c\u5e38\u8a2d\u5b9a\u7684\u53c3\u6578\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul>\n<li>Block Title: \u986f\u793a\u540d\u7a31<\/li>\n\n\n\n<li>Gauge Mini Value: \u6700\u5c0f\u6578\u503c\uff0c\u53ef\u4ee5\u4f9d\u64da\u611f\u6e2c\u5668\u7bc4\u570d\u8abf\u6574<\/li>\n\n\n\n<li>Gauge Max Value: \u6700\u5927\u6578\u503c\uff0c\u53ef\u4ee5\u4f9d\u64da\u611f\u6e2c\u5668\u7bc4\u570d\u8abf\u6574<\/li>\n\n\n\n<li>Gauge Width: \u8a08\u91cf\u689d\u7684\u5bec\u5ea6\uff0c\u4fdd\u503c\u9810\u8a2d 25px \u5373\u53ef<\/li>\n\n\n\n<li>Gauge Label: \u986f\u793a\u65bc\u4e2d\u9593\u7684\u6a19\u7c64\uff0c\u901a\u5e38\u586b\u5165\u8a72\u6578\u503c\u7684\u55ae\u4f4d\uff0c\u95b1\u8b80\u8d77\u4f86\u8f03\u70ba\u76f4\u89ba\u3002<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"905\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-2XnaWpPY7TWJx_cYwqpgow.webp\" alt=\"\" class=\"wp-image-21494\" style=\"width:480px\"\/><\/figure>\n\n\n\n<p>STEP 8\uff1a\u9078\u64c7 Line Chart \u8da8\u52e2\u5716\uff0c\u5176\u53ef\u4ee5\u5c0d\u61c9\u5c0d\u61c91~5\u500b\u6578\u64da\u6e90(Feeds) \u986f\u793a\u5728\u540c\u4e00\u5f35\u5716\u8868\u4e2d\uff0c\u9019\u908a\u96d6\u540c\u6642\u52fe\u9078\u6eab\u5ea6\u8207\u6fd5\u5ea6\u9032\u884c\u986f\u793a\uff0c\u4f46\u9084\u662f\u5efa\u8b70\u540c\u985e\u578b\u7684\u611f\u6e2c\u6578\u503c\u4e00\u8d77\u986f\u793a\u8f03\u4e0d\u6703\u59a8\u7919\u5224\u8b80\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"788\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-5QGH47_z6D1suVO-zrhuvQ.webp\" alt=\"\" class=\"wp-image-21495\" style=\"width:480px\"\/><\/figure>\n\n\n\n<p>Line Chart \u6240\u5c0d\u61c9\u7684\u9078\u9805\u5982\u4e0b\uff1a<\/p>\n\n\n\n<ul>\n<li>Block Title: \u986f\u793a\u540d\u7a31<\/li>\n\n\n\n<li>Show History: \u986f\u793a\u6578\u503c\u7bc4\u570d<\/li>\n\n\n\n<li>X-Axis Label: X \u8ef8\u6a19\u7c64<\/li>\n\n\n\n<li>Y-Axis Label: Y \u8ef8\u6a19\u7c64<\/li>\n\n\n\n<li>Y-Axis Minimum: Y \u8ef8\u523b\u5ea6\u6700\u5c0f\u503c\uff0c\u843d\u7559\u7a7a\u5247\u70ba\u81ea\u52d5<\/li>\n\n\n\n<li>Y-Axis Maximum: Y \u8ef8\u523b\u5ea6\u6700\u5927\u503c\uff0c\u843d\u7559\u7a7a\u5247\u70ba\u81ea\u52d5<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"887\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-JodtBRFubjt_4wISnDEx2Q.webp\" alt=\"\" class=\"wp-image-21496\" style=\"width:480px\"\/><\/figure>\n\n\n\n<p>STEP 9\uff1a\u8abf\u6574\u5100\u9336\u677f\u5e03\u5c40\u3002\u4f9d\u5e8f\u65b0\u589e\u5b8c\u6210\u986f\u793a\u5143\u4ef6\u5f8c\uff0c\u9ede\u9078\u53f3\u5074\u9f52\u8f2a\u9078\u64c7 \u201dEdit Layout\u201d\uff0c\u53ef\u8abf\u6574\u5404\u986f\u793a\u5143\u4ef6\u7684\u5927\u5c0f\u8207\u4f4d\u7f6e\uff0c\u5b8c\u6210\u5f8c\u5c31\u6709\u7f8e\u7f8e\u7684\u5100\u8868\u677f\u5566\uff01 \u82e5\u9700\u8981\u8207\u4ed6\u4eba\u5171\u7528\u4e5f\u53ef\u5c07\u5100\u8868\u677f\u8a2d\u5b9a\u70ba\u516c\u958b\u4e26\u5206\u4eab\u9023\u7d50\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"358\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2024\/04\/1-Rud5Su8Kk6ZyolzTV7ExzQ.webp\" alt=\"\" class=\"wp-image-21497\" style=\"width:800px\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u5c0f\u7d50 Wrap Up<\/h2>\n\n\n\n<p>Adafruit.io WipperSnapper \u662f\u4e00\u6b3e\u529f\u80fd\u5f37\u5927\u4e14\u6613\u65bc\u4f7f\u7528\u7684\u7269\u806f\u7db2\u5de5\u5177\uff0c\u4e3b\u8981\u512a\u9ede\u5728\u65bc\u5176\u76f4\u89c0\u7684\u7528\u6236\u4ecb\u9762\u548c\u5f37\u5927\u7684\u529f\u80fd\uff0c\u8b93\u6211\u5011\u7121\u9700\u7de8\u5beb\u4efb\u4f55\u7a0b\u5f0f\u78bc\uff0c\u5373\u53ef\u8a2d\u7f6e\u548c\u63a7\u5236\u5404\u7a2e\u7269\u806f\u7db2\u786c\u9ad4\u8a2d\u5099\u3002\u7121\u8ad6\u662f\u7269\u806f\u7db2\u7684\u65b0\u624b\uff0c\u9084\u662f\u6709\u7d93\u9a57\u7684\u958b\u767c\u8005\uff0c\u76f8\u4fe1\u90fd\u6703\u5728\u9019\u6b3e\u5de5\u5177\u4e2d\u627e\u5230\u6240\u9700\u8981\u7684\u529f\u80fd\u3002\u5f8c\u7e8c\u6709\u6a5f\u6703\u7b46\u8005\u5c07\u518d\u4ecb\u7d39\u4e32\u806f Adafruit IO \u7684\u81ea\u52d5\u5316\u5de5\u4f5c\u6d41\uff0c\u4e5f\u5343\u842c\u5225\u932f\u904e\u4e86\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adafruit.io WipperSnapper \u4e0d\u5beb\u7a0b\u5f0f\u505a\u7269\u806f\u7db2\u5c08\u6848\u5481\u6709\u53ef\u80fd\uff01\uff1fAdafruit.io W [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":21500,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[220,238],"tags":[],"table_tags":[],"_links":{"self":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/21467"}],"collection":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/comments?post=21467"}],"version-history":[{"count":4,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/21467\/revisions"}],"predecessor-version":[{"id":21542,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/21467\/revisions\/21542"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/21500"}],"wp:attachment":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=21467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=21467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=21467"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=21467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}