{"id":79479,"date":"2023-12-27T05:22:44","date_gmt":"2023-12-26T21:22:44","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=79479"},"modified":"2023-12-27T05:22:44","modified_gmt":"2023-12-26T21:22:44","slug":"ehsbcfsyym","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/79479.html","title":{"rendered":"ESP32\u548cSTM32\u7f16\u7a0b\u65b9\u5f0f\u4e00\u6837\u5417"},"content":{"rendered":"

  \u672c\u6587\u5c06\u63a2\u8ba8ESP32\u548cSTM32\u7684\u7f16\u7a0b\u65b9\u5f0f\u662f\u5426\u76f8\u4f3c\uff0c\u5206\u6790\u5b83\u4eec\u5404\u81ea\u7684\u7279\u70b9\u548c\u7528\u9014\uff0c\u4e3a\u8bfb\u8005\u63d0\u4f9b\u5bf9\u8fd9\u4e24\u6b3e\u82af\u7247\u7684\u66f4\u6df1\u5165\u4e86\u89e3\u3002<\/p>\n

ESP32\u7f16\u7a0b\u65b9\u5f0f<\/h2>\n

   ESP32\u662f\u4e00\u6b3e\u96c6\u6210\u4e86Wi-Fi\u548c\u84dd\u7259\u529f\u80fd\u7684\u5fae\u63a7\u5236\u5668\uff0c\u53ef\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7269\u8054\u7f51\u8bbe\u5907\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u5de5\u4e1a\u81ea\u52a8\u5316\u7b49\u9886\u57df\u3002\u5728ESP32\u7684\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\uff0c\u4f7f\u7528Arduino IDE\u6216\u8005MicroPython\u7b49\u5f00\u53d1\u73af\u5883\uff0c\u501f\u52a9\u4e30\u5bcc\u7684\u5e93\u51fd\u6570\u548c\u793a\u4f8b\u4ee3\u7801\uff0c\u53ef\u4ee5\u5feb\u901f\u5b9e\u73b0\u5404\u79cd\u529f\u80fd\uff0c\u5e76\u4e14\u5229\u7528WiFi\u548c\u84dd\u7259\u6a21\u5757\u8fdb\u884c\u901a\u8baf\u63a7\u5236\u3002<\/p>\n

  Arduino IDE\u7f16\u7a0b<\/h3>\n

   \u5728Arduino<\/a> IDE\u4e2d\u7f16\u7a0bESP32\uff0c\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u4e8eArduino Uno\u7684\u7b80\u6d01\u8bed\u6cd5\u548c\u51fd\u6570\u5e93\uff0c\u8fd9\u4f7f\u5f97\u5bf9\u4e8e\u719f\u6089Arduino\u5f00\u53d1\u7684\u4eba\u6765\u8bf4\uff0c\u80fd\u591f\u8f7b\u677e\u4e0a\u624bESP32\u7684\u5f00\u53d1\u3002<\/p>\n

  MicroPython\u7f16\u7a0b<\/h3>\n

   \u4f7f\u7528MicroPython\u8fdb\u884cESP32<\/a>\u7f16\u7a0b\uff0c\u901a\u8fc7Python\u8bed\u8a00\u7f16\u5199\u4ee3\u7801\uff0c\u53ef\u4ee5\u5b9e\u73b0\u9ad8\u6548\u7684\u5f00\u53d1\u548c\u8c03\u8bd5\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u52a0\u7b80\u6d01\u3001\u76f4\u89c2\u7684\u5f00\u53d1\u65b9\u5f0f\uff0c\u4f7f\u5f97\u5bf9Python\u6709\u57fa\u7840\u7684\u5f00\u53d1\u8005\u66f4\u6613\u4e8e\u638c\u63e1\u3002<\/p>\n

STM32\u7f16\u7a0b\u65b9\u5f0f<\/h2>\n

   STM32\u5fae\u63a7\u5236\u5668\u4ee5\u5176\u4f18\u79c0\u7684\u6027\u80fd\u548c\u4e30\u5bcc\u7684\u5916\u8bbe\u4ee5\u53ca\u5f3a\u5927\u7684\u751f\u6001\u7cfb\u7edf\u800c\u95fb\u540d\u3002\u5728STM32<\/a>\u7684\u5e94\u7528\u4e2d\uff0c\u4e3b\u8981\u4f7f\u7528Keil\u3001STM32CubeMX\u7b49\u5f00\u53d1\u73af\u5883\uff0c\u5229\u7528C\/C++\u8bed\u8a00\u8fdb\u884c\u7f16\u7a0b\u5f00\u53d1\uff0c\u53ef\u4ee5\u5145\u5206\u53d1\u6325\u51faSTM32\u7684\u6027\u80fd\u3002<\/p>\n

  Keil\u7f16\u7a0b<\/h3>\n

   Keil\u662f\u4e3b\u6d41\u7684STM32\u5f00\u53d1\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\uff0c\u4f7f\u7528C\/C++\u8bed\u8a00\u8fdb\u884c\u7f16\u7a0b\uff0c\u5229\u7528\u5176\u5f3a\u5927\u7684\u8c03\u8bd5\u548c\u4eff\u771f\u529f\u80fd\uff0c\u5bf9\u4e8e\u9700\u8981\u5145\u5206\u53d1\u6325STM32\u6027\u80fd\u7684\u5e94\u7528\u6765\u8bf4\uff0c\u662f\u4e00\u4e2a\u975e\u5e38\u597d\u7684\u9009\u62e9\u3002<\/p>\n

  STM32CubeMX\u7f16\u7a0b<\/h3>\n

   STM32CubeMX\u662fST\u5b98\u65b9\u63a8\u51fa\u7684\u4e00\u6b3e\u5f3a\u5927\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff0c\u5728\u8be5\u73af\u5883\u4e0b\uff0c\u901a\u8fc7\u56fe\u5f62\u5316\u7684\u64cd\u4f5c\u754c\u9762\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u5916\u8bbe\u7684\u914d\u7f6e\u548c\u521d\u59cb\u5316\uff0c\u5927\u5927\u63d0\u9ad8\u4e86\u5f00\u53d1\u6548\u7387\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

   \u603b\u7684\u6765\u8bf4\uff0cESP32\u548cSTM32\u5728\u5f00\u53d1\u65b9\u5f0f\u4e0a\u6709\u4e00\u4e9b\u76f8\u4f3c\u4e4b\u5904\uff0c\u6bd4\u5982\u90fd\u53ef\u4ee5\u4f7f\u7528C\/C++\u8bed\u8a00\u8fdb\u884c\u7f16\u7a0b\uff0c\u4f46\u4e5f\u5177\u6709\u5404\u81ea\u7684\u7279\u70b9\u548c\u9002\u7528\u573a\u666f\u3002ESP32\u66f4\u9002\u5408\u9700\u8981\u65e0\u7ebf\u901a\u8baf\u7684\u7269\u8054\u7f51\u8bbe\u5907\uff0c\u800cSTM32\u5219\u66f4\u9002\u7528\u4e8e\u5bf9\u6027\u80fd\u548c\u5916\u8bbe\u8981\u6c42\u8f83\u9ad8\u7684\u5e94\u7528\u3002\u638c\u63e1\u4e24\u8005\u7684\u5f00\u53d1\u65b9\u5f0f\u5bf9\u4e8e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u90fd\u662f\u975e\u5e38\u6709\u76ca\u7684\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5f00\u53d1\u65b9\u5f0f\u548c\u5e73\u53f0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u672c\u6587\u5c06\u63a2\u8ba8ESP32\u548cSTM32\u7684\u7f16\u7a0b\u65b9\u5f0f\u662f\u5426\u76f8\u4f3c\uff0c\u5206\u6790\u5b83\u4eec\u5404\u81ea\u7684\u7279\u70b9\u548c\u7528\u9014\uff0c\u4e3a\u8bfb\u8005\u63d0\u4f9b\u5bf9\u8fd9\u4e24\u6b3e\u82af\u7247\u7684\u66f4\u6df1\u5165\u4e86\u89e3\u3002ESP32\u7f16\u7a0b\u65b9\u5f0fESP32<\/p>\n","protected":false},"author":1,"featured_media":64183,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[322],"class_list":["post-79479","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-esp32"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/79479"}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=79479"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/79479\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/64183"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=79479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=79479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=79479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}