{"id":12349,"date":"2021-09-15T13:52:06","date_gmt":"2021-09-15T05:52:06","guid":{"rendered":"https:\/\/www.circuspi.com\/?p=12349"},"modified":"2022-03-08T14:00:55","modified_gmt":"2022-03-08T06:00:55","slug":"m5stack-iot-smartlock-2","status":"publish","type":"post","link":"https:\/\/www.circuspi.com\/index.php\/2021\/09\/15\/m5stack-iot-smartlock-2\/","title":{"rendered":"M5Stack IOT\u667a\u6167\u9580\u7981\u7cfb\u7d71 &#8211; \u57fa\u790e\u7bc7(Blockly+MQTT)"},"content":{"rendered":"\n<p><style>\n\/* ###\u5be6\u9a57\u4e0b\u4e00\u5217### *\/\n\na:link {color:#0695e4\n;}    \/* \u8a2d\u5b9a\u5c1a\u672a\u9ede\u95b1\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\na:visited {color:#0695e4\n;} \/* \u8a2d\u5b9a\u904e\u53bb\u66fe\u7d93\u95b1\u904e\u7684\u9023\u7d50 *\/\na:hover {color:#0695e4\n;}   \/* \u8a2d\u5b9a\u6ed1\u9f20\u6e38\u6a19\u6307\u5728\u9023\u7d50\u4f4d\u7f6e\u4e0a\u7684\u6a23\u5f0f *\/\na:active {color:#0000BB;}  \/* \u8a2d\u5b9a\u4e0a\u9ede\u64ca\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\n<\/style><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"3001\" height=\"1580\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/01\/20210106-m5stack\u5c45\u5bb6\u76c6\u683d\u6587\u7ae0_2.jpg\" alt=\"\" class=\"wp-image-9253\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5546\u54c1\u7c21\u4ecb :<\/strong><\/h2>\n\n\n\n<p>\u9019\u662f\u4e00\u6b3e\u4f7f\u7528M5Stack \u5957\u4ef6\u5b8c\u6210\u7684\u7269\u806f\u7db2\u61c9\u7528\u6559\u5177\uff0c\u5e02\u552e\u5e38\u898b\u7684\u667a\u6167\u9580\u9396\u529f\u80fd\u4e0d\u5916\u4e4e\u6307\u7d0b\u8fa8\u8b58\u3001\u78c1\u5361\u78c1\u6263\u3001\u5bc6\u78bc\u8f38\u5165\u7b49\uff0cM5Stack\u667a\u6167\u9580\u9396\u4f7f\u7528M5Stack Core GREY \u63a7\u5236\u6838\u5fc3 \u4f7f\u7528\u4e0d\u540c\u611f\u6e2c\u5668\u6a21\u64ec\u8eab\u5206\u6388\u6b0a(RFID\u3001\u6307\u7d0b\u8fa8\u8b58\u3001\u5bc6\u78bc\u8f38\u5165)\uff0c\u4e26\u900f\u904eMQTT\u5354\u5b9a\u5b8c\u6210\u9060\u7aef\u9059\u63a7\u958b\u9396\u8207\u5efa\u7acb\u9580\u7981\u7d00\u9304\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u898f\u683c :<\/h2>\n\n\n\n<p id=\"9514ed3e-ecea-4b8b-b9be-0e1e819f468a\">\u63a7\u5236\u6838\u5fc3 : ESP32<\/p>\n\n\n\n<p id=\"8b838d79-05bb-4fea-9937-259937fb1233\">\u652f\u63f4\u64f4\u5145M5Stack Module\u3001Unit\u3001Faces\u3001Base \u6a21\u7d44<\/p>\n\n\n\n<p id=\"a3889bc7-2d35-4425-a321-6f964a39af08\">\u5167\u7f6e\u63da\u8072\u5668\uff0c\u6309\u9375\uff0cLCD\u5c4f\u5e55\uff0c\u96fb\u6e90\/\u5fa9\u4f4d\u6309\u9375<\/p>\n\n\n\n<p id=\"6947dc83-937e-4c32-8816-31799ad71dff\">\u5927\u5bb9\u91cfflash<\/p>\n\n\n\n<p id=\"4fd409d7-38cb-4bda-ac41-fbe851216c28\">3\u8ef8\u9640\u87ba\u5100\u30013\u8ef8\u52a0\u901f\u8a08\u82073\u8ef8\u78c1\u529b\u8a08<\/p>\n\n\n\n<p id=\"bb52deac-bd59-42db-97e5-68416b7b3d97\">TF \u5361\u63d2\u69fd\uff08\u6700\u5927\u53ef\u62d3\u5c5516GB\uff09<\/p>\n\n\n\n<p id=\"e49134b0-fdfa-4bf1-b493-b66ac809e15c\">\u5167\u7f6e\u92f0\u96fb\u6c60<\/p>\n\n\n\n<p id=\"c341cbeb-8625-44b0-bf1d-d35dd630c42b\">\u53ef\u62d3\u5c55\u7684\u5f15\u8173\u8207\u63a5\u53e3<\/p>\n\n\n\n<p id=\"b4c6f31b-7bb0-40b5-b9fe-352b2875af8b\">M-Bus\u7e3d\u7dda\u6bcd\u5ea7 &amp; \u5f15\u8173<\/p>\n\n\n\n<p id=\"7cd4ac5d-4eaf-458a-b46b-53a46eae4ff8\">\u6309\u9375\u8f38\u5165\u6a21\u7d44(\u542bGBA\u3001Qwerty\u8f38\u5165\u6a21\u7d44)<\/p>\n\n\n\n<p id=\"2ec47819-9a34-4288-aa42-bdf66af8c8fa\">RFID\u7121\u7dda\u5c04\u983b\u8fa8\u8b58\u6a21\u7d44(I2C)<\/p>\n\n\n\n<p id=\"e43aff7d-c38a-4c4a-9c3c-3e9653db0858\">\u96fb\u5bb9\u5f0f\u9762\u9663\u5f0f\u534a\u5c0e\u9ad4\u6307\u7d0b\u8fa8\u8b58\u6a21\u7d44(UART)<\/p>\n\n\n\n<p id=\"20744912-ebd2-4ee9-92cd-642c6989a0db\">DC\/3A-30V\u7e7c\u96fb\u5668\u6a21\u7d44(I\/O)<\/p>\n\n\n\n<p id=\"3e08d04b-8144-4bbd-975b-76ea6ee2f805\">DC12V \u96fb\u78c1\u95a5<\/p>\n\n\n\n<p id=\"7e8e14e3-f9e4-4b25-b574-43c3fc9a5f88\">\u7522\u54c1\u5c3a\u5bf8 : 30*20*5(cm)<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u96f6\u4ef6\u6e05\u55ae\uff1a<\/h2>\n\n\n\n<ul id=\"b6c3dc79-bcaf-47ab-b03c-c0d5713c898c\"><li><a aria-label=\"undefined (opens in a new tab)\" href=\"https:\/\/www.icshop.com.tw\/product-page.php?27945\" target=\"_blank\" rel=\"noreferrer noopener\">M5Stack FACES Kit \u904a\u6232\u9375\u76e4\u5957\u4ef6\u7d44-K005<\/a><\/li><li><a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28010=\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">M5Stack \u6307\u7d0b\u8fa8\u8b58\u6a21\u7d44-U008<\/a><\/li><li><a aria-label=\"undefined (opens in a new tab)\" href=\"https:\/\/www.icshop.com.tw\/product-page.php?28020=\" target=\"_blank\" rel=\"noreferrer noopener\">M5Stack RFID\u6a21\u7d44-U031<\/a><\/li><li><a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28028=\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">M5Stack \u7e7c\u96fb\u5668\u6a21\u7d44-U023<\/a><\/li><li><a href=\"https:\/\/www.icshop.com.tw\/product-page.php?27998=\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">M5Stack M5CameraX\u5716\u50cf\u8b58\u5225\u958b\u767c\u677f-U038<\/a><\/li><li><a aria-label=\"undefined (opens in a new tab)\" href=\"https:\/\/www.icshop.com.tw\/product-page.php?24042=\" target=\"_blank\" rel=\"noreferrer noopener\">LY-01 DC12V\u96fb\u78c1\u96fb\u63a7\u9396<\/a><\/li><li><a aria-label=\"undefined (opens in a new tab)\" href=\"https:\/\/www.icshop.com.tw\/product-page.php?27699=\" target=\"_blank\" rel=\"noreferrer noopener\">12V\u8b8a\u58d3\u5668<\/a> <\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f7f\u7528\u8edf\u9ad4\u8207\u7dda\u4e0a\u670d\u52d9\u9023\u7d50<\/h2>\n\n\n\n<ul id=\"fb6958af-1dc0-4814-8768-4e173b9fcd16\"><li>UIFLOW\u7dda\u4e0a\u7de8\u8f2f\u5668 : <a href=\"https:\/\/flow.m5stack.com\/\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">https:\/\/flow.m5stack.com\/<\/a>\u958b\u767c\u8005\u624b\u518a : <a href=\"https:\/\/reurl.cc\/WEdZjO\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">https:\/\/reurl.cc\/WEdZjO<\/a>MQTT \u529f\u80fd : <a href=\"https:\/\/reurl.cc\/zb8j00\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">https:\/\/reurl.cc\/zb8j00<\/a><\/li><li>HIVEMQ<\/li><\/ul>\n\n\n\n<p id=\"43644f78-cd7d-4d42-bf82-ef1e52dc12f2\">mqtt-dashboard : <a href=\"http:\/\/www.mqtt-dashboard.com\/\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">http:\/\/www.mqtt-dashboard.com\/<\/a><\/p>\n\n\n\n<p id=\"141a996a-891c-4bf4-9168-49178a597964\">\u958b\u767c\u8005\u624b\u518a : <a href=\"https:\/\/reurl.cc\/kVdjDK\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">https:\/\/reurl.cc\/kVdjDK<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u524d\u8a00<\/h2>\n\n\n\n<p>\u96a8\u8457\u9032\u5165\u667a\u6167\u5316\u6642\u4ee3\u5f8c\uff0c\u96f2\u7aef\u667a\u80fd\u901a\u8a0a\u88dd\u7f6e\u5728\u6211\u5011\u7684\u751f\u6d3b\u4e2d\u5df2\u662f\u975e\u5e38\u7684\u666e\u53ca\uff0c\u672c\u6587\u7ae0\u5c07\u4f7f\u7528M5Stack\u7684UiFlow\u958b\u767c\u4ecb\u9762(Blocky)\u5b8c\u6210\u5177\u5099\u96f2\u7aef\u7d00\u9304\u529f\u80fd\u7684\u9580\u7981\u7cfb\u7d71\uff0c\u5305\u542b4\u7a2e\u8a8d\u8b49\u958b\u9396(\u624b\u6a5f\u9060\u7aef\u9059\u63a7\u958b\u9396\u3001RFID\u78c1\u5361\u3001\u6309\u9375\u8f38\u5165\u5bc6\u78bc\u3001\u6307\u7d0b\u8fa8\u8b58)\uff0c\u4e26\u900f\u904eMQTT\u5354\u5b9a\u50b3\u9001\u9580\u7981\u7d00\u9304\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u786c\u9ad4\u8a2d\u5b9a<\/h2>\n\n\n\n<p>\u9580\u7981\u7cfb\u7d71\u4f7f\u7528M5Stack Faces\u6a21\u7d44\u5316\u5957\u4ef6\u5305\uff0cFACES\u5957\u4ef6\u5305\u542b\u6709\u4e00\u500b\u63a7\u5236\u6838\u5fc3(M5Stack Core)\u52a0\u4e0aGBA\u3001\u8a08\u7b97\u6a5f\u3001QWERTY\u9375\u76e4\u7b49\u4e0d\u540c\u7684\u8f38\u5165\u88dd\u7f6e\uff0c\u5728\u9019\u88e1\u6211\u5011\u4f7f\u7528\u8a08\u7b97\u6a5f\u9375\u76e4\u6a21\u7d44\u9032\u884c\u6309\u9375\u8f38\u5165\uff0c\u7279\u5225\u6ce8\u610f\u66f4\u63dbFaces\u6a21\u7d44\u6642\u8acb\u63e1\u4f4f\u6a21\u7d44\u5169\u5074\u62d4\u63d2\uff0c\u907f\u514d\u6392\u91dd\u6bc0\u640d\u3002\u63a5\u4e0b\u4f86\u8a2d\u5b9a3\u500bUnit \u6a21\u7d44\uff0cM5Stack RFID\u6a21\u7d44\u4f7f\u7528\u7684\u901a\u8a0a\u754c\u9762\u662fI2C\uff0c\u63a5\u5165Core\u5de6\u5074\u7684Port-A(<a href=\"https:\/\/docs.m5stack.com\/#\/en\/core\/basic?id=m5port-explain\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">M5Stack Core\u5e38\u7528\u7684\u63a5\u8173\u5b9a\u7fa9<\/a>)\uff0cM5Stack \u6307\u7d0b\u8fa8\u8b58\u6a21\u7d44\u4f7f\u7528\u7684\u901a\u8a0a\u754c\u9762\u662fUART\uff0c\u63a5\u5165Core Port-C\uff0c\u6b32\u4f7f\u7528Core\u7684GPIO\u53ef\u4ee5\u7ffb\u5230Core\u80cc\u9762\u6703\u6709\u63d0\u793a\u76f8\u5c0d\u61c9\u4ecb\u9762\u7684PIN\uff0cCore\u5f8c\u65b9\u7684GPIO\u63a5\u53e3(GND\u30015V\u3001R2(16)\u3001T2(17) ) \uff0cM5Stack \u7e7c\u96fb\u5668\u6a21\u7d44\u900f\u904eI\/O\u63a7\u5236\uff0c\u63a5\u5165Core port-B(GND\u30015V\u3001DA(26)\u3001AD(36))\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"651\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/01\/Untitled.png\" alt=\"M5Stack \u8173\u4f4d\u5716\" class=\"wp-image-9093\"\/><\/figure>\n\n\n\n<p id=\"bcb20632-9ecb-41b3-b813-d769041abcb2\">\u4e09\u7a2eUnit\u6a21\u7d44\u63a5\u7dda\u914d\u7f6e\u5b8c\u6210\u5f8c\uff0c\u63a5\u8457\u88fd\u4f5c\u9023\u63a5\u7e7c\u96fb\u5668\u6a21\u7d44\u7684\u96fb\u8def(\u5982\u5716)\u63a7\u5236\u96fb\u78c1\u9396\uff0c\u9019\u6b21\u4f7f\u7528\u7684\u96fb\u78c1\u9396\u5de5\u4f5c\u96fb\u58d3\u70baDC 12V\uff0cM5Stack \u7e7c\u96fb\u5668\u6a21\u7d44\u6700\u9ad8\u652f\u63f4DC 30V 3A \u7684\u96fb\u6e90\u8f38\u5165\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1176\" height=\"628\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-12.png\" alt=\"\" class=\"wp-image-12416\"\/><\/figure>\n\n\n\n<p>\u914d\u7f6e\u5b8c\u7e7c\u96fb\u5668\u96fb\u8def\u5f8c\u786c\u9ad4\u8a2d\u5b9a\u5c31\u5927\u529f\u544a\u6210\u4e86\uff0c\u672c\u6b21\u64b0\u5beb\u7a0b\u5f0f\u5c07\u4f7f\u7528M5Stack\u5b98\u65b9\u958b\u767c\u4ecb\u9762Uiflow\uff0c\u7531\u65bc\u76ee\u524dUiFlow\u96e2\u7dda\u4e3b\u6a5f\u7248\u672c\u66f4\u65b0\u901f\u5ea6\u7de9\u6162\uff0c\u7b46\u8005\u5efa\u8b70\u5982\u679c\u7121\u7ddaWifi\u901f\u5ea6\u5920\u5feb\uff0c\u76e1\u91cf\u4f7f\u7528\u9060\u7aef\u5beb\u5165Blocky\uff0c\u63a5\u4e0b\u4f86\u5c07\u4ecb\u7d39\u6709\u5225\u65bc&lt;<a href=\"https:\/\/www.circuspi.com\/index.php\/2020\/10\/21\/m5stack-scalekit\/\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u7c21\u55ae3\u6b65\u9a5f\uff01\u4f7f\u7528 M5Stack StickC \u88fd\u4f5c\u7c21\u6613\u96fb\u5b50\u79e4<\/a>&gt;\u4f7f\u7528USB Type C\u8207\u96fb\u8166\u9023\u7dda\uff0c\u900f\u904eWifi\u7121\u7dda\u7684\u65b9\u5f0f\u5c0dM5Stack Core\u9032\u884c\u7a0b\u5f0f\u64b0\u5beb\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">UiFlow \u8a2d\u5b9a<\/h2>\n\n\n\n<p>Step 1 \u66f4\u65b0\u97cc\u9ad4 \u5728\u5efa\u7acb\u9023\u7dda\u4ee5\u524d\uff0c\u5fc5\u9808\u5148\u4e0b\u8f09\u5b98\u65b9\u71d2\u9304\u5668(<a href=\"https:\/\/m5stack.com\/pages\/download\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">M5Burner<\/a>)\u5c07\u97cc\u9ad4\u7248\u672c\u66f4\u65b0\u81f3\u6700\u65b0\u3002\u63a5\u4e0a\u50b3\u8f38\u7dda\u5f8c\u71d2\u9304\u5668\u6703\u986f\u793aCOM Port\u7de8\u865f\uff0c\u9078\u64c7\u6700\u65b0\u7248\u672c\u7684CORE UiFlow\u97cc\u9ad4\u7248\u672c\uff0c\u6309\u4e0b&#8221;Burn&#8221;\u5b8c\u6210\u71d2\u9304\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1220\" height=\"652\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-13.png\" alt=\"\" class=\"wp-image-12417\"\/><\/figure>\n\n\n\n<p id=\"b7a027a9-0eb2-431a-a4eb-2106c54a2fcb\">Step 2 \u5efa\u7acb\u9023\u7dda<\/p>\n\n\n\n<p id=\"211c15a2-4bbc-474e-8f68-0e6326d06364\">\u66f4\u65b0\u5b8c\u97cc\u9ad4\u5f8c\uff0c\u5c07Core\u5207\u63db\u81f3&#8221;Internet Mode&#8221;\uff0c\u9078\u64c7&#8221;Wi-Fi via AP&#8221;\uff0c\u9032\u5165\u9023\u7dda\u9801\u9762\u5f8c\u6703\u770b\u5230\u5730\u7403\u7b26\u865f\u9583\u720d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"877\" height=\"295\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-14.png\" alt=\"\" class=\"wp-image-12418\"\/><\/figure>\n\n\n\n<p>\u6253\u958b\u7b46\u96fb\u7684Wifi\u641c\u5c0bAP\u71b1\u9edeSSID\u540d\u7a31\uff0c\u6bcf\u53f0Core\u7684\u540d\u7a31\u90fd\u4e0d\u4e00\u6a23\u7b46\u8005\u9019\u88e1\u9810\u8a2d\u662fM5-FB50 \uff0c\u6210\u529f\u9023\u7dda\u5f8c\u958b\u555f\u700f\u89bd\u5668\u5206\u9801\uff0c\u5728\u641c\u5c0b\u6b04\u8f38\u5165 : [192.168.4.1]\u5c0e\u5165\u9023\u7dda\u8a2d\u5b9a\u9801\u9762\uff0c\u8f38\u5165\u6b32\u9023\u7dda\u7684SSID\u8207\u5bc6\u78bc\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1524\" height=\"924\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-15.png\" alt=\"\" class=\"wp-image-12419\"\/><\/figure>\n\n\n\n<p>\u6210\u529f\u9023\u7dda\u5f8c\u700f\u89bd\u5668\u986f\u793a\u5982\u4e0b\u5716\uff0cCore\u7684\u986f\u793a\u5668\u5de6\u4e0a\u89d2\u7684Wifi\u8207\u9023\u7dda\u7684\u5716\u793a\u7686\u6703\u986f\u793a\u7da0\u8272\uff0c\u4e0b\u65b9\u6703\u986f\u793a\u9060\u7aef\u9023\u7dda\u6240\u4f7f\u7528\u5230\u7684API KEY\uff0c\u900f\u904e\u9019\u6a23\u7684\u8a2d\u5b9a\uff0cCore\u6703\u5b58\u53d6SSID\u8207\u5bc6\u78bc\uff0c\u4e4b\u5f8c\u4f7f\u7528\u7db2\u8def\u6a21\u5f0f\u5c31\u53ef\u4ee5\u76f4\u63a5\u9023\u7dda\uff0c\u4f7f\u7528\u904e\u591a\u53f0AP\u4e5f\u53ef\u4ee5\u81f3Setup &gt; Server select \u9032\u884c\u9078\u64c7\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1545\" height=\"575\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-16.png\" alt=\"\" class=\"wp-image-12420\"\/><\/figure>\n\n\n\n<p>\u63a5\u4e0b\u4f86\u6253\u958b\u96fb\u8166\u7684\u700f\u89bd\u5668\uff0c\u91cd\u65b0\u9023\u4e0a\u7db2\u969b\u7db2\u8def\uff0c\u9032\u5165Uiflow <a href=\"https:\/\/flow.m5stack.com\/\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u7db2\u9801\u7248<\/a>\uff0c\u5c07API KEY \u586b\u5165\uff0c\u9078\u64c7Core\u7684\u985e\u578b\u5f8c\u6309\u4e0b&#8221;OK&#8221;\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1018\" height=\"741\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-17.png\" alt=\"\" class=\"wp-image-12421\"\/><\/figure>\n\n\n\n<p>\u6700\u4e0b\u65b9\u7684\u72c0\u614b\u5217\u6703\u986f\u793a\u76ee\u524d\u5efa\u7acb\u9023\u7dda\u88dd\u7f6e\u7684API KEY \uff0c\u4e26\u986f\u793a&#8221;Connected&#8221;\uff0c\u8868\u793a\u6210\u529f\u9060\u7aef\u9023\u7dda\uff0c\u53ef\u4ee5\u958b\u59cb\u4f7f\u7528Blocky\u7a4d\u6728\u64b0\u5beb\u7a0b\u5f0f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u529f\u80fd\u8a2d\u8a08\u8207\u7a0b\u5f0f\u64b0\u5beb<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step1 \u8a2d\u5b9a\u6a21\u7d44<\/h3>\n\n\n\n<p id=\"49e1f52f-7e92-45b2-a2aa-08b92dff8347\">\u5728\u958b\u59cb\u64b0\u5bebBlocky\u524d\u5c0e\u5165\u9019\u6b21\u4f7f\u7528\u7684Unit\u6a21\u7d44\u51fd\u5f0f\u5eab\uff0c\u9ede\u9078\u5de6\u4e0b\u52a0\u865f\uff0c\u7e7c\u96fb\u5668\u6a21\u7d44\u9078\u64c7Port B\uff0c\u6307\u7d0b\u8fa8\u8b58\u6a21\u7d44\u9078\u64c7Port C\uff0cRFID\u6a21\u7d44\u9078\u64c7Port A \uff0c\u9078\u5b9a\u6a21\u7d44\u5f8c\u8a18\u5f97\u6309\u4e0b\u53f3\u4e0b\u89d2\u7684OK\u78ba\u8a8d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"847\" height=\"317\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-18.png\" alt=\"\" class=\"wp-image-12422\"\/><\/figure>\n\n\n\n<p>\u5c0e\u5165\u6a21\u7d44\u5f8c\u6703\u986f\u793a\u5728\u5de6\u65b9\u986f\u793a\u9762\u677f\uff0c\u6253\u958bUnit\u9078\u55ae\u78ba\u8a8d\u662f\u5426\u6b63\u78ba\u5c0e\u5165\u6a21\u7d44\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"573\" height=\"563\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-19.png\" alt=\"\" class=\"wp-image-12423\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 \u64b0\u5beb\u9580\u7981\u7cfb\u7d71\u5e38\u7528\u4e4b\u526f\u7a0b\u5f0f<\/h3>\n\n\n\n<p id=\"de0058f2-63ee-438c-9c11-e57af051448f\">\u5c0e\u5165\u6a21\u7d44\u5f8c\uff0c\u70ba\u4e86\u907f\u514d\u7a0b\u5f0f\u904e\u65bc\u5197\u9577\u9996\u5148\u64b0\u5beb\u9580\u7981\u7cfb\u7d71\u6703\u91cd\u8907\u4f7f\u7528\u5230\u7684\u5e7e\u500b\u526f\u7a0b\u5f0f\u3002<\/p>\n\n\n\n<ol type=\"1\" id=\"348cae94-c219-40bc-b4fd-aa743611c28b\"><li>\u7cfb\u7d71\u9810\u8a2d\u72c0\u614b(STAY) : \u5728\u57f7\u884c\u5b8c\u4efb\u4f55\u7a0b\u5f0f\u5f8c\uff0c\u56de\u6b78\u6b64\u9810\u8a2d\u7a0b\u5f0f\u72c0\u614b\u3002\u6309\u9375\u8f38\u5165\u7684\u986f\u793a\u529f\u80fd\u8207AC\u6e05\u9664\u529f\u80fd\u5efa\u7acb\u65bc\u6b64\uff0c\u627e\u5230AC\u6309\u9215\u7684\u521d\u59cb\u503c(intial value)\u7d66\u4e88\u6309\u4e0b\u6309\u9215\u6642\u4e4b\u5b9a\u7fa9\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5efa\u7acb\u51fd\u5f0f<\/a>\u3001 <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=logic\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5224\u65b7\u908f\u8f2f\u51fd\u5f0f<\/a> \u3001 <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/FACES?id=calculator\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u9375\u76e4\u8f38\u5165\u529f\u80fd<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/ui_simulator?id=ui-elements\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">UI\u5143\u4ef6<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/Units?id=relay\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u7e7c\u96fb\u5668\u5fa9\u6b78<\/a> \u3002<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"453\" height=\"348\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-20.png\" alt=\"\" class=\"wp-image-12424\"\/><\/figure>\n\n\n\n<p>2.\u8eab\u5206\u78ba\u8a8d\u6b63\u78ba\u6642\u4e4b\u52d5\u4f5c(UNLOCK) : \u900f\u904eRFID\u3001\u6307\u7d0b\u8fa8\u8b58\u3001\u5bc6\u78bc\u8f38\u5165\u3001\u9060\u7aef\u9059\u63a7\u6642\u5982\u679c\u8eab\u5206\u78ba\u8a8d\u6b63\u78ba\u6642\u4e4b\u52d5\u4f5c\uff0c\u70ba\u4e86\u78ba\u4fdd\u7e7c\u96fb\u5668\u5be6\u4f5c\u4e4b\u5b89\u5168\u5728\u7e7c\u96fb\u5668\u958b\u555f\u5f8c3\u79d2\u81ea\u52d5\u95dc\u9589\u7e7c\u96fb\u5668\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5efa\u7acb\u51fd\u5f0f<\/a>\u3001 <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/hardware?id=speaker\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u8702\u9cf4\u5668<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=logic\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5224\u65b7\u908f\u8f2f\u51fd\u5f0f<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/ui_simulator?id=ui-elements\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">UI\u5143\u4ef6<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/Units?id=relay\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u7e7c\u96fb\u5668\u958b\u555f\u8207\u5fa9\u6b78 <\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"458\" height=\"338\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-21.png\" alt=\"\" class=\"wp-image-12425\"\/><\/figure>\n\n\n\n<p id=\"0a1c9d8f-bdde-4229-8b26-37ae65bf8c09\">3.\u8eab\u5206\u78ba\u8a8d\u932f\u8aa4\u6642\u4e4b\u52d5\u4f5c(LOCK) : \u900f\u904eRFID\u3001\u6307\u7d0b\u8fa8\u8b58\u3001\u5bc6\u78bc\u8f38\u5165\u3001\u9060\u7aef\u9059\u63a7\u6642\u5982\u679c\u8eab\u5206\u78ba\u8a8d\u6b63\u78ba\u6642\u4e4b\u52d5\u4f5c\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5efa\u7acb\u51fd\u5f0f<\/a>\u3001 <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/hardware?id=speaker\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u8702\u9cf4\u5668<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=logic\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5224\u65b7\u908f\u8f2f\u51fd\u5f0f<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/ui_simulator?id=ui-elements\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">UI\u5143\u4ef6<\/a> \u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-22.png\" alt=\"\" class=\"wp-image-12426\" width=\"435\" height=\"357\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step3 \u8a2d\u5b9a\u7db2\u8def\u9023\u7dda\u8207MQTT\u529f\u80fd<\/h3>\n\n\n\n<p>\u8a2d\u5b9a\u7db2\u8def\u8207\u9023\u7dda\uff0c\u9019\u6b21\u7684\u5be6\u4f5c\u6703\u900f\u904eWifi\u9023\u7dda\u7db2\u969b\u7db2\u8def\u4e26\u4f7f\u7528MQTT\u5354\u5b9a\u50b3\u9001\u6bcf\u7b46\u958b\u9580\u7684\u8cc7\u6599\u4e26\u5132\u5b58\u65bc\u66ab\u6642\u7684\u96f2\u7aef\u7a7a\u9593\uff0cMQTT\u662f\u4e00\u7a2e\u57fa\u65bc\u300c\u767c\u5e03\u2215\u8a02\u95b1\u300d\u6a5f\u5236\u7684\u8a0a\u606f\u50b3\u8f38\u5354\u5b9a\uff0c\u985e\u4f3c\u793e\u7fa4\u5a92\u9ad4\u6216\u662fYOUTUBE\u7684\u767c\u5f71\u7247\u548c\u8a02\u95b1\u6a5f\u5236\u3002MQTT\u8a0a\u606f\u767c\u9001\u7aef\uff0c\u76f8\u7576\u65bcYOUTUBE\u7684\u983b\u9053\u6216\u662fIG\u7684\u5e33\u865f\uff0c\u5f71\u7247\u767c\u5e03\u6216\u662fIG\u767c\u6587\u4e4b\u5f8c\u4e26\u4e0d\u76f4\u63a5\u5bc4\u7d66\u8a02\u95b1\u8005\uff0c\u800c\u662f\u4ea4\u7d66\u4f3a\u670d\u5668\u6216\u8005\u7b2c\u4e09\u65b9(broker\uff09\uff0c\u4f86\u7d71\u7c4c\u7ba1\u7406\u767c\u5e03\u548c\u8a02\u95b1\u4e8b\u5b9c\u3002\u6bcf\u4e00\u500b\u8a0a\u606f\u4f86\u6e90(\u5f71\u7247\/\u6587\u7ae0\u5167\u5bb9)\u90fd\u6709\u500b\u552f\u4e00\u7684\u4e3b\u984c\u540d\u7a31\uff08\u5f71\u7247\u540d\u7a31\/\u6587\u7ae0\u540d\u7a31\uff09\uff0c\u4ee3\u7406\u4eba\u662f\u500b\u4f3a\u670d\u5668\u8edf\u9ad4\uff0c\u5411\u4f3a\u670d\u5668\u767c\u9001\u4e3b\u984c\u7684\u4e00\u65b9\u662f\u767c\u5e03\u8005\uff08publisher\uff09\uff0c\u5f9e\u4f3a\u670d\u5668\u7372\u53d6\u4e3b\u984c\u7684\u4e00\u65b9\u5247\u662f\u8a02\u95b1\u8005\uff08subscriber\uff09\u3002\u4ee5\u4e0b\u5716\u70ba\u4f8b\uff0c\u50b3\u9001\u611f\u6e2c\u5668\u8cc7\u6599\u7684\u4e00\u908a\u662f\u767c\u5e03\u8005\uff0c\u63a5\u6536\u611f\u6e2c\u5668\u8cc7\u6599\u7684\u4e00\u908a\u5247\u662f\u8a02\u95b1\u8005\u3002\u6bcf\u500b\u611f\u6e2c\u5668\u2215\u5fae\u63a7\u5668\u7684\u8a0a\u606f\u90fd\u9700\u8981\u6709\u500b\u4e3b\u984c\u540d\u7a31\u4ee5\u5229\u8b58\u5225\uff0c\u50cf\u4e0b\u5716\u7684\u4e3b\u984cA\u3001B\u548cC\u3002\u4ee3\u7406\u4eba\uff08broker\uff09\u53ef\u5132\u5b58\u767c\u5e03\u8005\u7684\u8a0a\u606f\uff0c\u5728\u767c\u5e03\u8005\u4e2d\u65b7\u9023\u7dda\u7684\u60c5\u6cc1\u4e0b\uff0c\u63d0\u4f9b\u8a02\u95b1\u8005\u6700\u8fd1\u66f4\u65b0\u7684\u8a0a\u606f\u3002\u300c\u8a02\u95b1\u8005\u300d\u9700\u8981\u544a\u77e5\u4ee3\u7406\u4eba\u60f3\u8981\u8a02\u95b1\u7684\u4e3b\u984c\uff0c\u6bcf\u7576\u300c\u767c\u5e03\u8005\u300d\u50b3\u5165\u65b0\u8a0a\u606f\u6642\uff0c\u4ee3\u7406\u4eba\u5c31\u6703\u4f9d\u7167\u4e3b\u984c\uff0c\u50b3\u9001\u7d66\u6240\u6709\u8a02\u95b1\u8005\u3002\u300c\u767c\u5e03\u8005\u300d\u548c\u300c\u8a02\u95b1\u8005\u300d\u90fd\u662f\u7528\u6236\u7aef\uff0c\u4ee3\u7406\u4eba\u662f\u4f3a\u670d\u5668\u3002\u7531\u65bc\u5169\u500b\u7528\u6236\u7aef\u4e4b\u9593\u6709\u4f3a\u670d\u5668\u7576\u4f5c\u4e2d\u7e7c\u7ad9\uff0c\u6240\u4ee5\u5169\u908a\u4e26\u4e0d\u9700\u8981\u77e5\u9053\u5f7c\u6b64\u7684IP\u4f4d\u5740\u3002\u5f15\u7528\u81ea : <a href=\"https:\/\/swf.com.tw\/?p=874\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u8d85\u5716\u89e3\u7269\u806f\u7db2IoT\u5be6\u4f5c\u5165\u9580<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"333\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/Q1.png\" alt=\"\" class=\"wp-image-12452\"\/><\/figure>\n\n\n\n<p>\u5716\u7247\u4f86\u6e90 : <a href=\"https:\/\/swf.com.tw\/?p=1002\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">MQTT\u6559\u5b78\uff08\u4e00\uff09\uff1a\u8a8d\u8b58MQTT<\/a><\/p>\n\n\n\n<p>\u9996\u5148\u8a2d\u5b9a\u9580\u7981Core\u7684Wifi\u9023\u7dda\u529f\u80fd\uff0c\u6253\u958bUiflow\u7684Advanced\u9078\u55ae\uff0c\u9078\u64c7<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/advanced?id=wifi\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">Network<\/a>\u4e2d\u7684 &#8220;Connect ti Wi-Fi SSID&#8221; &#8221; PASSWORD &#8221; &#8221; \u4e26\u586b\u5165\u6b32\u67b6\u8a2d\u9580\u7981\u7cfb\u7d71\u4f4d\u7f6e\u53ef\u4ee5\u9023\u7dda\u5230\u7684AP\u540d\u7a31\u8207\u5bc6\u78bc\u3002\u70ba\u4e86\u78ba\u8a8dWifi\u662f\u5426\u9023\u7dda\uff0c\u52a0\u4e0a\u4e00\u500b<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=logic\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5224\u65b7\u908f\u8f2f\u51fd\u5f0f<\/a>\u8207\u87a2\u5e55\u7684<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/ui_simulator?id=ui-elements\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">UI\u6a19\u7c64\u5143\u4ef6<\/a>\uff0c\u7576Wifi\u9023\u7dda\u6642\u5448\u73fe\u7da0\u8272\uff0c\u70ba\u9023\u7dda\u6642\u5448\u73fe\u7d05\u8272\uff0c\u7db2\u8def\u9023\u7dda\u8a2d\u5b9a\u7d50\u675f\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=logic\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5224\u65b7\u908f\u8f2f\u51fd\u5f0f<\/a> \u3001<a href=\"\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">Wifi\u8a2d\u5b9a<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/ui_simulator?id=ui-elements\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">UI\u5143\u4ef6<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"254\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-24.png\" alt=\"\" class=\"wp-image-12430\"\/><\/figure>\n\n\n\n<p>\u9580\u7981\u7cfb\u7d71\u4f7f\u7528\u7684MQTT Broker\u662f<a href=\"https:\/\/www.hivemq.com\/\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">HiveMQ<\/a> \u63d0\u4f9b\u7d66\u6240\u6709\u4f7f\u7528\u8005\u7684\u514d\u8cbbbroker\uff0c\u6253\u958b\u700f\u89bd\u5668\u9032\u5230<a href=\"http:\/\/www.mqtt-dashboard.com\/\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">Public Broker <\/a>\u88e1\u9762\u67e5\u770bBroker\u7684 Host \u8207TCP Port\uff0c\u63a5\u4e0b\u4f86\u6253\u958bUiFlow\u7684Advanced\u9078\u55ae\uff0c\u4f7f\u7528<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/advanced?id=mqtt-communication\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">MQTT<\/a>\u4e3b\u6a5f\u8a2d\u5b9a\u8207\u958b\u555fMQTT\u529f\u80fd\uff0c\u5c07Broker\u7684TCP\u901a\u8a0a\u57e0\u8207server\u586b\u5165\uff0cclient\u8a2d\u5b9a\u4e00\u500b\u7528\u6236\u540d\u7a31\uff0c\u8a2d\u5b9a\u5b8c\u6210\u5f8cCore\u5c31\u6703\u5728Wifi\u9023\u7dda\u7684\u60c5\u6cc1\u4e0b\u958b\u555fMQTT\u670d\u52d9\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/advanced?id=mqtt-communication\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">MQTT\u529f\u80fd<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2000\" height=\"753\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-25.png\" alt=\"\" class=\"wp-image-12431\"\/><\/figure>\n\n\n\n<p>\u5716\u7247\u4f86\u6e90 : <a href=\"https:\/\/www.hivemq.com\/\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">HIVEMQ<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1001\" height=\"718\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-26.png\" alt=\"\" class=\"wp-image-12432\"\/><\/figure>\n\n\n\n<p>\u8a2d\u5b9a\u63a5\u6536\/\u767c\u9001MQTT\u8a0a\u606f\u7684\u624b\u6a5f\u7aef\uff0c\u5728GOOGLE PLAY\u6216\u662fApple app store \u641c\u5c0b<a href=\"https:\/\/play.google.com\/store\/apps\/details?id=snr.lab.iotmqttpanel.prod&amp;hl=zh_TW&amp;gl=US\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">IoT MQTT Panel<\/a>\u4e26\u4e0b\u8f09\u958b\u555f\uff0cIOT MQTT Panel \u662f\u4e00\u6b3e\u8f15\u5de7\u65b9\u4fbf\u7684MQTT\u5de5\u5177\uff0c\u5167\u542b\u8a31\u591a\u5df2\u7d93\u8a2d\u5b9a\u597d\u7684Ui\u6a21\u677f\uff0c\u4ed8\u8cbb\u7684\u7248\u672c\u53ef\u4ee5\u63d0\u4f9b\u5373\u6642\u4e32\u806f\u624b\u6a5f\u901a\u77e5\u7684\u670d\u52d9\uff0c\u5728\u63a5\u6536\u5230\u65b0\u8a0a\u606f\u7684\u6642\u5019\u8df3\u51fa\u901a\u77e5\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"502\" height=\"259\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-27.png\" alt=\"\" class=\"wp-image-12433\"\/><figcaption>.<\/figcaption><\/figure>\n\n\n\n<p>\u958b\u555fApp\u5f8c\u5148\u5b89\u7167\u5148\u524d\u8a2d\u5b9aCORE\u7684broker TCP Port \u8ddf server (BrokerWeb)\u4f9d\u5e8f\u586b\u5165\uff0cClient\u540c\u6a23\u8a2d\u5b9a\u4e00\u500b\u7528\u6236\u7684\u540d\u5b57\uff0c\u9019\u88e1\u8a18\u5f97\u589e\u52a0\u4e00\u500b\u529f\u80fdDashboard\u5426\u5247\u7121\u6cd5\u5275\u5efa\uff0c\u7b46\u8005\u9019\u88e1\u4f7f\u7528SmartLock_log \u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"875\" height=\"566\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-28.png\" alt=\"\" class=\"wp-image-12434\"\/><\/figure>\n\n\n\n<p>\u5275\u7acb\u597dDashboard\u4ee5\u5f8c\u63a5\u8457\u5efa\u7acbUI\u529f\u80fd\u6a21\u7d44(Add panel)\uff0c\u6211\u5011\u7e3d\u5171\u8981\u642d\u5efa\u5169\u500b\u5c6c\u6027\u7684\u529f\u80fd\u6a21\u7d44\uff0c\u4e00\u500b\u662f\u7d00\u9304\u9580\u7981\u89f8\u767c\u7684Text Log\uff0c\u4e00\u500b\u5247\u662f\u9060\u7aef\u9059\u63a7\u7684Switch\u958b\u95dc\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"584\" height=\"591\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-29.png\" alt=\"\" class=\"wp-image-12435\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step4 \u9580\u7981\u7d00\u9304<\/h3>\n\n\n\n<p>4-1 \u9580\u7981\u7d00\u9304 : \u5efa\u7acb\u4e00\u500b\u9580\u7981\u8a18\u9304\u529f\u80fd\uff0c\u7576\u9580\u7981\u7cfb\u7d71\u89f8\u767c\u78ba\u8a8d\u8eab\u5206\u529f\u80fd\u6642\u767c\u9001\u78ba\u8a8d\u7d50\u679c\u81f3\u6b64\u7d00\u9304\uff0c\u5de5\u4f5c\u539f\u7406\u70ba\u5efa\u7acb\u4e00\u500bTopic(\u7b46\u8005\u9019\u88e1\u8a2d\u5b9a\u70baM5Stack_Log)\uff0c\u63d0\u4f9b\u9580\u7981\u7cfb\u7d71Core\u767c\u9001\u8a0a\u606f\u81f3\u6b64Topic\u3002\u529f\u80fd\u6a21\u7d44\u8a2d\u5b9a : \u8abf\u6574\u986f\u793a\u8a0a\u606f\u7684\u6578\u91cf\u8207\u5b57\u9ad4\u5927\u5c0f\u3001\u6642\u9593\u6233\u8a18\uff0c\u624b\u6a5f\u5373\u6642\u901a\u77e5\u529f\u80fd(Enable notification)\u5fc5\u9808\u4ed8\u8cbb\u624d\u80fd\u4f7f\u7528\uff0c\u8a2d\u5b9a\u5b8c\u6210\u5f8c\u6309\u4e0bSAVE\u5373\u5b8c\u6210\u5275\u5efa\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"588\" height=\"591\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-30.png\" alt=\"\" class=\"wp-image-12436\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step5.\u9580\u7981\u529f\u80fd_\u9060\u7aef\u9059\u63a7\u958b\u9396<\/h3>\n\n\n\n<p id=\"6b0a2ee9-e220-4f3b-bf90-616fcedbeb09\">\u9060\u7aef\u9059\u63a7\u958b\u95dc : \u5de5\u4f5c\u539f\u7406\u70ba\u5728\u624b\u6a5f\u7aef\u8a2d\u5b9a\u4e00\u500bTopic\uff0c\u6839\u64da\u624b\u6a5f\u4e0a\u7684UI\u958b\u95dc\u72c0\u614b(ON\/OFF)\u767c\u51fa\u4e00\u5247msg(\u7b46\u8005\u9019\u88e1\u53d6\u4f5cunlock\/lock)\uff0c\u9580\u9396\u4e0a\u7684Core\u900f\u904e\u8a02\u95b1\u624b\u6a5f\u7aef\u7684Topic\u8b80\u53d6msg\uff0c\u5373\u53ef\u63a7\u5236\u9580\u9396\u958b\u95dc\u3002\u4e0b\u65b9\u7684\u52fe\u9078\u529f\u80fd\u5217\uff0c\u53ef\u4ee5\u628a\u4e0b\u65b9\u7684Show received timestamp\u4ee5\u53caShow sent timestamp\u52fe\u9078\u8d77\u4f86\u7d00\u9304\u6642\u9593\u9ede\uff0c\u624b\u6a5f\u5373\u6642\u901a\u77e5\u529f\u80fd(Enable notification)\u5fc5\u9808\u4ed8\u8cbb\u624d\u80fd\u4f7f\u7528\uff0c\u8a2d\u5b9a\u5b8c\u6210\u5f8c\u6309\u4e0bSAVE\u5373\u5b8c\u6210\u5275\u5efa\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"590\" height=\"591\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-31.png\" alt=\"\" class=\"wp-image-12437\"\/><\/figure>\n\n\n\n<p id=\"17b5575e-5037-41b4-b067-8c8e0060dd82\">\u958b\u555fUiflow\uff0c\u5efa\u7acb\u9060\u7aef\u9059\u63a7\u529f\u80fd\uff0c\u8a2d\u5b9a\u9580\u7981CORE\u8a02\u95b1broker\u7684Topic(Lock_Action)\u7576\u624b\u6a5f\u7aef\u958b\u555f\u958b\u95dc\u6642\u57f7\u884c\u958b\u9396\u526f\u7a0b\u5f0f(UNLOCK)\u6253\u958b\u9580\u9396\uff0c\u4e26\u50b3\u9001\u9580\u7981\u7d00\u9304\u81f3\u624b\u6a5f\u7684Topic(M5Stack_Log)\uff0c\u8a0a\u606f\u540d\u7a31\u70baRemote_OPEN\uff0c\u6ce8\u610f\u540d\u7a31\u7684\u5927\u5c0f\u5beb\u662f\u5426\u6b63\u78ba\uff0c\u8f38\u5165\u932f\u8aa4\u7684Topic\u6703\u5c0e\u81f4\u7121\u6cd5\u63a5\u6536\u8207\u50b3\u9001\u8a0a\u606f\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/advanced?id=mqtt-communication\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">MQTT\u529f\u80fd<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=logic\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5224\u65b7\u908f\u8f2f\u51fd\u5f0f<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/data_structure?id=text\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u6587\u5b57<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5c0e\u5165\u526f\u7a0b\u5f0f\u51fd\u5f0f<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"206\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-32.png\" alt=\"\" class=\"wp-image-12438\"\/><\/figure>\n\n\n\n<p>\u9060\u7aef\u9059\u63a7\u7d50\u679c\u6210\u529f\u96fb\u78c1\u95a5\u6703\u4f5c\u52d5\u4e00\u6b21\uff0c\u4e26\u986f\u793a\u65bcCore\u87a2\u5e55\u4e0a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/s3-us-west-2.amazonaws.com\/secure.notion-static.com\/e2281a92-493b-487d-805e-7a30780b4c63\/normal_video(3).mp4\"><\/video><\/figure>\n\n\n\n<p>\u624b\u6a5f\u7aef\u7684\u7d00\u9304\u6a21\u7d44\u6703\u986f\u793a\u542b\u6642\u9593\u6233\u8a18\u7684\u8cc7\u6599\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"222\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-33.png\" alt=\"\" class=\"wp-image-12439\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step6 \u9580\u7981\u529f\u80fd_RFID<\/h3>\n\n\n\n<p>\u8a2d\u5b9aRFID\u9580\u7981\u529f\u80fd\uff0c\u9996\u5148\u5728\u76ee\u524d\u7684MQTT\u8a2d\u5b9a\u529f\u80fd\u5e95\u4e0b\u52a0\u5165\u4e00\u500b\u4e3b\u7a0b\u5f0f(Main)\u8ff4\u5708\uff0c\u4f5c\u70ba\u89f8\u767c\u5224\u65b7\u7684\u4e3b\u7a0b\u5f0f\uff0c\u4e26\u52a0\u5165\u7576\u6709RFID\u5361\u9760\u8fd1\u6642\u529f\u80fd\u89f8\u767c\u51fd\u5f0f\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">MAIN\u51fd\u5f0f\u5efa\u7acb<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=logic\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5224\u65b7\u908f\u8f2f\u51fd\u5f0f<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/Units?id=rfid\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">RFID\u51fd\u5f0f\u5eab<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"430\" height=\"202\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-34.png\" alt=\"\" class=\"wp-image-12440\"\/><\/figure>\n\n\n\n<p>\u5efa\u7acbRFID\u7684\u5224\u65b7\u51fd\u5f0f(RFID_decision)\u3001RFID\u526f\u7a0b\u5f0f(RFID_OK)\u3001RFID\u526f\u7a0b\u5f0f(RFID_Denied)\u3002\u5224\u65b7\u51fd\u5f0f(RFID_decision)\u4f5c\u70ba\u7576RFID\u6b63\u78ba\u6642\u57f7\u884c\u526f\u7a0b\u5f0f(RFID_OK)\u52a0\u4e0a\u7cfb\u7d71\u526f\u7a0b\u5f0f(UNLOCK)\uff0c\u6216\u662f\u7576RFID\u932f\u8aa4\u6642\u57f7\u884c\u526f\u7a0b\u5f0f(RFID_Denied)\u52a0\u4e0a\u7cfb\u7d71\u526f\u7a0b\u5f0f(LOCK)\u3002\u5b8c\u6210\u5f8c\u8a18\u5f97\u5728\u5169\u500bRFID\u526f\u7a0b\u5f0f\u5167\u52a0\u5165MQTT\u63a8\u9001\u529f\u80fd\uff0c\u4e0d\u7ba1\u6b63\u78ba\u6216\u662f\u932f\u8aa4\u90fd\u6703\u63a8\u9001\u8a0a\u606f\u5230Topic(M5Stack_Log)\uff0cRFID\u7684UID\u53ef\u4ee5\u900f\u904eUiflow RFID\u529f\u80fd\u53d6\u5f97\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5efa\u7acbRFID\u526f\u7a0b\u5f0f\u51fd\u5f0f<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=logic\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5224\u65b7\u908f\u8f2f\u51fd\u5f0f<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/Units?id=rfid\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">RFID\u51fd\u5f0f\u5eab<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/ui_simulator?id=ui-elements\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">UI\u5143\u4ef6<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/advanced?id=mqtt-communication\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">MQTT\u529f\u80fd<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/data_structure?id=text\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u6587\u5b57<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5c0e\u5165\u526f\u7a0b\u5f0f\u51fd\u5f0f<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"971\" height=\"340\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-35.png\" alt=\"\" class=\"wp-image-12441\"\/><\/figure>\n\n\n\n<p>RFID\u8fa8\u8b58\u529f\u80fd\u6210\u529f\u96fb\u78c1\u95a5\u6703\u4f5c\u52d5\u4e00\u6b21\u4e26\u5728Core\u4e0a\u986f\u793a\u6b63\u78ba\uff0c\u611f\u61c9\u5230\u932f\u8aa4\u7684\u5361\u7247\u986f\u793a\u932f\u8aa4\u3002<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/s3-us-west-2.amazonaws.com\/secure.notion-static.com\/2ea20374-4130-4210-90c7-53ce1dd5e53c\/239497.t.mp4\"><\/video><\/figure>\n\n\n\n<p>\u624b\u6a5f\u7aef\u7684\u7d00\u9304\u6a21\u7d44\u986f\u793a\u6b63\u78ba\u8207\u932f\u8aa4(\u542b\u6642\u9593\u6233\u8a18)\u7684\u8cc7\u6599\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"154\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-36.png\" alt=\"\" class=\"wp-image-12442\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step6 \u9580\u7981\u529f\u80fd_\u6309\u9375\u5bc6\u78bc\u8f38\u5165<\/h3>\n\n\n\n<p>\u8a2d\u5b9a\u6309\u9375\u8f38\u5165\u5bc6\u78bc\u529f\u80fd\uff0c\u5728\u4e3b\u7a0b\u5f0f(Main)\u8ff4\u5708\u4e0b\u52a0\u5165\u4e00\u500b\u6309\u9375\u529f\u80fd\u89f8\u767c\u51fd\u5f0f\uff0c\u7576\u9375\u76e4\u8f38\u5165\u7684\u6578\u5b57\u5927\u65bc\u7b49\u65bc7\u500b\u6642\u89f8\u767c\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u51fd\u5f0f<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=logic\">\u5224\u65b7\u908f\u8f2f\u51fd\u5f0f<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/data_structure?id=text\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u6587\u5b57<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/FACES?id=calculator\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u9375\u76e4\u6a21\u7d44\u51fd\u5f0f<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"372\" height=\"242\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-37.png\" alt=\"\" class=\"wp-image-12443\"\/><\/figure>\n\n\n\n<p>\u5efa\u7acb\u5bc6\u78bc\u8f38\u5165\u7684\u5224\u65b7\u51fd\u5f0f(Password_decision)\u3001\u5bc6\u78bc\u8f38\u5165\u526f\u7a0b\u5f0f(RFID_OK)\u3001\u5bc6\u78bc\u8f38\u5165\u526f\u7a0b\u5f0f(RFID_Denied)\u3002\u5224\u65b7\u51fd\u5f0f(Password_decision)\u4f5c\u70ba\u7576\u5bc6\u78bc\u8f38\u5165\u6b63\u78ba\u6642\u57f7\u884c\u526f\u7a0b\u5f0f(Type_OK)\u52a0\u4e0a\u7cfb\u7d71\u526f\u7a0b\u5f0f(UNLOCK)\uff0c\u6216\u662f\u7576\u5bc6\u78bc\u8f38\u5165\u932f\u8aa4\u6642\u57f7\u884c\u526f\u7a0b\u5f0f(Type_Denied)\u52a0\u4e0a\u7cfb\u7d71\u526f\u7a0b\u5f0f(LOCK)\u3002\u5b8c\u6210\u5f8c\u8a18\u5f97\u5728\u5169\u500b\u5bc6\u78bc\u8f38\u5165\u526f\u7a0b\u5f0f\u5167\u52a0\u5165MQTT\u63a8\u9001\u529f\u80fd\uff0c\u4e0d\u7ba1\u6b63\u78ba\u6216\u662f\u932f\u8aa4\u90fd\u6703\u63a8\u9001\u8a0a\u606f\u5230Topic(M5Stack_Log)\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5efa\u7acb\u5bc6\u78bc\u8f38\u5165\u526f\u7a0b\u5f0f\u51fd\u5f0f<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=logic\">\u5224\u65b7\u908f\u8f2f\u51fd\u5f0f<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/FACES?id=calculator\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\"> \u9375\u76e4\u6a21\u7d44\u51fd\u5f0f<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/ui_simulator?id=ui-elements\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">UI\u5143\u4ef6<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/advanced?id=mqtt-communication\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">MQTT\u529f\u80fd<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/data_structure?id=text\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u6587\u5b57<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5c0e\u5165\u526f\u7a0b\u5f0f\u51fd\u5f0f<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"883\" height=\"404\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-38.png\" alt=\"\" class=\"wp-image-12444\"\/><\/figure>\n\n\n\n<p>\u5bc6\u78bc\u8f38\u5165\u6b63\u78ba\u96fb\u78c1\u95a5\u6703\u4f5c\u52d5\u4e00\u6b21\u4e26\u5728Core\u4e0a\u986f\u793a\u6b63\u78ba\uff0c\u8f38\u5165\u932f\u8aa4\u986f\u793a\u932f\u8aa4\u3002<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/s3-us-west-2.amazonaws.com\/secure.notion-static.com\/25916c87-d300-402e-b17f-5defc0fd4fa1\/239511.t.mp4\"><\/video><\/figure>\n\n\n\n<p>\u624b\u6a5f\u7aef\u7684\u7d00\u9304\u6a21\u7d44\u986f\u793a\u5bc6\u78bc\u8f38\u5165\u6b63\u78ba\u8207\u932f\u8aa4(\u542b\u6642\u9593\u6233\u8a18)\u7684\u8cc7\u6599\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"203\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-39.png\" alt=\"\" class=\"wp-image-12445\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step7 \u9580\u7981\u529f\u80fd_\u6307\u7d0b\u8fa8\u8b58<\/h3>\n\n\n\n<p>\u5efa\u7acb\u6307\u7d0b\u8fa8\u8b58\u8f38\u5165\u529f\u80fd\u4ee5\u524d\uff0c\u5fc5\u9808\u5148\u5efa\u7acb\u5132\u5b58\u6b0a\u9650\u6a5f\u5236\uff0c\u4f7f\u7528UiFlow EVENT\u529f\u80fd\u52a0\u5165\u6309\u9375\u89f8\u767c\uff0c\u6309\u4e0bA\u6642\u6e05\u9664\u6240\u6709\u6b0a\u9650\uff0c\u6309\u4e0bB\u6642\u8a2d\u5b9a\u6b0a\u9650\u5b58\u53d6\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : EVENT\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/ui_simulator?id=ui-elements\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">UI\u5143\u4ef6<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/Units?id=finger\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u6307\u7d0b\u8fa8\u8b58\u6a21\u7d44\u51fd\u5f0f\u5eab<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5c0e\u5165\u526f\u7a0b\u5f0f\u51fd\u5f0f<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"213\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-40.png\" alt=\"\" class=\"wp-image-12446\"\/><\/figure>\n\n\n\n<p>\u6307\u7d0b\u8fa8\u8b58\u7684\u5224\u5225\u51fd\u5f0f\u6709\u5225\u65bc\u524d\u8ff0\u4e4bRFID\u8207\u5bc6\u78bc\u8f38\u5165\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528Unit\u6a21\u7d44\u9078\u55ae\u4e2d\u7684Finger\u6a21\u7d44\u51fd\u5f0f\u5eab\u8a2d\u5b9a\u5224\u5225\u51fd\u5f0f\uff0c\u5b8c\u6210\u5f8c\u8a18\u5f97\u5728\u5169\u500b\u6307\u7d0b\u8fa8\u8b58\u526f\u7a0b\u5f0f\u5167\u52a0\u5165MQTT\u63a8\u9001\u529f\u80fd\uff0c\u4e0d\u7ba1\u6b63\u78ba\u6216\u662f\u932f\u8aa4\u90fd\u6703\u63a8\u9001\u8a0a\u606f\u5230Topic(M5Stack_Log)\u3002Uiflow\u4f7f\u7528\u5230\u7684\u529f\u80fd\u5217 : <a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/Units?id=finger\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u6307\u7d0b\u8fa8\u8b58\u6a21\u7d44\u51fd\u5f0f\u5eab<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=logic\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5224\u65b7\u908f\u8f2f\u51fd\u5f0f<\/a> \u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/ui_simulator?id=ui-elements\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">UI\u5143\u4ef6<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/advanced?id=mqtt-communication\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">MQTT\u529f\u80fd<\/a>\u3001<a href=\"https:\/\/docs.m5stack.com\/#\/en\/uiflow\/logic?id=functions\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">\u5c0e\u5165\u526f\u7a0b\u5f0f\u51fd\u5f0f<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-41.png\" alt=\"\" class=\"wp-image-12447\" width=\"933\" height=\"215\"\/><\/figure>\n\n\n\n<p>\u8fa8\u8b58\u5230\u5df2\u5b58\u53d6\u6b0a\u9650\u7684\u6307\u7d0b\uff0c\u96fb\u78c1\u95a5\u6703\u4f5c\u52d5\u4e00\u6b21\u4e26\u5728Core\u4e0a\u986f\u793a\u6b63\u78ba\uff0c\u7121\u6b0a\u9650\u7684\u6307\u7d0b\u6703\u986f\u793a\u932f\u8aa4\u3002(\u6ce8\u610f\u6307\u7d0b\u8fa8\u8b58\u6a21\u7d44\u9808\u5c07\u624b\u6307\u6309\u58d3\u5728\u6a21\u7d44\u4e0a\u4e00\u6bb5\u6642\u9593\u65b9\u53ef\u5b58\u53d6\u8cc7\u6599)<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/s3-us-west-2.amazonaws.com\/secure.notion-static.com\/f49c5142-148e-4517-899f-25869beeb50f\/239519.t.mp4\"><\/video><\/figure>\n\n\n\n<p>\u624b\u6a5f\u7aef\u7684\u7d00\u9304\u6a21\u7d44\u986f\u793a\u6307\u7d0b\u662f\u5426\u542b\u6709\u6b0a\u9650(\u542b\u6642\u9593\u6233\u8a18)\u7684\u8cc7\u6599\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"143\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-42.png\" alt=\"\" class=\"wp-image-12448\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step8 \u9580\u7981\u529f\u80fd_\u651d\u5f71\u6a5f<\/h3>\n\n\n\n<p id=\"7e93f9b5-8c94-4717-91d3-2216ff853517\">\u6aa2\u8996\u9580\u7981\u651d\u5f71\u6a5f\u5f71\u50cf\uff0c\u5c07APCAM\u63d2\u4e0aTypeC\u50b3\u8f38\u7dda\u4f9b\u96fb\uff0cAPCAM\u4e0a\u7684\u96fb\u6e90\u6307\u793a\u71c8\u958b\u555f\uff0c\u5c07\u96fb\u8166\u7684Wifi\u8a2d\u5b9a\u958b\u555f\uff0c\u8207APCAM\u9023\u7dda\u5f8c\uff0c\u6253\u958b\u700f\u89bd\u5668\u5728\u7db2\u5740\u5217\u8f38\u5165 : 192.168.4.1\u5f8c\u5373\u53ef\u4e32\u6d41\u5f71\u50cf\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"285\" height=\"477\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/09\/image-43.png\" alt=\"\" class=\"wp-image-12449\"\/><\/figure>\n\n\n\n<p>\u9019\u6b21\u5be6\u4f5c\u7684\u9580\u7981\u7cfb\u7d71\u4f7f\u7528\u4e86RFID\u3001\u6307\u7d0b\u8fa8\u8b58\u3001\u6309\u9375\u8f38\u5165\u7b49\u6a21\u7d44\u5feb\u901f\u5730\u5efa\u7acb\u8d77\u786c\u9ad4\u8a2d\u5099\uff0c\u4e26\u4f7f\u7528MQTT\u901a\u8a0a\u5354\u5b9a\u9060\u7aef\u9059\u63a7\u958b\u555f\u9580\u9396\u8207\u5efa\u7acb\u9580\u7981\u7d00\u9304\uff0c\u53d7\u9650\u65bcBlocky\u7684\u529f\u80fd\uff0c\u50cf\u662fAI\u4eba\u81c9\u8fa8\u8b58\u7b49\u529f\u80fd\u7121\u6cd5\u5728UiFlow\u4e0a\u5be6\u73fe\uff0c\u5f71\u50cf\u4e32\u6d41\u5f8c\u7684YOLO\u5075\u6e2c\u9032\u968e\u529f\u80fd\u5c07\u5728\u4e0b\u4e00\u7bc7&lt;M5Stack IOT\u667a\u6167\u9580\u7981\u7cfb\u7d71 &#8211; \u9032\u968e\u7bc7&gt;\u8207\u5927\u5bb6\u505a\u4ecb\u7d39\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5546\u54c1\u7c21\u4ecb : \u9019\u662f\u4e00\u6b3e\u4f7f\u7528M5Stack \u5957\u4ef6\u5b8c\u6210\u7684\u7269\u806f\u7db2\u61c9\u7528\u6559\u5177\uff0c\u5e02\u552e\u5e38\u898b\u7684\u667a\u6167\u9580\u9396\u529f\u80fd\u4e0d\u5916\u4e4e\u6307\u7d0b\u8fa8\u8b58\u3001\u78c1\u5361 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9253,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111,238],"tags":[108,158,228],"table_tags":[],"_links":{"self":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/12349"}],"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=12349"}],"version-history":[{"count":8,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/12349\/revisions"}],"predecessor-version":[{"id":12454,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/12349\/revisions\/12454"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/9253"}],"wp:attachment":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=12349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=12349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=12349"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=12349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}