{"id":11184,"date":"2023-08-25T01:40:12","date_gmt":"2023-08-24T17:40:12","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=11184"},"modified":"2024-05-05T12:31:50","modified_gmt":"2024-05-05T04:31:50","slug":"%e5%9c%a8-arduino-ide-%e4%b8%8a%e5%bc%80%e5%8f%91-stm32","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=11184","title":{"rendered":"\u5728 Arduino IDE \u914d\u7f6e STM32 \u5f00\u53d1\u73af\u5883"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blog.iyatt.com\/?p=11184\/#%E5%89%8D%E8%A8%80\" >\u524d\u8a00<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blog.iyatt.com\/?p=11184\/#%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C\" >\u51c6\u5907\u5de5\u4f5c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/blog.iyatt.com\/?p=11184\/#%E6%B5%8B%E8%AF%95%E7%A8%8B%E5%BA%8F%E7%BC%96%E8%AF%91%E4%B8%8B%E8%BD%BD\" >\u6d4b\u8bd5\u7a0b\u5e8f\u7f16\u8bd1\u4e0b\u8f7d<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/blog.iyatt.com\/?p=11184\/#ST-Link\" >ST-Link<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/blog.iyatt.com\/?p=11184\/#%E4%B8%B2%E5%8F%A3\" >\u4e32\u53e3<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E5%89%8D%E8%A8%80\"><\/span>\u524d\u8a00<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u82b1\u76f8\u540c\u7684\u94b1\u4e70 STM32 \u6bd4 Arduino \u914d\u7f6e\u66f4\u9ad8\uff0c\u4f46\u662f STM32 \u5f00\u53d1\u592a\u590d\u6742\uff0c\u53ef\u4ee5\u501f\u52a9\u8fd9\u4e2a\u9879\u76ee\u5b9e\u73b0\u7528 Arduino IDE \u5f00\u53d1 STM32\uff1a<a href=\"https:\/\/github.com\/stm32duino\/Arduino_Core_STM32\">https:\/\/github.com\/stm32duino\/Arduino_Core_STM32<\/a><\/p>\n<p>\u6211\u8fd9\u91cc\u91c7\u7528\u7684 STM32F103C8T6 \u6700\u5c0f\u7cfb\u7edf\u677f\u8fdb\u884c\u6d4b\u8bd5\uff08STM32F103C6T6 \u4e5f\u8bd5\u8fc7\uff09<\/p>\n<h1><span class=\"ez-toc-section\" id=\"%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C\"><\/span>\u51c6\u5907\u5de5\u4f5c<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u9996\u5148\u4fdd\u8bc1\u5b89\u88c5\u4e86 Arduino IDE\uff1a<a href=\"https:\/\/www.arduino.cc\/en\/software\">https:\/\/www.arduino.cc\/en\/software<\/a> \uff08\u6211\u8fd9\u91cc\u57fa\u4e8e 2.1.1 \u7248\u672c\u6d4b\u8bd5\uff09<\/p>\n<p>\u5b89\u88c5\u540e\u6253\u5f00\u5b83\uff0c\u70b9\u5f00\u6587\u4ef6-\u9996\u9009\u9879\uff0c\u5728\u5176\u5b83\u5f00\u53d1\u677f\u7ba1\u7406\u5730\u5740\u5904\u586b\uff1a<\/p>\n<pre><code class=\"language-bash\">https:\/\/github.com\/stm32duino\/BoardManagerFiles\/raw\/main\/package_stmicroelectronics_index.json<\/code><\/pre>\n<p>\u5982\u679c\u8fd8\u5728\u540c\u65f6\u4f7f\u7528\u5176\u5b83\u5f00\u53d1\u7248\uff0c\u5730\u5740\u4e4b\u95f4\u4f7f\u7528\u82f1\u6587\u9017\u53f7\u9694\u5f00\uff0c\u586b\u5199\u540e\u786e\u8ba4<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692898885510.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 753px; --smush-placeholder-aspect-ratio: 753\/493;\" \/><\/p>\n<p>\u7136\u540e\u6253\u5f00\u5f00\u53d1\u677f\u7ba1\u7406\u5668<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692895724797.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 759px; --smush-placeholder-aspect-ratio: 759\/530;\" \/><\/p>\n<p>\u641c\u7d22<code>STM32 MCU based boards<\/code>\u5e76\u5b89\u88c5\uff0c\u5982\u679c\u6709\u9b54\u6cd5\u4e0a\u7f51\u4ee3\u7406\uff0c\u53ef\u4ee5\u5728\u9996\u9009\u9879\u7684\u7f51\u7edc\u4e2d\u914d\u7f6e\uff0c\u5426\u5219\u4e0b\u8f7d\u4f1a\u5f88\u6162<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692895888091.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 733px; --smush-placeholder-aspect-ratio: 733\/376;\" \/><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692895910572.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 229px; --smush-placeholder-aspect-ratio: 229\/306;\" \/><\/p>\n<p>\u5982\u679c\u8981\u4f7f\u7528 ST-Link\u3001\u4e32\u53e3\u3001DFU \u6765\u4e0b\u8f7d\u7a0b\u5e8f\u7684\u8bdd\u8fd8\u8981\u5b89\u88c5 STM32CubeProgrammer\uff1a<a href=\"https:\/\/www.st.com\/zh\/development-tools\/stm32cubeprog.html#get-software\">https:\/\/www.st.com\/zh\/development-tools\/stm32cubeprog.html#get-software<\/a><\/p>\n<p>\u518d\u628a\u8def\u5f84\u914d\u7f6e\u5230\u7cfb\u7edf\u7684 PATH \u73af\u5883\u53d8\u91cf\u91cc<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692897867177.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 709px; --smush-placeholder-aspect-ratio: 709\/301;\" \/><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692898023186.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1469px; --smush-placeholder-aspect-ratio: 1469\/787;\" \/><\/p>\n<h1><span class=\"ez-toc-section\" id=\"%E6%B5%8B%E8%AF%95%E7%A8%8B%E5%BA%8F%E7%BC%96%E8%AF%91%E4%B8%8B%E8%BD%BD\"><\/span>\u6d4b\u8bd5\u7a0b\u5e8f\u7f16\u8bd1\u4e0b\u8f7d<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u6211\u8fd9\u4e2a\u6700\u5c0f\u7cfb\u7edf\u677f\u4e0a\u6709\u4e00\u4e2a\u548c PC13 \u5f15\u811a\u5173\u8054\u7684 LED \u706f\uff0c\u5c31\u5199\u4e86\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\u6765\u63a7\u5236\u8fd9\u4e2a LED \u95ea\u70c1\uff0c\u8fd9\u4e2a\u7a0b\u5e8f\u63a7\u5236 LED \u6bcf\u95f4\u9694\u4e00\u79d2\u4ea4\u66ff\u4eae\u606f\u4e00\u6b21\u3002\u4e0d\u5f97\u4e0d\u8bf4\u7528 Arduino IDE \u5199\u4ee3\u7801\u633a\u7b80\u5355\u7684\uff0c\u53ef\u4ee5\u4e13\u6ce8\u4e8e\u521b\u610f\u800c\u4e0d\u662f\u5e95\u5c42\u7684\u7535\u5b50\u6280\u672f\u57fa\u7840\u3002<\/p>\n<pre><code class=\"language-cpp\">void setup()\n{\n    pinMode(PC13, OUTPUT);\n}\n\nvoid loop()\n{\n    digitalWrite(PC13, HIGH);\n    delay(1000);\n    digitalWrite(PC13, LOW);\n    delay(1000);\n}<\/code><\/pre>\n<p>Arduino IDE \u9009\u62e9\u597d\u5f00\u53d1\u677f<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692897698146.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 956px; --smush-placeholder-aspect-ratio: 956\/257;\" \/><\/p>\n<p>\u677f\u53f7\u9009\u597d<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692897790992.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 702px; --smush-placeholder-aspect-ratio: 702\/540;\" \/><\/p>\n<p>\u6ce8\uff1a\u6211\u8fd9\u4e2a STM32 \u82af\u7247\u578b\u53f7\u4e0d\u652f\u6301 DFU \u4e0b\u8f7d\uff0c\u8fd9\u91cc\u4e5f\u5c31\u4e0d\u8bf4\u4e86\uff0c\u8fd9\u4e2a\u662f\u90e8\u5206\u82af\u7247\u624d\u652f\u6301\u7684\u3002<\/p>\n<p>\u5f15\u811a\u5b9a\u4e49<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1693322449483.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 698px; --smush-placeholder-aspect-ratio: 698\/999;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"ST-Link\"><\/span>ST-Link<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692871314923.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 458px; --smush-placeholder-aspect-ratio: 458\/190;\" \/><\/p>\n<p>\u4e0b\u8f7d\u5b89\u88c5 ST-Link \u9a71\u52a8\uff1a<a href=\"https:\/\/www.st.com\/zh\/development-tools\/st-link-v2.html#tools-software\">https:\/\/www.st.com\/zh\/development-tools\/st-link-v2.html#tools-software<\/a><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692899340229.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1042px; --smush-placeholder-aspect-ratio: 1042\/582;\" \/><\/p>\n<p>\u7136\u540e\u6309\u7167\u4e0b\u8868\u63a5\u7ebf<\/p>\n<pre><code class=\"language-katex\">\\begin{array}{|c|c|}\n\\hline\nSTM32 &amp; ST-Link \\\\\n\\hline\n3v3 &amp; 3.3V \\\\\n\\hline\nSWIO &amp; SWDIO \\\\\n\\hline\nSWCLK &amp; SWCLK \\\\\n\\hline\nGND &amp; GND \\\\\n\\hline\n\\end{array}<\/code><\/pre>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692876302850.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 233px; --smush-placeholder-aspect-ratio: 233\/263;\" \/><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692876315832.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 250px; --smush-placeholder-aspect-ratio: 250\/207;\" \/><\/p>\n<p>STM32 \u4e0a BOOT0 \u548c BOOT1 \u90fd\u63a5 0<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692897645536.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 222px; --smush-placeholder-aspect-ratio: 222\/221;\" \/><\/p>\n<p>\u4e0b\u8f7d\u65b9\u5f0f\u9009 SWD<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692898084388.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 722px; --smush-placeholder-aspect-ratio: 722\/612;\" \/><\/p>\n<p>\u7136\u540e\u6309 <code class=\"kb-btn\">Ctrl<\/code>+<code class=\"kb-btn\">U<\/code> \u7f16\u8bd1\u4e0a\u4f20\uff0c\u6216\u8005\u70b9\u4e0a\u4f20\u6309\u94ae<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692898161251.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 421px; --smush-placeholder-aspect-ratio: 421\/384;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%B2%E5%8F%A3\"><\/span>\u4e32\u53e3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6700\u5c0f\u7cfb\u7edf\u677f\u5e76\u6ca1\u6709\u96c6\u6210\u4e32\u53e3\u82af\u7247\uff08\u677f\u8f7d\u7684 micro-USB \u53e3\u53ea\u80fd\u7528\u4e8e\u4f9b\u7535\uff09\uff0c\u6240\u4ee5\u8fd9\u91cc\u9700\u8981\u4f7f\u7528 USB \u8f6c\u4e32\u53e3\u6a21\u5757\uff0c\u6839\u636e\u6a21\u5757\u7684\u4e32\u53e3\u82af\u7247\u4e0b\u8f7d\u5b89\u88c5\u9a71\u52a8\uff1a<a href=\"https:\/\/blog.iyatt.com\/?p=11016\">https:\/\/blog.iyatt.com\/?p=11016<\/a><br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692898551130.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 462px; --smush-placeholder-aspect-ratio: 462\/177;\" \/><\/p>\n<p>\u53e6\u5916\u677f\u5b50\u4e0a BOOT0 \u77ed\u63a5 1\uff0cBOOT1 \u77ed\u63a5 0\uff0c\u5728\u4e0b\u8f7d\u7a0b\u5e8f\u524d\u9700\u8981\u624b\u52a8\u6309\u4e00\u4e0b\u590d\u4f4d\u952e\uff08\u4f7f\u7528 ST-Link \u5c31\u4e0d\u7528\uff09<\/p>\n<p>Arduino IDE \u91cc\u4e0b\u8f7d\u65b9\u5f0f\u9009 Serial<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2023\/08\/image-1692898259821.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 720px; --smush-placeholder-aspect-ratio: 720\/595;\" \/><\/p>\n<p>\u63a5\u7ebf\u5982\u4e0b\u8868<\/p>\n<pre><code class=\"language-katex\">\\begin{array}{|c|c|}\n\\hline\nSTM32 &amp; \u4e32\u53e3\u6a21\u5757 \\\\\n\\hline\n3v3 &amp; 3.3 \\\\\n\\hline\nTX &amp; A10 \\\\\n\\hline\nRX &amp; A9 \\\\\n\\hline\nGND &amp; GND \\\\\n\\hline\n\\end{array}<\/code><\/pre>\n<p>\u7136\u540e\u4e00\u6837\u4e0a\u4f20\u5c31\u884c<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u82b1\u76f8\u540c\u7684\u94b1\u4e70 STM32 \u6bd4 Arduino \u914d\u7f6e\u66f4\u9ad8\uff0c\u4f46\u662f STM32 \u5f00\u53d1\u592a\u590d\u6742\uff0c\u53ef\u4ee5\u501f\u52a9\u8fd9\u4e2a\u9879\u76ee\u5b9e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[1,601],"tags":[],"class_list":["post-11184","post","type-post","status-publish","format-standard","hentry","category-all","category-stm32"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/11184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11184"}],"version-history":[{"count":0,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/11184\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}