{"id":2090,"date":"2026-03-04T00:10:28","date_gmt":"2026-03-03T16:10:28","guid":{"rendered":"https:\/\/xujiwei.com\/blog\/?p=2090"},"modified":"2026-03-04T00:12:39","modified_gmt":"2026-03-03T16:12:39","slug":"esp32-oled-streaming","status":"publish","type":"post","link":"https:\/\/xujiwei.com\/blog\/2026\/03\/esp32-oled-streaming\/","title":{"rendered":"\u684c\u9762\u5c0f\u7535\u89c6\u65b0\u601d\u8def\uff0cESP32-S3 + 12864 OLED \u4e32\u6d41\u89c6\u9891"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_65 ez-toc-wrap-right counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<p class=\"ez-toc-title\">\u6587\u7ae0\u76ee\u5f55<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69de67d88a74f\" class=\"ez-toc-cssicon-toggle-label\"><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><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69de67d88a74f\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/xujiwei.com\/blog\/2026\/03\/esp32-oled-streaming\/#%E5%85%88%E7%9C%8B%E7%9C%8B%E6%95%88%E6%9E%9C\" title=\"\u5148\u770b\u770b\u6548\u679c\">\u5148\u770b\u770b\u6548\u679c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/xujiwei.com\/blog\/2026\/03\/esp32-oled-streaming\/#%E4%B8%B2%E6%B5%81%E5%AE%8C%E6%95%B4%E6%B5%81%E7%A8%8B\" title=\"\u4e32\u6d41\u5b8c\u6574\u6d41\u7a0b\">\u4e32\u6d41\u5b8c\u6574\u6d41\u7a0b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/xujiwei.com\/blog\/2026\/03\/esp32-oled-streaming\/#%E7%94%B5%E8%84%91%E7%AB%AF%E8%84%9A%E6%9C%AC\" title=\"\u7535\u8111\u7aef\u811a\u672c\">\u7535\u8111\u7aef\u811a\u672c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/xujiwei.com\/blog\/2026\/03\/esp32-oled-streaming\/#ESP32-S3_%E5%9B%BA%E4%BB%B6%E5%AE%9E%E7%8E%B0\" title=\"ESP32-S3 \u56fa\u4ef6\u5b9e\u73b0\">ESP32-S3 \u56fa\u4ef6\u5b9e\u73b0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/xujiwei.com\/blog\/2026\/03\/esp32-oled-streaming\/#%E5%B0%8F%E7%BB%93\" title=\"\u5c0f\u7ed3\">\u5c0f\u7ed3<\/a><\/li><\/ul><\/nav><\/div>\n<p>\u4e4b\u524d\u641e\u4e86\u4e2a\u5c0f\u7535\u8111\u4f7f\u7528 ESP32-S3 + OLED \u663e\u793a\u89c6\u9891\uff08\u89c1 <a href=\"https:\/\/mp.weixin.qq.com\/s\/mu1q-CiXpZABE8_FYRR9NA\">3 \u6b65\u4ece nana banana AI \u751f\u6210\u7684\u590d\u53e4\u5c0f\u7535\u8111\u5230\u771f\u5b9e\u684c\u9762\u5c0f\u73a9\u5177<\/a>\uff09\uff0c\u4f46\u662f\u53d7\u5236\u4e8e Flash \u7a7a\u95f4\u6709\u9650\uff0c\u53ea\u653e\u4e86 10 \u79d2\u3002<\/p>\n<p>\u540e\u6765\u5c31\u60f3\u5230\u662f\u4e0d\u662f\u53ef\u4ee5 <strong>ESP32-S3 \u53ea\u4f5c\u4e3a\u4e00\u4e2a\u64ad\u653e\u8bbe\u5907\uff0c\u89c6\u9891\u6570\u636e\u4ece\u7535\u8111\u4e0a\u4e32\u6d41\u8fc7\u53bb<\/strong>\uff0c\u800c\u4e14\u5728 ESP32-S3 \u652f\u6301\u8fd9\u6837\u4e32\u6d41\u7684\u80fd\u529b\u4e4b\u540e\uff0c\u7406\u8bba\u4e0a<strong>\u53ef\u4ee5\u663e\u793a\u4efb\u610f\u60f3\u8981\u663e\u793a\u7684\u4fe1\u606f\uff0c\u4f8b\u5982\u4f5c\u4e3a\u7535\u8111\u7684\u5c0f\u526f\u5c4f\u3002<\/strong><\/p>\n<p>\u8bf4\u5e72\u5c31\u5e72\uff5e<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%85%88%E7%9C%8B%E7%9C%8B%E6%95%88%E6%9E%9C\"><\/span>\u5148\u770b\u770b\u6548\u679c<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div style=\"width: 360px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-2090-1\" width=\"360\" height=\"640\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2026\/03\/ESP32-OLED\u4e32\u6d41\u6f14\u793a.mp4?_=1\" \/><a href=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2026\/03\/ESP32-OLED\u4e32\u6d41\u6f14\u793a.mp4\">https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2026\/03\/ESP32-OLED\u4e32\u6d41\u6f14\u793a.mp4<\/a><\/video><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%B2%E6%B5%81%E5%AE%8C%E6%95%B4%E6%B5%81%E7%A8%8B\"><\/span>\u4e32\u6d41\u5b8c\u6574\u6d41\u7a0b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u56e0\u4e3a\u5c4f\u5e55\u4f7f\u7528\u7684\u662f OLED\uff0c\u5206\u8fa8\u7387\u662f 128x64\uff0c\u989c\u8272\u662f\u5355\u8272\uff0c <strong>\u5355\u5e27\u6570\u636e\u53ea\u9700\u8981  128x64\/8 =1,024 \u5b57\u8282<\/strong>\uff0c\u5373\u4f7f\u4e32\u6d41 30 FPS \u4e5f\u53ea\u6709 30 KB\/s \u7684\u6d41\u91cf\uff0c\u56e0\u6b64\u5728\u7535\u8111\u7aef\u76f4\u63a5\u53d1\u9001\u5b8c\u6574\u5c4f\u5e55\u6570\u636e\u662f\u5b8c\u5168\u53ef\u4ee5\u63a5\u53d7\u7684\u3002<\/p>\n<p>\u5e76\u4e14\u5927\u90e8\u5206\u56fe\u50cf\u5904\u7406\u5de5\u4f5c\u90fd\u5728\u7535\u8111\u7aef\u5904\u7406\u5b8c\u6210\u4e86\uff0cESP32-S3 \u7684\u56fa\u4ef6\u5728\u5b9e\u73b0\u6e32\u67d3\u65f6\u538b\u529b\u5c31\u4f1a\u5c0f\u5f88\u591a\uff0c\u53ea\u9700\u8981 <strong>\u63a5\u6536\u6570\u636e-&gt;\u5199\u5165 OLED \u663e\u5b58<\/strong> \u5373\u53ef\u3002<\/p>\n<p>\u901a\u4fe1\u534f\u8bae\u4e3a\u4e86\u7701\u4e8b\uff0c<strong>\u76f4\u63a5\u4f7f\u7528 WebSocket \u4e86\uff0c\u8fd9\u6837\u76f4\u63a5\u4e00\u4e2a\u6d88\u606f\u5c31\u662f\u4e00\u5e27\u6570\u636e<\/strong>\uff0c\u4e0d\u7528\u989d\u5916\u8bbe\u8ba1\u4e00\u4e2a Socket \u901a\u4fe1\u534f\u8bae\u3002<\/p>\n<p><strong>\u5b8c\u6574\u7684\u4e32\u6d41\u6d41\u7a0b\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/strong><\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/12\/esp32-oled-streaming-2.jpg\" alt=\"esp32-oled-streaming-2\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E7%94%B5%E8%84%91%E7%AB%AF%E8%84%9A%E6%9C%AC\"><\/span>\u7535\u8111\u7aef\u811a\u672c<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728\u7535\u8111\u7aef\uff0c\u4e3b\u8981\u662f\u4f7f\u7528 ffmpeg \u5e93\uff0c\u5c06\u89c6\u9891\u89e3\u6790\u4e3a\u72ec\u7acb\u7684\u5e27\uff0c\u5e76\u4e14\u5c06\u6bcf\u4e00\u5e27\u5904\u7406\u4e3a\u76ee\u6807\u683c\u5f0f\uff0c\u5728 OLED \u7684\u573a\u666f\u4e0b\u5b8c\u6574\u7684\u6b65\u9aa4\u4e3a\uff1a<\/p>\n<p><strong>\u7f29\u653e\u5230\u76ee\u6807\u5c3a\u5bf8\uff08128x64\uff09-&gt; \u7070\u5ea6\u5316 -&gt; \u4e8c\u503c\u5316 -&gt; \u7f16\u7801\u4e3a OLED \u6570\u636e\u683c\u5f0f<\/strong><\/p>\n<p>\u4ee3\u7801\u76f4\u63a5\u7528 Node.js + fluent-ffmpeg \u5e93\u7f16\u5199\u3002<\/p>\n<p><strong>ffmpeg \u5904\u7406\u4ee3\u7801<\/strong><\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/12\/esp32-oled-streaming-3.jpg\" alt=\"esp32-oled-streaming-3\" \/><\/p>\n<p><strong>\u6267\u884c\u63a8\u6d41\u811a\u672c<\/strong><\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/12\/esp32-oled-streaming-4.jpg\" alt=\"esp32-oled-streaming-4\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"ESP32-S3_%E5%9B%BA%E4%BB%B6%E5%AE%9E%E7%8E%B0\"><\/span>ESP32-S3 \u56fa\u4ef6\u5b9e\u73b0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728\u56fa\u4ef6\u4fa7\u5c31\u6bd4\u8f83\u7b80\u5355\u4e86\uff0c\u76f4\u63a5\u4f7f\u7528 WebSockets \u5e93\u521b\u5efa\u4e00\u4e2a WebSocket Server\uff0c\u7136\u540e\u76d1\u542c\u5728 81 \u7aef\u53e3\uff0c\u63a5\u6536\u5230 Binary \u7c7b\u578b\u7684\u6d88\u606f\u65f6\uff0c\u76f4\u63a5\u4f5c\u4e3a\u5b8c\u6574\u7684\u4e00\u5e27\u5c4f\u5e55\u6570\u636e\u53d1\u9001\u5230\u6e32\u67d3\u961f\u5217\u8fdb\u884c\u663e\u793a\u3002<\/p>\n<p>\u8fd9\u91cc\u989d\u5916\u8bbe\u7f6e\u4e86\u4e00\u4e2a\u6e32\u67d3\u961f\u5217\u4efb\u52a1\uff0c\u5145\u5206\u5229\u7528\u4e00\u4e0b ESP32-S3 \u7684\u53cc\u6838\u80fd\u529b \ud83d\ude03\u3002<\/p>\n<p><strong>\u5c06 WS Binary \u6d88\u606f\u6570\u636e\u53d1\u9001\u5230\u6e32\u67d3\u961f\u5217<\/strong><\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/12\/esp32-oled-streaming-5.jpg\" alt=\"esp32-oled-streaming-5\" \/><\/p>\n<p><strong>\u6e32\u67d3\u961f\u5217\u4e2d\u76f4\u63a5\u5c06\u6570\u636e\u663e\u793a\u5230 OLED<\/strong><\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/12\/esp32-oled-streaming-6.png\" alt=\"esp32-oled-streaming-6\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%B0%8F%E7%BB%93\"><\/span>\u5c0f\u7ed3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728\u76ee\u6807\u5c4f\u5e55\u662f OLED \u7684\u60c5\u51b5\u4e0b\uff0c\u4ece\u7535\u8111\u76f4\u63a5\u63a8\u6d41\u5230 ESP32-S3 + OLED \u663e\u793a\u8fd8\u662f\u633a\u65b9\u4fbf\u7684\uff0c\u6548\u679c\u4e5f\u8fd8\u4e0d\u9519\uff0c\u540e\u9762\u8bd5\u8bd5\u770b\u641e\u4e2a\u5f69\u8272 LCD\uff0c\u770b\u770b\u63a8\u6d41 + \u89e3\u7801 + \u6e32\u67d3\u7684\u60c5\u51b5\u4e0b\uff0cESP32-S3 \u80fd\u8fbe\u5230\u4ec0\u4e48\u6837\u7684\u6548\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e4b\u524d\u641e\u4e86\u4e2a\u5c0f\u7535\u8111\u4f7f\u7528 ESP32-S3 + OLED \u663e\u793a\u89c6\u9891\uff08\u89c1 3 \u6b65\u4ece n &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/xujiwei.com\/blog\/2026\/03\/esp32-oled-streaming\/\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":2005,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[402],"tags":[262,328,372],"_links":{"self":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/2090"}],"collection":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/comments?post=2090"}],"version-history":[{"count":0,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/2090\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media\/2005"}],"wp:attachment":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media?parent=2090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/categories?post=2090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/tags?post=2090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}