{"id":10021102,"date":"2025-12-05T21:10:31","date_gmt":"2025-12-05T13:10:31","guid":{"rendered":"https:\/\/itmax.cn\/?p=10021102"},"modified":"2025-12-05T21:10:31","modified_gmt":"2025-12-05T13:10:31","slug":"%e5%9f%ba%e4%ba%8e-stm32-%e7%9a%84%e6%97%a0%e4%ba%ba%e5%81%9c%e8%bd%a6%e5%9c%ba%e9%a1%b9%e7%9b%ae%e7%b3%bb%e7%bb%9f%e3%80%90%e5%bc%80%e6%ba%90%e9%a1%b9%e7%9b%ae%e3%80%91","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10021102","title":{"rendered":"\u57fa\u4e8e STM32 \u7684\u65e0\u4eba\u505c\u8f66\u573a\u9879\u76ee\u7cfb\u7edf\u3010\u5f00\u6e90\u9879\u76ee\u3011"},"content":{"rendered":"<h2><strong>\u57fa\u4e8e STM32 \u7684\u65e0\u4eba\u505c\u8f66\u573a\u9879\u76ee\u7cfb\u7edf\u3010\u5f00\u6e90\u9879\u76ee\u3001\u514d\u8d39\u3011<\/strong><\/h2>\n<p>\u968f\u7740\u667a\u6167\u57ce\u5e02\u3001\u7269\u8054\u7f51\u7684\u5feb\u901f\u53d1\u5c55\uff0c\u65e0\u4eba\u5316\u3001\u667a\u80fd\u5316\u7684\u505c\u8f66\u573a\u7cfb\u7edf\u5df2\u7ecf\u9010\u6e10\u6210\u4e3a\u8d8b\u52bf\u3002\u4f20\u7edf\u505c\u8f66\u573a\u4f9d\u8d56\u4eba\u5de5\u503c\u5b88\uff0c\u6548\u7387\u4f4e\u3001\u6613\u51fa\u9519\uff0c\u800c\u57fa\u4e8e STM32 \u63a7\u5236\u5668\u7ed3\u5408 ESP8266 \u65e0\u7ebf\u901a\u4fe1\u6a21\u5757\u7684\u65e0\u4eba\u505c\u8f66\u89e3\u51b3\u65b9\u6848\uff0c\u5219\u80fd\u591f\u5b9e\u73b0\u81ea\u52a8\u8bc6\u522b\u3001\u8fdc\u7a0b\u63a7\u5236\u3001\u5728\u7ebf\u652f\u4ed8\u3001\u8f66\u8f86\u7ba1\u7406\u7b49\u529f\u80fd\uff0c\u5927\u5e45\u964d\u4f4e\u4eba\u529b\u6210\u672c\u3002<\/p>\n<p>\u672c\u6587\u5c06\u4ece\u7cfb\u7edf\u67b6\u6784\u3001\u6838\u5fc3\u6a21\u5757\u3001\u901a\u4fe1\u534f\u8bae\u3001\u8f6f\u4ef6\u8bbe\u8ba1\u4ee5\u53ca\u5b9e\u73b0\u7ec6\u8282\u7b49\u65b9\u9762\uff0c\u6df1\u5165\u89e3\u6790\u201c\u57fa\u4e8e STM32 + ESP8266 \u7684\u65e0\u4eba\u505c\u8f66\u573a\u9879\u76ee\u201d\u7684\u5b8c\u6574\u6280\u672f\u65b9\u6848\u3002<\/p>\n<hr>\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=INjXVQJLt4Z84NzYCcOKEw%3D%3D.MdPSZ1wWe2lwreupeO6w7rUMk7G3cPA9fL8Nxu44gEQvG5pZx%2BVUrdliCyFmkCSa2NDRyewIZmfhFK%2Fz4TKZvg%3D%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/blog.csdn.net\/weixin_52908342\/article\/details\/155577063<\/a><\/p><\/blockquote>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047450619\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" title=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n<h3><strong>\u4e00\u3001\u9879\u76ee\u6982\u8ff0<\/strong><\/h3>\n<p>\u672c\u9879\u76ee\u6784\u5efa\u4e00\u4e2a\u4f4e\u6210\u672c\u3001\u53ef\u6269\u5c55\u3001\u9002\u5408\u4e2d\u5c0f\u578b\u505c\u8f66\u573a\u4f7f\u7528\u7684 <strong>\u65e0\u4eba\u505c\u8f66\u7cfb\u7edf<\/strong>\u3002\u7cfb\u7edf\u4ee5 STM32 \u4e3a\u4e3b\u63a7\uff0c\u8d1f\u8d23\u4f20\u611f\u5668\u91c7\u96c6\u3001\u63a7\u5236\u95f8\u673a\u3001\u8ba1\u8d39\u903b\u8f91\u7b49\u672c\u5730\u52a8\u4f5c\uff1b\u901a\u8fc7 ESP8266 \u5b9e\u73b0\u4e0e\u4e91\u7aef\u670d\u52a1\u5668\u7684 Wi-Fi \u901a\u4fe1\uff0c\u4f7f\u505c\u8f66\u573a\u5177\u5907\u8fdc\u7a0b\u76d1\u63a7\u4e0e\u7ba1\u7406\u80fd\u529b\u3002\u6574\u4f53\u8bbe\u8ba1\u76ee\u6807\u5305\u62ec\uff1a<\/p>\n<ul>\n<li><strong>\u81ea\u52a8\u8bc6\u522b\u8f66\u8f86\u8fdb\u51fa<\/strong>\uff08\u7ea2\u5916\/\u8d85\u58f0\u6ce2\u68c0\u6d4b\uff09<\/li>\n<li><strong>\u901a\u8fc7 ESP8266 \u4e0e\u670d\u52a1\u5668\u4ea4\u4e92\uff0c\u5b9e\u73b0\u8f66\u4f4d\u72b6\u6001\u4e0a\u62a5<\/strong><\/li>\n<li><strong>\u81ea\u52a8\u8ba1\u8d39\u4e0e\u4e91\u7aef\u8d26\u5355\u540c\u6b65<\/strong><\/li>\n<li><strong>APP\/\u7f51\u9875\u7aef\u67e5\u770b\u8f66\u4f4d\u4e0e\u8d26\u5355\u4fe1\u606f<\/strong><\/li>\n<li><strong>\u95f8\u673a\u81ea\u52a8\u62ac\u6746 \/ \u843d\u6746\u63a7\u5236<\/strong><\/li>\n<li><strong>\u6570\u636e\u4e0a\u4e91\uff0c\u5b9e\u73b0\u591a\u7aef\u540c\u6b65\u7ba1\u7406<\/strong><\/li>\n<\/ul>\n<p>\u9002\u5408\u7528\u4e8e\uff1a\u5c0f\u533a\u3001\u5199\u5b57\u697c\u3001\u6821\u56ed\u3001\u4f01\u4e1a\u56ed\u533a\u7684\u65e0\u4eba\u5316\u505c\u8f66\u7ba1\u7406\u3002<\/p>\n<hr>\n<h3><strong>\u4e8c\u3001\u7cfb\u7edf\u603b\u4f53\u67b6\u6784<\/strong><\/h3>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047450620\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" title=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" loading=\"lazy\"><\/p>\n<p>\u7cfb\u7edf\u4e3b\u8981\u7531\u4ee5\u4e0b\u51e0\u4e2a\u90e8\u5206\u6784\u6210\uff1a<\/p>\n<h4><strong>1. \u73b0\u573a\u7aef\uff08Edge\uff09<\/strong><\/h4>\n<ul>\n<li><strong>STM32F103<\/strong>\uff08\u4e3b\u63a7\uff09<\/li>\n<li><strong>\u7ea2\u5916\u8f66\u68c0\u4f20\u611f\u5668 \/ \u5730\u78c1\u6a21\u5757 \/ \u8d85\u58f0\u6ce2\u6d4b\u8ddd<\/strong><\/li>\n<li><strong>\u9053\u95f8\u7535\u673a\u9a71\u52a8\uff08PWM\/\u7ee7\u7535\u5668\uff09<\/strong><\/li>\n<li><strong>\u8f66\u724c\u8bc6\u522b\u6a21\u5757\uff08\u53ef\u9009\uff09<\/strong><\/li>\n<li><strong>OLED\/TFT \u5c4f\u663e\u793a\u8f66\u4f4d\u4fe1\u606f<\/strong><\/li>\n<li><strong>\u6309\u952e\u8f93\u5165\uff08\u7ba1\u7406\u5458\u8c03\u8bd5\uff09<\/strong><\/li>\n<\/ul>\n<h4><strong>2. \u901a\u4fe1\u6a21\u5757<\/strong><\/h4>\n<ul>\n<li>\n<p><strong>ESP8266\uff08\u901a\u8fc7 UART \u4e0e STM32 \u901a\u4fe1\uff09<\/strong><\/p>\n<ul>\n<li>\u8d1f\u8d23 Wi-Fi \u914d\u7f51<\/li>\n<li>\u4e0a\u62a5\u6570\u636e\u5230\u670d\u52a1\u5668<\/li>\n<li>\u63a5\u6536\u670d\u52a1\u5668\u4e0b\u53d1\u6307\u4ee4\uff08\u5982\u8fdc\u7a0b\u5f00\u95f8\uff09<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4><strong>3. \u4e91\u670d\u52a1\u7aef<\/strong><\/h4>\n<ul>\n<li>\u652f\u6301 REST API \u6216 MQTT<\/li>\n<li>\u4fdd\u5b58\u505c\u8f66\u8bb0\u5f55\u4e0e\u8f66\u4f4d\u72b6\u6001<\/li>\n<li>Web\/APP \u7aef\u67e5\u770b\u754c\u9762<\/li>\n<\/ul>\n<h4><strong>4. \u7528\u6237\u7aef<\/strong><\/h4>\n<ul>\n<li>\n<p>\u5fae\u4fe1\u5c0f\u7a0b\u5e8f \/ \u7f51\u9875\u63a7\u5236\u53f0<\/p>\n<ul>\n<li>\u67e5\u770b\u8f66\u4f4d\u72b6\u6001<\/li>\n<li>\u5728\u7ebf\u7f34\u8d39<\/li>\n<li>\u67e5\u8be2\u505c\u8f66\u5386\u53f2\u8bb0\u5f55<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u8fd9\u6837\uff0c\u6574\u4e2a\u7cfb\u7edf\u6784\u6210\u4e86\u4e00\u4e2a <strong>\u8fb9\u7f18\u8ba1\u7b97 + \u4e91\u7aef\u534f\u540c<\/strong> \u7684\u5b8c\u6574\u65e0\u4eba\u505c\u8f66\u7cfb\u7edf\u3002<\/p>\n<hr>\n<h3><strong>\u4e09\u3001\u786c\u4ef6\u8bbe\u8ba1\u8be6\u89e3<\/strong><\/h3>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047450621\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" title=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" loading=\"lazy\"><\/p>\n<h4><strong>1. \u4e3b\u63a7 STM32F103<\/strong><\/h4>\n<p>\u4e3a\u4ec0\u4e48\u9009\u62e9\u5b83\uff1f<\/p>\n<ul>\n<li>\u9ad8\u6027\u4ef7\u6bd4<\/li>\n<li>SPI\u3001UART\u3001GPIO \u8d44\u6e90\u4e30\u5bcc<\/li>\n<li>\u80fd\u8f7b\u677e\u9a71\u52a8\u4f20\u611f\u5668\u3001OLED\u3001\u7ee7\u7535\u5668\u3001\u7535\u673a<\/li>\n<\/ul>\n<p>STM32 \u8d1f\u8d23\uff1a<\/p>\n<ul>\n<li>\u8bfb\u53d6\u8f66\u4f4d\u72b6\u6001\uff08\u4f20\u611f\u5668\uff09<\/li>\n<li>\u8ba1\u7b97\u8f66\u8f86\u5728\u573a\u65f6\u95f4<\/li>\n<li>\u63a7\u5236\u95f8\u673a\u5f00\u5408<\/li>\n<li>\u4e0e ESP8266 \u901a\u4fe1\uff08\u547d\u4ee4\/\u6570\u636e\u540c\u6b65\uff09<\/li>\n<\/ul>\n<hr>\n<h4><strong>2. \u8f66\u68c0\u4f20\u611f\u5668<\/strong><\/h4>\n<p>\u5e38\u89c1\u65b9\u6848\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u65b9\u6848<\/th>\n<th>\u4f18\u70b9<\/th>\n<th>\u7f3a\u70b9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>\u7ea2\u5916\u5bf9\u5c04<\/strong><\/td>\n<td>\u6210\u672c\u4f4e<\/td>\n<td>\u6237\u5916\u7a33\u5b9a\u6027\u5dee<\/td>\n<\/tr>\n<tr>\n<td><strong>\u8d85\u58f0\u6ce2<\/strong><\/td>\n<td>\u5ba4\u5185\u53ef\u9760<\/td>\n<td>\u73af\u5883\u566a\u58f0\u5f71\u54cd<\/td>\n<\/tr>\n<tr>\n<td><strong>\u5730\u78c1\u4f20\u611f\u5668<\/strong><\/td>\n<td>\u6700\u4e13\u4e1a<\/td>\n<td>\u6210\u672c\u9ad8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u672c\u9879\u76ee\u4f7f\u7528 <strong>\u8d85\u58f0\u6ce2 SR04<\/strong> \u6765\u68c0\u6d4b\u8f66\u8f86\u662f\u5426\u9a76\u5165\/\u9a76\u51fa\u3002<\/p>\n<hr>\n<h4><strong>3. ESP8266 \u901a\u4fe1\u6a21\u5757<\/strong><\/h4>\n<p>ESP8266 \u901a\u8fc7 UART \u4e0e STM32 \u8fde\u63a5\uff0c\u5b9e\u73b0\uff1a<\/p>\n<ul>\n<li>\u8fde\u63a5 Wi-Fi<\/li>\n<li>MQTT\/HTTP \u4e0e\u670d\u52a1\u5668\u4ea4\u4e92<\/li>\n<li>\u4e0a\u62a5\u8f66\u4f4d\u72b6\u6001<\/li>\n<li>\u63a5\u6536\u8fdc\u7a0b\u5f00\u95f8\u547d\u4ee4<\/li>\n<\/ul>\n<p>\u5178\u578b\u6307\u4ee4\u7ed3\u6784\uff08JSON \u683c\u5f0f\uff09\uff1a<\/p>\n<pre><code class=\"json\">{\n  &quot;cmd&quot;: &quot;open_gate&quot;,\n  &quot;parking_id&quot;: 1\n}<\/code><\/pre>\n<p>STM32 \u6536\u5230\u540e\u6267\u884c\u5f00\u95f8\u52a8\u4f5c\u3002<\/p>\n<hr>\n<h4><strong>4. \u9053\u95f8\u7535\u673a\u9a71\u52a8<\/strong><\/h4>\n<p>\u4e24\u79cd\u65b9\u6848\uff1a<\/p>\n<ol>\n<li><strong>\u7ee7\u7535\u5668\u63a7\u5236 24V \u7535\u673a<\/strong><\/li>\n<li><strong>PWM + H \u6865\u63a7\u5236 DC \u7535\u673a<\/strong><\/li>\n<\/ol>\n<p>\u8fd9\u91cc\u4ee5\u7ee7\u7535\u5668\u65b9\u5f0f\u4e3a\u4f8b\uff08\u4fbf\u5b9c + \u6613\u7528\uff09\uff1a<\/p>\n<p>STM32 \u2192 GPIO \u2192 \u5149\u8026 \u2192 \u7ee7\u7535\u5668 \u2192 \u7535\u673a<br \/>\u5b9e\u73b0\u62ac\u6746 \/ \u843d\u6746\u52a8\u4f5c\u3002<\/p>\n<hr>\n<h3><strong>\u56db\u3001\u8f6f\u4ef6\u67b6\u6784\u8bbe\u8ba1<\/strong><\/h3>\n<h4><strong>1. STM32 \u8f6f\u4ef6\u67b6\u6784<\/strong><\/h4>\n<p>\u91c7\u7528 <strong>HAL \u5e93 + \u72b6\u6001\u673a\u8bbe\u8ba1<\/strong>\uff1a<\/p>\n<pre><code>init()\nwhile(1)\n{\n    read_sensor();\n    update_parking_state();\n    handle_gate_control();\n    sync_with_esp8266();\n    timer_tick();\n}<\/code><\/pre>\n<p>\u5173\u952e\u6a21\u5757\u5305\u62ec\uff1a<\/p>\n<ul>\n<li><strong>\u8f66\u4f4d\u68c0\u6d4b\u6a21\u5757<\/strong><\/li>\n<li><strong>\u8ba1\u8d39\u6a21\u5757\uff08\u6309\u5206\u949f\u8ba1\u8d39\uff09<\/strong><\/li>\n<li><strong>\u4e8b\u4ef6\u72b6\u6001\u673a\uff08ENTRY \/ EXIT\uff09<\/strong><\/li>\n<li><strong>ESP8266 \u901a\u4fe1\u6a21\u5757<\/strong><\/li>\n<li><strong>\u672c\u5730\u663e\u793a\uff08OLED\uff09<\/strong><\/li>\n<\/ul>\n<hr>\n<h4><strong>2. STM32 \u4e0e ESP8266 \u901a\u4fe1\u534f\u8bae\u8bbe\u8ba1<\/strong><\/h4>\n<p>\u91c7\u7528\u81ea\u5b9a\u4e49\u7b80\u6d01\u534f\u8bae\uff08JSON \u683c\u5f0f\uff09\uff1a<\/p>\n<h5>1\uff09\u8f66\u8f86\u8fdb\u5165\u62a5\u544a<\/h5>\n<pre><code class=\"json\">{\n  &quot;event&quot;: &quot;car_in&quot;,\n  &quot;timestamp&quot;: 1733301920,\n  &quot;slot_id&quot;: 8\n}<\/code><\/pre>\n<h5>2\uff09\u8f66\u8f86\u79bb\u5f00\u62a5\u544a<\/h5>\n<pre><code class=\"json\">{\n  &quot;event&quot;: &quot;car_out&quot;,\n  &quot;timestamp&quot;: 1733302122,\n  &quot;slot_id&quot;: 8,\n  &quot;duration&quot;: 320\n}<\/code><\/pre>\n<h5>3\uff09\u670d\u52a1\u5668\u4e0b\u53d1\u5f00\u95f8\u6307\u4ee4<\/h5>\n<pre><code class=\"json\">{\n  &quot;cmd&quot;: &quot;open_gate&quot;,\n  &quot;slot_id&quot;: 8\n}<\/code><\/pre>\n<p>STM32\u6839\u636e\u6307\u4ee4\u6267\u884c\u52a8\u4f5c\u5e76\u53cd\u9988\u3002<\/p>\n<hr>\n<h4><strong>3. ESP8266 \u56fa\u4ef6\u6d41\u7a0b<\/strong><\/h4>\n<p>\u82e5\u4f7f\u7528 AT \u56fa\u4ef6\uff1a<\/p>\n<p>STM32 \u53d1\u9001 AT \u6307\u4ee4 \u2192 ESP8266 \u2192 \u8fde\u63a5 Wi-Fi \u2192 \u53d1\u9001\u6570\u636e<\/p>\n<p>\u4e5f\u53ef\u4ee5\u70e7\u5f55 ESP8266\uff08\u5982 NodeMCU\uff09\uff0c\u76f4\u63a5\u5904\u7406 MQTT\/HTTP\u3002<\/p>\n<p>\u6d41\u7a0b\u793a\u4f8b\uff1a<\/p>\n<pre><code>\u8fde\u63a5Wi-Fi\n\u2193\n\u8fde\u63a5 MQTT \u670d\u52a1\u5668\n\u2193\n\u8ba2\u9605\u5f00\u95f8\u6307\u4ee4\n\u2193\n\u63a5\u6536 STM32 \u4e0a\u4f20\u7684\u6570\u636e\u5e76\u8f6c\u53d1\u4e91\u7aef\n\u2193\n\u4e91\u7aef\u63a8\u9001\u6307\u4ee4\u5230 ESP8266\n\u2193\nESP8266 \u4e0b\u53d1\u7ed9 STM32<\/code><\/pre>\n<hr>\n<h3><strong>\u4e94\u3001\u8ba1\u8d39\u7cfb\u7edf\u8bbe\u8ba1<\/strong><\/h3>\n<p>\u505c\u8f66\u8d39\u7528\u901a\u5e38\u91c7\u7528\uff1a<\/p>\n<ul>\n<li>\u6309\u5206\u949f\u8ba1\u8d39<\/li>\n<li>\u9636\u68af\u6536\u8d39<\/li>\n<li>\u6708\u5361\u7528\u6237\u8c41\u514d<\/li>\n<\/ul>\n<p>\u793a\u4f8b\u7b97\u6cd5\uff1a<\/p>\n<pre><code class=\"c\">int calc_fee(int duration_min)\n{\n    if (duration_min &lt;= 30)\n        return 0;\n    return (duration_min - 30) * 0.1;  \/\/ 0.1\u5143\/\u5206\u949f\n}<\/code><\/pre>\n<p>\u6240\u6709\u8ba1\u8d39\u6570\u636e\u5c06\u540c\u6b65\u5230\u670d\u52a1\u5668\uff0c\u5e76\u901a\u8fc7\u524d\u7aef\u5c55\u793a\u7ed9\u7528\u6237\u3002<\/p>\n<hr>\n<h3><strong>\u516d\u3001\u4e91\u7aef\u5e73\u53f0\u8bbe\u8ba1<\/strong><\/h3>\n<p>\u652f\u6301\u4ee5\u4e0b API\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>API<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\/car\/in<\/td>\n<td>\u8bb0\u5f55\u8f66\u8f86\u5165\u573a<\/td>\n<\/tr>\n<tr>\n<td>\/car\/out<\/td>\n<td>\u8bb0\u5f55\u8f66\u8f86\u79bb\u573a + \u8ba1\u8d39<\/td>\n<\/tr>\n<tr>\n<td>\/slot\/status<\/td>\n<td>\u67e5\u8be2\u8f66\u4f4d\u72b6\u6001<\/td>\n<\/tr>\n<tr>\n<td>\/gate\/open<\/td>\n<td>\u8fdc\u7a0b\u5f00\u95f8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5f00\u53d1\u53ef\u4ee5\u4f7f\u7528\uff1a<\/p>\n<ul>\n<li>Node.js<\/li>\n<li>Python Flask\/Django<\/li>\n<li>Spring Boot<\/li>\n<\/ul>\n<p>\u6570\u636e\u5e93\uff1aMySQL \/ PostgreSQL<br \/>\u6d88\u606f\u7cfb\u7edf\uff1aMQTT\uff08\u63a8\u8350\uff09<\/p>\n<hr>\n<h3><strong>\u4e03\u3001\u7cfb\u7edf\u529f\u80fd\u6f14\u793a\u6d41\u7a0b<\/strong><\/h3>\n<p>\u4ee5\u4e0b\u662f\u5178\u578b\u505c\u8f66\u6d41\u7a0b\uff1a<\/p>\n<h4><strong>1. \u8f66\u8f86\u9a76\u5165<\/strong><\/h4>\n<ul>\n<li>\u8d85\u58f0\u6ce2\u68c0\u6d4b\u5230\u8f66\u8f86<\/li>\n<li>STM32 \u8bb0\u5f55\u5165\u573a\u65f6\u95f4<\/li>\n<li>ESP8266 \u4e0a\u62a5\u670d\u52a1\u5668<\/li>\n<li>\u670d\u52a1\u5668\u786e\u8ba4<\/li>\n<li>\u95f8\u673a\u81ea\u52a8\u62ac\u6746<\/li>\n<li>\u8f66\u8f86\u8fdb\u5165<\/li>\n<\/ul>\n<h4><strong>2. \u505c\u8f66\u671f\u95f4<\/strong><\/h4>\n<ul>\n<li>\u670d\u52a1\u5668\u663e\u793a\u8f66\u4f4d\u201c\u5df2\u5360\u7528\u201d<\/li>\n<li>\u7528\u6237\u53ef\u4ee5\u67e5\u770b\u5b9e\u65f6\u505c\u8f66\u65f6\u957f<\/li>\n<\/ul>\n<h4><strong>3. \u8f66\u8f86\u79bb\u5f00<\/strong><\/h4>\n<ul>\n<li>STM32 \u68c0\u6d4b\u8f66\u8f86\u79bb\u5f00<\/li>\n<li>\u8ba1\u7b97\u505c\u8f66\u65f6\u95f4<\/li>\n<li>\u4e0a\u4f20\u670d\u52a1\u5668<\/li>\n<li>\u5b8c\u6210\u8ba1\u8d39<\/li>\n<li>\u95f8\u673a\u653e\u884c<\/li>\n<\/ul>\n<p>\u65e0\u4eba\u5316\u6d41\u7a0b\u5b8c\u6574\u5b9e\u73b0\u3002<\/p>\n<hr>\n<h3><strong>\u516b\u3001\u9879\u76ee\u4eae\u70b9\u4e0e\u6269\u5c55\u65b9\u5411<\/strong><\/h3>\n<h4>\u2714 <strong>\u4f4e\u6210\u672c\u53ef\u843d\u5730<\/strong><\/h4>\n<p>STM32 + ESP8266 \u7684\u7ec4\u5408\u975e\u5e38\u4f4e\u6210\u672c\uff0c\u975e\u5e38\u9002\u5408\u5c0f\u578b\u9879\u76ee\u5546\u7528\u3002<\/p>\n<h4>\u2714 <strong>\u5177\u5907\u4e91\u7aef\u7ba1\u7406\u80fd\u529b<\/strong><\/h4>\n<p>\u652f\u6301\u8fdc\u7a0b\u5f00\u95f8\/\u5b9e\u65f6\u540c\u6b65\u8f66\u4f4d\u72b6\u6001\u3002<\/p>\n<h4>\u2714 <strong>\u53ef\u6269\u5c55\u8f66\u724c\u8bc6\u522b<\/strong><\/h4>\n<p>\u642d\u914d\u6444\u50cf\u5934 + OCR \u6a21\u5757\uff0c\u53ef\u76f4\u63a5\u8bc6\u522b\u8f66\u724c\u3002<\/p>\n<h4>\u2714 <strong>\u652f\u6301\u652f\u4ed8\u7cfb\u7edf<\/strong><\/h4>\n<p>\u63a5\u5165\u5fae\u4fe1\/\u652f\u4ed8\u5b9d\u652f\u4ed8\uff0c\u5b9e\u73b0\u771f\u6b63\u65e0\u4eba\u5316\u6536\u8d39\u3002<\/p>\n<h4>\u2714 <strong>\u652f\u6301\u591a\u8f66\u4f4d\u6269\u5c55<\/strong><\/h4>\n<p>\u4e00\u4e2a\u4e3b\u63a7\u53ef\u7ba1\u7406\u591a\u4e2a\u8f66\u4f4d\u8282\u70b9\u3002<\/p>\n<hr>\n<h3><strong>\u4e5d\u3001\u603b\u7ed3<\/strong><\/h3>\n<p>\u57fa\u4e8e STM32 + ESP8266 \u7684\u65e0\u4eba\u505c\u8f66\u573a\u7cfb\u7edf\uff0c\u662f\u4e00\u4e2a\u96c6\u6210 <strong>\u5d4c\u5165\u5f0f\u63a7\u5236\u3001\u65e0\u7ebf\u901a\u4fe1\u3001\u4e91\u7aef\u8ba1\u7b97\u3001\u7269\u8054\u7f51\u6574\u4f53\u67b6\u6784<\/strong> \u7684\u5178\u578b\u5de5\u7a0b\u6848\u4f8b\u3002\u7cfb\u7edf\u5177\u5907\u6210\u672c\u4f4e\u3001\u6613\u90e8\u7f72\u3001\u529f\u80fd\u4e30\u5bcc\u3001\u9002\u5408\u6269\u5c55\u7684\u7279\u70b9\uff0c\u662f\u667a\u6167\u505c\u8f66\u9886\u57df\u4e00\u4e2a\u975e\u5e38\u6210\u719f\u7684\u5b9e\u73b0\u65b9\u6848\u3002<\/p>\n<p>\u5982\u679c\u4f60\u6b63\u5728\u505a\u6bd5\u4e1a\u8bbe\u8ba1\u3001\u4f01\u4e1a\u9879\u76ee\u6216\u7ade\u8d5b\uff0c\u8fd9\u5957\u65b9\u6848\u5b8c\u5168\u53ef\u843d\u5730\uff0c\u5e76\u62e5\u6709\u5f88\u5f3a\u7684\u5c55\u793a\u4e0e\u5b9e\u7528\u4ef7\u503c\u3002<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000047450617\">https:\/\/segmentfault.com\/a\/1190000047450617<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u4e8e STM32 \u7684\u65e0\u4eba\u505c\u8f66\u573a\u9879\u76ee\u7cfb\u7edf\u3010\u5f00\u6e90\u9879\u76ee\u3001\u514d\u8d39\u3011 \u968f\u7740\u667a\u6167\u57ce\u5e02\u3001\u7269\u8054\u7f51\u7684\u5feb\u901f\u53d1\u5c55\uff0c\u65e0\u4eba\u5316\u3001\u667a\u80fd\u5316\u7684\u505c\u8f66 [&hellip;]<\/p>\n","protected":false},"author":7,"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-10021102","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\/10021102","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10021102"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021102\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10021102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10021102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10021102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}