{"id":501,"date":"2022-11-10T20:49:54","date_gmt":"2022-11-10T12:49:54","guid":{"rendered":"http:\/\/wordpress.loc\/?p=501"},"modified":"2022-11-14T16:38:05","modified_gmt":"2022-11-14T08:38:05","slug":"esp32_ch1-3","status":"publish","type":"post","link":"https:\/\/www.nmking.io\/index.php\/2022\/11\/10\/501\/","title":{"rendered":"ESP32 Arduino Beacon\u7c21\u6613Bluetooth\u5ba4\u5167\u5b9a\u4f4d"},"content":{"rendered":"\n<figure class=\"wp-block-pullquote\"><blockquote><p>beacon\u5c31\u662f\u85cd\u82bd\u767c\u5c04\u5668Bluetooth\uff0c\u4e0d\u505c\u5f97\u5c0d\u6240\u6709\u88dd\u7f6e\u5ee3\u64ad\u8a0a\u606f\uff0c\u624b\u6a5f\u4e0a\u7684APP\u6216\u88dd\u7f6e\u63a5\u6536\u5230\u9019\u500b\u8a0a\u606f\u5c31\u6703\u505a\u51fa\u5c0d\u61c9\u7684\u529f\u80fd\uff0c\u4f8b\u5982\u8df3\u51fa\u5ee3\u544a\u6216\u8005\u7d00\u9304\u4f4d\u7f6e\u7b49\u3002<\/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\">ESP32 Arduino Beacon\u7c21\u6613Bluetooth\u5ba4\u5167\u5b9a\u4f4d\u65b9\u6cd5<\/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-beacon\">Beacon\u662f\u4ec0\u9ebc\uff1f<\/a><\/li><li class=\"\"><a href=\"#htoc-beacon1\">Beacon\u88dd\u7f6e\u7c21\u8981\u8aaa\u660e\u8207\u8a2d\u5b9a<\/a><\/li><li class=\"\"><a href=\"#htoc-esp32\">ESP32\u7c21\u8981\u8aaa\u660e<\/a><\/li><li class=\"\"><a href=\"#htoc-\">\u7bc4\u4f8b\u7a0b\u5f0f<\/a><\/li><li class=\"\"><a href=\"#htoc-rssi\">RSSI\u7c21\u6613\u5b9a\u4f4d<\/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<p class=\"quote\">\u8acb\u6ce8\u610f\uff1a1.\u672c\u7bc7&#8221;\u7a0b\u5f0f\u78bc&#8221;\u90e8\u4efd\u5df2\u7d93\u904e\u6642\uff0c\u8acb\u52ff\u518d\u4f7f\u7528\uff0c\u4f46\u7406\u8ad6\u53ca\u61c9\u7528\u90e8\u4efd\u53ef\u4ee5\u53c3\u8003\u3002<br><br>Beacon\u76f8\u95dc\u8a2d\u5b9a\u53ef\u4ee5\u53c3\u8003\u672c\u7bc7\uff1a<a href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/14\/esp32_ch1-4\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5e38\u898bibeacon\u898f\u683c\u8207python \u7a0b\u5f0f\u78bc<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-beacon\">Beacon\u662f\u4ec0\u9ebc\uff1f<\/h2>\n\n\n\n<p>Beacon (iBeacon)\u5927\u6982\u6700\u8fd1\u5e7e\u5e74\u6d41\u884c\u8d77\u4f86\uff0c\u4e3b\u8981\u662fapple\u516c\u53f8\u5728\u63a8\uff0c\u7528\u4f86\u505a\u5ba4\u5167\u5b9a\u4f4d\u7684\uff0c\u6709\u4eba\u6703\u554fapple\u70ba\u4ec0\u9ebc\u8981\u63a8\u9019\u6771\u897f\uff08\u5176\u5be6\u6c92\u6709\u4eba\u554f\uff09<\/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\/eenews.cdnartwhere.eu\/sites\/default\/files\/styles\/inner_article\/public\/import\/bluetooth-estimote.jpg?resize=838%2C606&#038;ssl=1\" alt=\"\" width=\"838\" height=\"606\"\/><figcaption class=\"wp-element-caption\">iBeacon \u793a\u610f\u5716<\/figcaption><\/figure>\n\n\n\n<p>\u4e3b\u8981\u662f\u56e0\u70baapple\u60f3\u638c\u63a7\u6240\u6709\u4eba\u7684\u884c\u8e64\u7576\u4f5c\u884c\u70ba\u8cc7\u6599\u5206\u6790\u7528\u9014\uff08apple\u6216google\u90fd\u4e00\u6a23\uff09\uff0c\u9019\u4e9b\u516c\u53f8\u6703\u5229\u7528\u624b\u6a5f\u53bb\u5206\u6790\u4eba\u985e\u7684\u884c\u70ba\uff0c\u4f8b\u5982\u5229\u7528GPS\u638c\u63a7\u4f60\u7684\u6240\u6709\u884c\u8e64\u4e86\u89e3\u4f60\u7684\u751f\u6d3b\u65b9\u5f0f\uff0c\u4ee5\u5229\u5ee3\u544a\u80fd\u5920\u66f4\u7cbe\u6e96\u7684\u63a8\u64a5\u5230\u4f60\u8eab\u4e0a\uff0c\u4f46\u662f\u5462\u4ed6\u5011\u767c\u73fe\u4e3b\u8981\u7684\u4ea4\u6613\u884c\u70ba\u5728\u5ba4\u5167\u767c\u751f\uff0c\u4f46\u662f\u4e00\u65e6\u4eba\u8d70\u5165\u5ba4\u5167\uff08\u4f8b\u5982\u767e\u8ca8\u516c\u53f8\uff0c\u7f8e\u98df\u8857\u2026\u7b49\uff09\uff0c\u4ed6\u5011\u537b\u53cd\u800c\u5931\u53bbGPS\u4fe1\u865f\u7121\u6cd5\u5224\u65b7\u4f60\u7684\u4f4d\u7f6e\uff0c\u4e5f\u5c31\u96e3\u4ee5\u6293\u5230\u76f8\u95dc\u7684\u6d88\u8cbb\u884c\u70ba\u8cc7\u6599\uff0c\u56e0\u6b64\u60f3\u5230\u4e00\u500b\u65b9\u6cd5\uff0c\u5c31\u662f\u5728\u5ba4\u5167\u63a8\u85cd\u82bd\u57fa\u7ad9\uff0c\u5c31\u53ef\u4ee5\u5728\u5ba4\u5167\u7372\u53d6\u4f60\u7684\u884c\u8e64\uff0c\u7576\u7136\u4e5f\u53ef\u4ee5\u900f\u904e\u85cd\u82bd\u4f86\u63a8\u64a5\u5ee3\u544a\u8a0a\u606f\uff0c\u800c\u8981\u9054\u6210\u9019\u500b\u76ee\u7684\uff0cbeacon\u5c31\u9019\u6a23\u8a95\u751f\u3002<\/p>\n\n\n\n<p>\u6240\u4ee5\u8aaa\uff0cbeacon\u5c31\u662f\u85cd\u82bd\u767c\u5c04\u5668Bluetooth\uff0c\u4e0d\u505c\u5f97\u5c0d\u6240\u6709\u88dd\u7f6e\u5ee3\u64ad\u8a0a\u606f\uff0c\u624b\u6a5f\u4e0a\u7684APP\u6216\u88dd\u7f6e\u63a5\u6536\u5230\u9019\u500b\u8a0a\u606f\u5c31\u6703\u505a\u51fa\u5c0d\u61c9\u7684\u529f\u80fd\uff0c\u4f8b\u5982\u8df3\u51fa\u5ee3\u544a\u6216\u8005\u7d00\u9304\u4f4d\u7f6e\u7b49\u3002<\/p>\n\n\n\n<p>\u4e5f\u5c31\u662f\u8aaa\uff0c\u5f9e\u6b64\u4ee5\u5f8c\uff0c\u5ba4\u5167\u5ba4\u5916\uff0c\u4f60\u90fd\u7121\u6240\u9041\u5f62\uff0c\u4f60\u7684\u884c\u70ba\u5b8c\u5168\u88ab\u638c\u63a7\u4e86\u3002<s>\u4e0d\u904e\u6211\u662f\u6c92\u5dee\u5566\uff0c\u53cd\u6b63\u7121\u540d\u5c0f\u5352<\/s><\/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\/1553099036-1121217785.jpg?resize=838%2C472&#038;ssl=1\" alt=\"\" width=\"838\" height=\"472\"\/><figcaption class=\"wp-element-caption\">beacon \u904b\u4f5c\u793a\u610f\u5716<\/figcaption><\/figure>\n\n\n\n<p>Beacon\u5728\u5546\u696d\u4e0a\u7684\u89d2\u8272\u5b9a\u4f4d\uff1a\u5075\u6e2c\u4f7f\u7528\u8005\u4f4d\u7f6e\uff0c\u4e26\u7d66\u4e88\u5ee3\u544a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/img.technews.tw\/wp-content\/uploads\/2013\/10\/beacons.png?w=1290\" alt=\"\"\/><figcaption class=\"wp-element-caption\">beacon \u4f7f\u7528\u60c5\u5883<\/figcaption><\/figure>\n\n\n\n<p>\u4eca\u5929\u8981\u4ecb\u7d39\u5982\u4f55\u5229\u7528Arduino ESP32\u4f86\u64f7\u53d6beacon\u8a0a\u865f\uff0c\u4e26\u505a\u300c\u7c21\u6613\u300d\u5b9a\u4f4d\u5224\u65b7\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-beacon1\">Beacon\u88dd\u7f6e\u7c21\u8981\u8aaa\u660e\u8207\u8a2d\u5b9a<\/h2>\n\n\n\n<p>\u9996\u5148\u4f60\u9700\u8981\u81f3\u5c11\u4e00\u500bbeacon\uff0c\u4e00\u500bESP32\uff0c\u4e00\u53f0\u5b89\u88ddArduino IDE\u7684PC\u6216MAC<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Beacon\uff1a\u6211\u662f\u7528NRF51822\u9019\u9846\uff0c\u5176\u5be6\u4ed6\u8ddf\u53e6\u5916\u4e00\u500bTI\u51fa\u7684CC2541\u7684\u898f\u683c\u5dee\u4e0d\u591a\uff0c\u9078\u54ea\u4e00\u7a2e\u90fd\u53ef\u4ee5\uff0c\u50f9\u683c\u6bd4\u8d77\u5176\u4ed6\u7684\u54c1\u724c\u4f86\u8aaa\u662f\u8d85\u4fbf\u5b9c\u7684\uff0c\u96fb\u6c60CR2032\u7684\u90e8\u4efd\u5927\u7d04\u53ef\u4ee5\u75281-2\u500b\u6708\uff0c\u6c92\u5ee3\u544a\u8aaa\u7684\u90a3\u9ebc\u8a87\u5f35\uff0c\u53ef\u4ee5\u534a\u5e74\u4e00\u5e74\uff08\u4e5f\u8a31\u767c\u9001\u983b\u738710\u79d2\u4e00\u6b21\u624d\u53ef\u80fd\u6709\u6a5f\u6703\uff09\n<ul class=\"wp-block-list\">\n<li>\u9732\u5929\u641c\u5c0b\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/goo.gl\/1rekrZ\" target=\"_blank\">https:\/\/goo.gl\/1rekrZ<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ol>\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\/1553101627-174664244_n.png?resize=837%2C573&#038;ssl=1\" alt=\"\" width=\"837\" height=\"573\"\/><figcaption class=\"wp-element-caption\">beacon\u5167\u90e8\u7d50\u69cb<\/figcaption><\/figure>\n\n\n\n<p>\u9019\u9846Beacon\u53ef\u4ee5\u900f\u904eAPP\u6539\u5167\u90e8\u8cc7\u6599\uff0c\u5305\u62ecName\u3001UUID\u3001MAJOR\u3001MINOR\u4ee5\u53ca\u5ee3\u64ad\u983b\u7387\uff08\u9810\u8a2d1\u79d21\u6b21\u5ee3\u64ad\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1553101552-2714785857.png?w=1290&#038;ssl=1\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Beacon APP \u4fee\u6539\u5167\u90e8\u8cc7\u6599<\/figcaption><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>ESP32\u6211\u5247\u662f\u4f7f\u7528NodeMCU-32s\uff0cESP32\u5167\u5efaWIFI\u53ca\u85cd\u82bd\uff0c\u975e\u5e38\u9069\u5408\u7528\u4f86\u505aBeacon\u61c9\u7528\uff0cUNO\u6c92\u6709\u85cd\u82bd\u4e5f\u6c92\u6709WIFI\u9700\u8981\u5916\u52a0\uff0cESP8266\u6709WIFI\u53ef\u60dc\u6c92\u6709\u85cd\u82bd\uff0c\u90fd\u8981\u5916\u52a0HC-05\u85cd\u82bd\u6a21\u7d44\uff0c\u56e0\u6b64\u6211\u5f37\u70c8\u63a8\u85a6\u4f7f\u7528ESP32\u3002\n<ul class=\"wp-block-list\">\n<li>\u9732\u5929\u641c\u5c0b\uff1a<a href=\"https:\/\/goo.gl\/JCyV8i\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/goo.gl\/JCyV8i<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-esp32\">ESP32\u7c21\u8981\u8aaa\u660e<\/h2>\n\n\n\n<p>Arduino IDE\u7684\u5b89\u88dd\uff0c\u5247\u53c3\u8003\u9019\u7bc7\uff0c\u4e0d\u518d\u8d05\u8ff0\u3002<br><a href=\"https:\/\/www.nmking.io\/index.php\/2022\/09\/13\/esp32_ch1\/\" target=\"_blank\" rel=\"noreferrer noopener\">ESP32 Arduino\u958b\u767c\u74b0\u5883\u67b6\u8a2d\uff08\u53d6\u4ee3Arduino UNO\u53caESP8266\u9996\u9078\uff09<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-\">\u7bc4\u4f8b\u7a0b\u5f0f<\/h2>\n\n\n\n<p>\u9996\u5148\u5728github\u4e0b\u8f09ESP32\u7684Beacon Library\uff1a<a href=\"https:\/\/github.com\/nkolban\/ESP32_BLE_Arduino\">https:\/\/github.com\/nkolban\/ESP32_BLE_Arduino<\/a><br><br>\u4e0b\u8f09\u5f8c\uff0c\u8acb\u5c07\u8cc7\u6599\u593e\u653e\u7f6e\u5230ESP32\u5c08\u7528Library\uff0c\u4f4d\u7f6e\uff1ad:\\arduino-1.8.5\\hardware\\espressif\\esp32\\libraries<br><br>\u4e0b\u8f09\u7bc4\u4f8b\u7a0b\u5f0f<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/youjunjer\/e73575aaad1236bf19b0f500043c7cde.js\"><\/script>\n\n\n\n<p>\u57f7\u884c\u5f8c\uff0c\u9644\u8fd1\u7684\u85cd\u82bd\u88dd\u7f6e\u5c07\u6703\u88ab\u6383\u63cf\u4e26\u5217\u51fa<\/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\/1553105476-1255638267_n.png?resize=839%2C378&#038;ssl=1\" alt=\"\" width=\"839\" height=\"378\"\/><figcaption class=\"wp-element-caption\">\u7bc4\u4f8b\u7a0b\u5f0f\u57f7\u884c\u756b\u9762<\/figcaption><\/figure>\n\n\n\n<p>\u4fee\u6539\u6383\u63cf\u6642\u9593\uff1a\u5728\u7a0b\u5f0f\u7b2c11\u884c int scanTime=5; \u4ee3\u8868\u6bcf\u6b21\u6383\u63cf\u6642\u9593\uff0c\u898f\u5b9a\u4e0d\u53ef\u5c0f\u65bc1\u79d2\uff0c\u4f46\u6642\u9593\u4e0d\u53ef\u592a\u77ed\uff0c\u4f8b\u59821\u79d2\u6703\u6f0f\u6389\u5f88\u591abeacon\u6c92\u6383\u5230\uff0c\u500b\u4eba\u5efa\u8b705-10\u79d2\uff0c\u592a\u9577\u5247\u640d\u5931\u4e86\u5373\u6642\u6027\u3002<br><br>\u589e\u52a0\u81ea\u5df1\u8981\u7684\u529f\u80fd\uff1a\u572856\u300157\u300158\u884c\uff0c\u5247\u53ef\u4ee5\u52a0\u5165\u81ea\u5df1\u8981\u505a\u7684\u5de5\u4f5c\uff0c\u4f8b\u5982\u7576beacon UUID(\u6216Address)\u5df2\u7d93\u6383\u63cf\u5230\uff0c\u4e14RSSI\u5920\u5927\u6642\uff0c\u4f8b\u5982>-50\uff0c\u5247\u505a\u51fa\u53cd\u61c9\uff0c\u5305\u62ec\u53ef\u80fd\u767c\u51fa\u8072\u97f3\uff0c\u958b\u9580\uff08\u8f49\u52d5\u4f3a\u670d\u99ac\u9054\uff09\uff0c\u6216\u8005LED\u986f\u793a\u4fc3\u92b7\u5546\u54c1\u8cc7\u8a0a\u7b49\uff0c\u9019\u90e8\u4efd\u5c31\u770b\u60a8\u81ea\u5df1\u60f3\u505a\u4ec0\u9ebc\u4e86\u3002<br>\u4f8b\u5982\uff1a\u7576beacon\u8a0a\u865f\u5920\u5927\u6642\uff0c\u5247\u5229\u7528\u4f3a\u670d\u99ac\u9054\u6253\u958b\u9580\u6813\uff08\u597d\u7c21\u964b\u554a\u2026.\uff09<\/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\/1553106776-175906329.png?resize=841%2C602&#038;ssl=1\" alt=\"\" width=\"841\" height=\"602\"\/><figcaption class=\"wp-element-caption\">\u5229\u7528\u4f3a\u670d\u99ac\u9054\u6253\u958b\u9580\u6813\u5be6\u9a57<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"htoc-rssi\">RSSI\u7c21\u6613\u5b9a\u4f4d<\/h2>\n\n\n\n<p>\u95dc\u65bcRSSI\u8207\u8ddd\u96e2\u4e4b\u9593\u7684\u95dc\u4fc2\uff0c\u6211\u5927\u81f4\u5217\u8868\u5982\u4e0b\u5716\uff0c\u6b64\u5716\u70ba\u6211\u81ea\u5df1\u505a\u7684\u6e2c\u8a66\uff0c\u8207\u5176\u4ed6\u54c1\u724c\u3001\u4e3b\u7248\u3001\u74b0\u5883\u90fd\u53ef\u80fd\u6703\u6709\u4e0d\u540c\uff0c\u56e0\u6b64\u50c5\u63d0\u4f9b\u53c3\u8003\uff0c\u88e1\u9762\u91cd\u8981\u7684\u662f1m\u5167\u5927\u65bc-60\u6bd4\u8f03\u7a69\u5b9a\u5916\uff0c\u8d85\u51fa1m\u4ed6\u7684range\u5c31\u5f88\u5927\uff0c\u96e3\u4f5c\u70ba\u7cbe\u78ba\u5b9a\u4f4d\uff0c\u4f46\u5982\u60a8\u9700\u8981\u7684\u662f\u5927\u81f4\u7684\u5b9a\u4f4d\u529f\u80fd\uff0c\u5247\u4f7f\u7528\u4e0a\u9084\u6eff\u7c21\u55ae\u7684\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1553105947-3840660056.png?w=1290&#038;ssl=1\" alt=\"\"\/><figcaption class=\"wp-element-caption\">RSSI\u8207\u8ddd\u96e2\u793a\u610f\u5716<\/figcaption><\/figure>\n\n\n\n<p>\u81ea\u52d5\u5bf5\u7269\u98fc\u6599\u6a5f\uff1a\u53ef\u5728\u81ea\u5df1\u5bf5\u7269\u9760\u8fd1\u6642\u7d66\u4e88\u98fc\u6599\uff0c\u5225\u4eba\u7684\u5bf5\u7269\u9760\u8fd1\u6642\uff0c\u5247\u4e0d\u52d5\u4f5c<br>\u5c0f\u5b69\u9632\u4e1f\u5668\uff1a\u5c0f\u5b69\u8ddd\u96e2\u8d85\u904e\u592a\u9060\u6642\uff0c\u5247\u767c\u51fa\u8b66\u5831<br>\u5546\u54c1\u63a8\u85a6\uff1a\u7576\u4f7f\u7528\u8005\u9760\u8fd1\u67d0\u5546\u54c1\u6642\uff0c\u767c\u51fa\u8a72\u5546\u54c1\u7684\u4fc3\u92b7\u8a0a\u606f<br><br>\u9019\u88e1\u6709\u4e00\u6bb5\u670b\u53cb\u7684\u6e2c\u8a66\u5f71\u7247\uff0c\u5229\u7528ESP32\u5075\u6e2cbeacon\u8ddd\u96e2\uff0c\u4e26\u4f9d\u64da\u8ddd\u96e2\u767c\u51fa\u4e0d\u540c\u983b\u7387\u7684\u8072\u97f3\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Using ESP32 to detect ibeacon and position awareness\" width=\"1290\" height=\"726\" src=\"https:\/\/www.youtube.com\/embed\/UHRmhqIDk_0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>beacon\u5c31\u662f\u85cd\u82bd\u767c\u5c04\u5668Bluetooth\uff0c\u4e0d\u505c\u5f97\u5c0d\u6240\u6709\u88dd\u7f6e\u5ee3\u64ad\u8a0a\u606f\uff0c\u624b\u6a5f\u4e0a\u7684APP\u6216\u88dd\u7f6e\u63a5\u6536\u5230\u9019\u500b\u8a0a\u606f\u5c31\u6703 [&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-501","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\/501","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=501"}],"version-history":[{"count":6,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/posts\/501\/revisions"}],"predecessor-version":[{"id":811,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/posts\/501\/revisions\/811"}],"wp:attachment":[{"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/media?parent=501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/categories?post=501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/tags?post=501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}