{"id":185,"date":"2025-08-10T20:57:10","date_gmt":"2025-08-10T12:57:10","guid":{"rendered":"https:\/\/lmceric.top\/?p=185"},"modified":"2025-08-10T20:57:11","modified_gmt":"2025-08-10T12:57:11","slug":"stm32f405%e9%80%9a%e8%bf%87hb556ac%e6%8e%a7%e5%88%b6%e6%ad%a5%e8%bf%9b%e7%94%b5%e6%9c%ba","status":"publish","type":"post","link":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/","title":{"rendered":"STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"\u4e00\u9884\u5907\u77e5\u8bc6\">\u4e00.\u9884\u5907\u77e5\u8bc6<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"11-\u6b65\u8fdb\u7535\u673a\u4e0e\u9a71\u52a8\u5668\">1.1 \u6b65\u8fdb\u7535\u673a\u4e0e\u9a71\u52a8\u5668<\/h3>\n\n\n\n<p>\u6b65\u8fdb\u7535\u673a\u662f\u4e00\u79cd\u5c06\u7535\u8109\u51b2\u4fe1\u53f7\u8f6c\u6362\u6210\u76f8\u5e94\u89d2\u4f4d\u79fb\u6216\u7ebf\u4f4d\u79fb\u7684\u7535\u52a8\u673a\u3002\u6bcf\u8f93\u5165\u4e00\u4e2a\u8109\u51b2\u4fe1\u53f7\uff0c\u8f6c\u5b50\u5c31\u8f6c\u52a8\u4e00\u4e2a\u89d2\u5ea6\u6216\u524d\u8fdb\u4e00\u6b65\uff0c\u5176\u8f93\u51fa\u7684\u89d2\u4f4d\u79fb\u6216\u7ebf\u4f4d\u79fb\u4e0e\u8f93\u5165\u7684\u8109\u51b2\u6570\u6210\u6b63\u6bd4\uff0c\u8f6c\u901f\u4e0e\u8109\u51b2\u9891\u7387\u6210\u6b63\u6bd4\u3002\u56e0\u6b64\uff0c\u6b65\u8fdb\u7535\u52a8\u673a\u53c8\u79f0\u8109\u51b2\u7535\u52a8\u673a\u3002<\/p>\n\n\n\n<p>\u76ee\u524d\u5e02\u9762\u4e0a\u5927\u591a\u6570\u6b65\u8fdb\u7535\u673a\u4e00\u6b21\u8109\u51b2\u4ea7\u751f\u7684\u89d2\u5ea6\u53d8\u5316\u91cf\u4e3a1.8\u00b0\uff0c\u6b65\u8fdb\u7535\u673a\u9700\u8981\u901a\u8fc7\u9a71\u52a8\u5668\u4e0e\u5355\u7247\u673a\u8fde\u63a5\uff0c\u5355\u7247\u673a\u901a\u8fc7\u5411\u9a71\u52a8\u5668\u53d1\u9001\u8109\u51b2\u63a7\u5236\u9a71\u52a8\u5668\u9a71\u52a8\u7535\u673a\u3002<\/p>\n\n\n\n<p>HB556AC\u9a71\u52a8\u5668\u5982\u4e0b\u56fe<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"595\" height=\"791\" src=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-06-12-14-03-image.png\" alt=\"\" class=\"wp-image-187\" srcset=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-06-12-14-03-image.png 595w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-06-12-14-03-image-226x300.png 226w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/figure>\n\n\n\n<p>\u9a71\u52a8\u5668\u901a\u8fc7\u62e8\u7801\u5f00\u5173\u63a7\u5236\u7ec6\u5206\u6570\u548c\u7535\u6d41\u5927\u5c0f\uff0c\u53c2\u8003\u9a71\u52a8\u5668\u5916\u58f3\u4e0a\u7684\u8868\u683c\u3002<\/p>\n\n\n\n<p>\u7ec6\u5206\u6570\u7c7b\u4f3c\u4e8e\u6b65\u8fdb\u7535\u673a\u5206\u8fa8\u7387\u6269\u5927\uff0c\u4f8b\u5982\u82e5\u7ec6\u5206\u6570\u4e3a400\uff0c\u5219\u9a71\u52a8\u5668\u6536\u5230400\u8109\u51b2\u624d\u80fd\u4f7f\u6b65\u8fdb\u7535\u673a\u65cb\u8f6c\u4e00\u5468\uff0c\u7535\u6d41\u5927\u5c0f\u662f\u9a71\u52a8\u5668\u5411\u6b65\u8fdb\u7535\u673a\u53d1\u9001\u7684\u7535\u6d41\u5927\u5c0f\uff0c\u901a\u5e38\u4e0e\u6b65\u8fdb\u7535\u673a\u578b\u53f7\u6709\u5173<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"12\u9a71\u52a8\u5668\u4f7f\u7528\">1.2\u9a71\u52a8\u5668\u4f7f\u7528<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"121-\u9a71\u52a8\u5668\u63a5\u53e3\">1.2.1 \u9a71\u52a8\u5668\u63a5\u53e3<\/h4>\n\n\n\n<p>\u4e0e\u9a71\u52a8\u5668\u578b\u53f7\u6709\u5173\uff0c\u53c2\u8003\u9a71\u52a8\u5668\u8bf4\u660e\u4e66\uff0c\u8fd9\u91cc\u53ea\u7ed9\u51fa\u7b80\u660e\u4f7f\u7528\u8bf4\u660e\uff0c\u8be6\u7ec6\u5185\u5bb9\u53c2\u8003\u76f8\u5173\u9a71\u52a8\u5668\u578b\u53f7\u8bf4\u660e\u4e66\uff0c\u8fd9\u91cc\u4f7f\u7528\u7684\u662fHB556AC<\/p>\n\n\n\n<p>\u4e0b\u56fe\u4e3a\u9a71\u52a8\u5668\u7684\u5f3a\u7535\u63a5\u53e3<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"355\" height=\"375\" src=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-05-44-image.png\" alt=\"\" class=\"wp-image-188\" srcset=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-05-44-image.png 355w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-05-44-image-284x300.png 284w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/figure>\n\n\n\n<p>\u5982\u56fe\u7ea2\u8272\u90e8\u5206\u4e3a\u4f9b\u7535\u63a5\u53e3\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\u76f4\u6d41\u7535\u6e90\u53ef\u4ee5\u76f4\u63a5\u8fde\u63a5<\/p>\n\n\n\n<p>\u6807\u6709\u201c\u7535\u673a\u201d\u7684\u56db\u4e2a\u63a5\u7ebf\u53e3\u4e3a\u8fde\u63a5\u6b65\u8fdb\u7535\u673a\u7684\u56db\u7ebf\u4f9b\u7535\u7ebf\u8def\uff0c\u9700\u8981\u4e0e\u6b65\u8fdb\u7535\u673a\u5bf9\u5e94\u7ebf\u8def\u8fde\u63a5\uff0c\u4e0e\u6b65\u8fdb\u7535\u673a\u578b\u53f7\u6709\u5173\uff0c\u901a\u5e38\u60c5\u51b5\u4e0b\u4e3a\u9ed1A+ \u7effA- \u7ea2B+ \u84ddB-<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u540d\u79f0<\/th><th>\u529f\u80fd<\/th><\/tr><\/thead><tbody><tr><td>GND<\/td><td>\u76f4\u6d41\u7535\u6e90\u5730<\/td><\/tr><tr><td>+Vdc<\/td><td>\u76f4\u6d41\u7535\u6e90\u6b63\u6781\uff0c\u4f9b\u7535\u7535\u538b\u8303\u56f4\uff1a\u76f4\u6d41 24~50Vdc\uff0c\u63a8\u8350 36Vdc\u5de5\u4f5c\u3002<\/td><\/tr><tr><td>A+\u3001A-<\/td><td>\u7535\u673a A\u76f8\u7ebf\u5708\u63a5\u53e3\u3002<\/td><\/tr><tr><td>B+\u3001B-<\/td><td>\u7535\u673a B\u76f8\u7ebf\u5708\u63a5\u53e3\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"452\" height=\"475\" src=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-10-06-image.png\" alt=\"\" class=\"wp-image-189\" srcset=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-10-06-image.png 452w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-10-06-image-285x300.png 285w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><\/figure>\n\n\n\n<p>\u5982\u56fe\u7684\u516d\u4e2a\u63a5\u53e3\u4e3a\u63a7\u5236\u4fe1\u53f7\u63a5\u53e3\uff0c\u9700\u8981\u6309\u4e00\u5b9a\u89c4\u5219\u4e0e\u5355\u7247\u673a\u8fde\u63a5\uff0c\u8be6\u89c1\u540e\u6587\u63a5\u7ebf\u6cd5\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u540d\u79f0<\/th><th>\u529f\u80fd<\/th><\/tr><\/thead><tbody><tr><td>PUL+\u3001PUL-<\/td><td>\u8109\u51b2\u4fe1\u53f7\uff1a\u8109\u51b2\u4e0a\u5347\u6cbf\u6709\u6548\uff1b PUL\u9ad8\u7535\u5e73\u65f6 4.5<del>28Vdc\uff0c\u4f4e\u7535\u5e73\u65f6 0<\/del>0.5V\u3002\u4e3a\u4e86\u53ef\u9760\u54cd\u5e94\u8109\u51b2\u4fe1\u53f7\uff0c\u8109\u51b2\u5bbd\u5ea6\u5e94\u5927\u4e8e 1.5\u03bcs\u3002<\/td><\/tr><tr><td>DIR+\u3001DIR-<\/td><td>\u65b9\u5411\u4fe1\u53f7\uff1a \u9ad8\/\u4f4e\u7535\u5e73\u4fe1\u53f7\uff0c \u4e3a\u4fdd\u8bc1\u7535\u673a\u53ef\u9760\u6362\u5411\uff0c \u65b9\u5411\u4fe1\u53f7\u5e94\u5148\u4e8e\u8109\u51b2\u4fe1\u53f7\u81f3\u5c112\u03bcs\u5efa\u7acb\u3002\u7535\u673a\u7684\u521d\u59cb\u8fd0\u884c\u65b9\u5411\u4e0e\u7535\u673a\u7684\u63a5\u7ebf\u6709\u5173\uff0c\u4e92\u6362\u4efb\u4e00\u76f8\u7ed5\u7ec4(\u5982&nbsp;A+\u3001A-\u4ea4\u6362)\u53ef\u4ee5\u6539\u53d8\u7535\u673a\u521d\u59cb\u8fd0\u884c\u7684\u65b9\u5411\uff0c DIR\u9ad8\u7535\u5e73\u65f6 4.5<del>28Vdc\uff0c\u4f4e\u7535\u5e73\u65f6 0<\/del>0.5V\u3002<\/td><\/tr><tr><td>ENA+\u3001ENA-<\/td><td>\u4f7f\u80fd\u4fe1\u53f7\uff1a\u6b64\u8f93\u5165\u4fe1\u53f7\u7528\u4e8e\u4f7f\u80fd\u6216\u7981\u6b62\u3002 ENA+ \u63a5 4.5~28Vdc\uff0cENA-\u63a5\u4f4e\u7535\u5e73(\u6216\u5185\u90e8\u5149\u8026\u5bfc\u901a) \u65f6\uff0c\u9a71\u52a8\u5668\u5c06\u5207\u65ad\u7535\u673a\u5404\u76f8\u7684\u7535\u6d41\u4f7f\u7535\u673a\u5904\u4e8e\u81ea\u7531\u72b6\u6001\uff0c\u6b64\u65f6\u6b65\u8fdb\u8109\u51b2\u4e0d\u88ab\u54cd\u5e94\u3002\u5f53\u4e0d\u9700\u7528\u6b64\u529f\u80fd\u65f6\uff0c\u4f7f\u80fd\u4fe1\u53f7\u7aef\u60ac\u7a7a\u5373\u53ef\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u6b64\u5916\uff0c\u9a71\u52a8\u5668\u4fa7\u9762\u6709\u4e00\u7ea2\u4e00\u7eff\u4e24\u4e2a\u6307\u793a\u706f\uff0c\u5728\u6b63\u5e38\u60c5\u51b5\u4e0b\u5e94\u8be5\u662f\u7eff\u706f\u5e38\u4eae\u7ea2\u706f\u5e38\u706d\uff0c\u5176\u4f59\u6307\u793a\u706f\u4fe1\u53f7\u5bf9\u5e94\u7684\u542b\u4e49\u8be6\u89c1\u8bf4\u660e\u4e66\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"122-\u63a5\u7ebf\u6cd5\">1.2.2 \u63a5\u7ebf\u6cd5<\/h4>\n\n\n\n<p>\u9a71\u52a8\u5668\u63a7\u5236\u4fe1\u53f7\u63a5\u53e3\u9700\u8981\u6309\u7167\u4e00\u5b9a\u7684\u89c4\u5219\u4e0e\u5355\u7247\u673a\u8fde\u63a5\uff0c\u901a\u5e38\u6709\u5171\u9633\u6781\u63a5\u7ebf\u6cd5\u548c\u5171\u9634\u6781\u63a5\u7ebf\u6cd5\u3002\u6545\u540d\u601d\u4e0e\u5171\u9633\u6781\u5373\u5c06\u63a7\u5236\u4fe1\u53f7\u7684\u9633\u6781\u4e0e\u516c\u5171\u6b63\u6781\u5e76\u8054\uff0c\u5171\u9634\u6781\u5373\u5c06\u9634\u6781\u4e0e\u516c\u5171\u5730\u5e76\u8054\u3002\u8fd9\u91cc\u9700\u8981\u6ce8\u610f\u7684\u662f\u91c7\u7528\u5171\u9634\u6781\u63a5\u7ebf\u6cd5\u65f6\u9700\u8981\u6ce8\u610f\u529f\u7387\u5730\u4e0e\u4fe1\u53f7\u5730\u7684\u9694\u79bb\u3002<\/p>\n\n\n\n<p>HB556AC\u9a71\u52a8\u5668\u91c7\u7528\u5dee\u5206\u5f0f\u63a5\u53e3\u7535\u8def\u53ef\u9002\u7528\u5dee\u5206\u4fe1\u53f7\uff0c\u5355\u7aef\u5171\u9634\u6781\u53ca\u5355\u7aef\u5171\u9633\u6781\u7b49\u63a5\u53e3\uff0c\u63a5\u7ebf\u56fe\u5982\u4e0b<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"430\" src=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-22-21-image-1024x430.png\" alt=\"\" class=\"wp-image-190\" srcset=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-22-21-image-1024x430.png 1024w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-22-21-image-300x126.png 300w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-22-21-image-768x323.png 768w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-22-21-image.png 1095w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u6ce8\u610f\uff1a VCC\u503c\u4e3a 4.5~28Vdc\u65f6\uff0c R\u77ed\u63a5\u6216\u4e0d\u63a5\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"13-\u5b9a\u65f6\u5668\u4e0e\u5355\u8109\u51b2\">1.3 \u5b9a\u65f6\u5668\u4e0e\u5355\u8109\u51b2<\/h3>\n\n\n\n<p>\u7531\u4e8e\u8fd9\u91cc\u4f7f\u7528\u7684\u6b65\u8fdb\u7535\u673a\u9a71\u52a8\u5668\u63a7\u5236\u6b65\u8fdb\u7535\u673a\u9700\u8981\u901a\u8fc7pwm\u5355\u8109\u51b2\u5b9e\u73b0\uff0c\u5373\u53d1\u9001\u4e00\u6b21\u5355\u8109\u51b2\u6b65\u8fdb\u7535\u673a\u5373\u6b65\u8fdb\u4e00\u6b65\uff0c\u5176\u8f6c\u901f\u4e0e\u4ea7\u751f\u8109\u51b2\u9891\u7387\u6709\u5173\u3002<\/p>\n\n\n\n<p>arr\uff1a\u81ea\u52a8\u91cd\u88c5\u8f7d\u5bc4\u5b58\u5668\u7684\u503c<br>psc\uff1a\u5b9a\u65f6\u5668\u9891\u7387<br>\u03b1\u4e3a\u6b65\u8ddd\u89d2\uff081.8\u00b0\uff09\uff0cx\u4e3a\u9a71\u52a8\u5668\u7ec6\u5206\u500d\u6570\uff08\u8bbe\u7f6e\u4e3a2\uff0c\u4e5f\u5c31\u662f\u8bf4\u8f6c\u52a8\u4e00\u5708\u9700\u8981400\u4e2a\u8109\u51b2\uff0c\u6bcf\u4e2a\u8109\u51b2\u8f6c\u52a80.9\u5ea6\uff09<br>\u6b64\u65f6\u8109\u51b2\u9891\u7387 = Fck_int(72MHZ) \/ ((arr+1)*(psc+1))<br>\u8f6c\u901f\uff08r\/min\uff09= \u8109\u51b2\u9891\u7387 * 60 \/ ((360\/\u03b1)*x)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"14-\u68af\u5f62\u52a0\u51cf\u901f\">1.4 \u68af\u5f62\u52a0\u51cf\u901f<\/h3>\n\n\n\n<p>\u7531\u4e8e\u6b65\u8fdb\u7535\u673a\u5b58\u5728\u7a7a\u8f7d\u542f\u52a8\u9891\u7387\uff0c\u4e5f\u5c31\u662f\u5728\u6ca1\u6709\u8d1f\u8f7d\u7684\u60c5\u51b5\u4e0b\u80fd\u591f\u6b63\u5e38\u542f\u52a8\u7684\u6700\u5927\u8109\u51b2\u9891\u7387\uff0c\u5982\u679c\u8109\u51b2\u9891\u7387\u5927\u4e8e\u8be5\u503c\uff0c\u6b65\u8fdb\u7535\u673a\u5219\u4e0d\u80fd\u591f\u6b63\u5e38\u542f\u52a8\uff0c\u53d1\u751f\u4e22\u6b65\u6216\u8005\u5835\u8f6c\u7684\u60c5\u51b5\uff1b\u6216\u8005\u4e5f\u53ef\u4ee5\u7406\u89e3\u4e3a\u7531\u4e8e\u6b65\u8fdb\u8109\u51b2\u53d8\u5316\u8fc7\u5feb\uff0c\u8f6c\u5b50\u7531\u4e8e\u60ef\u6027\u7684\u4f5c\u7528\u8ddf\u4e0d\u4e0a\u7535\u4fe1\u53f7\u7684\u53d8\u5316\u3002\u6240\u4ee5\u8981\u4f7f\u7528\u52a0\u51cf\u901f\u6765\u89e3\u51b3\u542f\u52a8\u9891\u7387\u4f4e\u7684\u95ee\u9898\uff0c\u5728\u542f\u52a8\u65f6\u4f7f\u7528\u8f83\u4f4e\u7684\u8109\u51b2\u9891\u7387\uff0c\u7136\u540e\u9010\u6e10\u7684\u52a0\u5feb\u9891\u7387\u3002<\/p>\n\n\n\n<p>\u53e6\u4e00\u65b9\u9762\uff0c\u7531\u4e8e\u6b65\u8fdb\u7535\u673a\u9ad8\u901f\u72b6\u6001\u4e0b\u626d\u77e9\u964d\u4f4e\u7684\u7279\u6027\uff0c\u5728\u5b58\u5728\u8d1f\u8f7d\u7684\u60c5\u51b5\u4e0b\u4f7f\u7528\u6b65\u8fdb\u7535\u673a\u5728\u626d\u77e9\u4e34\u754c\u4f4d\u7f6e\u65f6\u4f1a\u4ea7\u751f\u4e22\u5e03\uff0c\u56e0\u6b64\u7f13\u52a0\u51cf\u901f\u5c31\u81f3\u5173\u91cd\u8981\u3002<\/p>\n\n\n\n<p>\u5176\u4e2d\u8109\u51b2\u95f4\u9694\u65f6\u95f4\uff08Tn\u200b\uff09\u7684\u52a8\u6001\u8c03\u6574\u662f\u5b9e\u73b0\u5e73\u6ed1\u901f\u5ea6\u53d8\u5316\u7684\u6838\u5fc3\u3002<\/p>\n\n\n\n<p>\u68af\u5f62\u901f\u5ea6\u66f2\u7ebf\u5206\u4e3a\u4e09\u4e2a\u9636\u6bb5\uff08\u8bbe\u603b\u8109\u51b2\u6570\u4e3aN\uff09\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u52a0\u901f\u9636\u6bb5( 0\u2264n\uff1cN1 ) \uff1a\u8109\u51b2\u95f4\u9694Tn\u200b\u9010\u6e10\u51cf\u5c0f\uff0c\u9891\u7387\u4e0a\u5347\u3002<\/li>\n\n\n\n<li>\u5300\u901f\u9636\u6bb5\uff08N1\u200b\u2264n<\/li>\n\n\n\n<li>\u51cf\u901f\u9636\u6bb5\uff08N\u2212N2\u200b\u2264n<\/li>\n<\/ol>\n\n\n\n<p>\u5176\u4e2d\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>N1\u200b\uff1a\u52a0\u901f\u6bb5\u8109\u51b2\u6570<\/li>\n\n\n\n<li>N2\u200b\uff1a\u51cf\u901f\u6bb5\u8109\u51b2\u6570<\/li>\n\n\n\n<li>N\uff1a\u603b\u8109\u51b2\u6570<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"141-\u52a0\u901f\u9636\u6bb5\">1.4.1 \u52a0\u901f\u9636\u6bb5<\/h4>\n\n\n\n<p>\u8bbe\u6b65\u8fdb\u7535\u673a\u7684\u89d2\u52a0\u901f\u5ea6\u4e3a\u03b1\uff08\u6b65\u6570\/\u79d2\u00b2\uff09\uff0c\u901f\u5ea6v(t)\uff08\u6b65\u6570\/\u79d2\uff09\u4e0e\u65f6\u95f4t\u7684\u5173\u7cfb\u4e3a\uff1a<\/p>\n\n\n\n<p>v(t)=v0\u200b+\u03b1t<\/p>\n\n\n\n<p>\u521d\u59cb\u901f\u5ea6v0\u200b=0\u65f6\uff0c\u7b80\u5316\u4e3a\uff1a<\/p>\n\n\n\n<p>v(t)=\u03b1t<\/p>\n\n\n\n<p><strong>(2) \u79bb\u6563\u5316\u5904\u7406<\/strong><\/p>\n\n\n\n<p>\u5c06\u65f6\u95f4\u79bb\u6563\u5316\u4e3a\u8109\u51b2\u65f6\u523btn\u200b\uff0c\u7b2cn\u4e2a\u8109\u51b2\u7684\u77ac\u65f6\u901f\u5ea6vn\u200b\u4e3a\uff1a<\/p>\n\n\n\n<p>vn\u200b=Tn\u200b1\u200b<\/p>\n\n\n\n<p>\u6839\u636e\u52a0\u901f\u5ea6\u5b9a\u4e49\uff1a<\/p>\n\n\n\n<p>vn\u200b=vn\u22121\u200b+\u03b1Tn\u22121\u200b<\/p>\n\n\n\n<p>\u4ee3\u5165vn\u200b=1\/Tn\u200b\uff0c\u5f97\u5230\u9012\u63a8\u5173\u7cfb\uff1a<\/p>\n\n\n\n<p>Tn\u200b1\u200b=Tn\u22121\u200b1\u200b+\u03b1Tn\u22121\u200b<\/p>\n\n\n\n<p><strong>(3) \u8fd1\u4f3c\u7b80\u5316<\/strong><\/p>\n\n\n\n<p>\u5f53\u52a0\u901f\u5ea6\u03b1\u8f83\u5c0f\u4e14Tn\u200b\u53d8\u5316\u7f13\u6162\u65f6\uff0c\u53ef\u8fd1\u4f3c\u4e3a\uff1a<\/p>\n\n\n\n<p>Tn\u200b\u2248Tn\u22121\u200b\u2212\u03b1Tn\u221213\u200b<\/p>\n\n\n\n<p>\u7269\u7406\u610f\u4e49\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8109\u51b2\u95f4\u9694\u7684\u51cf\u5c0f\u91cf\uff08\u0394T\uff09\u4e0e\u5f53\u524d\u95f4\u9694\u7684\u7acb\u65b9\u6210\u6b63\u6bd4\u3002<\/li>\n\n\n\n<li>\u521d\u59cb\u9636\u6bb5\uff08Tn\u22121\u200b\u8f83\u5927\u65f6\uff09\uff0c\u95f4\u9694\u7f29\u77ed\u660e\u663e\uff1b\u63a5\u8fd1\u5300\u901f\u65f6\u53d8\u5316\u8d8b\u7f13\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"142-\u5300\u901f\u9636\u6bb5\">1.4.2 \u5300\u901f\u9636\u6bb5<\/h4>\n\n\n\n<p>\u8109\u51b2\u95f4\u9694\u6052\u5b9a\uff1a<\/p>\n\n\n\n<p>Tn\u200b=Tconst\u200b=vmax\u200b1\u200b<\/p>\n\n\n\n<p>\u5176\u4e2dvmax\u200b\u4e3a\u6700\u5927\u901f\u5ea6\uff08\u7531\u7535\u673a\u548c\u9a71\u52a8\u5668\u6027\u80fd\u51b3\u5b9a\uff09\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"143-\u51cf\u901f\u9636\u6bb5\">1.4.3 \u51cf\u901f\u9636\u6bb5<\/h4>\n\n\n\n<p>\u51cf\u901f\u662f\u52a0\u901f\u7684\u9006\u8fc7\u7a0b\uff0c\u89d2\u52a0\u901f\u5ea6\u4e3a\u2212\u03b1\u3002\u9012\u63a8\u516c\u5f0f\u53d8\u4e3a\uff1a<\/p>\n\n\n\n<p>Tn\u200b1\u200b=Tn\u22121\u200b1\u200b\u2212\u03b1Tn\u22121\u200b<\/p>\n\n\n\n<p>\u8fd1\u4f3c\u7b80\u5316\uff1a<\/p>\n\n\n\n<p>Tn\u200b\u2248Tn\u22121\u200b+\u03b1Tn\u221213\u200b<\/p>\n\n\n\n<p>\u7efc\u5408\u4e09\u4e2a\u9636\u6bb5\uff0c\u8109\u51b2\u95f4\u9694\u7684\u901a\u5f0f\u53ef\u5199\u4e3a\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"478\" height=\"234\" src=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-07-10-15-34-11-image.png\" alt=\"\" class=\"wp-image-191\" srcset=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-07-10-15-34-11-image.png 478w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-07-10-15-34-11-image-300x147.png 300w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/figure>\n\n\n\n<p>\u7531\u4e8e\u5b9e\u65f6\u8ba1\u7b97\u5e73\u65b9\u6839\u5f00\u9500\u8f83\u5927\uff0c\u901a\u5e38\u91c7\u7528\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u9884\u8ba1\u7b97\u8868\u6cd5<\/strong>\uff1a\u63d0\u524d\u8ba1\u7b97Tn\u200b\u8868\uff0c\u5b58\u5165\u6570\u7ec4\uff0c\u8fd0\u884c\u65f6\u67e5\u8868\u3002<\/li>\n\n\n\n<li><strong>\u8fed\u4ee3\u903c\u8fd1\u6cd5<\/strong>\uff1a\u4f7f\u7528\u9012\u63a8\u516c\u5f0fTn\u200b=Tn\u22121\u200b\u00b1\u03b1Tn\u221213\u200b\uff0c\u901a\u8fc7\u6d6e\u70b9\u8fd0\u7b97\u6216\u5b9a\u70b9\u6570\u4f18\u5316\u3002<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u4e8c\u73af\u5883\u914d\u7f6e\">\u4e8c.\u73af\u5883\u914d\u7f6e<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"21-\u5355\u7247\u673a\">2.1 \u5355\u7247\u673a<\/h3>\n\n\n\n<p>\u6b64\u6b21\u4f7f\u7528\u7684\u65f6stm32f405\u5355\u7247\u673a\uff0c\u8fde\u63a58MHz\u6676\u632f\uff0c\u5728RCC\u5f00\u542f\u5916\u90e8\u6676\u632f\u4ee5\u540e\u65f6\u949f\u6811\u914d\u7f6e\u53c2\u8003\u4e0b\u56fe<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"748\" src=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-28-46-image-1024x748.png\" alt=\"\" class=\"wp-image-192\" srcset=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-28-46-image-1024x748.png 1024w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-28-46-image-300x219.png 300w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-28-46-image-768x561.png 768w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-28-46-image-1536x1122.png 1536w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-12-11-28-46-image.png 1720w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u914d\u7f6e\u5b8c\u65f6\u949f\u6811\u540e\uff0c\u9700\u8981\u5f00\u542f\u5b9a\u65f6\u5668\u548cpwm\u5355\u8109\u51b2\uff0c\u8fd9\u91cc\u6211\u4f7f\u7528\u5b9a\u65f6\u56682\u901a\u90534\uff0c\u5373TIM2_CH4\uff0c1ms\u5b9a\u65f6\u5668\uff0c\u914d\u7f6epwm\u5355\u8109\u51b2\u8f93\u51fa\u5982\u4e0b\u56fe<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"898\" height=\"549\" src=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-07-10-15-01-05-image.png\" alt=\"\" class=\"wp-image-193\" srcset=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-07-10-15-01-05-image.png 898w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-07-10-15-01-05-image-300x183.png 300w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-07-10-15-01-05-image-768x470.png 768w\" sizes=\"auto, (max-width: 898px) 100vw, 898px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"876\" src=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-07-10-15-01-32-image.png\" alt=\"\" class=\"wp-image-194\" srcset=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-07-10-15-01-32-image.png 904w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-07-10-15-01-32-image-300x291.png 300w, https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-07-10-15-01-32-image-768x744.png 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/figure>\n\n\n\n<p>\u6ce8\u610f\u9700\u8981\u6253\u5f00\u5b9a\u65f6\u5668\u4e2d\u65ad<\/p>\n\n\n\n<p>\u53e6\u5916\uff0c\u9700\u8981\u4f9d\u7167\u5355\u7247\u673a\u539f\u7406\u56fe\u6253\u5f00\u4e24\u4e2aGPIO\u4ee5\u63d0\u4f9bDIR\u4fe1\u53f7\u548cENA\u4fe1\u53f7<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"22-\u63a5\u7ebf\">2.2 \u63a5\u7ebf<\/h3>\n\n\n\n<p>\u91c7\u7528\u5171\u9634\u6781\u63a5\u7ebf\u6cd5\uff0c\u987e\u540d\u601d\u4e49\u5c06\u6b65\u8fdb\u7535\u673a\u9a71\u52a8\u5668\u4e0a\u7684\u9634\u6781\u63a5\u5728\u4e00\u8d77\uff0c\u9633\u6781\u5206\u522b\u8fde\u63a5\u5355\u7247\u673a\u5bf9\u5e94\u5f15\u811a\uff0cPUL+\u9700\u8981\u8fde\u63a5TIM2_CH4\uff0cDIR+\u548cENA+\u8fde\u63a5\u4e4b\u524d\u6253\u5f00\u7684GPIO<\/p>\n\n\n\n<p>\u8be6\u7ec6\u63a5\u7ebf\u6cd5\u53c2\u8003\u672c\u65871.2\u7ae0\u8282\u4ecb\u7ecd\u7684\u9a71\u52a8\u5668\u63a5\u7ebf\u6cd5\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u4e09\u4ee3\u7801\u7f16\u5199\">\u4e09.\u4ee3\u7801\u7f16\u5199<\/h2>\n\n\n\n<p>\u4e3a\u51cf\u8f7b\u5355\u7247\u673a\u8ba1\u7b97\u538b\u529b\uff0c\u5728\u521d\u6b21\u542f\u52a8\u65f6\u5019\u53ea\u8ba1\u7b97\u4e00\u6b21c0\uff0c\u5e76\u4e14\u5728\u53d1\u9001\u5355\u8109\u51b2\u65f6\u624d\u4f1a\u542f\u52a8\u5b9a\u65f6\u5668\uff0c\u4ee3\u7801\u53c2\u8003\u5982\u4e0b<\/p>\n\n\n\n<p>\u5176\u4e2d\uff0c\u9700\u8981\u5224\u65ad\u52a0\u51cf\u901f\u7684\u4e24\u79cd\u5f62\u6001\uff0c\u5373\u68af\u5f62\u52a0\u51cf\u901f\u548c\u4e09\u89d2\u5f62\u52a0\u51cf\u901f\uff0c\u5728\u603b\u6b65\u6570\u4e0d\u8db3\u4ee5\u5b9e\u73b0\u5300\u901f\u9636\u6bb5\u65f6\u9700\u8981\u4e09\u89d2\u5f62\u52a0\u51cf\u901f<\/p>\n\n\n\n<p>\u5728\u5b9a\u65f6\u5668\u5f00\u542f\u540e\u81ea\u52a8\u53d1\u9001\u4e00\u6b21pwm\u5355\u8109\u51b2<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">void start(float angle)<br>{<br>    total_steps = angle \/ 1.8;<br><br>    T1_FREQ = 0.676*10000\/10;<br>    \/\/T1_FREQ = 1000000;<br>    A_SQ = 2* 0.0314 *100000;<br><br>    c0 = T1_FREQ * sqrt(A_SQ\/accel);<br>    \/\/c0 = T1_FREQ * sqrt(2 * 1.8 \/accel)\/10;<br>    \/\/c0 = ((float)(0.676*T1_FREQ)) * sqrt(((float)(2*10*0.0314)) \/ accel);<br><br>    n1 = speed * speed \/ (0.0628 * accel);<br>    n2 = speed * speed \/ (0.0628 * decel);<br>    n = n1 + n2;<br><br>    HAL_TIM_Base_Start_IT(&amp;htim2);<br>    \/\/period = (1000000 \/ speed) - 1;<br>    __HAL_TIM_SET_AUTORELOAD(&amp;htim2, c0);<br>    __HAL_TIM_SET_COMPARE(&amp;htim2, TIM_CHANNEL_1, c0 \/ 2);<br><br>    ct = c0;<br><br>    if(n >= total_steps)<br>    {<br>            \/\/\u4e09\u89d2\u5f62<br>            mode = 1;<br>            n1 = decel * total_steps \/ (accel + decel);        \/\/\u52a0\u901f\u6bb5\u6b65\u6570<br>            n2 = total_steps - n1;                                                \/\/\u51cf\u901f\u6bb5\u6b65\u6570<br>    }<br>    else<br>    {<br>            \/\/\u68af\u5f62<br>            mode = 2;<br>            ny = total_steps - n1 - n2;<br>            cm = (10 * 0.0314 * T1_FREQ)\/speed;<br>    }<br><br>    status = 1;<br>    step_count = 1;<br>}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)\n{\n    \/\/pwm\u8f93\u51fa\u5b9a\u65f6\u5668\n    if(htim == (&amp;htim2))\n    {\n            if(step_count &lt; total_steps)\n            {\n                    \/\/\u542f\u52a8\u7535\u673a\n                    if(mode == 1)\n                    {\n                            if(step_count &lt;= n1)\n                            {\n                                    ct = ct - (2 * ct)\/(4 * step_count + 1);\n                                    \/\/ct = ct \/ 10;\n                                    \/\/__HAL_TIM_SET_AUTORELOAD(&amp;htim2, ct);\n                                    \/\/__HAL_TIM_SET_COMPARE(&amp;htim2, TIM_CHANNEL_1, ct \/ 2);\n                            }\n                            else\n                            {\n                                    \/\/\u51cf\u901f\u9636\u6bb5\n                                ct = ct + (2 * ct)\/(4 * n2 - 1);\n                                n2--;\n                            }\n                    }\n                    else\n                    {\n                            if(step_count &lt;= n1)\n                            {\n                                    ct = ct - (2 * ct)\/(4 * step_count + 1);\n                            }\n                            else if(step_count &gt; n1 &amp;&amp; step_count &lt;= (n1 + ny))\n                            {\n                                    ct = ct;\n                            }\n                            else\n                            {\n                                    ct = ct + (2 * ct)\/(4 * n2 - 1);\n                                    n2--;\n                            }\n                    }\n                    __HAL_TIM_SET_AUTORELOAD(&amp;htim2, ct);\n                    __HAL_TIM_SET_COMPARE(&amp;htim2, TIM_CHANNEL_1, ct \/ 2);\n                    __HAL_TIM_ENABLE(&amp;htim2);\n                    HAL_TIM_OnePulse_Start(&amp;htim2,TIM_CHANNEL_1);\n                    step_count++;\n            }\n    }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"31-\u5b8c\u6574\u4ee3\u7801\">3.1 \u5b8c\u6574\u4ee3\u7801<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">#include \"main.h\"\n#include \"start.h\"\n#include \"math.h\"\n\n#define ACCEL_STEPS 100  \/\/ \u52a0\u901f\u6b65\u6570\n#define DECEL_STEPS 100  \/\/ \u51cf\u901f\u6b65\u6570\n#define MAX_SPEED 500    \/\/ \u6700\u5927\u901f\u5ea6\n#define MIN_SPEED 1000   \/\/ \u6700\u5c0f\u901f\u5ea6\n\nfloat step_count = 0.0f;             \/\/ \u5f53\u524d\u6b65\u6570\nfloat total_steps = 0.0f;         \/\/ \u603b\u6b65\u6570\nint current_speed = MIN_SPEED;\n\nint status = 0;                  \/\/ 0\u505c\u6b62 1\u52a0\u901f 2\u5300\u901f 3\u51cf\u901f\n\nfloat c0 = 0;\nfloat cm = 0;\nfloat ct = 0;\n\n\/\/\u53c2\u6570\u8bbe\u7f6e\nfloat accel = 2;\nfloat decel = 2;\nfloat speed = 20;\n\nfloat min_delay = 0;\n\nfloat A_SQ = 0;\nfloat T1_FREQ = 0;\n\nfloat ny = 0;\nfloat n1 = 0;\nfloat n2 = 0;\nfloat n = 0;\n\nfloat period = 0;\n\nint mode = 0;                            \/\/\u4e09\u89d2\u5f62\u6216\u68af\u5f62\n\nvoid start(float angle)\n{\n        total_steps = angle \/ 1.8;\n\n        T1_FREQ = 0.676*10000\/10;\n        \/\/T1_FREQ = 1000000;\n        A_SQ = 2* 0.0314 *100000;\n\n        c0 = T1_FREQ * sqrt(A_SQ\/accel);\n        \/\/c0 = T1_FREQ * sqrt(2 * 1.8 \/accel)\/10;\n        \/\/c0 = ((float)(0.676*T1_FREQ)) * sqrt(((float)(2*10*0.0314)) \/ accel);\n\n        n1 = speed * speed \/ (0.0628 * accel);\n        n2 = speed * speed \/ (0.0628 * decel);\n        n = n1 + n2;\n\n        HAL_TIM_Base_Start_IT(&amp;htim2);\n        \/\/period = (1000000 \/ speed) - 1;\n    __HAL_TIM_SET_AUTORELOAD(&amp;htim2, c0);\n    __HAL_TIM_SET_COMPARE(&amp;htim2, TIM_CHANNEL_1, c0 \/ 2);\n\n        ct = c0;\n\n        if(n &gt;= total_steps)\n        {\n                \/\/\u4e09\u89d2\u5f62\n                mode = 1;\n                n1 = decel * total_steps \/ (accel + decel);        \/\/\u52a0\u901f\u6bb5\u6b65\u6570\n                n2 = total_steps - n1;                                                \/\/\u51cf\u901f\u6bb5\u6b65\u6570\n        }\n        else\n        {\n                \/\/\u68af\u5f62\n                mode = 2;\n                ny = total_steps - n1 - n2;\n                cm = (10 * 0.0314 * T1_FREQ)\/speed;\n        }\n\n        status = 1;\n        step_count = 1;\n}\n\n\/***************************************************************** \n  * \u51fd\u6570\u529f\u80fd: \u5b9a\u65f6\u5668\u4e2d\u65ad\n  * \u8f93\u5165\u53c2\u6570: TIM_HandleTypeDef\n  * \u8fd4 \u56de \u503c: \u65e0\n    * htim2: pwm\u8f93\u51fa\u5b9a\u65f6\u5668 \n    * htim3: \u8ba1\u6570\u5b9a\u65f6\u5668\n  ****************************************************************\/\nvoid HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)\n{\n        \/\/pwm\u8f93\u51fa\u5b9a\u65f6\u5668\n        if(htim == (&amp;htim2))\n        {\n                if(step_count &lt; total_steps)\n                {\n                        \/\/\u542f\u52a8\u7535\u673a\n                        if(mode == 1)\n                        {\n                                if(step_count &lt;= n1)\n                                {\n                                        ct = ct - (2 * ct)\/(4 * step_count + 1);\n                                        \/\/ct = ct \/ 10;\n                                      \/\/__HAL_TIM_SET_AUTORELOAD(&amp;htim2, ct);\n                    \/\/__HAL_TIM_SET_COMPARE(&amp;htim2, TIM_CHANNEL_1, ct \/ 2);\n                                }\n                                else\n                                {\n                                        \/\/\u51cf\u901f\u9636\u6bb5\n                                    ct = ct + (2 * ct)\/(4 * n2 - 1);\n                                        n2--;\n                                }\n                        }\n                        else\n                        {\n                                if(step_count &lt;= n1)\n                                {\n                                        ct = ct - (2 * ct)\/(4 * step_count + 1);\n                                }\n                                else if(step_count &gt; n1 &amp;&amp; step_count &lt;= (n1 + ny))\n                                {\n                                        ct = ct;\n                                }\n                                else\n                                {\n                                        ct = ct + (2 * ct)\/(4 * n2 - 1);\n                                        n2--;\n                                }\n                        }\n                        __HAL_TIM_SET_AUTORELOAD(&amp;htim2, ct);\n            __HAL_TIM_SET_COMPARE(&amp;htim2, TIM_CHANNEL_1, ct \/ 2);\n                        __HAL_TIM_ENABLE(&amp;htim2);\n                        HAL_TIM_OnePulse_Start(&amp;htim2,TIM_CHANNEL_1);\n                        step_count++;\n                }\n        }\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00.\u9884\u5907\u77e5\u8bc6 1.1 \u6b65\u8fdb\u7535\u673a\u4e0e\u9a71\u52a8\u5668 \u6b65\u8fdb\u7535\u673a\u662f&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/\">Continue reading<span class=\"screen-reader-text\">STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[11],"tags":[36,37,38,39],"class_list":["post-185","post","type-post","status-publish","format-standard","hentry","category-tec","tag-c-2","tag-37","tag-38","tag-39","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a - LMC\u7684\u4e2a\u4eba\u7ad9<\/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:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a - LMC\u7684\u4e2a\u4eba\u7ad9\" \/>\n<meta property=\"og:description\" content=\"\u4e00.\u9884\u5907\u77e5\u8bc6 1.1 \u6b65\u8fdb\u7535\u673a\u4e0e\u9a71\u52a8\u5668 \u6b65\u8fdb\u7535\u673a\u662f&#8230;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/\" \/>\n<meta property=\"og:site_name\" content=\"LMC\u7684\u4e2a\u4eba\u7ad9\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-10T12:57:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-10T12:57:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-06-12-14-03-image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"595\" \/>\n\t<meta property=\"og:image:height\" content=\"791\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"SimpleAstronaut\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"SimpleAstronaut\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/\"},\"author\":{\"name\":\"SimpleAstronaut\",\"@id\":\"https:\\\/\\\/lmceric.top\\\/#\\\/schema\\\/person\\\/1edca9cfe5ff17dbe947c332a66ee539\"},\"headline\":\"STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a\",\"datePublished\":\"2025-08-10T12:57:10+00:00\",\"dateModified\":\"2025-08-10T12:57:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/\"},\"wordCount\":136,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lmceric.top\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/2025-03-06-12-14-03-image.png\",\"keywords\":[\"C\",\"\u5d4c\u5165\u5f0f\",\"\u6b65\u8fdb\u7535\u673a\",\"\u7535\u673a\u63a7\u5236\"],\"articleSection\":[\"\u6280\u672f\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/\",\"url\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/\",\"name\":\"STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a - LMC\u7684\u4e2a\u4eba\u7ad9\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lmceric.top\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lmceric.top\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/2025-03-06-12-14-03-image.png\",\"datePublished\":\"2025-08-10T12:57:10+00:00\",\"dateModified\":\"2025-08-10T12:57:11+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/lmceric.top\\\/#\\\/schema\\\/person\\\/1edca9cfe5ff17dbe947c332a66ee539\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/#primaryimage\",\"url\":\"https:\\\/\\\/lmceric.top\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/2025-03-06-12-14-03-image.png\",\"contentUrl\":\"https:\\\/\\\/lmceric.top\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/2025-03-06-12-14-03-image.png\",\"width\":595,\"height\":791},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/2025\\\/08\\\/10\\\/185\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/lmceric.top\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/lmceric.top\\\/#website\",\"url\":\"https:\\\/\\\/lmceric.top\\\/\",\"name\":\"LMC\u7684\u4e2a\u4eba\u7ad9\",\"description\":\"\u5b64\u5e06\u8fdc\u5f71\u78a7\u7a7a\u5c3d\uff0c\u552f\u89c1\u957f\u6c5f\u5929\u9645\u6d41\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/lmceric.top\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/lmceric.top\\\/#\\\/schema\\\/person\\\/1edca9cfe5ff17dbe947c332a66ee539\",\"name\":\"SimpleAstronaut\",\"sameAs\":[\"http:\\\/\\\/lmceric.top\"],\"url\":\"https:\\\/\\\/lmceric.top\\\/index.php\\\/author\\\/simpleastronaut\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a - LMC\u7684\u4e2a\u4eba\u7ad9","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:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/","og_locale":"zh_CN","og_type":"article","og_title":"STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a - LMC\u7684\u4e2a\u4eba\u7ad9","og_description":"\u4e00.\u9884\u5907\u77e5\u8bc6 1.1 \u6b65\u8fdb\u7535\u673a\u4e0e\u9a71\u52a8\u5668 \u6b65\u8fdb\u7535\u673a\u662f&#8230;","og_url":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/","og_site_name":"LMC\u7684\u4e2a\u4eba\u7ad9","article_published_time":"2025-08-10T12:57:10+00:00","article_modified_time":"2025-08-10T12:57:11+00:00","og_image":[{"width":595,"height":791,"url":"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-06-12-14-03-image.png","type":"image\/png"}],"author":"SimpleAstronaut","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"SimpleAstronaut","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/#article","isPartOf":{"@id":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/"},"author":{"name":"SimpleAstronaut","@id":"https:\/\/lmceric.top\/#\/schema\/person\/1edca9cfe5ff17dbe947c332a66ee539"},"headline":"STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a","datePublished":"2025-08-10T12:57:10+00:00","dateModified":"2025-08-10T12:57:11+00:00","mainEntityOfPage":{"@id":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/"},"wordCount":136,"commentCount":0,"image":{"@id":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/#primaryimage"},"thumbnailUrl":"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-06-12-14-03-image.png","keywords":["C","\u5d4c\u5165\u5f0f","\u6b65\u8fdb\u7535\u673a","\u7535\u673a\u63a7\u5236"],"articleSection":["\u6280\u672f"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/","url":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/","name":"STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a - LMC\u7684\u4e2a\u4eba\u7ad9","isPartOf":{"@id":"https:\/\/lmceric.top\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/#primaryimage"},"image":{"@id":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/#primaryimage"},"thumbnailUrl":"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-06-12-14-03-image.png","datePublished":"2025-08-10T12:57:10+00:00","dateModified":"2025-08-10T12:57:11+00:00","author":{"@id":"https:\/\/lmceric.top\/#\/schema\/person\/1edca9cfe5ff17dbe947c332a66ee539"},"breadcrumb":{"@id":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/#primaryimage","url":"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-06-12-14-03-image.png","contentUrl":"https:\/\/lmceric.top\/wp-content\/uploads\/2025\/08\/2025-03-06-12-14-03-image.png","width":595,"height":791},{"@type":"BreadcrumbList","@id":"https:\/\/lmceric.top\/index.php\/2025\/08\/10\/185\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/lmceric.top\/"},{"@type":"ListItem","position":2,"name":"STM32F405\u901a\u8fc7HB556AC\u63a7\u5236\u6b65\u8fdb\u7535\u673a"}]},{"@type":"WebSite","@id":"https:\/\/lmceric.top\/#website","url":"https:\/\/lmceric.top\/","name":"LMC\u7684\u4e2a\u4eba\u7ad9","description":"\u5b64\u5e06\u8fdc\u5f71\u78a7\u7a7a\u5c3d\uff0c\u552f\u89c1\u957f\u6c5f\u5929\u9645\u6d41","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lmceric.top\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/lmceric.top\/#\/schema\/person\/1edca9cfe5ff17dbe947c332a66ee539","name":"SimpleAstronaut","sameAs":["http:\/\/lmceric.top"],"url":"https:\/\/lmceric.top\/index.php\/author\/simpleastronaut\/"}]}},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/lmceric.top\/index.php\/wp-json\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmceric.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lmceric.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lmceric.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lmceric.top\/index.php\/wp-json\/wp\/v2\/comments?post=185"}],"version-history":[{"count":2,"href":"https:\/\/lmceric.top\/index.php\/wp-json\/wp\/v2\/posts\/185\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/lmceric.top\/index.php\/wp-json\/wp\/v2\/posts\/185\/revisions\/196"}],"wp:attachment":[{"href":"https:\/\/lmceric.top\/index.php\/wp-json\/wp\/v2\/media?parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lmceric.top\/index.php\/wp-json\/wp\/v2\/categories?post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lmceric.top\/index.php\/wp-json\/wp\/v2\/tags?post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}