{"id":1191,"date":"2024-02-19T11:10:45","date_gmt":"2024-02-19T03:10:45","guid":{"rendered":"https:\/\/xujiwei.com\/blog\/?p=1191"},"modified":"2024-04-28T23:03:53","modified_gmt":"2024-04-28T15:03:53","slug":"diy-usb-meter-pcb-design","status":"publish","type":"post","link":"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/","title":{"rendered":"DIY USB \u7535\u6d41\u8868\uff082\uff09\uff1aPCB \u5e03\u5c40\u5e03\u7ebf"},"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-69eb9386d5af7\" 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-69eb9386d5af7\"  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\/2024\/02\/diy-usb-meter-pcb-design\/#%E5%B8%83%E5%B1%80%E5%B8%83%E7%BA%BF%E6%95%88%E6%9E%9C%E9%A2%84%E8%A7%88\" title=\"\u5e03\u5c40\u5e03\u7ebf\u6548\u679c\u9884\u89c8\">\u5e03\u5c40\u5e03\u7ebf\u6548\u679c\u9884\u89c8<\/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\/2024\/02\/diy-usb-meter-pcb-design\/#%E8%BD%AC%E6%8D%A2%E5%8E%9F%E7%90%86%E5%9B%BE%E5%88%B0_PCB\" title=\"\u8f6c\u6362\u539f\u7406\u56fe\u5230 PCB\">\u8f6c\u6362\u539f\u7406\u56fe\u5230 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\/2024\/02\/diy-usb-meter-pcb-design\/#%E5%B8%83%E5%B1%80%E5%B8%83%E7%BA%BF\" title=\"\u5e03\u5c40\u5e03\u7ebf\">\u5e03\u5c40\u5e03\u7ebf<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/#%E8%AE%BE%E8%AE%A1%E9%A2%84%E6%9C%9F%E5%A4%96%E5%BD%A2\" title=\"\u8bbe\u8ba1\u9884\u671f\u5916\u5f62\">\u8bbe\u8ba1\u9884\u671f\u5916\u5f62<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/#%E5%88%9D%E6%AD%A5%E7%A1%AE%E5%AE%9A%E5%B8%83%E5%B1%80\" title=\"\u521d\u6b65\u786e\u5b9a\u5e03\u5c40\">\u521d\u6b65\u786e\u5b9a\u5e03\u5c40<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/#%E7%B2%BE%E7%BB%86%E8%B0%83%E6%95%B4%E5%B8%83%E5%B1%80\" title=\"\u7cbe\u7ec6\u8c03\u6574\u5e03\u5c40\">\u7cbe\u7ec6\u8c03\u6574\u5e03\u5c40<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/#%E5%B0%9D%E8%AF%95%E8%87%AA%E5%8A%A8%E5%B8%83%E7%BA%BF\" title=\"\u5c1d\u8bd5\u81ea\u52a8\u5e03\u7ebf\">\u5c1d\u8bd5\u81ea\u52a8\u5e03\u7ebf<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/#%E6%89%8B%E5%B7%A5%E5%AE%8C%E6%88%90%E5%B8%83%E7%BA%BF\" title=\"\u624b\u5de5\u5b8c\u6210\u5e03\u7ebf\">\u624b\u5de5\u5b8c\u6210\u5e03\u7ebf<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/#PCB_%E9%A2%84%E8%A7%88%E5%8F%8A_3D_%E6%95%88%E6%9E%9C%E5%9B%BE\" title=\"PCB \u9884\u89c8\u53ca 3D \u6548\u679c\u56fe\">PCB \u9884\u89c8\u53ca 3D \u6548\u679c\u56fe<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/#DRC_%E8%A7%84%E5%88%99%E6%A3%80%E6%9F%A5\" title=\"DRC \u89c4\u5219\u68c0\u67e5\">DRC \u89c4\u5219\u68c0\u67e5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/#%E4%B8%8B%E5%8D%95%E7%94%9F%E4%BA%A7\" title=\"\u4e0b\u5355\u751f\u4ea7\">\u4e0b\u5355\u751f\u4ea7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/#%E9%A1%B9%E7%9B%AE%E5%BC%80%E6%BA%90%E5%9C%B0%E5%9D%80\" title=\"\u9879\u76ee\u5f00\u6e90\u5730\u5740\">\u9879\u76ee\u5f00\u6e90\u5730\u5740<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/#DIY_USB_%E7%94%B5%E6%B5%81%E8%A1%A8%E7%B3%BB%E5%88%97%E7%9B%AE%E5%BD%95\" title=\"DIY USB \u7535\u6d41\u8868\u7cfb\u5217\u76ee\u5f55\">DIY USB \u7535\u6d41\u8868\u7cfb\u5217\u76ee\u5f55<\/a><\/li><\/ul><\/nav><\/div>\n<p>\u5728\u524d\u4e00\u7bc7 <a href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-schematic\/\">\u300aDIY USB \u7535\u6d41\u8868\uff081\uff09\uff1a\u5143\u4ef6\u9009\u578b\u548c\u539f\u7406\u56fe\u7ed8\u5236\u300b<\/a> \u4e2d\u4ecb\u7ecd\u4e86 DIY \u4e00\u4e2a USB \u7535\u6d41\u8868\u7684\u9700\u6c42\u5217\u8868\uff0c\u4ee5\u53ca\u5c06\u5b83\u6240\u9700\u8981\u7684\u5143\u4ef6\u786e\u5b9a\u4e0b\u6765\uff0c\u5e76\u5728\u7acb\u521b EDA \u4e2d\u5c06\u6574\u4f53\u529f\u80fd\u7684\u539f\u7406\u56fe\u7ed8\u5236\u5b8c\u6210\uff0c\u73b0\u5728\u5c31\u53ef\u4ee5\u5f00\u59cb\u5728\u7acb\u521b EDA \u4e2d\u8fdb\u884c\u5e03\u5c40\u5e03\u7ebf\u4e86\u3002<\/p>\n<p>PS. \u6211\u4e5f\u8fd8\u662f\u4e00\u4e2a\u521d\u5b66\u8005\uff0c\u5982\u679c\u6587\u7ae0\u4e2d\u6709\u4e00\u4e9b\u9519\u8bef\u6216\u4e0d\u8db3\uff0c\u8fd8\u8bf7\u591a\u591a\u6307\u6559\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%B8%83%E5%B1%80%E5%B8%83%E7%BA%BF%E6%95%88%E6%9E%9C%E9%A2%84%E8%A7%88\"><\/span>\u5e03\u5c40\u5e03\u7ebf\u6548\u679c\u9884\u89c8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-preview-top.png\" alt=\"pcb preview\" style=\"max-width:500px;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E8%BD%AC%E6%8D%A2%E5%8E%9F%E7%90%86%E5%9B%BE%E5%88%B0_PCB\"><\/span>\u8f6c\u6362\u539f\u7406\u56fe\u5230 PCB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u901a\u8fc7\u7acb\u521b EDA \u7684 <strong>\u8bbe\u8ba1&gt;\u66f4\u65b0\/\u8f6c\u6362\u539f\u7406\u56fe\u5230PCB<\/strong> \u83dc\u5355\uff0c\u5c31\u53ef\u4ee5\u5c06\u539f\u7406\u56fe\u4e2d\u6240\u6709\u5143\u4ef6\u653e\u7f6e\u5230 PCB \u8bbe\u8ba1\u9875\u9762\u4e2d\uff0c\u5e76\u4e14\u5df2\u7ecf\u90fd\u5c06\u6bcf\u4e2a\u5143\u4ef6\u7684\u7f51\u7edc\u914d\u7f6e\u4e14\u8fde\u63a5\u597d\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-step-1.png\" alt=\"pcb design 1\" style=\"max-width:500px;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%B8%83%E5%B1%80%E5%B8%83%E7%BA%BF\"><\/span>\u5e03\u5c40\u5e03\u7ebf<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"%E8%AE%BE%E8%AE%A1%E9%A2%84%E6%9C%9F%E5%A4%96%E5%BD%A2\"><\/span>\u8bbe\u8ba1\u9884\u671f\u5916\u5f62<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u6211\u4eec\u9996\u5148\u9700\u8981\u505a\u7684\u5c31\u662f\u5c06\u5143\u4ef6\u6839\u636e\u7528\u9014\u5927\u6982\u653e\u7f6e\u5230\u5bf9\u5e94\u7684\u533a\u57df\uff0c\u5148\u6765\u6839\u636e\u76ee\u6807\u7684\u5f62\u6001\u7ed8\u5236\u4e00\u4e2a\u8349\u56fe\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-step-2.png\" alt=\"pcb design 2\" style=\"max-width:500px;\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E5%88%9D%E6%AD%A5%E7%A1%AE%E5%AE%9A%E5%B8%83%E5%B1%80\"><\/span>\u521d\u6b65\u786e\u5b9a\u5e03\u5c40<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u9996\u5148\u4f7f\u7528\u653e\u7f6e\u677f\u6846\u529f\u80fd\uff0c\u753b\u4e00\u4e2a PCB \u7684\u8fb9\u6846\uff0c\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9884\u671f PCB \u5927\u5c0f\uff0c\u5c06\u677f\u6846\u8bbe\u7f6e\u6210\u90a3\u4e2a\u5c3a\u5bf8\uff0c\u4f8b\u5982\u8fd9\u91cc\u5148\u8bbe\u7f6e\u6210 45mm*70mm\u3002<\/p>\n<p>\u8fd9\u91cc\u53ef\u4ee5\u4f7f\u7528\u7acb\u521b EDA \u7684\u4ea4\u53c9\u9009\u62e9\u529f\u80fd\uff0c\u5728\u539f\u7406\u56fe\u4e2d\u9009\u62e9\u5bf9\u5e94\u529f\u80fd\u533a\u57df\u7684\u5143\u4ef6\uff0c\u7136\u540e\u6309 <strong>Shift+X<\/strong>\uff0c\u5c31\u53ef\u4ee5\u5728 PCB \u8bbe\u8ba1\u9875\u9762\u4e2d\u9009\u62e9\u5bf9\u5e94\u7684\u5143\u4ef6\uff0c\u65b9\u4fbf\u5c06\u5f52\u5c5e\u4e8e\u540c\u4e00\u529f\u80fd\u7684\u5143\u4ef6\u90fd\u9009\u4e2d\uff0c\u7136\u540e\u653e\u7f6e\u5230\u76ee\u6807\u4f4d\u7f6e\u53bb\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-step-3.png\" alt=\"pcb layout\" style=\"max-width:500px;\" \/><\/p>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u5927\u6982\u5c06\u6574\u4f53\u5e03\u5c40\u786e\u5b9a\u4e0b\u6765\uff0c\u540e\u7eed\u5c31\u53ef\u4ee5\u5728\u8fd9\u4e2a\u57fa\u7840\u4e0a\u8fdb\u884c\u5e03\u7ebf\u4e86\uff0c\u5f53\u7136\u6700\u7ec8\u6548\u679c\u4f1a\u6bd4\u8fd9\u4e2a\u7d27\u51d1\u5f88\u591a\uff0c\u53ef\u4ee5\u5728\u5e03\u7ebf\u8fc7\u7a0b\u4e2d\u4e0d\u65ad\u8c03\u6574\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E7%B2%BE%E7%BB%86%E8%B0%83%E6%95%B4%E5%B8%83%E5%B1%80\"><\/span>\u7cbe\u7ec6\u8c03\u6574\u5e03\u5c40<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5728\u521d\u6b65\u786e\u5b9a\u5e03\u5c40\u4e4b\u540e\uff0c\u5c31\u53ef\u4ee5\u6839\u636e\u6bcf\u4e2a\u6a21\u5757\u7684\u529f\u80fd\uff0c\u5c06\u5b83\u4eec\u76ee\u6807\u7684\u5e03\u5c40\u786e\u5b9a\u4e0b\u6765\uff0c\u4f8b\u5982\u8fd9\u91cc DC-DC \u6a21\u5757\uff0c\u5c31\u53ef\u4ee5\u6839\u636e\u4e00\u822c DC-DC \u6a21\u5757\u5e03\u5c40\u7684\u9700\u6c42\uff0c\u5148\u628a\u76f8\u5173\u7535\u963b\u3001\u7535\u5bb9\u3001\u7535\u611f\u7684\u4f4d\u7f6e\u653e\u7f6e\u5b8c\u6bd5\uff0c\u518d\u8fdb\u884c\u6700\u540e\u7684\u5e03\u7ebf\u3002<\/p>\n<p>\u50cf MCU \u548c INA219 \u7684\u53bb\u8026\u7535\u5bb9\uff0c\u5728\u8fd9\u4e00\u6b65\u4e5f\u53ef\u4ee5\u5c31\u8fd1\u653e\u5230\u5b83\u4eec\u7684\u7535\u6e90\u5f15\u811a\u9644\u8fd1\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-step-4.png\" alt=\"pcb layout 2\" style=\"max-width:500px;\" \/><\/p>\n<p>\u5728\u7ecf\u8fc7\u8fd9\u4e00\u6b65\u8c03\u6574\u5e03\u5c40\u540e\uff0c\u6574\u4f53 PCB \u7684\u5c3a\u5bf8\u53c8\u53ef\u4ee5\u6839\u636e\u65b0\u7684\u5143\u4ef6\u5e03\u5c40\u8c03\u6574\u4e00\u4e0b\u4e86\uff0c\u8fd9\u91cc\u5c31\u53ef\u4ee5\u8c03\u6574\u5230 30mm*55mm\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E5%B0%9D%E8%AF%95%E8%87%AA%E5%8A%A8%E5%B8%83%E7%BA%BF\"><\/span>\u5c1d\u8bd5\u81ea\u52a8\u5e03\u7ebf<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5bf9\u4e8e USB \u7535\u6d41\u8868\u8fd9\u79cd\u4f4e\u901f\u901a\u4fe1\u9879\u76ee\uff0c\u4e5f\u53ef\u4ee5\u5c1d\u8bd5\u4e00\u4e0b\u81ea\u52a8\u5e03\u7ebf\u3002\u7acb\u521b EDA \u81ea\u5e26\u4e86\u4e00\u4e2a\u81ea\u52a8\u5e03\u7ebf\u529f\u80fd\uff0c\u901a\u8fc7\u83dc\u5355 <strong>\u5e03\u7ebf&gt;\u81ea\u52a8\u5e03\u7ebf...<\/strong> \u5c31\u53ef\u4ee5\u6253\u5f00\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-step-5.png\" alt=\"pcb auto layout\" style=\"max-width:500px;\" \/><\/p>\n<p>\u4e0d\u8fc7\u7acb\u521b EDA \u7684\u81ea\u52a8\u5e03\u7ebf\u529f\u80fd\u5e76\u4e0d\u662f\u592a\u5b9e\u7528\uff0c\u5927\u591a\u6570\u65f6\u5019\u53ef\u80fd\u6ca1\u529e\u6cd5\u5b8c\u6210\u9700\u6c42\uff0c\u4e4b\u524d\u5c1d\u8bd5\u8fc7\u51e0\u6b21\uff0c\u53ea\u80fd\u5728\u7f51\u7edc\u66f4\u7b80\u5355\u7684\u60c5\u51b5\u4e0b\u53ef\u4ee5\u5b8c\u6210\uff0c\u53ef\u4ee5\u770b\u5230\u5728\u8fd9\u4e2a\u9879\u76ee\u4e2d\uff0c\u6709\u4e00\u4e9b\u7f51\u7edc\u5b83\u6ca1\u529e\u6cd5\u8fde\u901a\uff0c\u6574\u4f53\u5e03\u7ebf\u4e5f\u662f\u4e0d\u53ef\u7528\u72b6\u6001\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-step-6.png\" alt=\"pcb auto layout 2\" style=\"max-width:500px;\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E6%89%8B%E5%B7%A5%E5%AE%8C%E6%88%90%E5%B8%83%E7%BA%BF\"><\/span>\u624b\u5de5\u5b8c\u6210\u5e03\u7ebf<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u65e2\u7136\u81ea\u52a8\u5e03\u7ebf\u4e0d\u53ef\u884c\uff0c\u5c31\u53ea\u80fd\u624b\u5de5\u5e03\u7ebf\u4e86\uff0c\u6574\u4f53\u6765\u8bf4\uff0c\u8fd9\u4e2a\u9879\u76ee\u7684\u5e03\u7ebf\u4e0d\u7b97\u5f88\u590d\u6742\uff0c\u53ea\u662f\u4e24\u4e2a USB Type-C \u76f4\u901a\u90a3\u4e00\u5757\u6bd4\u8f83\u591a\u9700\u8981\u4f7f\u7528\u8fc7\u5b54\u6765\u5b8c\u6210\u4ea4\u53c9\u7684\u8fde\u63a5\uff0c\u5176\u4ed6\u5730\u65b9\u90fd\u53ef\u4ee5\u76f4\u63a5\u8d70\u901a\u3002<\/p>\n<p><strong>PCB \u6b63\u9762<\/strong><\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-top.png\" alt=\"pcb top layer\" style=\"max-width:500px;\" \/><\/p>\n<p>\u8fd9\u91cc\u4e3a\u4e86\u65b9\u4fbf\u624b\u5de5\u710a\u63a5\uff0c\u6240\u6709\u5143\u4ef6\u90fd\u653e\u5728\u4e86 PCB \u6b63\u9762\uff0c\u8fd9\u6837\u901a\u8fc7\u52a0\u70ed\u53f0\u53ef\u4ee5\u4e00\u6b21\u6027\u710a\u63a5\u5b8c\u6210\u3002<\/p>\n<p>\u56e0\u4e3a PCB \u6b63\u9762\u5df2\u7ecf\u653e\u6ee1\u4e86\u5143\u4ef6\uff0c\u5df2\u7ecf\u6ca1\u6709\u7a7a\u95f4\u8d70 USB \u7684 VBUS \u4fe1\u53f7\uff0c\u56e0\u6b64\u628a VBUS \u901a\u8fc7\u8fc7\u5b54\u5230 PCB \u80cc\u9762\u8d70\u7ebf\u3002<\/p>\n<p><strong>PCB \u53cd\u9762<\/strong><\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-bottom.png\" alt=\"pcb bottom layer\" style=\"max-width:500px;\" \/><\/p>\n<p>\u53e6\u5916\u56e0\u4e3a\u8fd9\u4e2a USB \u7535\u6d41\u8bbe\u8ba1\u6700\u9ad8\u652f\u6301 USB PD 100W \u7684\u68c0\u6d4b\uff0c\u5728\u8fd9\u4e2a\u65f6\u5019\u7535\u6d41\u6700\u9ad8\u4f1a\u5230 5A\uff0c\u4e3a\u4e86\u4fdd\u969c\u6574\u4e2a PCB \u4e0d\u4f1a\u56e0\u4e3a\u9ad8\u7535\u6d41\u51fa\u73b0\u4e25\u91cd\u53d1\u70ed\u7684\u95ee\u9898\uff0cUSB VBUS \u901a\u8fc7\u5341\u51e0\u4e2a\u8fc7\u5b54\u5230\u80cc\u9762\uff0c\u5e76\u4e14\u8d70\u7ebf\u52a0\u5bbd\u5230\u4e86\u8fd1 8mm\u3002<\/p>\n<p>\u540c\u65f6\u4e3a\u4e86\u51cf\u5c0f\u91c7\u6837\u7535\u963b\u7684\u53d1\u70ed\uff0c\u91c7\u6837\u7535\u963b\u4f7f\u7528\u4e86 10m\u03a9 \u7684\u963b\u503c\uff0c\u5e76\u4e14\u4e5f\u662f\u901a\u8fc7\u5f88\u591a\u8fc7\u5b54\u8fde\u63a5\u5230 PCB \u80cc\u9762\u7684\u8d70\u7ebf\u4e0a\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"PCB_%E9%A2%84%E8%A7%88%E5%8F%8A_3D_%E6%95%88%E6%9E%9C%E5%9B%BE\"><\/span>PCB \u9884\u89c8\u53ca 3D \u6548\u679c\u56fe<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728\u5b8c\u6210\u5e03\u5c40\u5e03\u7ebf\u4e4b\u540e\uff0c\u5c31\u53ef\u4ee5\u901a\u8fc7\u7acb\u521b EDA \u7684\u9884\u89c8\u529f\u80fd\uff0c\u770b\u5230\u6700\u7ec8\u8bbe\u8ba1\u5b8c\u6210\u7684 PCB \u6548\u679c\u56fe\u4e86\uff0c\u53ef\u4ee5\u5206\u522b\u67e5\u770b 2D \u6548\u679c\u548c 3D \u6548\u679c\uff0c2D \u6548\u679c\u56fe\u5c31\u662f\u62ff\u5230\u751f\u4ea7\u5b8c\u6210 PCB \u7684\u6837\u5b50\uff0c3D \u6548\u679c\u56fe\u5219\u662f\u5e26\u4e86 3D \u5143\u4ef6\u6837\u5b50\u3002<\/p>\n<p><strong>2D \u9884\u89c8\u6548\u679c\u56fe<\/strong><\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-preview-2d.png\" alt=\"pcb 2d preview\" style=\"max-width:500px;\" \/><\/p>\n<p><strong>3D \u9884\u89c8\u6548\u679c\u56fe<\/strong><\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-preview-3d.png\" alt=\"pcb 3d preview\" style=\"max-width:500px;\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"DRC_%E8%A7%84%E5%88%99%E6%A3%80%E6%9F%A5\"><\/span>DRC \u89c4\u5219\u68c0\u67e5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728\u5b8c\u6210 PCB \u5e03\u5c40\u5e03\u7ebf\u4e4b\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528\u7acb\u521b EDA \u81ea\u5e26\u7684 <strong>\u68c0\u67e5DRC<\/strong> \u529f\u80fd\u6765\u68c0\u67e5 PCB \u7684\u5e03\u7ebf\u662f\u5426\u5b58\u5728\u95ee\u9898\u3002<\/p>\n<blockquote>\n<p>\u8bbe\u8ba1\u89c4\u5219\u68c0\u67e5(Design Rule Check, DRC) \u662f\u5229\u7528AD\u8f6f\u4ef6\u8fdb\u884cPCB\u8bbe\u8ba1\u65f6\u7684\u91cd\u8981\u68c0\u67e5\u5de5\u5177\uff0c\u7cfb\u7edf\u4f1a\u6839\u636e\u8bbe\u8ba1\u5de5\u7a0b\u5e08\u4e4b\u524d\u8bbe\u8ba1\u597d\u7684\u89c4\u5219\u8bbe\u7f6e\uff0c\u5bf9PCB\u8bbe\u8ba1\u7684\u5404\u4e2a\u65b9\u9762\u8fdb\u884c\u68c0\u67e5\u6821\u9a8c\uff0c\u6bd4\u5982\u5bfc\u7ebf\u5bbd\u5ea6\u3001\u5b89\u5168\u8ddd\u79bb\u3001\u5143\u4ef6\u95f4\u8ddd\u3001\u8fc7\u5b54\u7c7b\u578b\u7b49\u8fd9\u4e9b\u9700\u8981\u68c0\u67e5\u7684\u89c4\u5219\uff0cDRC\u662fPCB\u677f\u8bbe\u8ba1\u6b63\u786e\u6027\u548c\u5b8c\u6574\u6027\u7684\u91cd\u8981\u4fdd\u8bc1\u3002<\/p>\n<\/blockquote>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-drc.png\" alt=\"pcb drc\" style=\"zoom:50%;\" \/><\/p>\n<p>\u5982\u679c\u68c0\u67e5\u7ed3\u679c\u6709\u9519\u8bef\uff0c\u5c31\u53ef\u4ee5\u5728 DRC \u7ed3\u679c\u4e2d\u770b\u5230\u5bf9\u5e94\u7684\u9519\u8bef\u5206\u7c7b\u548c\u9519\u8bef\u5217\u8868\uff1a<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-drc2.png\" alt=\"pcb drc failed\" style=\"max-width:500px;\" \/><\/p>\n<p>\u5982\u679c\u68c0\u67e5\u6ca1\u6709\u9519\u8bef\uff0c\u5c31\u4f1a\u663e\u793a 0\uff0c\u8fd9\u4e2a\u65f6\u5019\u5c31\u53ef\u4ee5\u9009\u62e9\u4e0b\u5355\u751f\u4ea7\u5566\u3002<\/p>\n<p><img src=\"https:\/\/xujiwei.com\/blog\/wp-content\/uploads\/2024\/02\/diy-usbmeter-pcb-drc3.png\" alt=\"pcb drc ok\" style=\"zoom:50%;\" \/><\/p>\n<p>\u5f53\u7136\u5982\u679c\u6709\u4e9b\u65f6\u5019\u5728\u8bbe\u8ba1\u5176\u4ed6 PCB\u65f6\uff0c\u6545\u610f\u7559\u7684\u4e00\u4e9b DRC \u9519\u8bef\u4e5f\u53ef\u4ee5\u5ffd\u7565\uff0c\u76f4\u63a5\u4e0b\u5355\u751f\u4ea7\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%8B%E5%8D%95%E7%94%9F%E4%BA%A7\"><\/span>\u4e0b\u5355\u751f\u4ea7<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728\u5b8c\u6210 PCB \u5e03\u5c40\u5e03\u7ebf\u4e4b\u540e\uff0c\u5c31\u53ef\u4ee5\u5c06 PCB \u8bbe\u8ba1\u6587\u4ef6\u5bfc\u51fa\u6210 Gerber \u4ea4\u7ed9\u677f\u5382\u751f\u4ea7\u5566\uff0c\u76ee\u524d\u63d0\u4f9b\u514d\u8d39\u6253\u6837\u7684\u677f\u5382\u4e5f\u4e0d\u5c11\uff0c\u4f8b\u5982\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u7acb\u521b EDA \u5728\u5609\u7acb\u521b\u4e0b\u5355\u6253\u6837\u3002<\/p>\n<p>DIY USB \u7535\u6d41\u8868\u7684 PCB \u8bbe\u8ba1\u90e8\u5206\u5c31\u5206\u4eab\u5230\u8fd9\u91cc\u5566\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E9%A1%B9%E7%9B%AE%E5%BC%80%E6%BA%90%E5%9C%B0%E5%9D%80\"><\/span>\u9879\u76ee\u5f00\u6e90\u5730\u5740<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u672c\u9879\u76ee\u5df2\u7ecf\u5728\u7acb\u521b\u5f00\u6e90\u5e73\u53f0\u53d1\u5e03\uff0c\u53ef\u4ee5\u76f4\u63a5\u6253\u5f00\u4ee5\u4e0b\u5730\u5740\u67e5\u770b\u5e76\u4e14\u590d\u523b\u3002<\/p>\n<p><a href=\"https:\/\/oshwhub.com\/wandaeda\/ji-yu-ch32v003-de-usb-dian-liu-biao\">https:\/\/oshwhub.com\/wandaeda\/ji-yu-ch32v003-de-usb-dian-liu-biao<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"DIY_USB_%E7%94%B5%E6%B5%81%E8%A1%A8%E7%B3%BB%E5%88%97%E7%9B%AE%E5%BD%95\"><\/span>DIY USB \u7535\u6d41\u8868\u7cfb\u5217\u76ee\u5f55<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><a href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-schematic\/\">DIY USB \u7535\u6d41\u8868\uff081\uff09\uff1a\u5143\u4ef6\u9009\u578b\u548c\u539f\u7406\u56fe\u7ed8\u5236<\/a><\/li>\n<li><a href=\"[https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/](https:\/\/xujiwei.com\/blog\/?p=1191&amp;preview=true)\">DIY USB \u7535\u6d41\u8868\uff082\uff09\uff1aPCB \u5e03\u5c40\u5e03\u7ebf<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u524d\u4e00\u7bc7 \u300aDIY USB \u7535\u6d41\u8868\uff081\uff09\uff1a\u5143\u4ef6\u9009\u578b\u548c\u539f\u7406\u56fe\u7ed8\u5236\u300b \u4e2d\u4ecb\u7ecd\u4e86 DI &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/xujiwei.com\/blog\/2024\/02\/diy-usb-meter-pcb-design\/\">\u7ee7\u7eed\u9605\u8bfb &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":1184,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[167,402],"tags":[262,359,169,338,329,374,371,370,339],"_links":{"self":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/1191"}],"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=1191"}],"version-history":[{"count":0,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/posts\/1191\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media\/1184"}],"wp:attachment":[{"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/media?parent=1191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/categories?post=1191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xujiwei.com\/blog\/wp-json\/wp\/v2\/tags?post=1191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}