{"id":10021111,"date":"2025-12-10T10:50:17","date_gmt":"2025-12-10T02:50:17","guid":{"rendered":"https:\/\/itmax.cn\/?p=10021111"},"modified":"2025-12-10T10:50:17","modified_gmt":"2025-12-10T02:50:17","slug":"%e3%80%90%e4%bb%a3%e7%a0%81%e5%bc%80%e6%ba%90%e3%80%91%e5%9f%ba%e4%ba%8e-stm32-%e7%9a%84%e6%99%ba%e8%83%bd%e7%a9%ba%e6%b0%94%e5%8a%a0%e6%b9%bf%e5%99%a8%e8%ae%be%e8%ae%a1%e4%b8%8e%e5%ae%9e%e7%8e%b0","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10021111","title":{"rendered":"\u3010\u4ee3\u7801\u5f00\u6e90\u3011\u57fa\u4e8e STM32 \u7684\u667a\u80fd\u7a7a\u6c14\u52a0\u6e7f\u5668\u8bbe\u8ba1\u4e0e\u5b9e\u73b0"},"content":{"rendered":"<h2>\u3010\u4ee3\u7801\u5f00\u6e90\u3011\u57fa\u4e8e STM32 \u7684\u667a\u80fd\u7a7a\u6c14\u52a0\u6e7f\u5668\u8bbe\u8ba1\u4e0e\u5b9e\u73b0<\/h2>\n<p>\u968f\u7740\u667a\u80fd\u5bb6\u5c45\u7684\u666e\u53ca\uff0c\u7a7a\u6c14\u52a0\u6e7f\u5668\u4e0d\u518d\u53ea\u662f\u201c\u80fd\u55b7\u96fe\u201d\u7684\u7b80\u5355\u8bbe\u5907\uff0c\u800c\u662f\u9010\u6b65\u8d70\u5411\u81ea\u52a8\u5316\u3001\u53ef\u89c6\u5316\u548c\u8054\u7f51\u5316\u3002\u672c\u6587\u5c06\u5e26\u4f60\u5b8c\u6574\u4e86\u89e3\u4e00\u4e2a\u57fa\u4e8e STM32 \u7684\u667a\u80fd\u7a7a\u6c14\u52a0\u6e7f\u5668\u7684\u8bbe\u8ba1\u8fc7\u7a0b\uff0c\u5305\u62ec\u4f20\u611f\u68c0\u6d4b\u3001\u81ea\u52a8\u63a7\u5236\u3001\u663e\u793a\u4ea4\u4e92\u3001\u7535\u8def\u65b9\u6848\u548c\u8f6f\u4ef6\u903b\u8f91\u3002\u9879\u76ee\u7b80\u5355\u6613\u4e0a\u624b\uff0c\u9002\u5408\u5165\u95e8\u4e0e\u8fdb\u9636\u5f00\u53d1\u8005\u53c2\u8003\u3002<\/p>\n<hr>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047463188\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" title=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n<h3>\u6e90\u7801\u5206\u4eab<\/h3>\n<p>\u76f4\u63a5\u653e\u5230\u4e4b\u524d\u5199\u7684\u6587\u7ae0\u91cc\u4e86\uff0c\u514d\u8d39\u5f00\u6e90\uff0c\u4e0b\u8f7d\u5b66\u4e60\u5373\u53ef\u3002<\/p>\n<blockquote><p><a href=\"https:\/\/link.segmentfault.com\/?enc=LLXNs%2FcWSDfNA36lXNPeUQ%3D%3D.UDvIlWuv8n3pJYEioOzD3YG%2BrSLuj3NzVz8eZp98WLZ6CAfW4PI37zNOshxCefybpV0ew%2F%2BYdWHtU80cl6Jtug%3D%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/blog.csdn.net\/weixin_52908342\/article\/details\/155617572<\/a><\/p><\/blockquote>\n<h3><strong>\u4e00\u3001\u9879\u76ee\u6982\u8ff0<\/strong><\/h3>\n<p>\u672c\u9879\u76ee\u57fa\u4e8e STM32F103C8T6 \u5fae\u63a7\u5236\u5668\uff0c\u901a\u8fc7\u6e29\u6e7f\u5ea6\u4f20\u611f\u5668\u5b9e\u65f6\u68c0\u6d4b\u5ba4\u5185\u73af\u5883\u6e7f\u5ea6\uff0c\u7ed3\u5408\u96fe\u5316\u6a21\u5757\u5b9e\u73b0\u52a0\u6e7f\u529f\u80fd\uff0c\u5e76\u501f\u52a9 OLED \u663e\u793a\u5c4f\u4e0e\u6309\u952e\u5b9e\u73b0\u4eba\u673a\u4ea4\u4e92\u3002\u540c\u65f6\uff0c\u642d\u8f7d\u98ce\u6247\u8c03\u901f\u3001\u7535\u91cf\u76d1\u6d4b\u3001\u81ea\u52a8\u6a21\u5f0f\u3001\u5b9a\u65f6\u52a0\u6e7f\u7b49\u5b9e\u9645\u53ef\u7528\u7684\u529f\u80fd\uff0c\u8ba9\u6574\u4e2a\u52a0\u6e7f\u5668\u66f4\u5177\u667a\u80fd\u5c5e\u6027\u3002<\/p>\n<hr>\n<h3><strong>\u4e8c\u3001\u7cfb\u7edf\u529f\u80fd\u8bbe\u8ba1<\/strong><\/h3>\n<h4><strong>1. \u81ea\u52a8\u6e7f\u5ea6\u63a7\u5236<\/strong><\/h4>\n<ul>\n<li>\u4f7f\u7528 DHT22 \/ SHT30 \/ AHT20 \u7b49\u6e29\u6e7f\u5ea6\u4f20\u611f\u5668\u91c7\u96c6\u6570\u636e\u3002<\/li>\n<li>\u7528\u6237\u53ef\u8bbe\u7f6e\u76ee\u6807\u6e7f\u5ea6\uff08\u5982 50%\u201360% RH\uff09\u3002<\/li>\n<li>\u5f53\u7a7a\u6c14\u6e7f\u5ea6\u4f4e\u4e8e\u8bbe\u5b9a\u503c\u65f6\u81ea\u52a8\u5f00\u542f\u96fe\u5316\u5668\uff0c\u9ad8\u4e8e\u8bbe\u5b9a\u503c\u5219\u81ea\u52a8\u505c\u6b62\u3002<\/li>\n<\/ul>\n<h4><strong>2. PWM \u96fe\u5316\u7247\u9a71\u52a8<\/strong><\/h4>\n<ul>\n<li>24V \u8d85\u58f0\u6ce2\u96fe\u5316\u7247\uff08\u5e38\u89c1\u52a0\u6e7f\u5668\u6838\u5fc3\uff09\u4f7f\u7528 MOS \u7ba1\u8fdb\u884c\u5f00\u5173\u63a7\u5236\u3002<\/li>\n<li>\u652f\u6301 PWM \u8c03\u8282\u96fe\u5316\u5f3a\u5ea6\uff08\u5f31\u3001\u4e2d\u3001\u5f3a\u4e09\u6321\uff09\u3002<\/li>\n<\/ul>\n<h4><strong>3. \u98ce\u6247\u98ce\u91cf\u8c03\u8282<\/strong><\/h4>\n<ul>\n<li>12V \u98ce\u6247\u7528\u4e8e\u6c14\u6d41\u6269\u6563\uff0c\u901a\u8fc7 TIM PWM \u5b9e\u73b0\u4e09\u6863\u98ce\u901f\uff1a\u4f4e\u901f\u3001\u4e2d\u901f\u3001\u5f3a\u529b\u6a21\u5f0f\u3002<\/li>\n<\/ul>\n<h4><strong>4. OLED \u4fe1\u606f\u663e\u793a<\/strong><\/h4>\n<p>\u663e\u793a\u5185\u5bb9\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u5f53\u524d\u6e7f\u5ea6 \/ \u6e29\u5ea6<\/li>\n<li>\u52a0\u6e7f\u5668\u5de5\u4f5c\u6a21\u5f0f<\/li>\n<li>\u98ce\u901f\u6863\u4f4d<\/li>\n<li>\u5b9a\u65f6\u5269\u4f59<\/li>\n<li>\u7535\u91cf\uff08\u53ef\u9009\u9502\u7535\u6c60\u7248\uff09<\/li>\n<\/ul>\n<h4><strong>5. \u6309\u952e\u63a7\u5236 \/ \u65cb\u94ae\u8f93\u5165<\/strong><\/h4>\n<ul>\n<li>\u77ed\u6309\u5207\u6362\u6a21\u5f0f<\/li>\n<li>\u957f\u6309\u8fdb\u5165\u8bbe\u7f6e<\/li>\n<li>\u65cb\u94ae\u8c03\u8282\u6e7f\u5ea6\u76ee\u6807\u503c<\/li>\n<li>\u5b9a\u65f6\u529f\u80fd\uff1a1h \/ 2h \/ 4h \u81ea\u52a8\u5173\u95ed<\/li>\n<\/ul>\n<h4><strong>6. \u591a\u91cd\u5b89\u5168\u4fdd\u62a4<\/strong><\/h4>\n<ul>\n<li>\u7f3a\u6c34\u4fdd\u62a4\uff1a\u6c34\u4f4d\u5f00\u5173\u68c0\u6d4b\u6c34\u7bb1\u6db2\u4f4d\u4e0d\u8db3\u81ea\u52a8\u505c\u6b62\u3002<\/li>\n<li>\u8fc7\u6e29\u4fdd\u62a4\uff1a\u96fe\u5316\u7247\u6e29\u5ea6\u5f02\u5e38\u7acb\u5373\u505c\u6b62\u5de5\u4f5c\u3002<\/li>\n<li>\u7535\u6e90\u76d1\u6d4b\uff1a\u7535\u538b\u5f02\u5e38\u81ea\u52a8\u63d0\u793a\u5e76\u5173\u673a\u3002<\/li>\n<\/ul>\n<hr>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047463189\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" title=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" loading=\"lazy\"><\/p>\n<h3><strong>\u4e09\u3001\u786c\u4ef6\u8bbe\u8ba1\u65b9\u6848<\/strong><\/h3>\n<h4><strong>1. \u4e3b\u63a7\uff1aSTM32F103C8T6<\/strong><\/h4>\n<p>32 \u4f4d ARM Cortex-M3\uff0c\u8d44\u6e90\u5145\u8db3\u3001\u6027\u4ef7\u6bd4\u9ad8\uff0c\u975e\u5e38\u9002\u5408\u505a\u5bb6\u7535\u63a7\u5236\u3002<\/p>\n<p>\u5916\u8bbe\u5360\u7528\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u529f\u80fd<\/th>\n<th>\u5916\u8bbe<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u6e29\u6e7f\u5ea6\u68c0\u6d4b<\/td>\n<td>I2C \/ GPIO<\/td>\n<\/tr>\n<tr>\n<td>OLED \u663e\u793a<\/td>\n<td>I2C\/SPI<\/td>\n<\/tr>\n<tr>\n<td>\u98ce\u6247\u8c03\u901f<\/td>\n<td>PWM (TIMx_CHx)<\/td>\n<\/tr>\n<tr>\n<td>\u6309\u952e\u8f93\u5165<\/td>\n<td>GPIO + \u5916\u90e8\u4e2d\u65ad EXTI<\/td>\n<\/tr>\n<tr>\n<td>\u6c34\u4f4d\u68c0\u6d4b<\/td>\n<td>GPIO<\/td>\n<\/tr>\n<tr>\n<td>\u96fe\u5316\u63a7\u5236<\/td>\n<td>PWM + MOS \u7ba1<\/td>\n<\/tr>\n<tr>\n<td>\u4f9b\u7535\u68c0\u6d4b<\/td>\n<td>ADC \u8f93\u5165<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h4><strong>2. \u96fe\u5316\u6a21\u5757\u9a71\u52a8<\/strong><\/h4>\n<p>\u5e38\u7528\u9a71\u52a8\u62d3\u6251\u5982\u4e0b\uff1a<\/p>\n<pre><code>STM32 PWM \u2192 MOSFET \u2192 24V \u96fe\u5316\u7247 + \u9a71\u52a8\u677f<\/code><\/pre>\n<p>\u6ce8\u610f\u4e8b\u9879\uff1a<\/p>\n<ul>\n<li>\u52a0\u5927 MOSFET \u6563\u70ed\uff0c\u9009 IRLZ44N \u7b49\u4f4e\u538b\u5927\u7535\u6d41 MOS \u7ba1\u3002<\/li>\n<li>\u96fe\u5316\u6a21\u5757\u4e0e MCU \u7535\u6e90\u5fc5\u987b\u9694\u79bb\uff0c\u4f7f\u7528\u72ec\u7acb 24V+5V \u964d\u538b\u6a21\u5757\u3002<\/li>\n<\/ul>\n<hr>\n<h4><strong>3. \u6e29\u6e7f\u5ea6\u4f20\u611f\u5668<\/strong><\/h4>\n<p>\u63a8\u8350 SHT30\uff08I2C \u63a5\u53e3\u3001\u7a33\u5b9a\u3001\u9002\u5408\u5bb6\u7535\u4f7f\u7528\uff09\uff0c\u5e03\u7f6e\u5728\u8fdc\u79bb\u6c34\u96fe\u7684\u8fdb\u98ce\u53e3\u4f4d\u7f6e\u3002<\/p>\n<hr>\n<h4><strong>4. \u663e\u793a\u6a21\u5757<\/strong><\/h4>\n<p>0.96 \u5bf8\u6216 1.3 \u5bf8 OLED\uff08I2C\/SPI\uff09<br \/>\u8282\u80fd\u3001\u663e\u793a\u6548\u679c\u597d\uff0c\u9002\u5408\u6b64\u7c7b\u6d88\u8d39\u7535\u5b50\u9879\u76ee\u3002<\/p>\n<hr>\n<h4><strong>5. \u6c34\u4f4d\u68c0\u6d4b<\/strong><\/h4>\n<p>\u65b9\u6848\u53ef\u9009\uff1a<\/p>\n<ul>\n<li>\u78c1\u7c27\u5f00\u5173 + \u6d6e\u7403\uff08\u53ef\u9760\u3001\u4fbf\u5b9c\uff09<\/li>\n<li>\u7535\u5bb9\u5f0f\u6c34\u4f4d\u68c0\u6d4b\uff08\u66f4\u9ad8\u7aef\uff09<\/li>\n<\/ul>\n<hr>\n<h4><strong>6. \u6563\u70ed\u98ce\u6247<\/strong><\/h4>\n<p>\u5e38\u89c1 12V \u5927\u98ce\u91cf\u98ce\u6247\uff0c\u901a\u8fc7 PWM \u8c03\u901f\u5b9e\u73b0\u4e09\u6863\u6a21\u5f0f\u3002<\/p>\n<hr>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047463190\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" title=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" loading=\"lazy\"><\/p>\n<h3><strong>\u56db\u3001\u8f6f\u4ef6\u6846\u67b6\u8bbe\u8ba1<\/strong><\/h3>\n<p>\u8f6f\u4ef6\u6574\u4f53\u91c7\u7528 FreeRTOS \u6216\u88f8\u673a\u90fd\u53ef\uff0c\u8fd9\u91cc\u4ee5\u4efb\u52a1\u5212\u5206\u8bf4\u660e\u903b\u8f91\u3002<\/p>\n<hr>\n<h4><strong>1. \u4e3b\u4efb\u52a1\u5212\u5206<\/strong><\/h4>\n<table>\n<thead>\n<tr>\n<th>\u6a21\u5757<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u4f20\u611f\u5668\u4efb\u52a1<\/td>\n<td>\u8bfb\u53d6\u6e29\u6e7f\u5ea6\u6570\u636e<\/td>\n<\/tr>\n<tr>\n<td>\u63a7\u5236\u4efb\u52a1<\/td>\n<td>\u6e7f\u5ea6\u63a7\u5236\u3001\u98ce\u6247\u63a7\u5236\u3001\u5b9a\u65f6\u903b\u8f91<\/td>\n<\/tr>\n<tr>\n<td>\u663e\u793a\u4efb\u52a1<\/td>\n<td>OLED \u5237\u65b0 UI<\/td>\n<\/tr>\n<tr>\n<td>\u8f93\u5165\u4efb\u52a1<\/td>\n<td>\u6309\u952e\u626b\u63cf\u3001\u65cb\u94ae\u89e3\u7801<\/td>\n<\/tr>\n<tr>\n<td>\u4fdd\u62a4\u4efb\u52a1<\/td>\n<td>\u6c34\u4f4d\u3001\u6e29\u5ea6\u3001\u7535\u538b\u4fdd\u62a4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h4><strong>2. \u81ea\u52a8\u52a0\u6e7f\u903b\u8f91<\/strong><\/h4>\n<pre><code>if (\u6e7f\u5ea6 &lt; \u76ee\u6807\u6e7f\u5ea6 - HYSTERESIS) {\n    \u5f00\u542f\u96fe\u5316\u5668();\n    \u98ce\u6247\u8fdb\u5165\u4e2d\u6863\uff1b\n}\nelse if (\u6e7f\u5ea6 &gt; \u76ee\u6807\u6e7f\u5ea6 + HYSTERESIS) {\n    \u5173\u95ed\u96fe\u5316\u5668();\n}<\/code><\/pre>\n<p>\u5176\u4e2d <strong>HYSTERESIS \u4e3a\u56de\u5dee\u63a7\u5236<\/strong>\uff0c\u907f\u514d\u53cd\u590d\u5f00\u5173\u3002<\/p>\n<hr>\n<h4><strong>3. \u98ce\u6247 PWM \u63a7\u5236<\/strong><\/h4>\n<pre><code>\u98ce\u901f\u7b49\u7ea7 0 \u2192 PWM = 0%\n\u98ce\u901f\u7b49\u7ea7 1 \u2192 PWM = 30%\n\u98ce\u901f\u7b49\u7ea7 2 \u2192 PWM = 60%\n\u98ce\u901f\u7b49\u7ea7 3 \u2192 PWM = 100%<\/code><\/pre>\n<hr>\n<h4><strong>4. \u5b9a\u65f6\u529f\u80fd\u5b9e\u73b0<\/strong><\/h4>\n<p>\u5b9a\u65f6\u5668\u6bcf\u79d2\u9012\u51cf\u8ba1\u65f6\uff0c\u5f52\u96f6\u5219\u5173\u95ed\u7cfb\u7edf\u3002<\/p>\n<hr>\n<h4><strong>5. OLED UI \u8bbe\u8ba1<\/strong><\/h4>\n<p>\u663e\u793a\u5e03\u5c40\u793a\u4f8b\uff1a<\/p>\n<pre><code>\u6e7f\u5ea6\uff1a 48%      \u6a21\u5f0f\uff1a\u81ea\u52a8\n\u6e29\u5ea6\uff1a 21.4\u2103\n\u96fe\u5316\uff1a\u4e2d\u6863     \u98ce\u901f\uff1a2\u6863\n\u5b9a\u65f6\uff1a\u5269\u4f59 1:45<\/code><\/pre>\n<hr>\n<h3><strong>\u4e94\u3001\u9879\u76ee\u4eae\u70b9<\/strong><\/h3>\n<ol>\n<li><strong>\u5168\u81ea\u52a8\u73af\u5883\u611f\u77e5\u8c03\u8282<\/strong><br \/>\u4e0d\u9700\u8981\u7528\u6237\u9891\u7e41\u63a7\u5236\uff0c\u52a0\u6e7f\u6548\u7387\u66f4\u9ad8\u3002<\/li>\n<li><strong>\u591a\u91cd\u5b89\u5168\u4fdd\u62a4<\/strong><br \/>\u9002\u5408\u957f\u671f\u8fd0\u884c\u5728\u5bb6\u5ead\u73af\u5883\u4e2d\u3002<\/li>\n<li><strong>\u529f\u7387\u53ef\u63a7\u3001\u80fd\u8017\u53ef\u63a7<\/strong><br \/>\u4e0d\u540c\u6a21\u5f0f\u5bf9\u5e94\u4e0d\u540c\u96fe\u5316\u9891\u7387\uff0c\u8282\u80fd\u6548\u679c\u660e\u663e\u3002<\/li>\n<li><strong>\u53ef\u8de8\u5e73\u53f0\u6269\u5c55<\/strong><br \/>\u53ef\u62d3\u5c55 WiFi\uff08ESP8266 \/ ESP32\uff09\u5b9e\u73b0\u624b\u673a\u8fdc\u7a0b\u8c03\u8282\u3002<\/li>\n<\/ol>\n<hr>\n<h3><strong>\u516d\u3001\u53ef\u9009\u62d3\u5c55\u529f\u80fd<\/strong><\/h3>\n<ul>\n<li><strong>APP \u63a7\u5236 + MQTT \u8054\u7f51<\/strong><br \/>\u5b9e\u73b0\u624b\u673a\u5b9e\u65f6\u76d1\u63a7\u548c\u8fdc\u7a0b\u64cd\u4f5c\u3002<\/li>\n<li><strong>\u7a7a\u6c14\u8d28\u91cf\u68c0\u6d4b\uff08PM2.5\uff09<\/strong><br \/>\u4e0e\u7a7a\u6c14\u51c0\u5316\u5668\u534f\u540c\u5de5\u4f5c\u3002<\/li>\n<li><strong>\u73af\u5883\u8bed\u97f3\u4ea4\u4e92<\/strong><br \/>\u96c6\u6210 LD2450 \u58f0\u6e90\u5b9a\u4f4d + TTS\u3002<\/li>\n<li><strong>\u52a0\u6e7f\u91cf\u95ed\u73af\u63a7\u5236<\/strong><br \/>\u4f7f\u7528\u96fe\u5316\u8f93\u51fa\u6d41\u91cf\u4f20\u611f\u5668\u7cbe\u51c6\u63a7\u5236\u3002<\/li>\n<\/ul>\n<hr>\n<h3><strong>\u4e03\u3001\u7ed3\u8bed<\/strong><\/h3>\n<p>\u8fd9\u4e2a\u667a\u80fd\u7a7a\u6c14\u52a0\u6e7f\u5668\u9879\u76ee\u80fd\u591f\u5b8c\u6574\u8986\u76d6 STM32 \u7684 ADC\u3001PWM\u3001I2C\u3001\u5b9a\u65f6\u5668\u3001\u6309\u952e\u626b\u63cf\u3001\u663e\u793a\u3001\u4fdd\u62a4\u903b\u8f91\u7b49\u5e38\u7528\u5f00\u53d1\u6280\u80fd\uff0c\u662f\u4e00\u4e2a\u975e\u5e38\u9002\u5408\u4f5c\u4e3a\u8bfe\u7a0b\u8bbe\u8ba1\u3001\u6bd5\u4e1a\u8bbe\u8ba1\u6216\u4e1a\u4f59 DIY \u7684\u786c\u4ef6\u9879\u76ee\u3002<\/p>\n<p>\u672c\u9879\u76ee\u901a\u8fc7STM32\u5355\u7247\u673a\u6784\u5efa\u4e86\u4e00\u6b3e\u667a\u80fd\u7a7a\u6c14\u52a0\u6e7f\u5668\uff0c\u5b9e\u73b0\u4e86\u6e29\u6e7f\u5ea6\u81ea\u52a8\u76d1\u6d4b\u4e0e\u8c03\u63a7\u3001\u667a\u80fd\u663e\u793a\u4ee5\u53ca\u8fdc\u7a0b\u63a7\u5236\u7b49\u529f\u80fd\u3002\u5728\u786c\u4ef6\u65b9\u9762\uff0c\u7cfb\u7edf\u6574\u5408\u4e86\u6e7f\u5ea6\u4f20\u611f\u5668\u3001\u6e29\u5ea6\u4f20\u611f\u5668\u3001\u8d85\u58f0\u6ce2\u96fe\u5316\u6a21\u5757\u4ee5\u53caOLED\u663e\u793a\u5c4f\uff0c\u5b9e\u73b0\u4e86\u73af\u5883\u6570\u636e\u7684\u5b9e\u65f6\u91c7\u96c6\u548c\u76f4\u89c2\u5c55\u793a\u3002\u5728\u8f6f\u4ef6\u65b9\u9762\uff0c\u57fa\u4e8eSTM32\u7684\u63a7\u5236\u7a0b\u5e8f\u901a\u8fc7PID\u8c03\u8282\u7b97\u6cd5\u5bf9\u52a0\u6e7f\u5668\u8fdb\u884c\u7cbe\u786e\u63a7\u5236\uff0c\u540c\u65f6\u652f\u6301\u5b9a\u65f6\u548c\u624b\u52a8\u6a21\u5f0f\uff0c\u63d0\u9ad8\u4e86\u4f7f\u7528\u7075\u6d3b\u6027\u4e0e\u8212\u9002\u5ea6\u3002<\/p>\n<p>\u6574\u4e2a\u9879\u76ee\u5c55\u793a\u4e86\u5d4c\u5165\u5f0f\u5f00\u53d1\u5728\u667a\u80fd\u5bb6\u5c45\u9886\u57df\u7684\u5e94\u7528\u6f5c\u529b\uff0cSTM32\u7684\u9ad8\u6027\u80fd\u4e0e\u4e30\u5bcc\u5916\u8bbe\u63a5\u53e3\uff0c\u4f7f\u5f97\u7cfb\u7edf\u54cd\u5e94\u901f\u5ea6\u5feb\u3001\u7a33\u5b9a\u6027\u9ad8\u3002\u672a\u6765\uff0c\u8be5\u667a\u80fd\u52a0\u6e7f\u5668\u8fd8\u53ef\u4ee5\u7ed3\u5408\u7269\u8054\u7f51\u6280\u672f\uff0c\u5b9e\u73b0\u624b\u673a\u8fdc\u7a0b\u63a7\u5236\u4e0e\u6570\u636e\u5206\u6790\uff0c\u8fdb\u4e00\u6b65\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u548c\u7cfb\u7edf\u667a\u80fd\u5316\u6c34\u5e73\u3002<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000047463186\">https:\/\/segmentfault.com\/a\/1190000047463186<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u4ee3\u7801\u5f00\u6e90\u3011\u57fa\u4e8e STM32 \u7684\u667a\u80fd\u7a7a\u6c14\u52a0\u6e7f\u5668\u8bbe\u8ba1\u4e0e\u5b9e\u73b0 \u968f\u7740\u667a\u80fd\u5bb6\u5c45\u7684\u666e\u53ca\uff0c\u7a7a\u6c14\u52a0\u6e7f\u5668\u4e0d\u518d\u53ea\u662f\u201c\u80fd\u55b7\u96fe\u201d\u7684\u7b80 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10021111","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10021111"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021111\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10021111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10021111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10021111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}