{"id":15163,"date":"2022-05-16T16:40:00","date_gmt":"2022-05-16T08:40:00","guid":{"rendered":"https:\/\/www.circuspi.com\/?p=15163"},"modified":"2022-09-26T10:18:56","modified_gmt":"2022-09-26T02:18:56","slug":"pixelbit-unit7","status":"publish","type":"post","link":"https:\/\/www.circuspi.com\/index.php\/2022\/05\/16\/pixelbit-unit7\/","title":{"rendered":"Pixel:Bit \u6559\u5b78(\u4e03)\uff0dFPV Car \u7b2c\u4e00\u4eba\u7a31\u624b\u6a5f\u9059\u63a7\u8eca"},"content":{"rendered":"\n<p><style>\n\/* ###\u5be6\u9a57\u4e0b\u4e00\u5217### *\/\n\na:link {color:#0695e4\n;}    \/* \u8a2d\u5b9a\u5c1a\u672a\u9ede\u95b1\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\na:visited {color:#0695e4\n;} \/* \u8a2d\u5b9a\u904e\u53bb\u66fe\u7d93\u95b1\u904e\u7684\u9023\u7d50 *\/\na:hover {color:#0695e4\n;}   \/* \u8a2d\u5b9a\u6ed1\u9f20\u6e38\u6a19\u6307\u5728\u9023\u7d50\u4f4d\u7f6e\u4e0a\u7684\u6a23\u5f0f *\/\na:active {color:#0000BB;}  \/* \u8a2d\u5b9a\u4e0a\u9ede\u64ca\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\n<\/style><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"526\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/1000x526_pixelbit7.jpg\" alt=\"\" class=\"wp-image-16018\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u7c21\u4ecb<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28659=&amp;utm_source=icshop+front+page&amp;utm_medium=Pixel:Bit+&amp;utm_campaign=purchase_cpc\" target=\"_blank\" rel=\"noreferrer noopener\">Pixel:Bit<\/a> \u642d\u8f09 ESP32 \u6838\u5fc3\u5177\u5099 Camera \u4e26\u4e14\u6709\u76f8\u5bb9 <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28637\" target=\"_blank\" rel=\"noreferrer noopener\">micro:bit<\/a> \u7684\u300c\u91d1\u624b\u6307\u300d\u9023\u63a5\u5668 edge connector\uff0c\u5404\u4f4d\u662f\u5426\u6709\u60f3\u904e\u9019\u6a23 <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28659=&amp;utm_source=icshop+front+page&amp;utm_medium=Pixel:Bit+&amp;utm_campaign=purchase_cpc\" target=\"_blank\" rel=\"noreferrer noopener\">Pixel:Bit<\/a> \u662f\u5426\u4e5f\u80fd\u5920\u50cf <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28637\" target=\"_blank\" rel=\"noreferrer noopener\">micro:bit<\/a> \u4e00\u6a23\u642d\u914d<a href=\"https:\/\/www.icshop.com.tw\/product_list.php?2277=#utm_source=icshop+front+page&amp;utm_medium=banner&amp;utm_campaign=APOLLO\" target=\"_blank\" rel=\"noreferrer noopener\">\u767b\u6708\u5c0f\u8eca<\/a>\u505a\u61c9\u7528\u5462\uff1f\u672c\u7bc7\u6559\u5b78\u5c31\u8981\u8ddf\u5927\u5bb6\u8aaa\u660e\u5982\u4f55\u4f7f\u7528 <a href=\"Pixel:Bit\">Pixel:<\/a><a href=\"Bit\" target=\"_blank\" rel=\"noreferrer noopener\">B<\/a><a href=\"Pixel:Bit\">it<\/a> \u642d\u914d\u5e7e\u4e4e\u4eba\u624b\u4e00\u81fa\u7684<a href=\"https:\/\/www.icshop.com.tw\/product_list.php?2277=#utm_source=icshop+front+page&amp;utm_medium=banner&amp;utm_campaign=APOLLO\" target=\"_blank\" rel=\"noreferrer noopener\">\u767b\u6708\u5c0f\u8eca<\/a>\uff0c\u4e26\u4e14\u5be6\u4f5c\u7b2c\u4e00\u4eba\u7a31\u8996\u89d2\uff08First Person View\uff0cFPV\uff09\u7684 Wi-Fi \u9059\u63a7\u8eca\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u6240\u9700\u8a2d\u5099<\/h2>\n\n\n\n<p>1. <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28659=&amp;utm_source=icshop+front+page&amp;utm_medium=Pixel:Bit+&amp;utm_campaign=purchase_cpc\" target=\"_blank\" rel=\"noreferrer noopener\">pixel:bit<\/a> x1<\/p>\n\n\n\n<p>2. Micro USB to USB Type-A\u6578\u64da\u50b3\u8f38\u7dda x1<\/p>\n\n\n\n<p>3. <a href=\"https:\/\/www.icshop.com.tw\/product_list.php?2277=#utm_source=icshop+front+page&amp;utm_medium=banner&amp;utm_campaign=APOLLO\" target=\"_blank\" rel=\"noreferrer noopener\">\u767b\u6708\u5c0f\u8eca<\/a> x1<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u7bc4\u4f8b\u7a0b\u5f0f\u78bc<\/h2>\n\n\n\n<p>\u9700\u8981\u5148\u884c\u5728 Arduino IDE \u4e0a\u5b89\u88dd\u597d ESP32 \u958b\u767c\u677f\u652f\u63f4\uff0c\u82e5\u4e0d\u77e5\u9053\u5982\u4f55\u5b89\u88dd\u53ef\u4ee5\u53c3\u8003<a href=\"https:\/\/www.circuspi.com\/index.php\/2022\/04\/27\/pixelbit-unit2\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u55ae\u5143(\u4e8c)\u6559\u5b78<\/a>\u3002\u5b8c\u6574\u7bc4\u4f8b\u7a0b\u5f0f\u53ef\u7531 github \u4e0a\u53d6\u5f97 <a href=\"https:\/\/github.com\/CIRCUSPi\/PixelBit_Example\">PixelBit \u7bc4\u4f8b\u7a0b\u5f0f<\/a>\uff0c\u5167\u542b Pixel:Bit \u6240\u6709\u7bc4\u4f8b\uff0c\u4e26\u4e14\u5c07\u6703\u4e0d\u5b9a\u6642\u66f4\u65b0\u3002\u672c\u7bc7\u6587\u7ae0\u5c07\u6703\u4f7f\u7528\u5230\u5176\u4e2d 04_FPV_Car \u7684\u7a0b\u5f0f\u78bc\u3002\u70ba\u65b9\u4fbf\u8d77\u898b\uff0c\u6211\u5011\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f09\u6574\u5305\u7bc4\u4f8b\u7a0b\u5f0f\u58d3\u7e2e\u6a94\uff0c\u518d\u89e3\u58d3\u7e2e\u5230\u96fb\u8166\u88e1\u7684 arduino \u8cc7\u6599\u593e\u4e0b\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"379\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/6.jpg\" alt=\"PixelBit \u6559\u5b78(\u4e03)\uff0dFPV Car \u7b2c\u4e00\u4eba\u7a31\u624b\u6a5f\u9059\u63a7\u8eca\" class=\"wp-image-15165\"\/><figcaption>Pixel:Bit \u7bc4\u4f8b\u7a0b\u5f0f\u6a94\u6848\u5eab<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u7bc4\u4f8b\u6f14\u793a<\/h2>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Pixel:Bit \u6559\u5b78(\u4e03)\uff0dFPV Car \u7b2c\u4e00\u4eba\u7a31\u624b\u6a5f\u9059\u63a7\u8eca\" width=\"1140\" height=\"641\" src=\"https:\/\/www.youtube.com\/embed\/NrqQu3t4Mwo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u4e0d\u56c9\u55e6\uff01\u76f4\u63a5\u5148\u4f86\u770b\u770b\u7bc4\u4f8b\u6210\u679c\u5427\uff01\u958b\u6a5f\u5f8c Pixel:Bit \u524d\u65b9 TFT \u6703\u986f\u793a Wi-Fi QR Code \u4ee5\u53ca\u5176\u7db2\u8def IP \u4f4d\u7f6e\uff0c\u5229\u7528\u624b\u6a5f\u76f8\u6a5f\u6383\u63cf\u5247\u6703\u6d6e\u73feWi-Fi \u9023\u7dda\u7684\u63d0\u793a\u8a0a\u606f\uff0c\u9ede\u64ca\u4e4b\u5f8c\u624b\u6a5f\u5c31\u6703\u81ea\u52d5\u7684\u5957\u7528\u540d\u7a31\u8207\u5bc6\u78bc\uff0c\u81ea\u52d5\u9023\u7dda Wi-Fi\u3002\u96a8\u5f8c\u518d\u958b\u555f\u700f\u89bd\u5668\uff0c\u8f38\u5165 Pixel:Bit \u7684 IP \u4f4d\u7f6e\uff0c\u5c31\u6703\u958b\u555f UI \u63a7\u5236\u7db2\u9801\uff0c\u4e0a\u9762\u5305\u542b\u5373\u6642\u7684\u8996\u8a0a\u5f71\u50cf\u4ee5\u53ca\u52d5\u4f5c\u63a7\u5236\u6309\u9215\uff0c\u76f4\u63a5\u9ede\u9078\u5c31\u53ef\u4ee5\u64cd\u63a7\u5c0f\u8eca\u56c9\uff01<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u7a0b\u5f0f\u89e3\u6790<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u8a2d\u5b9a\u65b9\u5f0f Setup<\/h3>\n\n\n\n<p>\u5728\u71d2\u9304\u6210\u7a0b\u5f0f\u4e4b\u524d\u9700\u8981\u5148\u5230 <span style=\"background-color:#d8d8d8\" class=\"tadv-background-color\">config.h<\/span> \u8a2d\u5b9a Wi-Fi \u9023\u7dda\u7684\u6a21\u5f0f\uff0c\u9810\u8a2d Pixel:Bit \u6703\u4ee5 AP \u6a21\u5f0f\u7684\u65b9\u5f0f\u904b\u4f5c\uff0c\u4e5f\u5c31\u662f\u8b93\u624b\u6a5f\u76f4\u63a5\u9023\u9032 Pixel:Bit \u9032\u884c\u64cd\u4f5c\u3002\u9019\u6a23\u7684\u597d\u8655\u662f\u4e0d\u7ba1\u5728\u5ba4\u5167\u6216\u5ba4\u5916\uff0c\u5373\u4f7f\u6c92\u6709 Wi-Fi \u7db2\u8def\u4e5f\u53ef\u4ee5\u9032\u884c\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p>\u82e5\u74b0\u5883\u4e2d\u662f\u6709 Wi-Fi \u7db2\u8def\u7684\uff0c\u4e5f\u53ef\u4ee5\u5c07 Pixel:Bit \u8a2d\u5b9a\u70ba Satation \u6a21\u5f0f\uff0c\u8b93\u624b\u6a5f\u8ddf Pixel:Bit \u90fd\u540c\u6642\u9023\u5230\u5834\u57df\u4e2d\u7684\u71b1\u9ede\uff0c\u5982\u6b64\u4e00\u4f86\u4e5f\u53ef\u4ee5\u964d\u4f4e Pixel:Bit\u7684\u904b\u7b97\u8ca0\u8377\u3002SSID \u8207 Password \u4e5f\u4f9d\u7167\u74b0\u5883\u8207\u559c\u597d\u4fee\u6539\u5b8c\u6210\u4e4b\u5f8c\u5373\u53ef\u4ee5\u9032\u884c\u71d2\u9304\u3002\u5206\u5225\u71d2\u9304 ESP32 \u7a0b\u5f0f\u78bc\u8207 ATmega328 \u7a0b\u5f0f\u78bc\u5b8c\u6210\u5f8c\uff0c\u5373\u53ef\u4ee5\u5c07 UART \u9078\u64c7\u958b\u95dc\u5207\u81f3\u300cgo\u300d\u9032\u884c\u64cd\u4f5c\u4e86\uff01\uff08\u5982\u679c\u9084\u4e0d\u6e05\u695a\u600e\u9ebc\u6a23\u71d2\u9304\u7a0b\u5f0f\u78bc\uff0c\u53ef\u4ee5\u53c3\u8003\u524d\u9762\u7684<a href=\"https:\/\/docs.google.com\/document\/u\/0\/d\/1M99CycYJjVo_z31fA8To479nZPfSKJM0KNVtoxOr61U\/edit\"><\/a><a href=\"https:\/\/www.circuspi.com\/index.php\/2022\/04\/27\/pixelbit-unit2\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u55ae\u5143(\u4e8c)\u6559\u5b78<\/a>\uff09<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"460\" height=\"137\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/5.jpg\" alt=\"PixelBit \u6559\u5b78(\u4e03)\uff0dFPV Car \u7b2c\u4e00\u4eba\u7a31\u624b\u6a5f\u9059\u63a7\u8eca\" class=\"wp-image-15166\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u7522\u751f\u4e8c\u7dad\u78bc Generate QR Code&nbsp;<\/h3>\n\n\n\n<p>\u5927\u5bb6\u5728\u4f7f\u7528\u7269\u806f\u7db2\u958b\u767c\u677f\u6642\uff0c\u7d93\u5e38\u90fd\u6703\u6709\u4e00\u7a2e\u56f0\u64fe\uff0c\u5c31\u662f\u4e0d\u77e5\u9053\u958b\u767c\u677f\u73fe\u5728\u7684 Wi-Fi SSID\u3001\u5bc6\u78bc\u8207 IP \u7b49\u8cc7\u8a0a\uff0c\u6642\u5e38\u90fd\u9084\u9700\u8981\u9023\u63a5\u5e8f\u5217\u57e0\u5230\u96fb\u8166\u76e3\u770b\uff0c\u751a\u81f3\u5728\u8f38\u5165\u5bc6\u78bc\u6642\u53ef\u80fd\u56e0\u70ba\u624b\u6296\u800c\u4e0d\u5c0f\u5fc3\u8f38\u5165\u932f\u8aa4\uff0c\u771f\u7684\u76f8\u7576\u7684\u60f1\u4eba\u554a\uff01<\/p>\n\n\n\n<p>\u5728 Pixel:Bit \u4e0a\u6709\u4e00\u500b TFT \u986f\u793a\u5668\uff0c\u6211\u5011\u53ef\u4ee5\u5f88\u65b9\u4fbf\u7684\u628a Wi-Fi \u7db2\u8def\u8cc7\u8a0a\u986f\u793a\u5728\u4e0a\u9762\u3002\u800c\u9023\u7dda Wi-Fi \u7684 QR code \u683c\u5f0f\u70ba <span style=\"background-color:#d8d8d8\" class=\"tadv-background-color\">WIFI:T:WPA;S:YourSSID;P:YourPass;;<\/span>\uff0c\u8a73\u7d30\u7684\u8aaa\u660e\u5982\u4e0b\u8868\u6240\u793a\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"261\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/PixelBit_08_table.jpg\" alt=\"PixelBit \u6559\u5b78(\u4e03)\uff0dFPV Car \u7b2c\u4e00\u4eba\u7a31\u624b\u6a5f\u9059\u63a7\u8eca\" class=\"wp-image-15167\"\/><\/figure><\/div>\n\n\n\n<p>\u8209\u4f8b\u4f86\u8aaa\uff0c\u6211\u5011\u53ea\u8981\u5c07 <span style=\"background-color:#d8d8d8\" class=\"tadv-background-color\">WIFI:T:WPA;S:PixelBit;P:circuspi;;<\/span> \u9019\u4e32\u6587\u5b57\u8f49\u63db\u70ba QR Code \u986f\u793a\u5728 TFT \u986f\u793a\u5668\u4e0a\uff0c\u518d\u4f7f\u7528\u624b\u6a5f\u6383\u63cf\uff0c\u624b\u6a5f\u5c31\u6703\u81ea\u52d5\u5730\u9023\u5165 Pixel:Bit \u9019\u7d44 Wi-Fi \u7db2\u8def\uff0c\u662f\u4e0d\u662f\u76f8\u7576\u65b9\u4fbf\u5462\uff1f<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"450\" height=\"338\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/PXL_20220428_091711652.jpg\" alt=\"PixelBit \u6559\u5b78(\u4e03)\uff0dFPV Car \u7b2c\u4e00\u4eba\u7a31\u624b\u6a5f\u9059\u63a7\u8eca\" class=\"wp-image-15168\"\/><figcaption>\u7522\u751f\u53ef\u4ee5\u5feb\u901f\u9023\u63a5 Wi-Fi \u7684QR Code<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u5728\u6b64\u7bc4\u4f8b\u4e2d\u6211\u5011\u5f15\u7528\u7684\u51fd\u5f0f\u5eab\u662f github \u4e0a\u958b\u767c\u8005 ricmoo \u6240\u7de8\u5beb\u7684 <a href=\"https:\/\/github.com\/ricmoo\/QRCode\" target=\"_blank\" rel=\"noreferrer noopener\">library<\/a>\uff0c\u70ba\u4e86\u65b9\u4fbf\u8d77\u898b\uff0c\u6211\u5011\u76f4\u63a5\u5167\u5d4c\u5728\u6b64\u7bc4\u4f8b\u7684\u7a0b\u5f0f\u78bc\u4e2d\u3002\u6211\u5011\u4f7f\u7528\u7248\u672c 3 \u7684 QR Code\uff0c\u50cf\u7d20\u70ba 29&#215;29\uff0c\u4e0d\u540c\u7248\u672c\u50cf\u7d20\u8207\u8a0a\u606f\u91cf\u7686\u6709\u4e0d\u540c\uff0c\u4f8b\u5982\u7248\u672c 4 \u7684\u50cf\u7d20\u70ba 33&#215;33\u3001\u7248\u672c 5 \u7684\u50cf\u7d20\u70ba 37&#215;37 \u7b49\uff0c\u5b8c\u6574\u8cc7\u8a0a\u53ef\u4ee5\u53c3\u95b1 <a href=\"https:\/\/www.qrcode.com\/zh\/about\/version.html\" target=\"_blank\" rel=\"noreferrer noopener\">QR Code\u6a19\u6e96<\/a>\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u7db2\u9801\u4f3a\u670d\u5668 WEB Server<\/h3>\n\n\n\n<p>ESP32 \u7684\u7a0b\u5f0f\u78bc\u5247\u662f\u7531\u570b\u5916\u7684\u958b\u767c\u8005 Rui Santos \u65d7\u4e0b<a href=\"https:\/\/randomnerdtutorials.com\/esp32-cam-car-robot-web-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5c08\u6848<\/a>\u6240\u4fee\u6539\u800c\u4f86\u7684\uff0c\u5982\u4e0b\u5716\u6240\u793a\u3002\u7db2\u9801\u4f3a\u670d\u5668\u7684\u7a0b\u5f0f\u78bc\u7d50\u69cb\u7531\u539f\u751f\u7bc4\u4f8b CameraWebServer \u5dee\u7570\u4e0d\u5927\u3002\u5728\u5373\u6642\u4e32\u6d41\u7684\u90e8\u5206\u4f7f\u7528 <span style=\"background-color:#d8d8d8\" class=\"tadv-background-color\">&lt;IP&gt;:81\/stream<\/span> \u8b80\u53d6\u5f71\u50cf\u8cc7\u6599\uff0c\u800c\u5404\u500b\u5c0d\u61c9\u6309\u9215\u5247\u662f\u7528 Command Handler \u7684\u65b9\u5f0f\u5728\u5404\u500b\u6309\u9215\u88ab\u6309\u4e0b\u6642\uff0c\u89f8\u767c <span style=\"background-color:#d8d8d8\" class=\"tadv-background-color\">&lt;IP&gt;\/action?go=<\/span> HTTP GET \u65b9\u6cd5\u547c\u53eb\uff0c\u4e26\u518d handler \u4e2d\u5c07\u5c0d\u61c9\u7684\u6307\u4ee4\u900f\u904e\u5e8f\u5217\u57e0 <span style=\"background-color:#d8d8d8\" class=\"tadv-background-color\">Serial.print()<\/span> \u50b3\u9001\u7d66 ATmega328 \u57f7\u884c\u52d5\u4f5c\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/4.jpg\" alt=\"PixelBit \u6559\u5b78(\u4e03)\uff0dFPV Car \u7b2c\u4e00\u4eba\u7a31\u624b\u6a5f\u9059\u63a7\u8eca\" class=\"wp-image-15169\" width=\"457\" height=\"357\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u99ac\u9054\u63a7\u5236 Motor Control<\/h3>\n\n\n\n<p>\u99ac\u9054\u63a7\u5236\u5c07\u6703\u900f\u904e ATmega328p \u7d93\u7531\u908a\u7de3\u9023\u63a5\u5668\u9023\u5230<a href=\"https:\/\/www.icshop.com.tw\/product_list.php?2277=#utm_source=icshop+front+page&amp;utm_medium=banner&amp;utm_campaign=APOLLO\" target=\"_blank\" rel=\"noreferrer noopener\">\u767b\u6708\u5c0f\u8eca MoonCar<\/a> \u4e0a\u7684\u99ac\u9054\u3002\u5f9e\u4e0b\u65b9\u7684 <a href=\"https:\/\/docs.google.com\/document\/u\/0\/d\/15qnMbQXA5fE8cGu9DKaYZ2Dc7lYQ0wgU814Zgji8vco\/edit\" target=\"_blank\" rel=\"noreferrer noopener\">Pixel:Bit<\/a> \u8207<a href=\"https:\/\/www.circuspi.com\/index.php\/education-resources\/p_microbit\/microbit-mooncar\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u767b\u6708\u5c0f\u8eca<\/a>\u8173\u4f4d\u5c0d\u7167\u5716\u53ef\u4ee5\u770b\u51fa\uff0c\u5de6\u8f2a\u7684\u63a7\u5236\u5c0d\u61c9\u5230 ATmega328p \u7684 2 \u8ddf 14 \u8173\u63a7\u5236\uff0c\u800c\u53f3\u8f2a\u7684\u63a7\u5236\u5c0d\u61c9\u5230 A1 \u8207 13 \u8173\u63a7\u5236\uff0c\u56e0\u6b64\u53ea\u8981\u4f9d\u7167\u4e0b\u8868\u7684\u65b9\u5f0f\u63a7\u5236\u9019\u5e7e\u96bb pin \u8173\u7684\u96fb\u4f4d\uff0c\u5c31\u80fd\u5920\u63a7\u5236\u5c0f\u8eca\u7684\u52d5\u4f5c\u59ff\u614b\u56c9\uff01<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"194\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/PixelBit_08_table2-1.jpg\" alt=\"PixelBit \u6559\u5b78(\u4e03)\uff0dFPV Car \u7b2c\u4e00\u4eba\u7a31\u624b\u6a5f\u9059\u63a7\u8eca\" class=\"wp-image-15174\"\/><\/figure><\/div>\n\n\n\n<p>\u70ba\u4e86\u65b9\u4fbf\u6211\u5011\u95b1\u8b80\u7a0b\u5f0f\u78bc\uff0c\u5148\u5728 <span style=\"background-color:#d8d8d8\" class=\"tadv-background-color\">PixelBit_FPV_Car_328p\\config.h<\/span> \u6a94\u6848\u4e2d\u5b9a\u7fa9\u597d ATmega328 \u5404\u500b\u8173\u4f4d\u7684\u540d\u7a31\uff0c\u4e5f\u907f\u514d\u5f8c\u7e8c\u5fd8\u8a18\u5404\u500b pin \u8173\u7684\u529f\u80fd\u3002<\/p>\n\n\n\n<p>\u5982\u4e0b\u5716\u4e2d\u7a0b\u5f0f\u6240\u793a\uff0c\u7b2c 37~55 \u884c\u5148\u5b9a\u7fa9\u51fa Pixel:Bit \u908a\u7de3\u9023\u63a5\u5668\u6240\u5c0d\u61c9 ATmega328 \u7684 IO\u3002\u7b2c 57~62 \u884c\u5247\u5ef6\u4f38\u5b9a\u7fa9\u597d\u5de6\u53f3\u8f2a\u7684\u529f\u80fd\u540d\u7a31\uff0c\u65b9\u4fbf\u6211\u5011\u5728\u505a IO \u63a7\u5236\u6642\u4f7f\u7528\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"468\" height=\"457\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/3.jpg\" alt=\"PixelBit \u6559\u5b78(\u4e03)\uff0dFPV Car \u7b2c\u4e00\u4eba\u7a31\u624b\u6a5f\u9059\u63a7\u8eca\" class=\"wp-image-15171\"\/><\/figure><\/div>\n\n\n\n<p>\u6b64\u5916\u6211\u5011\u4e5f\u5c07\u6bcf\u500b\u5c0f\u8eca\u7684\u52d5\u4f5c\uff0c\u4f8b\u5982\u524d\u9032\u3001\u5f8c\u9000\u3001\u5de6\u8f49\u3001\u53f3\u8f49\u7b49\uff0c\u5206\u5225\u7368\u7acb\u5beb\u6210\u51fd\u5f0f function\uff0c\u5f8c\u7e8c\u5728\u547c\u53eb\u8207\u95b1\u8b80\u4e0a\u53ef\u4ee5\u66f4\u70ba\u7c21\u6f54\u3002\u5b8c\u6210\u5404\u99ac\u9054\u7684\u9a45\u52d5\u51fd\u5f0f\u5f8c\u5c31\u63a5\u8457\u8981\u8655\u7406 ESP32 \u8207 ATmeag328 \u4e4b\u9593 UART \u6e9d\u901a\u7684\u7a0b\u5f0f\uff0c\u4ee5\u5229\u5728\u4f7f\u7528\u8005\u6309\u4e0b\u7db2\u9801\u4e0a\u7684\u6309\u9215\u6642\uff0c\u53ef\u4ee5\u7acb\u5373\u505a\u51fa\u5c0d\u61c9\u7684\u52d5\u4f5c\u63a7\u5236\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"292\" height=\"457\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/2.jpg\" alt=\"PixelBit \u6559\u5b78(\u4e03)\uff0dFPV Car \u7b2c\u4e00\u4eba\u7a31\u624b\u6a5f\u9059\u63a7\u8eca\" class=\"wp-image-15172\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5. \u4e32\u5217\u57e0\u6e9d\u901a UART Communication<\/h3>\n\n\n\n<p>ESP32 \u548c ATmega328 \u4e4b\u9593\u85c9\u7531\u5e8f\u5217\u57e0 UART \u76f8\u4e92\u9023\u63a5\uff0c\u5728\u6b64\u7bc4\u4f8b\u4e2d\uff0c\u7576\u6211\u5011\u64cd\u4f5c\u7db2\u9801\u4e0a\u7684\u6309\u9215\u6642\uff0cESP32 \u5c31\u6703\u6536\u5230\u4e8b\u4ef6\u89f8\u767c\uff0c\u4e26\u4e14\u5c07\u6240\u8981\u57f7\u884c\u7684\u52d5\u4f5c\uff08\u5982\u524d\u9032\u3001\u5f8c\u9000\uff09\u50b3\u9001\u7d66 ATmega328\uff0cATmega328 \u5728\u6536\u5230\u5c0d\u61c9\u7684\u6307\u4ee4\u5f8c\uff0c\u4fbf\u6703\u53bb\u57f7\u884c\u76f8\u61c9\u7684\u52d5\u4f5c\u3002<\/p>\n\n\n\n<p>\u8070\u660e\u5982\u4f60\u61c9\u8a72\u4e0d\u96e3\u60f3\u5230\uff0c\u6211\u5011\u53ea\u8981\u8a2d\u8a08\u597d\u524d\u9032\u3001\u5f8c\u9000\u9019\u4e9b\u52d5\u4f5c\u7684\u5c0d\u61c9\u7684\u6307\u4ee4\u78bc\uff0c\u5728 ESP32 \u9019\u4e00\u908a\u9001\u51fa\uff0cATmega328 \u9019\u4e00\u908a\u63a5\u6536\u4e26\u4e14\u5224\u65b7\uff0c\u5373\u53ef\u5b8c\u6210\u9019\u4e9b\u529f\u80fd\u4e86\u3002\u6c92\u6709\u932f\u5594\uff01\u6982\u5ff5\u5373\u662f\u5982\u6b64\u800c\u5df2\uff0c\u4f46\u6211\u5011\u5728\u7bc4\u4f8b\u7a0b\u5f0f\u78bc\u7576\u4e2d\u70ba\u4e86\u5c0b\u6c42\u7a0b\u5f0f\u78bc\u7684\u7c21\u6f54\u8207\u64f4\u5145\u6027\uff0c\u4f7f\u7528\u6307\u4ee4\u6e05\u55ae\u7684\u7a0b\u5f0f\u6280\u6cd5\u4f86\u8655\u7406\u9019\u500b\u554f\u984c\u3002<\/p>\n\n\n\n<p>\u5728 ATmega328 \u7684\u7a0b\u5f0f\u78bc\u7b2c 86~95 \u884c\u4e4b\u9593\uff0c\u53ef\u4ee5\u770b\u5230\u9019\u88e1\u6709\u500b CMD_T \u7d50\u69cb\u7684\u9663\u5217\uff0c\u6bcf\u500b\u9663\u5217\u4e2d\u7684\u6210\u54e1\u5c31\u662f\u4e00\u500b\u6307\u4ee4\u4ee5\u53ca\u8981\u57f7\u884c\u7684\u6307\u6a19\u51fd\u6578\uff0c\u4e26\u4e14\u5728\u6700\u5e95\u90e8\u585e\u5165\u4e00\u500b <span style=\"background-color:#d8d8d8\" class=\"tadv-background-color\">{NULL, 0, NULL}<\/span> \u4ee3\u8868\u5df2\u7d93\u6c92\u6709\u5176\u4ed6\u7684\u6307\u4ee4\u8981\u5224\u65b7\u4e86\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528\u9019\u7a2e\u9663\u5217\u7684\u597d\u8655\uff0c\u5c31\u662f\u6211\u5011\u53ea\u8981\u8abf\u6574\u9019\u4e00\u500b\u9663\u5217\u7684\u5167\u5bb9\uff0c\u5c31\u53ef\u4ee5\u8f15\u9b06\u7684\u52a0\u5165\u6216\u522a\u9664\u6307\u4ee4\uff0c\u4e0d\u518d\u9700\u8981\u66f4\u52d5\u5230\u5176\u4ed6\u7684\u7a0b\u5f0f\u6558\u8ff0\u53e5\uff0c\u7a0b\u5f0f\u4e5f\u53ef\u4ee5\u770b\u8d77\u4f86\u66f4\u52a0\u7c21\u6f54\u8207\u5bb9\u6613\u95b1\u8b80\u5594\uff01<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/05\/1.jpg\" alt=\"PixelBit \u6559\u5b78(\u4e03)\uff0dFPV Car \u7b2c\u4e00\u4eba\u7a31\u624b\u6a5f\u9059\u63a7\u8eca\" class=\"wp-image-15173\" width=\"510\" height=\"185\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001\u5c0f\u7d50<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28659=&amp;utm_source=icshop+front+page&amp;utm_medium=Pixel:Bit+&amp;utm_campaign=purchase_cpc\" target=\"_blank\" rel=\"noreferrer noopener\">Pixel:Bit<\/a> \u6709\u76f8\u5bb9 <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28637\" target=\"_blank\" rel=\"noreferrer noopener\">micro:bit<\/a> \u7684\u9023\u63a5\u5668\uff0c\u9019\u6a23\u7684\u8a2d\u8a08\u53ef\u4ee5\u4efb\u610f\u7684\u642d\u914d\u6240\u6709 <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28637\" target=\"_blank\" rel=\"noreferrer noopener\">micro:bit<\/a> \u64f4\u5145\u5957\u4ef6\uff0c\u540c\u6642\u7d50\u5408\u81ea\u8eab\u7684\u651d\u5f71\u93e1\u982d\u8207 TFT \u986f\u793a\u87a2\u5e55\u7b49\uff0c\u6253\u9020\u66f4\u591a\u7684\u5275\u610f\u60f3\u50cf\u7a7a\u9593\u3002<\/p>\n\n\n\n<p>\u672c\u7bc7\u6559\u5b78\u793a\u7bc4 <a href=\"https:\/\/www.icshop.com.tw\/product-page.php?28659=&amp;utm_source=icshop+front+page&amp;utm_medium=Pixel:Bit+&amp;utm_campaign=purchase_cpc\" target=\"_blank\" rel=\"noreferrer noopener\">Pixel:Bit<\/a> \u642d\u914d<a href=\"https:\/\/www.icshop.com.tw\/product_list.php?2277=#utm_source=icshop+front+page&amp;utm_medium=banner&amp;utm_campaign=APOLLO\" target=\"_blank\" rel=\"noreferrer noopener\">\u767b\u6708\u5c0f\u8eca<\/a>\u505a\u51fa\u624b\u6a5f\u9059\u63a7\u8eca\uff0c\u5404\u4f4d\u5925\u4f34\u5011\u4e5f\u53ef\u4ee5\u984d\u5916\u589e\u52a0\u5728\u7db2\u9801\u63a7\u5236\u7684\u529f\u80fd\uff0c\u4f8b\u5982\uff1a\u5168\u5f69 LED \u63a7\u5236\u3001\u984f\u8272\u611f\u6e2c\u5668\u3001\u8702\u9cf4\u5668\u7b49\u3002\u66f4\u591a\u4e0d\u540c\u7684\u53ef\u80fd\u6027\u5c31\u8b93\u5404\u4f4d\u73a9\u5bb6\u5011\u81ea\u7531\u767c\u63ee\u5275\u610f\u5427\uff01<\/p>\n\n\n\n<p>\u5982\u679c\u5404\u4f4d\u559c\u6b61\u6211\u5011\u5206\u4eab\u7684\u5167\u5bb9\u7684\u8a71\uff0c\u5225\u5fd8\u4e86\u5b9a\u671f\u8ffd\u8e64\u8207\u652f\u6301\u6211\u5011\uff0c\u8b93\u6211\u5011\u66f4\u6709\u52d5\u529b\u5206\u4eab\u66f4\u591a\u597d\u73a9\u53c8\u5be6\u7528\u7684\u6559\u5b78\u6587\u7ae0\u7d66\u5404\u4f4d\u5594\uff01\u4e0b\u6b21\u898b\uff5e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pixel:Bit \u6559\u5b78(\u4e03)\u5c31\u8981\u8ddf\u5927\u5bb6\u8aaa\u660e\u5982\u4f55\u4f7f\u7528\u8207 micro:bit \u4e00\u6a23\u6709\u91d1\u624b\u6307\u7684 Pixel:Bit\uff0c\u642d\u914d MOONCAR \u767b\u6708\u5c0f\u8eca\uff0c\u4e26\u4e14\u5be6\u4f5c\u7b2c\u4e00\u4eba\u7a31\u8996\u89d2\uff08First Person View\uff0cFPV\uff09\u7684 Wi-Fi \u9059\u63a7\u8eca\u3002<\/p>\n","protected":false},"author":1,"featured_media":16019,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[274],"tags":[36,275,109],"table_tags":[],"_links":{"self":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/15163"}],"collection":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/comments?post=15163"}],"version-history":[{"count":14,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/15163\/revisions"}],"predecessor-version":[{"id":17656,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/15163\/revisions\/17656"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/16019"}],"wp:attachment":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=15163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=15163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=15163"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=15163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}