{"id":781,"date":"2022-12-19T16:06:27","date_gmt":"2022-12-19T08:06:27","guid":{"rendered":"http:\/\/wordpress.loc\/?p=781"},"modified":"2022-12-19T16:06:52","modified_gmt":"2022-12-19T08:06:52","slug":"esp32_ch3-17","status":"publish","type":"post","link":"https:\/\/www.nmking.io\/index.php\/2022\/12\/19\/781\/","title":{"rendered":"\u770b\u8ff7\u7247\u6642\uff0c\u8001\u5a46\u5ffd\u7136\u4f86\u4e86\u600e\u9ebc\u8fa6\uff1f\u8ff7\u7247\u6551\u661f\u2026.\u85cd\u82bd\u9375\u76e4\u6a21\u64ec"},"content":{"rendered":"\n<figure class=\"wp-block-pullquote\"><blockquote><p>\u672c\u6b21\u6211\u5011\u5c31\u5047\u8a2d\u4f60\u6b63\u5728\u89c0\u770b\u300c\u65e5\u672c\u9996\u90fd\u5f88\u71b1\u300d\uff0c\u6216\u8005\u300c\u6fb3\u9580\u8ced\u5834\u300d\u7b49\u985e\u578b\u7684\u611b\u60c5\u52d5\u4f5c\u7247\u6642\uff0c\u5f88\u6015\u6709\u4eba\u767c\u73fe\uff0c\u90a3\u9ebc\u5c31\u505a\u4e00\u500b\u4eba\u9ad4\u611f\u6e2c\u5668\u5728\u9580\u53e3\uff0c\u7576\u6709\u4eba\u7d93\u904e\u6642\uff0c\u5c31\u8b93ESP32\u9001\u51fa\u300c\u66ab\u505c\u5f71\u7247\u64ad\u653e\u300d\u3001\u300c\u6e05\u7a7a\u684c\u9762\u300d\u3001\u300c\u958b\u555f\u700f\u89bd\u5668\u641c\u5c0b&#8221;ESP32&#8243;\u300d\u7b49\u4e09\u500b\u52d5\u4f5c<\/p><\/blockquote><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-ht-block-toc is-style-rounded htoc htoc--position-wide toc-list-style-plain\" data-htoc-state=\"expanded\"><span class=\"htoc__title\"><span class=\"ht_toc_title\">Table of Contents<\/span><span class=\"htoc__toggle\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\"><g fill=\"#444\"><path d=\"M15 7H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><path d=\"M15 1H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1zM15 13H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><\/g><\/svg><\/span><\/span><div class=\"htoc__itemswrap\"><ul class=\"ht_toc_list\"><li class=\"\"><a href=\"#htoc-\">\u5be6\u505a\u6e96\u5099<\/a><\/li><li class=\"\"><a href=\"#htoc-ble\">\u4e00\u3001BLE\u85cd\u82bd\u9375\u76e4<\/a><\/li><li class=\"\"><a href=\"#htoc-1\">\u4e8c\u3001\u5be6\u505a\u8ff7\u7247\u6551\u661f\uff0c\u8001\u5a46\u901a\u77e5\u5668<\/a><\/li><li class=\"\"><a href=\"#htoc-11\">\u4e09\u3001\u96fb\u8166\u9023\u7dda\u85cd\u82bd\u9375\u76e4<\/a><\/li><li class=\"\"><a href=\"#htoc-111\">\u56db\u3001\u5be6\u969b\u6e2c\u8a66\u770b\u770b<\/a><\/li><li class=\"\"><a href=\"#htoc-1111\">\u4e94\u3001\u6ce8\u610f\u4e8b\u9805<\/a><\/li><\/ul><\/div><\/div>\n\n\n\n<p>\u6211\u7684ESP32\u5be6\u505a\u66f8\u7c4d\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/10\/esp32_ch1-2\/\" target=\"_blank\">\u6211\u51fa\u66f8\u4e86 ESP32 \u7269\u806f\u7db2\u5c08\u984c<\/a><br>\u535a\u5ba2\u4f86\u7db2\u5740\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/www.books.com.tw\/products\/0010901195\" target=\"_blank\">https:\/\/www.books.com.tw\/products\/0010901195<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-\">\u5be6\u505a\u6e96\u5099<\/h2>\n\n\n\n<p>ESP32\u5167\u5efaWiFi\u53ca\u85cd\u82bd\uff0c\u85cd\u82bd\u90e8\u4efd\u652f\u63f42.0\u7684BTSerial\u53ca4.0\u7684BLE\uff0c\u95dc\u65bc2.0 BTSerial\u9023\u7dda\u7684\u7bc4\u4f8b\u53ef\u4ee5\u53c3\u8003\uff1a<a href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/22\/esp32_ch1-18\/\">\u7b2c<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/22\/esp32_ch1-18\/\" target=\"_blank\">\u5341<\/a><a href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/22\/esp32_ch1-18\/\">\u516d\u7bc7 ESP32 \u85cd\u82bdBT\u9023\u7dda\uff1a\u5373\u6642\u901a\u8a0a\u8207\u8a9e\u97f3\u6307\u4ee4<\/a><br>\u800c4.0 BLE\u90e8\u4efd\u529f\u80fd\u5247\u66f4\u591a\uff0c\u53ef\u4ee5\u62ff\u4f86\u505aBeacon\u5b9a\u4f4d\u5075\u6e2c\uff08<a href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/10\/esp32_ch1-3\/\">ESP32 Arduino Beaco<\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/10\/esp32_ch1-3\/\" target=\"_blank\">n<\/a><a href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/10\/esp32_ch1-3\/\">\u7c21\u6613Bluetooth\u5ba4\u5167\u5b9a\u4f4d<\/a>\uff09\uff0c\u6216\u8005BLE Notify\uff08<a href=\"https:\/\/www.nmking.io\/index.php\/2022\/12\/16\/esp32_ch1-28\/\">ESP32 BLE<\/a><a href=\"https:\/\/www.nmking.io\/index.php\/2022\/12\/16\/esp32_ch1-28\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u9023<\/a><a href=\"https:\/\/www.nmking.io\/index.php\/2022\/12\/16\/esp32_ch1-28\/\">\u7dda\u8207\u5ee3\u64ad<\/a>\uff09\uff0c\u4eca\u5929\u5247\u662f\u518d\u589e\u52a0\u4e00\u500b\u529f\u80fd\uff0c\u5c31\u662f\u6a21\u64ec\u6210\u85cd\u82bd\u9375\u76e4\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-ble\">\u4e00\u3001BLE\u85cd\u82bd\u9375\u76e4<\/h2>\n\n\n\n<p>ESP32\u8207\u50b3\u7d71Arduino\u6bd4\u8f03\u8d77\u4f86\u96d6\u7136\u5927\u90e8\u5206\u90fd\u6bd4\u8f03\u5f37\uff0c\u4f46\u662f\u6709\u4e00\u500b\u5c0f\u5c0f\u7684\u7f3a\u61be\uff0c\u5c31\u662f\u4e0d\u80fd\u6a21\u64ec\u6210USB\u9375\u76e4\uff0c\u4e0d\u904e\u9084\u597d\u53ef\u4ee5\u900f\u904eBLE\u6a21\u64ec\u6210\u85cd\u82bd\u9375\u76e4\uff0c\u4f7f\u7528\u7684\u7a0b\u5f0f\u5eab\u5247\u662fESP32-BLE-Keyboard\uff08\u7db2\u5740\uff1a<a href=\"https:\/\/github.com\/T-vK\/ESP32-BLE-Keyboard\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/T-vK\/ESP32-BLE-Keyboard<\/a>\uff09\uff0c\u6b64\u7a0b\u5f0f\u5eab\u5c1a\u672a\u88abArdunio IDE\u6536\u9304\uff0c\u56e0\u6b64\u8acb\u81ea\u884c\u4e0b\u8f09\u532f\u5165\u5b89\u88dd\u3002\u9664\u4e86\u9375\u76e4\u4ee5\u5916\uff0c\u4e5f\u53ef\u4ee5\u6a21\u64ec\u6ed1\u9f20\u53ca\u904a\u6232\u9059\u63a7\u5668\uff0c\u53ef\u4ee5\u53c3\u8003\u4f5c\u8005\u7684\u8aaa\u660e\u3002<br><br>\u6839\u64da\u4f5c\u8005\u7684\u8aaa\u660e\uff0c\u6a21\u64ec\u9375\u76e4\u7684\u65b9\u5f0f\u5c31\u662f\u9001\u51faBLE\u6307\u4ee4\uff0c\u4f8b\u5982\u8981\u6253\u300cA\u300d\uff0c\u5c31\u662f\u9001\u51fa\u85cd\u82bd\u6307\u4ee4\uff0c\u5176\u65b9\u5f0f\u70bableKeyboard.print(\u201cA\u201d)\uff0c\u9664\u4e86print\u4e4b\u5916\uff0c\u4e5f\u6709write\u3001press\u7b49\u6307\u4ee4\uff0c\u5dee\u7570\u5217\u8868\u5982\u4e0b<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1642355748-2610289120-g_n.png?resize=840%2C462&#038;ssl=1\" alt=\"\" width=\"840\" height=\"462\"\/><\/figure>\n\n\n\n<p>\u95dc\u65bc\u6240\u6709\u9375\u76e4\u7684\u7279\u6b8a\u529f\u80fd\u9375\u7528\u6cd5\uff0c\u53ef\u4ee5\u53c3\u8003\u300cBleKeyboard.h\u300d\uff08<a href=\"https:\/\/github.com\/T-vK\/ESP32-BLE-Keyboard\/blob\/master\/BleKeyboard.h\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/T-vK\/ESP32-BLE-Keyboard\/blob\/master\/BleKeyboard.h<\/a>\uff09\u88e1\u9762\u6709\u5b8c\u6574\u7684\u5217\u8868\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-1\">\u4e8c\u3001\u5be6\u505a\u8ff7\u7247\u6551\u661f\uff0c\u8001\u5a46\u901a\u77e5\u5668<\/h2>\n\n\n\n<p>\u672c\u6b21\u6211\u5011\u5c31\u5047\u8a2d\u4f60\u6b63\u5728\u89c0\u770b\u300c\u65e5\u672c\u9996\u90fd\u5f88\u71b1\u300d\uff0c\u6216\u8005\u300c\u6fb3\u9580\u8ced\u5834\u300d\u7b49\u985e\u578b\u7684\u611b\u60c5\u52d5\u4f5c\u7247\u6642\uff0c\u5f88\u6015\u6709\u4eba\u767c\u73fe\uff0c\u90a3\u9ebc\u5c31\u505a\u4e00\u500b\u4eba\u9ad4\u611f\u6e2c\u5668\u5728\u9580\u53e3\uff0c\u7576\u6709\u4eba\u7d93\u904e\u6642\uff0c\u5c31\u8b93ESP32\u9001\u51fa\u300c\u66ab\u505c\u5f71\u7247\u64ad\u653e\u300d\u3001\u300c\u6e05\u7a7a\u684c\u9762\u300d\u3001\u300c\u958b\u555f\u700f\u89bd\u5668\u641c\u5c0b&#8221;ESP32&#8243;\u300d\u7b49\u4e09\u500b\u52d5\u4f5c\uff0c\u5047\u88dd\u6211\u5011\u6b63\u5728\u8a8d\u771f\u627e\u8cc7\u6599\uff0c\u662f\u4e0d\u662f\u5f88\u68d2\u5462\uff1f\u8981\u5b8c\u6210\u9019\u4e09\u500b\u85cd\u82bd\u9375\u76e4\u6307\u4ee4\uff0c\u5176\u8a9e\u6cd5\u5206\u5225\u70ba<\/p>\n\n\n\n<p>1.\u300c\u66ab\u505c\u5f71\u7247\u64ad\u653e\u300d<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bleKeyboard.write(KEY_MEDIA_PLAY_PAUSE)<\/code><\/pre>\n\n\n\n<p>2.\u300c\u6e05\u7a7a\u684c\u9762\u8996\u7a97\u300d<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bleKeyboard.press(KEY_LEFT_GUI);\/\/windows\u5de6\u5074\u6309\u9215\nbleKeyboard.print(\u201cd\u201d);\/\/\u8f38\u5165d\uff0c\u5373windows+d=\u6e05\u7a7a\u684c\u9762\nbleKeyboard.releaseAll();\/\/\u91cb\u653ewindows\u6309\u9215<\/code><\/pre>\n\n\n\n<p>3.\u300c\u958b\u555f\u700f\u89bd\u5668\u641c\u5c0b\u201dESP32\u201d\u300d<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bleKeyboard.press(KEY_MEDIA_WWW_HOME);\/\/\u958b\u555f\u9810\u8a2d\u700f\u89bd\u5668\nbleKeyboard.print(\u201cESP32\u201d);\/\/\u8f38\u5165\u641c\u5c0b\u95dc\u9375\u5b57\nbleKeyboard.write(KEY_RETURN);\/\/\u8f38\u5165Enter<\/code><\/pre>\n\n\n\n<p>\u8acb\u4f9d\u7167\u4ee5\u4e0b\u6b65\u9a5f<\/p>\n\n\n\n<p>1.\u4e0b\u8f09\u7a0b\u5f0f\u5eab<\/p>\n\n\n\n<p>ESP32-BLE-Keyboard\u7db2\u5740\uff1a<a href=\"https:\/\/github.com\/T-vK\/ESP32-BLE-Keyboard\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/T-vK\/ESP32-BLE-Keyboard<\/a>\uff0c\u9ede\u9078\u53f3\u5074code\u6309\u9215\uff0c\u9078\u64c7DownloadZIP\uff0c\u4e0b\u8f09\u5230\u4f60\u96fb\u8166\u4e2d\u3002\u540d\u7a31\u70ba\u300cESP32-BLE-Keyboard-master.zip\u300d<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1642355886-2390642503-g_n.png?resize=840%2C589&#038;ssl=1\" alt=\"\" width=\"840\" height=\"589\"\/><figcaption class=\"wp-element-caption\">\u4e0b\u8f09github\u7a0b\u5f0f\u5eab<\/figcaption><\/figure>\n\n\n\n<p>2.\u5728Arduino\u5b89\u88dd\u7a0b\u5f0f\u5eab<\/p>\n\n\n\n<p>\u9ede\u9078\u529f\u80fd\u8868 \u8349\u7a3f\u78bc\/\u532f\u5165\u7a0b\u5f0f\u5eab\/\u52a0\u5165zip\u7a0b\u5f0f\u5eab\uff0c\u5c31\u6703\u958b\u555f\u6a94\u6848\u9078\u64c7\u5668\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1642355896-1945282199-g_n.png?resize=841%2C458&#038;ssl=1\" alt=\"\" width=\"841\" height=\"458\"\/><\/figure>\n\n\n\n<p>\u5728\u6a94\u6848\u9078\u64c7\u5668\u4e2d\uff0c\u627e\u5230\u4f60\u525b\u525b\u4e0b\u8f09\u7684ESP32-BLE-Keyboard-master.zip\uff0c\u7136\u5f8c\u6309\u4e0b\u65b9\u7684\u300c\u958b\u555f\u300d\u6309\u9215\u5373\u53ef\uff0c\u6b64\u6642\u6211\u5011\u5c31\u5b89\u88dd\u597d\u7a0b\u5f0f\u5eab\u4e86\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1642355901-2592609411-g_n.png?resize=842%2C605&#038;ssl=1\" alt=\"\" width=\"842\" height=\"605\"\/><\/figure>\n\n\n\n<p>3.\u64b0\u5beb\u7a0b\u5f0f<\/p>\n\n\n\n<p>\u9996\u5148\u6211\u5011\u8981\u6e96\u5099\u7684ESP32\u4e4b\u5916\uff0c\u9084\u6709\u4e00\u500b\u4eba\u9ad4\u611f\u6e2c\u5668\uff08PIR, SR-501\uff09\uff0c\u6211\u5011\u5c07\u5979\u63a5\u5728GPIO 17\uff0c\u95dc\u65bc\u4eba\u9ad4\u611f\u6e2c\u5668\u7684\u5b89\u88dd\uff0cSR501\u76f8\u95dc\u8a2d\u5b9a\u53ef\u4ee5\u53c3\u8003\u672c\u6587\uff1a<a href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/18\/esp32_ch1-10\/\">\u7b2c\u4e94\u7bc7 ESP32 \u4f86\u5ba2\u5831\u77e5\u6a5f<\/a><a href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/18\/esp32_ch1-10\/\" target=\"_blank\" rel=\"noreferrer noopener\">\uff1a\u9304<\/a><a href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/18\/esp32_ch1-10\/\">\u653e\u97f3\u6a21\u7d44(ISD1820)<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;BleKeyboard.h>\nBleKeyboard bleKeyboard;\/\/\u5ba3\u544a\u4e00\u500b\u85cd\u82bd\u9375\u76e4\n\nvoid setup() {\n  Serial.begin(115200);\n  pinMode(17, INPUT);\/\/\u4eba\u9ad4\u611f\u6e2c\u5668\u63a5\u5728GPIO 17\n  Serial.println(\"BLE\u9375\u76e4\u6e96\u5099\u9023\u7dda\");\n  bleKeyboard.setName(\"\u5c0f\u9738\u738bBLEKeyBoard\"); \/\/\u81ea\u884c\u8a2d\u5b9a\u85cd\u82bd\u9375\u76e4\u540d\u7a31\n  bleKeyboard.begin();\n}\n\nvoid loop() {\n  if (bleKeyboard.isConnected()) {\n    \/\/PIR\u662f\u5426\u6709\u4eba\u7d93\u904e\n    if (digitalRead(17)) {\n      Serial.println(\"\u6709\u4eba\u7d93\u904e\uff0c\u57f7\u884c\u7dca\u6025\u7a0b\u5e8f\");\n      \/\/1.\u66ab\u505c\u64a5\u653e\u5f71\u7247\n      bleKeyboard.write(KEY_MEDIA_PLAY_PAUSE);\n\n      \/\/2.\u6e05\u7a7a\u684c\u9762\n      bleKeyboard.press(KEY_LEFT_GUI);\/\/windows\u5de6\u5074\u6309\u9215\n      bleKeyboard.print(\"d\");\/\/\u8f38\u5165d\uff0c\u5373windows+d=\u6e05\u7a7a\u684c\u9762\n      delay(100);\n      bleKeyboard.releaseAll();\/\/\u91cb\u653ewindows\u6309\u9215\n\n      \/\/3.\u300c\u958b\u555f\u700f\u89bd\u5668\u641c\u5c0b\u201dESP32\u201d\u300d\uff1a\n      bleKeyboard.press(KEY_MEDIA_WWW_HOME);\/\/\u958b\u555f\u9810\u8a2d\u700f\u89bd\u5668\n      delay(500);\/\/\u7b49\u5019\u700f\u89bd\u5668\u958b\u555f\u5b8c\u7562\uff0c\u8acb\u4f9d\u7167\u96fb\u8166\u6548\u80fd\u9069\u5ea6\u8abf\u6574\u6642\u9593\n      bleKeyboard.print(\"esp32\");\/\/\u8f38\u5165\u641c\u5c0b\u95dc\u9375\u5b57\n      delay(100);\/\/\u7b49\u5019\u95dc\u9375\u5b57\u8f38\u5165\u5b8c\u7562\n      bleKeyboard.write(KEY_RETURN);\/\/\u8f38\u5165Enter\n      delay(10000);\n    }\n  }\n  delay(100);\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-11\">\u4e09\u3001\u96fb\u8166\u9023\u7dda\u85cd\u82bd\u9375\u76e4<\/h2>\n\n\n\n<p>\u5b8c\u6210\u4e0a\u9762\u7684\u7a0b\u5f0f\u4e26\u4e0a\u50b3\u5f8c\uff0c\u6211\u5011\u5c31\u53ef\u4ee5\u5229\u7528\u6709\u85cd\u82bd\u7684\u96fb\u8166\u9032\u884c\u9023\u7dda\uff0c\u65b9\u5f0f\u5982\u4e0b<\/p>\n\n\n\n<p>1.\u958b\u555f\u8a2d\u5b9a\/\u9ede\u9078\u85cd\u82bd\u529f\u80fd<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1642356032-152166023-g_n.png?resize=843%2C481&#038;ssl=1\" alt=\"\" width=\"843\" height=\"481\"\/><\/figure>\n\n\n\n<p>2.\u9ede\u9078\u65b0\u589e\u85cd\u82bd\u6216\u5176\u4ed6\u88dd\u7f6e\uff0c\u4e26\u9078\u64c7\u85cd\u82bd<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1642356040-2257148363-g_n.png?resize=839%2C496&#038;ssl=1\" alt=\"\" width=\"839\" height=\"496\"\/><\/figure>\n\n\n\n<p>3.\u627e\u5230\u4e26\u9078\u64c7\u81ea\u5df1\u8a2d\u5b9a\u597d\u7684\u88dd\u7f6e\u540d\u7a31<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1642356048-1672383289-g_n.png?resize=842%2C601&#038;ssl=1\" alt=\"\" width=\"842\" height=\"601\"\/><\/figure>\n\n\n\n<p>4.\u9023\u7dda\u6210\u529f<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1642356055-3760110996-g.png?resize=843%2C625&#038;ssl=1\" alt=\"\" width=\"843\" height=\"625\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-111\">\u56db\u3001\u5be6\u969b\u6e2c\u8a66\u770b\u770b<\/h2>\n\n\n\n<p>\u4e00\u958b\u59cb\u5148\u5047\u8a2d\u6b63\u5728\u770bYoutube\u5f71\u7247<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1642356206-1916804138-g_n.png?resize=842%2C664&#038;ssl=1\" alt=\"\" width=\"842\" height=\"664\"\/><\/figure>\n\n\n\n<p>\u767c\u73fe\u6709\u4eba\u7d93\u904e\u5f8c\uff0c\u5c31\u6703\u7acb\u5373\u89f8\u767c\u4e09\u500b\u7a0b\u5e8f\u300c\u66ab\u505c\u5f71\u7247\u64ad\u653e\u300d\u3001\u300c\u6e05\u7a7a\u684c\u9762\u300d\u3001\u300c\u958b\u555f\u700f\u89bd\u5668\u641c\u5c0b&#8221;ESP32&#8243;\u300d\u4e09\u500b\u52d5\u4f5c<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1642356271-644789103-g_n.png?resize=840%2C539&#038;ssl=1\" alt=\"\" width=\"840\" height=\"539\"\/><\/figure>\n\n\n\n<p>\u662f\u4e0d\u662f\u5f88\u6709\u8da3\u5462\uff1f<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-1111\">\u4e94\u3001\u6ce8\u610f\u4e8b\u9805<\/h2>\n\n\n\n<p>\u4e0d\u904e\u8981\u6ce8\u610f\u5e7e\u500b\u554f\u984c<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u6bcf\u500b\u9375\u76e4\u6307\u4ee4\u4e4b\u9593\u8981\u52a0\u4e0a\u4e00\u4e9b\u5ef6\u9072\u6642\u9593\uff0c\u4f8b\u5982\u958b\u555f\u700f\u89bd\u5668\u5230\u8f38\u5165\u95dc\u9375\u5b57\u53caENTER\uff0c\u56e0\u70ba\u6c92\u6709\u7559\u8db3\u5920\u7684\u5ef6\u9072\u6642\u9593\uff0c\u6703\u5c0e\u81f4\u700f\u89bd\u5668\u9084\u6c92\u958b\u555f\uff0c\u95dc\u9375\u5b57\u5c31\u8f38\u5165\u5230\u684c\u9762\u4e86\uff0c\u8b8a\u6210\u958b\u555f\u67d0\u4e9b\u7279\u5b9a\u6a94\u6848\u3002<\/li>\n\n\n\n<li>\u8f38\u5165\u6cd5\u554f\u984c\uff0c\u9375\u76e4\u76ee\u524d\u4f3c\u4e4e\u4e0d\u652f\u63f4\u4e2d\u6587\uff0c\u56e0\u6b64\u8f38\u5165\u6587\u5b57\u8cc7\u6599\u5fc5\u9808\u5148\u5c07\u7cfb\u7d71\u5207\u5230\u82f1\u6587\u8f38\u5165\u6cd5\uff0c\u907f\u514d\u6587\u5b57\u8f38\u5165\u932f\u4e82\u3002<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6b21\u6211\u5011\u5c31\u5047\u8a2d\u4f60\u6b63\u5728\u89c0\u770b\u300c\u65e5\u672c\u9996\u90fd\u5f88\u71b1\u300d\uff0c\u6216\u8005\u300c\u6fb3\u9580\u8ced\u5834\u300d\u7b49\u985e\u578b\u7684\u611b\u60c5\u52d5\u4f5c\u7247\u6642\uff0c\u5f88\u6015\u6709\u4eba\u767c\u73fe\uff0c\u90a3\u9ebc\u5c31\u505a\u4e00\u500b\u4eba\u9ad4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-781","post","type-post","status-publish","format-standard","hentry","category-esp32"],"blocksy_meta":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/posts\/781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/comments?post=781"}],"version-history":[{"count":1,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/posts\/781\/revisions"}],"predecessor-version":[{"id":782,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/posts\/781\/revisions\/782"}],"wp:attachment":[{"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/media?parent=781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/categories?post=781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/tags?post=781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}