{"id":1656,"date":"2025-03-24T21:20:01","date_gmt":"2025-03-24T13:20:01","guid":{"rendered":"https:\/\/xujiwei.com\/blog\/?p=1656"},"modified":"2025-03-24T21:20:01","modified_gmt":"2025-03-24T13:20:01","slug":"make-the-smart-uvled","status":"publish","type":"post","link":"https:\/\/xujiwei.com\/blog\/2025\/03\/make-the-smart-uvled\/","title":{"rendered":"\u5f00\u6e90\u4e86\uff0c\u667a\u80fdUV\u80f6\u7d2b\u5916\u7ebf\u56fa\u5316\u706f\u590d\u523b\u6559\u7a0b"},"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-69e143705cb51\" 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-69e143705cb51\"  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\/2025\/03\/make-the-smart-uvled\/#%E5%85%83%E4%BB%B6%E5%88%97%E8%A1%A8\" title=\"\u5143\u4ef6\u5217\u8868\">\u5143\u4ef6\u5217\u8868<\/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\/2025\/03\/make-the-smart-uvled\/#PCB\" title=\"PCB\">PCB<\/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\/2025\/03\/make-the-smart-uvled\/#%E5%A4%96%E5%A3%B3\" title=\"\u5916\u58f3\">\u5916\u58f3<\/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\/2025\/03\/make-the-smart-uvled\/#%E7%BB%84%E8%A3%85\" title=\"\u7ec4\u88c5\">\u7ec4\u88c5<\/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\/2025\/03\/make-the-smart-uvled\/#%E7%83%A7%E5%BD%95%E5%9B%BA%E4%BB%B6\" title=\"\u70e7\u5f55\u56fa\u4ef6\">\u70e7\u5f55\u56fa\u4ef6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/xujiwei.com\/blog\/2025\/03\/make-the-smart-uvled\/#%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE\" title=\"\u5f00\u6e90\u9879\u76ee\">\u5f00\u6e90\u9879\u76ee<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/xujiwei.com\/blog\/2025\/03\/make-the-smart-uvled\/#%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99\" title=\"\u53c2\u8003\u8d44\u6599\">\u53c2\u8003\u8d44\u6599<\/a><\/li><\/ul><\/nav><\/div>\n<p>\u4e0a\u5468\u5206\u4eab\u4e86\u4e00\u4e2a\u57fa\u4e8e CH32V003 \u7684\u7d2b\u5916\u7ebf\u56fa\u5316\u706f\uff0c\u300a<a href=\"https:\/\/mp.weixin.qq.com\/s\/wHZhnsB5hStAvb1dgFwkRg\">7\u6bdb\u94b1MCU\u80fd\u505a\u5565\uff0c\u641e\u4e2a\u667a\u80fdUV\u7d2b\u5916\u7ebf\u56fa\u5316\u706f<\/a>\u300b\uff0c\u5468\u672b\u6574\u7406\u4e86\u4e00\u4e0b\u76f8\u5173\u7684\u8d44\u6599\uff0c\u628a\u8fd9\u4e2a\u9879\u76ee\u5f00\u6e90\u51fa\u6765\uff0c\u6709\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u590d\u523b\u4e00\u4e2a\uff5e<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/03\/make-smart-uvled-1.jpg\" alt=\"make-smart-uvled-1\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%85%83%E4%BB%B6%E5%88%97%E8%A1%A8\"><\/span>\u5143\u4ef6\u5217\u8868<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>MCU\u3001\u98ce\u6247\u3001\u5c4f\u5e55\u7b49\u53ef\u4ee5\u5728\u6dd8\u5b9d\u8d2d\u4e70\uff0c\u5176\u4ed6 PCB BOM \u4e2d\u7684\u5143\u4ef6\u57fa\u672c\u4e0a\u90fd\u53ef\u4ee5\u5728\u7acb\u521b\u5546\u57ce\u627e\u5230\u3002<\/p>\n<ul>\n<li>CH32V003F4P6\uff1a\u6dd8\u5b9d\u8d2d\u4e70\uff0c\u4e00\u822c 7 \u6bdb\u7684\u6837\u5b50<\/li>\n<li>OLED\uff1a0.96 \u82f1\u5bf8\uff0c\u5206\u8fa8\u7387 128x64\uff0c\u5f15\u811a\u987a\u5e8f GND\u3001VCC\u3001SCK\u3001SDA<\/li>\n<li>\u98ce\u6247\uff1a5V \u8d85\u8584\u94dd\u6563\u70ed\u98ce\u6247\uff0cPH2.0 \u63a5\u53e3\uff0c\u5c3a\u5bf8 4x4x1.2cm<\/li>\n<li>LED \u9a71\u52a8 DX1240\uff1a\u7acb\u521b\u5546\u57ce\u8d2d\u4e70<\/li>\n<li>UVLED\uff1a\u539f\u7406\u56fe\u4e0d\u5bf9\uff0c\u5b9e\u9645\u578b\u53f7 JNJ-L-3535EW90-36530-SL-G1\uff0c\u7acb\u521b\u5546\u57ce\u8d2d\u4e70<\/li>\n<li>\u8239\u5f62\u5f00\u5173\uff1a10.5x15mm \u89c4\u683c\u4e24\u811a\u7684\uff0c\u7acb\u521b\u5546\u57ce\u6709<\/li>\n<li>\u81ea\u653b\u87ba\u4e1d\uff1aM2x16\uff0cM2x5\uff0c\u4e24\u79cd\u89c4\u683c<\/li>\n<li>\u9502\u7535\u6c60\uff1a503040 \u89c4\u683c\uff0cPH2.0 \u63d2\u5934<\/li>\n<li>NTC \u7535\u963b\uff1a10K 3950 \u7ebf\u4e0a 10cm\uff0c\u9700\u8981\u81ea\u5df1\u505a PH2.0 \u7684\u63d2\u5934<\/li>\n<\/ul>\n<p>\u5176\u4ed6\u5143\u4ef6\u4f7f\u7528 BOM \u8868\u91cc\u9762\u7684\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u603b\u5171\u6210\u672c\u5927\u6982\u5728 50 \u5de6\u53f3\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"PCB\"><\/span>PCB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u8fd9\u4e2a\u9879\u76ee\u9700\u8981\u4e24\u5757 PCB\uff0c\u4e00\u4e2a\u4f7f\u7528\u94dd\u57fa\u677f\u7684 LED \u706f\u677f\uff0c\u4e00\u5757\u4e3b\u63a7\u677f\u3002<\/p>\n<ul>\n<li>\u4e3b\u63a7\u677f\u4f7f\u7528\u666e\u901a FR-4\uff0c\u677f\u539a 1.6mm<\/li>\n<li>LED \u706f\u677f\u4f7f\u7528\u94dd\u57fa\u677f\uff0c\u677f\u539a 1.6mm<\/li>\n<\/ul>\n<p><strong>\u4e3b\u63a7\u677f<\/strong><\/p>\n<p>H5 \u7684\u4f4d\u7f6e\u4f7f\u7528 2.54mm \u7684\u6392\u9488\uff0c\u7136\u540e\u5c06\u8239\u5f62\u5f00\u5173\u710a\u63a5\u5728\u4e0a\u9762\uff0c\u53ef\u4ee5\u770b\u540e\u9762\u7ec4\u88c5\u90e8\u5206\u7684\u7167\u7247\u3002<\/p>\n<p>\u70e7\u5f55\u6392\u9488\u53ef\u4ee5\u53ea\u710a\u63a5 V5\u3001GND\u3001SDIO\uff0c\u9632\u6b62\u540e\u7eed\u5b89\u88c5\u65f6\u4f1a\u548c\u5916\u58f3\u6709\u78b0\u649e\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/03\/make-smart-uvled-2.png\" alt=\"make-smart-uvled-2\" \/><\/p>\n<p><strong>LED \u706f\u94dd\u57fa\u677f<\/strong><\/p>\n<p>\u706f\u73e0\u710a\u63a5\u65f6\u6ce8\u610f\u65b9\u5411\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/03\/make-smart-uvled-3.jpg\" alt=\"make-smart-uvled-3\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%A4%96%E5%A3%B3\"><\/span>\u5916\u58f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5916\u58f3\u5206\u4e3a\u56db\u4e2a\u90e8\u5206\uff0c\u4e3b\u4f53\u5916\u58f3 3D \u6253\u5370\u65f6\u9700\u8981\u4f7f\u7528\u5f00\u542f\u652f\u6491\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/03\/make-smart-uvled-4.jpg\" alt=\"make-smart-uvled-4\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E7%BB%84%E8%A3%85\"><\/span>\u7ec4\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u7ec4\u88c5\u524d\u53ef\u4ee5\u5148\u5c06 4 \u4e2a PH2.0 \u63d2\u5934\u8fde\u63a5\u597d\u5e76\u5237\u5230\u56fa\u4ef6\u6d4b\u8bd5\u4e00\u4e0b\u518d\u8fdb\u884c\u5b8c\u6574\u7684\u7ec4\u88c5\u3002<\/p>\n<p>\u7ec4\u88c5\u6b65\u9aa4\uff1a<\/p>\n<ol>\n<li>\u5148\u7528\u9ad8\u6e29\u80f6\u5e26\u5c06 NTC \u7535\u963b\u8d34\u5728\u6563\u70ed\u98ce\u6247\u4e0a\uff0c\u5e76\u5c06\u7ebf\u4ece\u4e0d\u4f1a\u78b0\u5230\u6247\u53f6\u7684\u9f7f\u4e2d\u7a7f\u5230\u80cc\u9762<\/li>\n<li>\u4f7f\u7528 M2x16 \u81ea\u653b\u87ba\u4e1d\u5c06\u98ce\u6247\u56fa\u5b9a\u5728\u5916\u58f3\u4e0a<\/li>\n<li>\u628a LED \u63d2\u5934\u3001\u98ce\u6247\u63d2\u5934\u3001NTC \u7535\u963b\u63d2\u5934\u90fd\u7a7f\u8fc7\u98ce\u6247\uff0c\u62c9\u5230\u4e0a\u9762<\/li>\n<li>\u5c06\u7535\u6c60\u8d34\u5728\u7535\u6c60\u677f\u4e0a\uff0c\u653e\u5165\u4e3b\u4f53\u5916\u58f3<\/li>\n<li>\u5c06 4 \u4e2a PH 2.0 \u63d2\u5934\u90fd\u8fde\u63a5\u4e0a<\/li>\n<li>\u628a\u4e3b\u63a7\u677f\u653e\u5728\u5916\u58f3\u91cc\uff0c\u56db\u4e2a\u89d2\u4f7f\u7528 M2x5 \u81ea\u653b\u87ba\u4e1d\u56fa\u5b9a<\/li>\n<li>\u628a\u9876\u76d6\u653e\u5165\u5916\u58f3\uff0c\u56db\u4e2a\u89d2\u4f7f\u7528 M2x5 \u81ea\u653b\u87ba\u4e1d\u56fa\u5b9a<\/li>\n<li>\u7ec4\u88c5\u5b8c\u6210<\/li>\n<\/ol>\n<p><strong>\u7ec4\u88c5\u4e3b\u8981\u90e8\u4ef6<\/strong><\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/03\/make-smart-uvled-5.jpg\" alt=\"make-smart-uvled-5\" \/><\/p>\n<p><strong>PCB \u80cc\u9762\u53ca\u7535\u6c60<\/strong><\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/03\/make-smart-uvled-6.jpg\" alt=\"make-smart-uvled-6\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E7%83%A7%E5%BD%95%E5%9B%BA%E4%BB%B6\"><\/span>\u70e7\u5f55\u56fa\u4ef6<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6211\u5728\u662f macOS \u4e0b\u8fdb\u884c\u56fa\u4ef6\u70e7\u5f55\u7684\uff0c\u63d0\u524d\u8d2d\u4e70 WCH-LinkE \u7f16\u7a0b\u5668\uff0c\u5e76\u4e14\u63d0\u524d\u5b89\u88c5\u597d wlink \u5de5\u5177\u3002<\/p>\n<p>wlink \u53ef\u4ee5\u5728 <code>https:\/\/github.com\/ch32-rs\/wlink<\/code> \u9879\u76ee\u4e2d\u4e0b\u8f7d\u3002<\/p>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u70e7\u5f55\u3002<\/p>\n<pre><code class=\"language-bash\">wlink flash --address 0x8000000 .\/firmware\/binaries\/firmware.bin<\/code><\/pre>\n<p>\u70e7\u5f55\u5b8c\u6210\u540e\u5c31\u53ef\u4ee5\u4f7f\u7528\u4e86\uff1a<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2025\/03\/make-smart-uvled-7.jpg\" alt=\"make-smart-uvled-7\" \/><\/p>\n<p>\u56fa\u4ef6\u4ee3\u7801\u53ef\u4ee5\u5728 GitHub \u4ed3\u5e93\u4e2d\u67e5\u770b\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE\"><\/span>\u5f00\u6e90\u9879\u76ee<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>PCB\u3001\u56fa\u4ef6\u3001\u5916\u58f3\n<ul>\n<li><a href=\"https:\/\/oshwhub.com\/wandaeda\/ji-yu-ch32v003-de-zhi-neng-uv-zi-wai-gu-hua-deng\">https:\/\/oshwhub.com\/wandaeda\/ji-yu-ch32v003-de-zhi-neng-uv-zi-wai-gu-hua-deng<\/a><\/li>\n<\/ul>\n<\/li>\n<li>\u56fa\u4ef6\u53ca\u5916\u58f3\n<ul>\n<li><a href=\"https:\/\/github.com\/ohdarling\/CH32V003-UVLED\">https:\/\/github.com\/ohdarling\/CH32V003-UVLED<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99\"><\/span>\u53c2\u8003\u8d44\u6599<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/ohdarling\/CH32V003-UVLED\">https:\/\/github.com\/ohdarling\/CH32V003-UVLED<\/a><\/li>\n<li><a href=\"https:\/\/oshwhub.com\/wandaeda\/ji-yu-ch32v003-de-zhi-neng-uv-zi-wai-gu-hua-deng\">https:\/\/oshwhub.com\/wandaeda\/ji-yu-ch32v003-de-zhi-neng-uv-zi-wai-gu-hua-deng<\/a><\/li>\n<li><a href=\"https:\/\/mp.weixin.qq.com\/s\/wHZhnsB5hStAvb1dgFwkRg\">https:\/\/mp.weixin.qq.com\/s\/wHZhnsB5hStAvb1dgFwkRg<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/ch32-rs\/wlink\">https:\/\/github.com\/ch32-rs\/wlink<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u5468\u5206\u4eab\u4e86\u4e00\u4e2a\u57fa\u4e8e CH32V003 \u7684\u7d2b\u5916\u7ebf\u56fa\u5316\u706f\uff0c\u300a7\u6bdb\u94b1MCU\u80fd\u505a\u5565\uff0c\u641e\u4e2a &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/xujiwei.com\/blog\/2025\/03\/make-the-smart-uvled\/\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":1649,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[402],"tags":[359,370,386],"_links":{"self":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/1656"}],"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=1656"}],"version-history":[{"count":0,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/1656\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media\/1649"}],"wp:attachment":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media?parent=1656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/categories?post=1656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/tags?post=1656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}