{"id":97629,"date":"2026-08-29T21:49:40","date_gmt":"2026-08-29T13:49:40","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/97629.html"},"modified":"2026-08-29T21:49:40","modified_gmt":"2026-08-29T13:49:40","slug":"%e4%bb%8e%e7%a1%ac%e4%bb%b6%e6%90%ad%e5%bb%ba%e5%88%b0app%e6%8e%a7%e5%88%b6%e6%90%ad%e5%bb%ba%e4%b8%80%e5%8f%b0%e6%99%ba%e8%83%bd%e5%b0%8f%e8%bd%a6","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/97629.html","title":{"rendered":"\u4ece\u786c\u4ef6\u642d\u5efa\u5230APP\u63a7\u5236\u642d\u5efa\u4e00\u53f0\u667a\u80fd\u5c0f\u8f66"},"content":{"rendered":"<h5 id=\"stc89c52+bt37\u84dd\u7259\u667a\u80fd\u5c0f\u8f66\u5168\u6808\u8bbe\u8ba1\uff1a\u4ece\u786c\u4ef6\u642d\u5efa\u5230app\u63a7\u5236\">\u667a\u80fd\u5c0f\u8f66\u662f\u5d4c\u5165\u5f0f\u5165\u95e8\u7684\u7ecf\u5178\u9879\u76ee&#xff0c;\u672c\u6587\u5206\u4eab\u4e00\u6b3e\u57fa\u4e8e STC89C52RC\u00a0&#043; \u6df1\u5733\u5927\u590f\u9f99\u96c0\u79d1\u6280 DX-BT37 \u84dd\u7259\u6a21\u5757 \u6253\u9020\u7684\u591a\u529f\u80fd\u667a\u80fd\u5c0f\u8f66&#xff0c;\u96c6\u84dd\u7259\u9065\u63a7\u3001\u8d85\u58f0\u6ce2\u907f\u969c\u3001\u7ea2\u5916\u907f\u969c\u3001RGB\u70ab\u5f69\u706f\u6548\u4e8e\u4e00\u4f53\u3002<\/h5>\n<p>\u5728\u505a\u8fd9\u4e2a\u9879\u76ee\u4e4b\u524d&#xff0c;\u6211\u5bf9\u6bd4\u4e86\u5e02\u9762\u4e0a\u591a\u6b3e\u84dd\u7259\u6a21\u5757&#xff0c;\u6700\u7ec8\u9009\u62e9\u5927\u590f\u9f99\u96c0\u7684BT37&#xff0c;\u6838\u5fc3\u539f\u56e0\u6709\u4e8c&#xff1a;\u4e00\u662f\u5b83\u91c7\u7528 BK3633 \u82af\u7247&#xff0c;\u652f\u6301 \u84dd\u7259 5.2 \u534f\u8bae&#xff0c;\u6297\u5e72\u6270\u80fd\u529b\u5f3a&#xff1b;\u4e8c\u662f\u5de5\u4f5c\u7535\u6d41\u4ec5 5mA \u5de6\u53f3&#xff0c;\u5bf9\u7535\u6c60\u4f9b\u7535\u7684\u5c0f\u8f66\u6765\u8bf4\u975e\u5e38\u53cb\u597d&#xff1b;\u5b9e\u9645\u6d4b\u8bd5\u4e2d&#xff0c;\u80fd\u591f\u7a33\u5b9a\u8fde\u63a5&#xff0c;\u5b8c\u5168\u6ee1\u8db3\u667a\u80fd\u5c0f\u8f66\u7684\u9065\u63a7\u9700\u6c42\u3002<\/p>\n<hr \/>\n<h3><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"852\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134933-6a92e36df239d.png\" width=\"855\" \/><\/h3>\n<h3 id=\"\u4e00\u3001\u9879\u76ee\u529f\u80fd\u6982\u89c8\">\u4e00\u3001\u9879\u76ee\u529f\u80fd\u6982\u89c8<\/h3>\n<h4 id=\"1.1-\u6838\u5fc3\u529f\u80fd\u6e05\u5355\">1.1 \u529f\u80fd\u6e05\u5355<\/h4>\n<table>\n<tbody>\n<tr>\n<p>\u529f\u80fd\u6a21\u5757<\/p>\n<p>\u5177\u4f53\u529f\u80fd<\/p>\n<p>\u5b9e\u73b0\u65b9\u5f0f<\/p>\n<\/tr>\n<tr>\n<td>\n<p>\u84dd\u7259\u9065\u63a7<\/p>\n<\/td>\n<td>\n<p>\u524d\u8fdb\u3001\u540e\u9000\u3001\u5de6\u8f6c\u3001\u53f3\u8f6c\u3001\u505c\u6b62\u3001\u53d8\u901f\u3001\u6a21\u5f0f\u5207\u6362<\/p>\n<\/td>\n<td>\n<p>BT37 BLE \u900f\u4f20 &#043; \u624b\u673aAPP<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u8d85\u58f0\u6ce2\u907f\u969c<\/p>\n<\/td>\n<td>\n<p>\u524d\u65b9\u6d4b\u8ddd&#xff0c;\u81ea\u52a8\u51cf\u901f\u3001\u505c\u8f66<\/p>\n<\/td>\n<td>\n<p>HC-SR04 \u8d85\u58f0\u6ce2\u6a21\u5757<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u7ea2\u5916\u907f\u969c<\/p>\n<\/td>\n<td>\n<p>\u4e24\u4fa7\u68c0\u6d4b\u969c\u788d\u7269&#xff0c;\u81ea\u52a8\u8f6c\u5411<\/p>\n<\/td>\n<td>\n<p>\u7ea2\u5916\u907f\u969c\u6a21\u5757<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>RGB\u70ab\u5f69\u706f<\/p>\n<\/td>\n<td>\n<p>\u524d\u5927\u706f\/\u8f6c\u5411\u706f\/\u547c\u5438\u706f\/\u5f69\u8679\u706f<\/p>\n<\/td>\n<td>\n<p>RGB LED &#043; PWM \u6df7\u8272<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u901f\u5ea6\u63a7\u5236<\/p>\n<\/td>\n<td>\n<p>5\u6863\u901f\u5ea6\u53ef\u8c03<\/p>\n<\/td>\n<td>\n<p>MX1508 PWM \u8c03\u901f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u7535\u6e90\u7ba1\u7406<\/p>\n<\/td>\n<td>\n<p>\u9502\u7535\u6c60\u4f9b\u7535 &#043; TP4056 \u5145\u7535<\/p>\n<\/td>\n<td>\n<p>\u4e24\u828218650 &#043; TP4056<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 id=\"1.2-\u9879\u76ee\u4eae\u70b9\">1.2 \u9879\u76ee\u4eae\u70b9<\/h4>\n<ul>\n<li>\n<p>\u5165\u95e8\u53cb\u597d&#xff1a;\u4ee5 STC89C52RC \u4e3a\u4e3b\u63a7&#xff0c;51\u5355\u7247\u673a\u662f\u9ad8\u6821\u5d4c\u5165\u5f0f\u5165\u95e8\u7684\u9996\u9009&#xff0c;\u4ee3\u7801\u7b80\u5355\u6613\u61c2<\/p>\n<\/li>\n<li>\n<p>\u84dd\u7259\u7a33\u5b9a&#xff1a;\u91c7\u7528\u5927\u590f\u9f99\u96c0 BT37 \u84dd\u7259 5.2 \u6a21\u5757&#xff0c;\u9065\u63a7\u4f53\u9a8c\u6d41\u7545<\/p>\n<\/li>\n<li>\n<p>\u529f\u80fd\u9f50\u5168&#xff1a;\u9065\u63a7 &#043; \u907f\u969c &#043; \u706f\u6548 &#043; \u8c03\u901f<\/p>\n<\/li>\n<li>\n<p>\u6210\u672c\u4f4e\u5ec9&#xff1a;\u5168\u90e8\u7269\u6599\u52a0\u8d77\u6765\u4e0d\u523050\u5143<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"\u4e8c\u3001\u7cfb\u7edf\u603b\u4f53\u67b6\u6784\">\u4e8c\u3001\u7cfb\u7edf\u603b\u4f53\u67b6\u6784<\/h3>\n<p>\u6574\u4e2a\u7cfb\u7edf\u91c7\u7528 &#034;\u624b\u673a\u7aef&#xff08;APP&#xff09;\u2014 BT37\u84dd\u7259\u6a21\u5757 \u2014 STC89C52\u4e3b\u63a7 \u2014 \u6267\u884c\u5c42&#xff08;\u7535\u673a\u3001\u4f20\u611f\u5668\u3001\u706f\u5149&#xff09;&#034; \u7684\u4e09\u5c42\u67b6\u6784&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"720\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134934-6a92e36e7eb07.png\" width=\"1200\" \/><\/p>\n<h4 id=\"2.1-\u5de5\u4f5c\u539f\u7406\">2.1 \u5de5\u4f5c\u539f\u7406<\/h4>\n<li>\n<p>\u84dd\u7259\u8fde\u63a5&#xff1a;BT37 \u6a21\u5757\u4e0a\u7535\u540e\u81ea\u52a8\u5e7f\u64ad&#xff0c;\u624b\u673a\u84dd\u7259\u641c\u7d22\u5e76\u5efa\u7acb BLE \u8fde\u63a5&#xff0c;WORK-STATUS \u5f15\u811a\u8f93\u51fa\u9ad8\u7535\u5e73\u8868\u793a\u8fde\u63a5\u6210\u529f<\/p>\n<\/li>\n<li>\n<p>\u6307\u4ee4\u4e0b\u53d1&#xff1a;\u7528\u6237\u5728\u624b\u673a\u7aef\u70b9\u51fb\u65b9\u5411\u952e\u6216\u529f\u80fd\u6309\u94ae&#xff0c;\u6307\u4ee4\u901a\u8fc7 BLE \u900f\u4f20\u81f3 BT37 \u6a21\u5757<\/p>\n<\/li>\n<li>\n<p>UART\u901a\u4fe1&#xff1a;BT37 \u901a\u8fc7 UART&#xff08;\u9ed8\u8ba4\u6ce2\u7279\u73879600&#xff09;\u5c06\u6307\u4ee4\u53d1\u9001\u7ed9 STC89C52RC \u4e3b\u63a7<\/p>\n<\/li>\n<li>\n<p>\u6307\u4ee4\u89e3\u6790&#xff1a;51\u5355\u7247\u673a\u89e3\u6790\u6307\u4ee4&#xff0c;\u6267\u884c\u5bf9\u5e94\u7684\u7535\u673a\u9a71\u52a8\u3001\u4f20\u611f\u5668\u8bfb\u53d6\u6216\u706f\u6548\u53d8\u6362<\/p>\n<\/li>\n<li>\n<p>\u72b6\u6001\u56de\u4f20&#xff1a;\u4f20\u611f\u5668\u6570\u636e\u548c\u8fd0\u884c\u72b6\u6001\u901a\u8fc7\u84dd\u7259\u56de\u4f20\u5230\u624b\u673a\u7aef\u663e\u793a<\/p>\n<\/li>\n<h4 id=\"2.2-\u786c\u4ef6\u9009\u578b\u6e05\u5355\">2.2 \u786c\u4ef6\u9009\u578b\u6e05\u5355<\/h4>\n<table>\n<tbody>\n<tr>\n<p>\u6a21\u5757<\/p>\n<p>\u578b\u53f7<\/p>\n<p>\u63a5\u53e3<\/p>\n<p>\u6570\u91cf<\/p>\n<p>\u8bf4\u660e<\/p>\n<\/tr>\n<tr>\n<td>\n<p>\u4e3b\u63a7<\/p>\n<\/td>\n<td>\n<p>STC89C52RC<\/p>\n<\/td>\n<td>\n<p>&#8211;<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<td>\n<p>51\u5355\u7247\u673a&#xff0c;8051\u5185\u6838&#xff0c;LQFP-44<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u84dd\u7259<\/p>\n<\/td>\n<td>\n<p>\u5927\u590f\u9f99\u96c0 DX-BT37<\/p>\n<\/td>\n<td>\n<p>UART<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<td>\n<p>BLE5.2&#xff0c;BK3633\u82af\u7247&#xff0c;AT\u6307\u4ee4\u914d\u7f6e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u7535\u673a\u9a71\u52a8<\/p>\n<\/td>\n<td>\n<p>MX1508<\/p>\n<\/td>\n<td>\n<p>PWM<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<td>\n<p>\u53cc\u8def\u76f4\u6d41\u7535\u673a\u9a71\u52a8&#xff0c;\u4f4e\u529f\u8017<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u7535\u673a<\/p>\n<\/td>\n<td>\n<p>\u76f4\u6d41\u51cf\u901f\u7535\u673a&#xff08;\u5e26\u8f6e\u80ce&#xff09;<\/p>\n<\/td>\n<td>\n<p>&#8211;<\/p>\n<\/td>\n<td>\n<p>\u00d72<\/p>\n<\/td>\n<td>\n<p>TT\u9a6c\u8fbe&#xff0c;1:48\u51cf\u901f\u6bd4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u8d85\u58f0\u6ce2<\/p>\n<\/td>\n<td>\n<p>HC-SR04<\/p>\n<\/td>\n<td>\n<p>\u89e6\u53d1&#043;\u56de\u6ce2<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<td>\n<p>\u6d4b\u8ddd\u8303\u56f42cm~400cm<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u7ea2\u5916\u907f\u969c<\/p>\n<\/td>\n<td>\n<p>\u7ea2\u5916\u5bf9\u7ba1\u6a21\u5757<\/p>\n<\/td>\n<td>\n<p>\u6570\u5b57\u8f93\u51fa<\/p>\n<\/td>\n<td>\n<p>\u00d72<\/p>\n<\/td>\n<td>\n<p>\u5de6\u53f3\u5404\u4e00&#xff0c;\u68c0\u6d4b\u969c\u788d\u7269<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u706f\u5149<\/p>\n<\/td>\n<td>\n<p>RGB LED&#xff08;\u5171\u9634&#xff09;<\/p>\n<\/td>\n<td>\n<p>PWM<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<td>\n<p>\u4e09\u539f\u8272\u6df7\u5408&#xff0c;\u70ab\u5f69\u6548\u679c<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u7535\u6e90<\/p>\n<\/td>\n<td>\n<p>18650 \u9502\u7535\u6c60<\/p>\n<\/td>\n<td>\n<p>&#8211;<\/p>\n<\/td>\n<td>\n<p>\u00d72<\/p>\n<\/td>\n<td>\n<p>3.7V\u4e32\u8054&#xff0c;7.4V\u4f9b\u7535<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u5145\u7535<\/p>\n<\/td>\n<td>\n<p>TP4056 \u5145\u7535\u6a21\u5757<\/p>\n<\/td>\n<td>\n<p>&#8211;<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<td>\n<p>\u9502\u7535\u6c60\u5e76\u8054\u5145\u7535&#xff08;\u6539\u88c5\u540e&#xff09;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u642d\u5efa<\/p>\n<\/td>\n<td>\n<p>\u9762\u5305\u677f &#043; \u675c\u90a6\u7ebf &#043; \u8f66\u5e95\u76d8<\/p>\n<\/td>\n<td>\n<p>&#8211;<\/p>\n<\/td>\n<td>\n<p>1\u5957<\/p>\n<\/td>\n<td>\n<p>\u514d\u710a\u63a5&#xff0c;\u5feb\u901f\u539f\u578b<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3 id=\"\u4e09\u3001\u786c\u4ef6\u8bbe\u8ba1\u4e0e\u8fde\u63a5\">\u4e09\u3001\u786c\u4ef6\u8bbe\u8ba1\u4e0e\u8fde\u63a5<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"900\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134934-6a92e36ee1b1c.png\" width=\"900\" \/><\/p>\n<h4 id=\"3.1-\u786c\u4ef6\u8fde\u63a5\u603b\u89c8\">3.1 \u786c\u4ef6\u8fde\u63a5\u603b\u89c8<\/h4>\n<p>\u5168\u90e8\u7535\u8def\u901a\u8fc7\u9762\u5305\u677f &#043; \u675c\u90a6\u7ebf\u642d\u5efa&#xff0c;\u65e0\u9700PCB&#xff0c;\u96f6\u57fa\u7840\u4e5f\u80fd\u5feb\u901f\u4e0a\u624b\u3002\u8fde\u63a5\u793a\u610f\u56fe\u5982\u4e0b&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"820\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134935-6a92e36f66306.png\" width=\"1200\" \/><\/p>\n<h4 id=\"3.2-stc89c52rc-\u5f15\u811a\u5206\u914d\">3.2 STC89C52RC \u5f15\u811a\u5206\u914d<\/h4>\n<p>\/\/ STC89C52RC \u5f15\u811a\u5206\u914d<br \/>\n#define MOTOR_L_IN1   P1_0   \/\/ \u5de6\u7535\u673a IN1<br \/>\n#define MOTOR_L_IN2   P1_1   \/\/ \u5de6\u7535\u673a IN2<br \/>\n#define MOTOR_R_IN1   P1_2   \/\/ \u53f3\u7535\u673a IN1<br \/>\n#define MOTOR_R_IN2   P1_3   \/\/ \u53f3\u7535\u673a IN2<\/p>\n<p>\/\/ &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u8d85\u58f0\u6ce2 HC-SR04 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n#define TRIG_PIN      P2_0   \/\/ \u89e6\u53d1\u4fe1\u53f7<br \/>\n#define ECHO_PIN      P2_1   \/\/ \u56de\u6ce2\u4fe1\u53f7<\/p>\n<p>\/\/ &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u7ea2\u5916\u907f\u969c &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n#define IR_LEFT       P2_2   \/\/ \u5de6\u7ea2\u5916<br \/>\n#define IR_RIGHT      P2_3   \/\/ \u53f3\u7ea2\u5916<\/p>\n<p>\/\/ &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; RGB LED &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n#define LED_R         P1_4   \/\/ \u7ea2\u706f<br \/>\n#define LED_G         P1_5   \/\/ \u7eff\u706f<br \/>\n#define LED_B         P1_6   \/\/ \u84dd\u706f<\/p>\n<h4 id=\"3.3-mx1508-\u7535\u673a\u9a71\u52a8\u539f\u7406\">3.3 MX1508 \u7535\u673a\u9a71\u52a8\u539f\u7406<\/h4>\n<p>MX1508 \u662f\u4e00\u6b3e\u53cc\u901a\u9053\u76f4\u6d41\u7535\u673a\u9a71\u52a8\u82af\u7247&#xff0c;\u4f53\u79ef\u5c0f\u3001\u529f\u8017\u4f4e&#xff0c;\u975e\u5e38\u9002\u5408\u5c0f\u578b\u667a\u80fd\u5c0f\u8f66&#xff1a;<\/p>\n<table>\n<tbody>\n<tr>\n<p>IN1<\/p>\n<p>IN2<\/p>\n<p>\u7535\u673a\u72b6\u6001<\/p>\n<\/tr>\n<tr>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>0<\/p>\n<\/td>\n<td>\n<p>\u6b63\u8f6c<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>0<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>\u53cd\u8f6c<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td>\n<p>\u5239\u8f66<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>0<\/p>\n<\/td>\n<td>\n<p>0<\/p>\n<\/td>\n<td>\n<p>\u6ed1\u884c<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u901a\u8fc7 PWM \u4fe1\u53f7\u63a7\u5236 IN1\/IN2 \u7684\u5360\u7a7a\u6bd4\u5373\u53ef\u5b9e\u73b0\u8c03\u901f\u3002STC89C52 \u6ca1\u6709\u786c\u4ef6 PWM&#xff0c;\u53ef\u4f7f\u7528\u5b9a\u65f6\u5668\u4e2d\u65ad\u6a21\u62df PWM \u8f93\u51fa&#xff0c;\u4e5f\u53ef\u4ee5\u7528 PCA \u6a21\u5757\u5b9e\u73b0&#xff08;STC89C52RC \u5e26 PCA \u529f\u80fd&#xff09;\u3002<\/p>\n<h4 id=\"3.4-hc-sr04-\u8d85\u58f0\u6ce2\u6d4b\u8ddd\u539f\u7406\">3.4 HC-SR04 \u8d85\u58f0\u6ce2\u6d4b\u8ddd\u539f\u7406<\/h4>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"348\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134935-6a92e36fc2a1c.png\" width=\"599\" \/><\/p>\n<p>\u8d85\u58f0\u6ce2\u6a21\u5757\u901a\u8fc7\u53d1\u5c0440kHz\u65b9\u6ce2&#xff0c;\u68c0\u6d4b\u56de\u6ce2\u65f6\u95f4\u8ba1\u7b97\u8ddd\u79bb&#xff1a;<\/p>\n<p>\/\/ \u8d85\u58f0\u6ce2\u6d4b\u8ddd\u51fd\u6570<br \/>\nfloat HC_SR04_GetDistance(void)<br \/>\n{<br \/>\n    unsigned int time;<br \/>\n    float distance;<\/p>\n<p>    TRIG_PIN &#061; 0;<br \/>\n    delay_us(5);<br \/>\n    TRIG_PIN &#061; 1;       \/\/ \u53d1\u900110us\u89e6\u53d1\u8109\u51b2<br \/>\n    delay_us(10);<br \/>\n    TRIG_PIN &#061; 0;<\/p>\n<p>    while(ECHO_PIN &#061;&#061; 0);    \/\/ \u7b49\u5f85\u56de\u6ce2<br \/>\n    TR0 &#061; 1;                 \/\/ \u542f\u52a8\u5b9a\u65f6\u56680\u8ba1\u65f6<br \/>\n    while(ECHO_PIN &#061;&#061; 1);    \/\/ \u7b49\u5f85\u56de\u6ce2\u7ed3\u675f<br \/>\n    TR0 &#061; 0;                 \/\/ \u505c\u6b62\u8ba1\u65f6<\/p>\n<p>    time &#061; TH0 * 256 &#043; TL0;  \/\/ \u8bfb\u53d6\u8ba1\u65f6\u503c<br \/>\n    TH0 &#061; 0; TL0 &#061; 0;        \/\/ \u6e05\u96f6<\/p>\n<p>    \/\/ \u8ddd\u79bb &#061; \u65f6\u95f4 \u00d7 \u58f0\u901f \/ 2<br \/>\n    \/\/ \u58f0\u901f340m\/s &#061; 34000cm\/s &#061; 0.034cm\/us<br \/>\n    distance &#061; (float)time * 0.017;  \/\/ \u9664\u4ee52<\/p>\n<p>    return distance;<br \/>\n}<\/p>\n<h4 id=\"3.5-\u7535\u6e90\u65b9\u6848\u8bbe\u8ba1\">3.5 \u7535\u6e90\u65b9\u6848\u8bbe\u8ba1<\/h4>\n<p>\u7535\u6e90\u662f\u5c0f\u8f66\u7684&#034;\u5fc3\u810f&#034;&#xff0c;\u672c\u9879\u76ee\u91c7\u7528\u53cc\u828218650\u9502\u7535\u6c60\u65b9\u6848&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u52a8\u529b\u4f9b\u7535&#xff1a;\u4e24\u828218650\u4e32\u8054&#xff0c;\u8f93\u51fa\u7ea67.4V&#xff0c;\u76f4\u63a5\u7ed9 MX1508 \u548c\u7535\u673a\u4f9b\u7535&#xff0c;\u4fdd\u8bc1\u52a8\u529b\u5145\u8db3<\/p>\n<\/li>\n<li>\n<p>\u63a7\u5236\u4f9b\u7535&#xff1a;\u901a\u8fc7 AMS1117-3.3V \u964d\u538b&#xff0c;\u7ed9 STC89C52\u3001BT37\u3001\u4f20\u611f\u5668\u4f9b\u7535&#xff08;STC89C52\u53ef\u5bbd\u538b3.3~5V\u5de5\u4f5c&#xff0c;\u5efa\u8bae3.3V\u4ee5\u5339\u914dBT37\u7535\u5e73&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u5145\u7535\u65b9\u6848&#xff1a;\u5c06\u4e24\u8282\u7535\u6c60\u6539\u4e3a\u5e76\u8054&#xff08;3.7V&#xff09;&#xff0c;\u901a\u8fc7 TP4056 \u5355\u82af\u7247\u5145\u7535&#xff0c;\u5145\u6ee1\u540e\u5207\u6362\u56de\u4e32\u8054\u6a21\u5f0f\u4f7f\u7528<\/p>\n<\/li>\n<li>\n<p>\u6ce8\u610f\u4e8b\u9879&#xff1a;BT37 \u5de5\u4f5c\u7535\u538b 2.0~3.6V&#xff0c;\u4e25\u7981\u76f4\u63a5\u63a57.4V&#xff0c;\u5fc5\u987b\u7ecf\u8fc7\u7a33\u538b&#xff01;<\/p>\n<\/li>\n<\/ul>\n<p>\u6ce8\u610f&#xff1a;BT37 \u6a21\u5757\u7684 VBAT \u5f15\u811a\u5efa\u8bae\u5c31\u8fd1\u653e\u7f6e 22uF &#043; 0.1uF \u4e24\u4e2a\u6ee4\u6ce2\u7535\u5bb9&#xff0c;\u51cf\u5c11\u5c04\u9891\u7a81\u53d1\u4f20\u8f93\u65f6\u7684\u7535\u538b\u8dcc\u843d&#xff0c;\u63d0\u9ad8\u901a\u4fe1\u7a33\u5b9a\u6027\u3002\u8fd9\u662f\u624b\u518c\u91cc\u7279\u522b\u5f3a\u8c03\u7684\u7ec6\u8282&#xff0c;\u5b9e\u6d4b\u786e\u5b9e\u6709\u6548\u3002<\/p>\n<h4 id=\"3.6-\u7535\u5e73\u5339\u914d\u6ce8\u610f\u4e8b\u9879\">3.6 \u7535\u5e73\u5339\u914d\u6ce8\u610f\u4e8b\u9879<\/h4>\n<p>STC89C52 \u662f 5V \u5355\u7247\u673a&#xff0c;\u800c BT37 \u662f 3.3V \u6a21\u5757&#xff0c;\u4e24\u8005\u4e32\u53e3\u901a\u4fe1\u9700\u8981\u6ce8\u610f\u7535\u5e73\u5339\u914d&#xff1a;<\/p>\n<ul>\n<li>\n<p>BT37 TX \u2192 STC89C52 RX&#xff1a;3.3V \u9ad8\u7535\u5e73\u53ef\u4ee5\u88ab 5V \u5355\u7247\u673a\u8bc6\u522b\u4e3a\u9ad8\u7535\u5e73&#xff0c;\u76f4\u63a5\u8fde\u63a5\u5373\u53ef<\/p>\n<\/li>\n<li>\n<p>STC89C52 TX \u2192 BT37 RX&#xff1a;5V \u9ad8\u7535\u5e73\u8d85\u8fc7 BT37 \u7684 3.6V \u6700\u5927\u8010\u538b&#xff0c;\u5fc5\u987b\u4f7f\u7528\u7535\u5e73\u8f6c\u6362\u6a21\u5757\u964d\u538b<\/p>\n<\/li>\n<\/ul>\n<p>\u6700\u7b80\u5355\u7684\u65b9\u6848&#xff1a;\u4e32\u8054\u4e00\u4e2a 1K\u03a9 \u7535\u963b &#043; 3.3V \u94b3\u4f4d\u4e8c\u6781\u7ba1&#xff0c;\u6216\u8005\u76f4\u63a5\u7528\u5206\u538b\u7535\u8def&#xff08;2K &#043; 3.3K \u7535\u963b\u5206\u538b&#xff09;\u3002<\/p>\n<hr \/>\n<h3 id=\"\u56db\u3001\u5927\u590f\u9f99\u96c0-dx-bt37-\u84dd\u7259\u6a21\u5757\u6df1\u5ea6\u89e3\u6790\">\u56db\u3001\u5927\u590f\u9f99\u96c0 DX-BT37 \u84dd\u7259\u6a21\u5757<\/h3>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1706\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134935-6a92e36fe189e.png\" width=\"1279\" \/><\/p>\n<p>BT37 \u662f\u6574\u4e2a\u9879\u76ee\u7684\u65e0\u7ebf\u901a\u4fe1\u6838\u5fc3&#xff0c;\u8fd9\u91cc\u4e13\u95e8\u5c55\u5f00\u8bb2\u4e00\u4e0b\u8fd9\u6b3e\u6a21\u5757\u7684\u6280\u672f\u7279\u70b9\u548c\u4f7f\u7528\u5fc3\u5f97\u3002<\/p>\n<h4 id=\"4.1-\u6a21\u5757\u6838\u5fc3\u53c2\u6570\">4.1 \u6a21\u5757\u6838\u5fc3\u53c2\u6570<\/h4>\n<table>\n<tbody>\n<tr>\n<p>\u53c2\u6570<\/p>\n<p>\u89c4\u683c<\/p>\n<\/tr>\n<tr>\n<td>\n<p>\u82af\u7247\u578b\u53f7<\/p>\n<\/td>\n<td>\n<p>BK3633<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u84dd\u7259\u534f\u8bae<\/p>\n<\/td>\n<td>\n<p>\u84dd\u7259 5.2\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u5de5\u4f5c\u7535\u538b<\/p>\n<\/td>\n<td>\n<p>2.0~3.6V<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u5de5\u4f5c\u7535\u6d41<\/p>\n<\/td>\n<td>\n<p>\u7ea65mA<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u6df1\u5ea6\u7761\u7720\u7535\u6d41<\/p>\n<\/td>\n<td>\n<p>\u7ea61\u03bcA<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u7a7a\u65f7\u901a\u4fe1\u8ddd\u79bb<\/p>\n<\/td>\n<td>\n<p>181.6m<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 id=\"4.2-\u4e3a\u4ec0\u4e48\u9009-bt37\uff1f\">4.2 \u4e3a\u4ec0\u4e48\u9009 BT37&#xff1f;<\/h4>\n<p>\u6211\u4e4b\u524d\u4e5f\u7528\u8fc7\u5176\u4ed6\u54c1\u724c\u7684\u84dd\u7259\u6a21\u5757&#xff0c;\u7efc\u5408\u5bf9\u6bd4\u4e0b\u6765&#xff0c;\u5927\u590f\u9f99\u96c0 BT37 \u7684\u4f18\u52bf\u4f53\u73b0\u5728&#xff1a;<\/p>\n<p>BT37\u652f\u6301\u84dd\u72595.2&#xff0c;\u8fde\u63a5\u901f\u5ea6\u66f4\u5feb\u3001\u529f\u8017\u66f4\u4f4e\u3001AT\u6307\u4ee4\u4e30\u5bcc&#xff0c;\u677f\u8f7d\u5929\u7ebf&#xff0c;\u65e0\u9700\u989d\u5916\u8bbe\u8ba1\u5929\u7ebf\u7535\u8def\u3002<\/p>\n<h4 id=\"4.3-at\u6307\u4ee4\u914d\u7f6e\u793a\u4f8b\">4.3 AT\u6307\u4ee4\u914d\u7f6e\u793a\u4f8b<\/h4>\n<p>BT37 \u7684 AT \u6307\u4ee4\u4e0e BT36 \u517c\u5bb9&#xff0c;\u6211\u5e38\u7528\u6307\u4ee4\u5982\u4e0b&#xff08;\u6ce8\u610f\u5b9e\u6d4b\u53d1\u73b0\u90e8\u5206AT\u6307\u4ee4\u9700\u91cd\u542f\u540e\u624d\u80fd\u751f\u6548&#xff09;&#xff1a;<\/p>\n<p>\/\/ AT \u6307\u4ee4\u793a\u4f8b&#xff08;\u4e32\u53e3\u53d1\u9001&#xff0c;\u8fd4\u56deOK\u8868\u793a\u6210\u529f&#xff09;<br \/>\n&#034;AT\\\\r\\\\n&#034;                 \/\/ \u6d4b\u8bd5AT\u6307\u4ee4\u662f\u5426\u6b63\u5e38<br \/>\n&#034;AT&#043;NAME&#061;MyCar\\\\r\\\\n&#034;      \/\/ \u8bbe\u7f6e\u8bbe\u5907\u540d\u79f0\u4e3a MyCar<br \/>\n&#034;AT&#043;BAUD&#061;9600\\\\r\\\\n&#034;       \/\/ \u8bbe\u7f6e\u6ce2\u7279\u73879600<br \/>\n&#034;AT&#043;PWR&#061;7\\\\r\\\\n&#034;           \/\/ \u8bbe\u7f6e\u53d1\u5c04\u529f\u7387&#xff08;0-9\u7ea7&#xff09;<br \/>\n&#034;AT&#043;UUID&#061;FFE0\\\\r\\\\n&#034;       \/\/ \u8bbe\u7f6e\u670d\u52a1UUID<br \/>\n&#034;AT&#043;PWRM&#061;0\\\\r\\\\n&#034;          \/\/ \u8bbe\u7f6e\u529f\u8017\u6a21\u5f0f&#xff08;0\u6b63\u5e38&#xff0c;1\u4f4e\u529f\u8017&#xff0c;2\u51ac\u7720&#xff09;<br \/>\n&#034;AT&#043;RESET\\\\r\\\\n&#034;           \/\/ \u590d\u4f4d\u6a21\u5757<\/p>\n<h4>4.4 \u4f9b\u7535\u53c2\u8003\u7535\u8def<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"333\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134937-6a92e371de126.png\" width=\"978\" \/><\/p>\n<hr \/>\n<h3 id=\"\u4e94\u3001\u901a\u4fe1\u534f\u8bae\u8bbe\u8ba1\">\u4e94\u3001\u901a\u4fe1\u534f\u8bae\u8bbe\u8ba1<\/h3>\n<h4 id=\"5.1-\u6307\u4ee4\u683c\u5f0f\">5.1 \u6307\u4ee4\u683c\u5f0f<\/h4>\n<p>\u91c7\u7528\u7b80\u6d01\u7684\u6587\u672c\u6307\u4ee4\u534f\u8bae&#xff0c;\u4ee5 \\\\r\\\\n \u7ed3\u5c3e&#xff0c;\u4fbf\u4e8e\u8c03\u8bd5&#xff1a;<\/p>\n<p>\/\/ &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u8fd0\u52a8\u63a7\u5236\u6307\u4ee4 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n&#034;FWD\\\\r\\\\n&#034;     \/\/ \u524d\u8fdb<br \/>\n&#034;BACK\\\\r\\\\n&#034;    \/\/ \u540e\u9000<br \/>\n&#034;LEFT\\\\r\\\\n&#034;    \/\/ \u5de6\u8f6c<br \/>\n&#034;RIGHT\\\\r\\\\n&#034;   \/\/ \u53f3\u8f6c<br \/>\n&#034;STOP\\\\r\\\\n&#034;    \/\/ \u505c\u6b62<\/p>\n<p>\/\/ &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u901f\u5ea6\u63a7\u5236 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n&#034;SPD:1\\\\r\\\\n&#034;   \/\/ \u901f\u5ea61\u6863<br \/>\n&#034;SPD:2\\\\r\\\\n&#034;   \/\/ \u901f\u5ea62\u6863<br \/>\n&#034;SPD:3\\\\r\\\\n&#034;   \/\/ \u901f\u5ea63\u6863<br \/>\n&#034;SPD:4\\\\r\\\\n&#034;   \/\/ \u901f\u5ea64\u6863<br \/>\n&#034;SPD:5\\\\r\\\\n&#034;   \/\/ \u901f\u5ea65\u6863<\/p>\n<p>\/\/ &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u706f\u6548\u63a7\u5236 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n&#034;LED:0\\\\r\\\\n&#034;   \/\/ \u5173\u706f<br \/>\n&#034;LED:1\\\\r\\\\n&#034;   \/\/ \u524d\u5927\u706f&#xff08;\u767d\u5149\u5e38\u4eae&#xff09;<br \/>\n&#034;LED:2\\\\r\\\\n&#034;   \/\/ \u5de6\u8f6c\u706f&#xff08;\u9ec4\u8272\u95ea\u70c1&#xff09;<br \/>\n&#034;LED:3\\\\r\\\\n&#034;   \/\/ \u53f3\u8f6c\u706f&#xff08;\u9ec4\u8272\u95ea\u70c1&#xff09;<br \/>\n&#034;LED:4\\\\r\\\\n&#034;   \/\/ \u5239\u8f66\u706f&#xff08;\u7ea2\u8272\u5e38\u4eae&#xff09;<br \/>\n&#034;LED:5\\\\r\\\\n&#034;   \/\/ \u547c\u5438\u706f&#xff08;RGB\u6e10\u53d8&#xff09;<br \/>\n&#034;LED:6\\\\r\\\\n&#034;   \/\/ \u5f69\u8679\u706f&#xff08;RGB\u5faa\u73af&#xff09;<\/p>\n<p>\/\/ &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u6a21\u5f0f\u5207\u6362 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n&#034;MODE:0\\\\r\\\\n&#034;  \/\/ \u624b\u52a8\u9065\u63a7\u6a21\u5f0f<br \/>\n&#034;MODE:1\\\\r\\\\n&#034;  \/\/ \u81ea\u52a8\u907f\u969c\u6a21\u5f0f<\/p>\n<p>\/\/ &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u6570\u636e\u67e5\u8be2 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n&#034;GET:DIST\\\\r\\\\n&#034;  \/\/ \u67e5\u8be2\u524d\u65b9\u8ddd\u79bb<\/p>\n<p>\/\/ &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u56de\u590d\u683c\u5f0f &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\n&#034;OK\\\\r\\\\n&#034;        \/\/ \u6267\u884c\u6210\u529f<br \/>\n&#034;ERR\\\\r\\\\n&#034;       \/\/ \u6267\u884c\u5931\u8d25<br \/>\n&#034;DIST:25.3\\\\r\\\\n&#034; \/\/ \u8ddd\u79bb\u6570\u636e&#xff08;cm&#xff09;<\/p>\n<h4 id=\"5.2-\u4e32\u53e3\u89e3\u6790\u5b9e\u73b0\">5.2 \u4e32\u53e3\u89e3\u6790\u5b9e\u73b0<\/h4>\n<p>STC89C52 \u4f7f\u7528\u786c\u4ef6\u4e32\u53e3\u4e2d\u65ad\u63a5\u6536\u6570\u636e&#xff0c;\u9010\u5b57\u8282\u89e3\u6790&#xff1a;<\/p>\n<p>#define RX_BUF_SIZE  32<br \/>\nunsigned char rx_buf[RX_BUF_SIZE];<br \/>\nunsigned char rx_index &#061; 0;<br \/>\nbit cmd_ready &#061; 0;<\/p>\n<p>\/\/ \u4e32\u53e3\u4e2d\u65ad\u670d\u52a1\u51fd\u6570<br \/>\nvoid UART_ISR() interrupt 4<br \/>\n{<br \/>\n    unsigned char ch;<\/p>\n<p>    if(RI) {<br \/>\n        RI &#061; 0;<br \/>\n        ch &#061; SBUF;<\/p>\n<p>        if(ch &#061;&#061; &#039;\\\\n&#039; || rx_index &gt;&#061; RX_BUF_SIZE &#8211; 1) {<br \/>\n            rx_buf[rx_index] &#061; &#039;\\\\0&#039;;<br \/>\n            cmd_ready &#061; 1;<br \/>\n            rx_index &#061; 0;<br \/>\n        } else if(ch !&#061; &#039;\\\\r&#039;) {<br \/>\n            rx_buf[rx_index&#043;&#043;] &#061; ch;<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n<p>\/\/ \u4e3b\u5faa\u73af\u4e2d\u5904\u7406\u6307\u4ee4<br \/>\nvoid main(void)<br \/>\n{<br \/>\n    UART_Init();      \/\/ \u4e32\u53e3\u521d\u59cb\u5316&#xff0c;9600\u6ce2\u7279\u7387<br \/>\n    Motor_Init();     \/\/ \u7535\u673a\u521d\u59cb\u5316<br \/>\n    LED_Init();       \/\/ LED\u521d\u59cb\u5316<br \/>\n    HC_SR04_Init();   \/\/ \u8d85\u58f0\u6ce2\u521d\u59cb\u5316<\/p>\n<p>    while(1) {<br \/>\n        if(cmd_ready) {<br \/>\n            cmd_ready &#061; 0;<br \/>\n            Parse_Command(rx_buf);<br \/>\n        }<\/p>\n<p>        \/\/ \u81ea\u52a8\u907f\u969c\u6a21\u5f0f<br \/>\n        if(auto_mode) {<br \/>\n            Obstacle_Avoidance();<br \/>\n        }<\/p>\n<p>        \/\/ LED\u706f\u6548\u4efb\u52a1<br \/>\n        LED_Task();<br \/>\n    }<br \/>\n}<\/p>\n<hr \/>\n<h3 id=\"\u516d\u3001\u8f6f\u4ef6\u67b6\u6784\u4e0e\u63a7\u5236\u6d41\u7a0b\">\u516d\u3001\u8f6f\u4ef6\u67b6\u6784\u4e0e\u63a7\u5236\u6d41\u7a0b<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"760\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134938-6a92e3720e859.png\" width=\"1200\" \/><\/p>\n<h4 id=\"6.1-\u4e3b\u5faa\u73af\u7ed3\u6784\">6.1 \u4e3b\u5faa\u73af\u7ed3\u6784<\/h4>\n<p>\u6574\u4e2a\u7cfb\u7edf\u91c7\u7528\u524d\u540e\u53f0\u67b6\u6784&#xff1a;\u4e2d\u65ad\u8d1f\u8d23\u6570\u636e\u63a5\u6536\u548cPWM\u65f6\u5e8f&#xff0c;\u4e3b\u5faa\u73af\u8d1f\u8d23\u6307\u4ee4\u89e3\u6790\u548c\u4e1a\u52a1\u903b\u8f91\u3002<\/p>\n<p>\/\/ \u4e3b\u5faa\u73af\u6982\u89c8<br \/>\nvoid main(void)<br \/>\n{<br \/>\n    System_Init();   \/\/ \u7cfb\u7edf\u521d\u59cb\u5316<\/p>\n<p>    while(1) {<br \/>\n        \/\/ 1. \u5904\u7406\u84dd\u7259\u6307\u4ee4<br \/>\n        if(cmd_ready) {<br \/>\n            Parse_Command(rx_buf);<br \/>\n            cmd_ready &#061; 0;<br \/>\n        }<\/p>\n<p>        \/\/ 2. \u81ea\u52a8\u907f\u969c\u6a21\u5f0f<br \/>\n        if(auto_mode) {<br \/>\n            Obstacle_Avoidance_Task();<br \/>\n        }<\/p>\n<p>        \/\/ 3. LED\u706f\u6548\u5237\u65b0<br \/>\n        LED_PWM_Update();<\/p>\n<p>        \/\/ 4. \u5b9a\u65f6\u91c7\u96c6\u4f20\u611f\u5668<br \/>\n        if(timer_100ms) {<br \/>\n            timer_100ms &#061; 0;<br \/>\n            sensor_distance &#061; HC_SR04_GetDistance();<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n<h4 id=\"6.2-\u81ea\u52a8\u907f\u969c\u7b97\u6cd5\">6.2 \u81ea\u52a8\u907f\u969c\u7b97\u6cd5<\/h4>\n<p>void Obstacle_Avoidance_Task(void)<br \/>\n{<br \/>\n    float dist &#061; HC_SR04_GetDistance();<\/p>\n<p>    if(dist &lt; 10.0) {<br \/>\n        \/\/ \u8ddd\u79bb\u592a\u8fd1&#xff0c;\u505c\u8f66\u540e\u9000<br \/>\n        Motor_Backward();<br \/>\n        delay_ms(500);<br \/>\n        Motor_TurnRight();<br \/>\n        delay_ms(800);<br \/>\n    }<br \/>\n    else if(IR_LEFT &#061;&#061; 0) {<br \/>\n        \/\/ \u5de6\u8fb9\u6709\u969c\u788d\u7269&#xff0c;\u53f3\u8f6c<br \/>\n        Motor_TurnRight();<br \/>\n        delay_ms(300);<br \/>\n    }<br \/>\n    else if(IR_RIGHT &#061;&#061; 0) {<br \/>\n        \/\/ \u53f3\u8fb9\u6709\u969c\u788d\u7269&#xff0c;\u5de6\u8f6c<br \/>\n        Motor_TurnLeft();<br \/>\n        delay_ms(300);<br \/>\n    }<br \/>\n    else {<br \/>\n        \/\/ \u524d\u65b9\u7545\u901a&#xff0c;\u524d\u8fdb<br \/>\n        Motor_Forward();<br \/>\n    }<br \/>\n}<\/p>\n<hr \/>\n<h3 id=\"\u4e03\u3001\u624b\u673aapp\u63a7\u5236\u7aef\">\u4e03\u3001\u624b\u673aAPP\u63a7\u5236\u7aef<\/h3>\n<p>\u4e3a\u4e86\u8ba9\u5c0f\u8f66\u7684\u63a7\u5236\u66f4\u4fbf\u6377&#xff0c;\u5f00\u53d1\u4e86\u914d\u5957\u7684 \u84dd\u7259\u63a7\u5236APP&#xff08;\u4e5f\u53ef\u7528\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0&#xff09;&#xff0c;\u901a\u8fc7 BLE \u76f4\u63a5\u8fde\u63a5 BT37 \u6a21\u5757&#xff1a;<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1044\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134938-6a92e37261adf.png\" width=\"555\" \/><\/p>\n<h3 id=\"7.1-app\u529f\u80fd\">APP\u529f\u80fd<\/h3>\n<table>\n<tbody>\n<tr>\n<p>\u529f\u80fd\u533a<\/p>\n<p>\u529f\u80fd\u8bf4\u660e<\/p>\n<\/tr>\n<tr>\n<td>\n<p>\u65b9\u5411\u63a7\u5236<\/p>\n<\/td>\n<td>\n<p>D-pad\u65b9\u5411\u952e&#xff0c;\u524d\u8fdb\/\u540e\u9000\/\u5de6\u8f6c\/\u53f3\u8f6c\/\u505c\u6b62<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u901f\u5ea6\u8c03\u8282<\/p>\n<\/td>\n<td>\n<p>5\u6863\u901f\u5ea6\u6ed1\u5757&#xff0c;\u5b9e\u65f6\u8c03\u6574\u8f66\u901f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u6a21\u5f0f\u5207\u6362<\/p>\n<\/td>\n<td>\n<p>\u624b\u52a8\u9065\u63a7 \/ \u81ea\u52a8\u907f\u969c \u4e00\u952e\u5207\u6362<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u706f\u6548\u63a7\u5236<\/p>\n<\/td>\n<td>\n<p>\u5927\u706f\/\u8f6c\u5411\u706f\/\u5239\u8f66\u706f\/\u547c\u5438\u706f\/\u5f69\u8679\u706f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u72b6\u6001\u663e\u793a<\/p>\n<\/td>\n<td>\n<p>\u8fde\u63a5\u72b6\u6001\u3001\u7535\u6c60\u7535\u538b\u3001\u524d\u65b9\u8ddd\u79bb<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 id=\"7.2-ble\u8fde\u63a5\u6838\u5fc3\u4ee3\u7801\uff08android\u793a\u4f8b\uff09\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"825\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134938-6a92e37297920.png\" width=\"1332\" \/><\/h4>\n<hr \/>\n<h3 id=\"\u516b\u3001\u673a\u68b0\u7ed3\u6784\u4e0e\u7ec4\u88c5\">\u516b\u3001\u673a\u68b0\u7ed3\u6784\u4e0e\u7ec4\u88c5<\/h3>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"963\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134938-6a92e372f31a8.png\" width=\"924\" \/><\/p>\n<h4 id=\"8.1-\u8f66\u4f53\u7ed3\u6784\">8.1 \u8f66\u4f53\u7ed3\u6784<\/h4>\n<p>\u5c0f\u8f66\u91c7\u7528\u53cc\u5c42\u7ed3\u6784\u8bbe\u8ba1&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u5e95\u5c42&#xff1a;\u7535\u673a\u9a71\u52a8\u677f&#xff08;MX1508&#xff09;&#043; \u7535\u6c60 &#043; \u7535\u673a &#043; \u8f66\u8f6e &#043; \u7ea2\u5916<\/p>\n<\/li>\n<li>\n<p>\u4e0a\u5c42&#xff1a;STC89C52 \u4e3b\u63a7\u677f &#043; BT37 \u84dd\u7259\u6a21\u5757 &#043; \u8d85\u58f0\u6ce2\u00a0&#043; RGB\u706f<\/p>\n<\/li>\n<\/ul>\n<p>\u8fd9\u6837\u7684\u5e03\u5c40\u597d\u5904\u662f\u91cd\u5fc3\u4f4e\u3001\u884c\u9a76\u7a33\u5b9a&#xff0c;\u540c\u65f6\u4f20\u611f\u5668\u5b89\u88c5\u5728\u524d\u7aef&#xff0c;\u68c0\u6d4b\u66f4\u7075\u654f\u3002<\/p>\n<h4 id=\"8.2-\u7ec4\u88c5\u8981\u70b9\">8.2 \u7ec4\u88c5\u8981\u70b9<\/h4>\n<li>\n<p>\u7535\u673a\u56fa\u5b9a&#xff1a;\u4f7f\u7528\u94dc\u67f1\u5c06\u7535\u673a\u652f\u67b6\u56fa\u5b9a\u5728\u5e95\u76d8\u4e0a&#xff0c;\u786e\u4fdd\u5de6\u53f3\u7535\u673a\u5bf9\u79f0<\/p>\n<\/li>\n<li>\n<p>\u4e07\u5411\u8f6e&#xff1a;\u524d\u7aef\u5b89\u88c5\u4e00\u4e2a\u4e07\u5411\u8f6e\u4f5c\u4e3a\u652f\u6491&#xff0c;\u4f7f\u5c0f\u8f66\u80fd\u591f\u7075\u6d3b\u8f6c\u5411<\/p>\n<\/li>\n<li>\n<p>\u7535\u6c60\u4ed3&#xff1a;\u5efa\u8bae\u8bbe\u8ba1\u4e13\u95e8\u7684\u7535\u6c60\u4ed3&#xff0c;\u907f\u514d\u7535\u6c60\u6643\u52a8\u5f71\u54cd\u91cd\u5fc3<\/p>\n<\/li>\n<li>\n<p>\u4f20\u611f\u5668\u9ad8\u5ea6&#xff1a;\u8d85\u58f0\u6ce2\u548c\u7ea2\u5916\u907f\u969c\u6a21\u5757\u5b89\u88c5\u9ad8\u5ea6\u7ea63~5cm&#xff0c;\u4e0e\u5730\u9762\u5e73\u884c<\/p>\n<\/li>\n<li>\n<p>\u5e03\u7ebf\u6574\u7406&#xff1a;\u7528\u624e\u5e26\u6574\u7406\u7ebf\u675f&#xff0c;\u907f\u514d\u7ebf\u6750\u7f20\u7ed5\u8f66\u8f6e<\/p>\n<\/li>\n<hr \/>\n<h3 id=\"\u4e5d\u3001\u5e38\u89c1\u95ee\u9898\u4e0e\u8c03\u8bd5\u6280\u5de7\">\u4e5d\u3001\u5b9e\u6d4b\u95ee\u9898\u8bb0\u5f55<\/h3>\n<h4 id=\"9.3-\u8d85\u58f0\u6ce2\u6d4b\u8ddd\u4e0d\u51c6\uff1f\">9.1 \u8d85\u58f0\u6ce2\u6d4b\u8ddd\u4e0d\u51c6<\/h4>\n<li>\n<p>\u786e\u4fdd TRIG \u89e6\u53d1\u8109\u51b2\u5bbd\u5ea6 \u2265 10us<\/p>\n<\/li>\n<li>\n<p>\u53ef\u4ee5\u591a\u6b21\u91c7\u6837\u53d6\u5e73\u5747\u503c&#xff0c;\u51cf\u5c0f\u8bef\u5dee<\/p>\n<\/li>\n<h4 id=\"9.4-\u5c0f\u8f66\u8d70\u4e0d\u76f4\uff1f\">9.2\u00a0\u5c0f\u8f66\u8d70\u4e0d\u76f4<\/h4>\n<li>\n<p>\u5de6\u53f3\u7535\u673a\u8f6c\u901f\u6709\u5dee\u5f02&#xff0c;\u8f6f\u4ef6\u4e0a\u505a\u901f\u5ea6\u8865\u507f&#xff0c;\u4e5f\u53ef\u4ee5\u5728\u7a0b\u5e8f\u4e2d\u5fae\u8c03\u5de6\u53f3PWM\u5360\u7a7a\u6bd4<\/p>\n<\/li>\n<li>\n<p>\u68c0\u67e5\u8f6e\u80ce\u662f\u5426\u5b89\u88c5\u5230\u4f4d&#xff0c;\u4e07\u5411\u8f6e\u662f\u5426\u7075\u6d3b<\/p>\n<\/li>\n<hr \/>\n<h3 id=\"\u5341\u3001\u9879\u76ee\u603b\u7ed3\u4e0e\u6269\u5c55\u65b9\u5411\">\u5341\u3001\u9879\u76ee\u603b\u7ed3<\/h3>\n<h4 id=\"10.1-\u6210\u672c\u6e05\u5355\">\u57fa\u672c\u7269\u6599\u603b\u7ed3<\/h4>\n<table>\n<tbody>\n<tr>\n<p>\u7269\u6599<\/p>\n<p>\u5355\u4ef7&#xff08;\u53c2\u8003&#xff09;<\/p>\n<p>\u6570\u91cf<\/p>\n<\/tr>\n<tr>\n<td>\n<p>STC89C52RC \u6700\u5c0f\u7cfb\u7edf\u677f<\/p>\n<\/td>\n<td>\n<p>\u7ea63\u5143<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u5927\u590f\u9f99\u96c0 DX-BT37 \u84dd\u7259\u6a21\u5757<\/p>\n<\/td>\n<td>\n<p>\u7ea61\u5143<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MX1508 \u7535\u673a\u9a71\u52a8<\/p>\n<\/td>\n<td>\n<p>\u7ea63\u5143<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>TT\u51cf\u901f\u7535\u673a &#043; \u8f6e\u80ce<\/p>\n<\/td>\n<td>\n<p>\u7ea68\u5143<\/p>\n<\/td>\n<td>\n<p>\u00d72<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>HC-SR04 \u8d85\u58f0\u6ce2\u6a21\u5757<\/p>\n<\/td>\n<td>\n<p>\u7ea64\u5143<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u7ea2\u5916\u907f\u969c\u6a21\u5757<\/p>\n<\/td>\n<td>\n<p>\u7ea62\u5143<\/p>\n<\/td>\n<td>\n<p>\u00d72<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>RGB LED &#043; \u7535\u963b<\/p>\n<\/td>\n<td>\n<p>\u7ea61\u5143<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>18650 \u9502\u7535\u6c60 &#043; \u7535\u6c60\u76d2<\/p>\n<\/td>\n<td>\n<p>\u7ea66\u5143<\/p>\n<\/td>\n<td>\n<p>\u00d72<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>TP4056 \u5145\u7535\u6a21\u5757<\/p>\n<\/td>\n<td>\n<p>\u7ea62\u5143<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u8f66\u5e95\u76d8 &#043; \u4e07\u5411\u8f6e<\/p>\n<\/td>\n<td>\n<p>\u7ea68\u5143<\/p>\n<\/td>\n<td>\n<p>1\u5957<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u9762\u5305\u677f &#043; \u675c\u90a6\u7ebf<\/p>\n<\/td>\n<td>\n<p>\u7ea65\u5143<\/p>\n<\/td>\n<td>\n<p>\u82e5\u5e72<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>AMS1117-3.3V &#043; \u7535\u5bb9<\/p>\n<\/td>\n<td>\n<p>\u7ea61\u5143<\/p>\n<\/td>\n<td>\n<p>\u00d71<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e0d\u523050\u5143\u7684\u6210\u672c&#xff0c;\u5c31\u80fd\u505a\u51fa\u4e00\u53f0\u529f\u80fd\u9f50\u5168\u7684\u84dd\u7259\u667a\u80fd\u5c0f\u8f66&#xff0c;\u6027\u4ef7\u6bd4\u975e\u5e38\u9ad8\u3002<\/p>\n<p>\u5bf9\u4e8e\u5165\u95e8\u5d4c\u5165\u5f0f\u7684\u670b\u53cb\u6765\u8bf4&#xff0c;\u505a\u4e00\u53f0\u81ea\u5df1\u7684\u84dd\u7259\u667a\u80fd\u5c0f\u8f66&#xff0c;\u662f\u5b66\u4e60\u5355\u7247\u673a\u3001\u7535\u673a\u9a71\u52a8\u3001\u4f20\u611f\u5668\u548c\u84dd\u7259\u901a\u4fe1\u7684\u7edd\u4f73\u7ec3\u624b\u9879\u76ee\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u7ed9\u4f60\u5e26\u6765\u542f\u53d1&#xff0c;\u4e5f\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u4ea4\u6d41\u4f60\u7684\u521b\u610f&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u667a\u80fd\u5c0f\u8f66\u662f\u5d4c\u5165\u5f0f\u5165\u95e8\u7684\u7ecf\u5178\u9879\u76ee&#xff0c;\u672c\u6587\u5206\u4eab\u4e00\u6b3e\u57fa\u4e8e STC89C52RC\u00a0 \u6df1\u5733\u5927\u590f\u9f99\u96c0\u79d1\u6280 DX-BT37 \u84dd\u7259\u6a21\u5757 \u6253\u9020\u7684\u591a\u529f\u80fd\u667a\u80fd\u5c0f\u8f66&#xff0c;\u96c6\u84dd\u7259\u9065\u63a7\u3001\u8d85\u58f0\u6ce2\u907f\u969c\u3001\u7ea2\u5916\u907f\u969c\u3001RGB\u70ab\u5f69\u706f\u6548\u4e8e\u4e00\u4f53\u3002\u5728\u505a\u8fd9\u4e2a\u9879\u76ee\u4e4b\u524d&#xff0c;\u6211\u5bf9\u6bd4\u4e86\u5e02\u9762\u4e0a\u591a\u6b3e\u84dd\u7259\u6a21\u5757&#xff0c;\u6700\u7ec8\u9009\u62e9\u5927\u590f\u9f99\u96c0\u7684BT37&#xff0c;\u6838\u5fc3\u539f\u56e0\u6709\u4e8c&#xff1a;\u4e00\u662f\u5b83\u91c7\u7528 BK3633 \u82af\u7247&#xff0c;\u652f\u6301 \u84dd\u7259 5.2 \u534f\u8bae&#xff0c;\u6297\u5e72\u6270\u80fd\u529b\u5f3a&amp;#xff1b<\/p>\n","protected":false},"author":2,"featured_media":97618,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10336,217,50,270,269,220],"topic":[],"class_list":["post-97629","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-10336","tag-stm32","tag-50","tag-270","tag-269","tag-220"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4ece\u786c\u4ef6\u642d\u5efa\u5230APP\u63a7\u5236\u642d\u5efa\u4e00\u53f0\u667a\u80fd\u5c0f\u8f66 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/97629.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4ece\u786c\u4ef6\u642d\u5efa\u5230APP\u63a7\u5236\u642d\u5efa\u4e00\u53f0\u667a\u80fd\u5c0f\u8f66 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u667a\u80fd\u5c0f\u8f66\u662f\u5d4c\u5165\u5f0f\u5165\u95e8\u7684\u7ecf\u5178\u9879\u76ee&#xff0c;\u672c\u6587\u5206\u4eab\u4e00\u6b3e\u57fa\u4e8e STC89C52RC\u00a0 \u6df1\u5733\u5927\u590f\u9f99\u96c0\u79d1\u6280 DX-BT37 \u84dd\u7259\u6a21\u5757 \u6253\u9020\u7684\u591a\u529f\u80fd\u667a\u80fd\u5c0f\u8f66&#xff0c;\u96c6\u84dd\u7259\u9065\u63a7\u3001\u8d85\u58f0\u6ce2\u907f\u969c\u3001\u7ea2\u5916\u907f\u969c\u3001RGB\u70ab\u5f69\u706f\u6548\u4e8e\u4e00\u4f53\u3002\u5728\u505a\u8fd9\u4e2a\u9879\u76ee\u4e4b\u524d&#xff0c;\u6211\u5bf9\u6bd4\u4e86\u5e02\u9762\u4e0a\u591a\u6b3e\u84dd\u7259\u6a21\u5757&#xff0c;\u6700\u7ec8\u9009\u62e9\u5927\u590f\u9f99\u96c0\u7684BT37&#xff0c;\u6838\u5fc3\u539f\u56e0\u6709\u4e8c&#xff1a;\u4e00\u662f\u5b83\u91c7\u7528 BK3633 \u82af\u7247&#xff0c;\u652f\u6301 \u84dd\u7259 5.2 \u534f\u8bae&#xff0c;\u6297\u5e72\u6270\u80fd\u529b\u5f3a&amp;#xff1b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/97629.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-29T13:49:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134933-6a92e36df239d.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/97629.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/97629.html\",\"name\":\"\u4ece\u786c\u4ef6\u642d\u5efa\u5230APP\u63a7\u5236\u642d\u5efa\u4e00\u53f0\u667a\u80fd\u5c0f\u8f66 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-29T13:49:40+00:00\",\"dateModified\":\"2026-08-29T13:49:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/97629.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/97629.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/97629.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4ece\u786c\u4ef6\u642d\u5efa\u5230APP\u63a7\u5236\u642d\u5efa\u4e00\u53f0\u667a\u80fd\u5c0f\u8f66\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4ece\u786c\u4ef6\u642d\u5efa\u5230APP\u63a7\u5236\u642d\u5efa\u4e00\u53f0\u667a\u80fd\u5c0f\u8f66 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/97629.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4ece\u786c\u4ef6\u642d\u5efa\u5230APP\u63a7\u5236\u642d\u5efa\u4e00\u53f0\u667a\u80fd\u5c0f\u8f66 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u667a\u80fd\u5c0f\u8f66\u662f\u5d4c\u5165\u5f0f\u5165\u95e8\u7684\u7ecf\u5178\u9879\u76ee&#xff0c;\u672c\u6587\u5206\u4eab\u4e00\u6b3e\u57fa\u4e8e STC89C52RC\u00a0 \u6df1\u5733\u5927\u590f\u9f99\u96c0\u79d1\u6280 DX-BT37 \u84dd\u7259\u6a21\u5757 \u6253\u9020\u7684\u591a\u529f\u80fd\u667a\u80fd\u5c0f\u8f66&#xff0c;\u96c6\u84dd\u7259\u9065\u63a7\u3001\u8d85\u58f0\u6ce2\u907f\u969c\u3001\u7ea2\u5916\u907f\u969c\u3001RGB\u70ab\u5f69\u706f\u6548\u4e8e\u4e00\u4f53\u3002\u5728\u505a\u8fd9\u4e2a\u9879\u76ee\u4e4b\u524d&#xff0c;\u6211\u5bf9\u6bd4\u4e86\u5e02\u9762\u4e0a\u591a\u6b3e\u84dd\u7259\u6a21\u5757&#xff0c;\u6700\u7ec8\u9009\u62e9\u5927\u590f\u9f99\u96c0\u7684BT37&#xff0c;\u6838\u5fc3\u539f\u56e0\u6709\u4e8c&#xff1a;\u4e00\u662f\u5b83\u91c7\u7528 BK3633 \u82af\u7247&#xff0c;\u652f\u6301 \u84dd\u7259 5.2 \u534f\u8bae&#xff0c;\u6297\u5e72\u6270\u80fd\u529b\u5f3a&amp;#xff1b","og_url":"https:\/\/www.wsisp.com\/helps\/97629.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-29T13:49:40+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260829134933-6a92e36df239d.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/97629.html","url":"https:\/\/www.wsisp.com\/helps\/97629.html","name":"\u4ece\u786c\u4ef6\u642d\u5efa\u5230APP\u63a7\u5236\u642d\u5efa\u4e00\u53f0\u667a\u80fd\u5c0f\u8f66 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-29T13:49:40+00:00","dateModified":"2026-08-29T13:49:40+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/97629.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/97629.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/97629.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4ece\u786c\u4ef6\u642d\u5efa\u5230APP\u63a7\u5236\u642d\u5efa\u4e00\u53f0\u667a\u80fd\u5c0f\u8f66"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/97629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=97629"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/97629\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/97618"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=97629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=97629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=97629"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=97629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}