{"id":181,"date":"2026-01-14T08:27:34","date_gmt":"2026-01-14T00:27:34","guid":{"rendered":"https:\/\/gccircuit.com\/wordpress\/?p=181"},"modified":"2026-01-15T01:51:45","modified_gmt":"2026-01-14T17:51:45","slug":"181","status":"publish","type":"post","link":"https:\/\/gccircuit.com\/wordpress\/2026\/01\/14\/181\/","title":{"rendered":"LM317 \u96fb\u963b\u503c\u8a08\u7b97"},"content":{"rendered":"\n<div style=\"background-color: #1e293b; color: #f8fafc; padding: 25px; border-radius: 15px; font-family: sans-serif; max-width: 600px; margin: auto; border: 1px solid #38bdf8; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);\">\n    \n    <h2 style=\"color: #38bdf8; text-align: center; margin-top: 0;\">LM317 \u96fb\u58d3\u8a08\u7b97\u5668<\/h2>\n    \n    <div style=\"display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; margin-bottom: 20px;\">\n        <div style=\"background: white; padding: 10px; border-radius: 8px;\">\n            <img decoding=\"async\" src=\"http:\/\/gccircuit.com\/wordpress\/wp-content\/uploads\/2026\/01\/image-64.png\" alt=\"LM317\u96fb\u8def\u5716\" style=\"max-width: 150px; height: auto;\">\n        <\/div>\n        <div style=\"flex: 1; min-width: 250px; font-size: 14px; line-height: 1.6; color: #cbd5e1;\">\n            \u9019\u500b\u8a08\u7b97\u5668\u7528\u4f86\u627e\u51fa LM317 \u8f38\u51fa\u96fb\u58d3\u3002\u5178\u578b\u7684 R1 \u503c\u70ba <b>220\u03a9<\/b> \u6216 <b>240\u03a9<\/b>\u3002\u8f38\u5165 R1 \u8207 R2 \u5f8c\uff0c\u5373\u53ef\u7b97\u51fa\u8f38\u51fa\u96fb\u58d3\u3002<br>\n            <span style=\"color: #fbbf24;\">\u203b \u8a18\u5f97\uff1a\u8f38\u5165\u96fb\u58d3\u9808\u5927\u65bc\u8f38\u51fa\u96fb\u58d3 1.5V \u4ee5\u4e0a\u3002<\/span>\n        <\/div>\n    <\/div>\n\n    <hr style=\"border: 0; border-top: 1px solid #334155; margin: 20px 0;\">\n\n    <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px;\">\n        <div>\n            <label style=\"display: block; font-size: 12px; margin-bottom: 5px; color: #38bdf8;\">R1 \u96fb\u963b (\u03a9)<\/label>\n            <input type=\"number\" id=\"r1_val\" value=\"240\" style=\"width: 100%; padding: 10px; border-radius: 5px; border: 1px solid #334155; background: #0f172a; color: white;\">\n        <\/div>\n        <div>\n            <label style=\"display: block; font-size: 12px; margin-bottom: 5px; color: #38bdf8;\">R2 \u96fb\u963b (\u03a9)<\/label>\n            <input type=\"number\" id=\"r2_val\" value=\"1500\" style=\"width: 100%; padding: 10px; border-radius: 5px; border: 1px solid #334155; background: #0f172a; color: white;\">\n        <\/div>\n        <div>\n            <label style=\"display: block; font-size: 12px; margin-bottom: 5px; color: #38bdf8;\">\u8f38\u51fa\u96fb\u58d3 (V)<\/label>\n            <div id=\"result_v\" style=\"width: 100%; padding: 10px; border-radius: 5px; background: #334155; color: #38bdf8; font-weight: bold; text-align: center; border: 1px solid #38bdf8;\">&#8212; V<\/div>\n        <\/div>\n    <\/div>\n\n    <button onclick=\"calculateLM317()\" style=\"width: 100%; margin-top: 20px; padding: 12px; border-radius: 5px; border: none; background: #38bdf8; color: #0f172a; font-weight: bold; cursor: pointer; font-size: 16px;\">\u7acb\u5373\u8a08\u7b97<\/button>\n\n    <script>\n        function calculateLM317() {\n            var r1 = parseFloat(document.getElementById('r1_val').value);\n            var r2 = parseFloat(document.getElementById('r2_val').value);\n            if (r1 > 0) {\n                \/\/ LM317 \u516c\u5f0f: Vout = 1.25 * (1 + R2\/R1)\n                var vout = 1.25 * (1 + (r2 \/ r1));\n                document.getElementById('result_v').innerText = vout.toFixed(2) + \" V\";\n            } else {\n                alert(\"R1 \u5fc5\u9808\u5927\u65bc 0\");\n            }\n        }\n    <\/script>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>LM317 \u96fb\u58d3\u8a08\u7b97\u5668 \u9019\u500b\u8a08\u7b97\u5668\u7528\u4f86\u627e\u51fa LM317 \u8f38\u51fa\u96fb\u58d3\u3002\u5178\u578b\u7684 R1 \u503c\u70ba 220\u03a9 \u6216 240\u03a9\u3002 &#8230; <a title=\"LM317 \u96fb\u963b\u503c\u8a08\u7b97\" class=\"read-more\" href=\"https:\/\/gccircuit.com\/wordpress\/2026\/01\/14\/181\/\" aria-label=\"Read more about LM317 \u96fb\u963b\u503c\u8a08\u7b97\">\u95b1\u8b80\u5168\u6587<\/a><\/p>\n","protected":false},"author":1,"featured_media":184,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-181","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-diy"],"_links":{"self":[{"href":"https:\/\/gccircuit.com\/wordpress\/wp-json\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gccircuit.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gccircuit.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gccircuit.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gccircuit.com\/wordpress\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":2,"href":"https:\/\/gccircuit.com\/wordpress\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"predecessor-version":[{"id":186,"href":"https:\/\/gccircuit.com\/wordpress\/wp-json\/wp\/v2\/posts\/181\/revisions\/186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gccircuit.com\/wordpress\/wp-json\/wp\/v2\/media\/184"}],"wp:attachment":[{"href":"https:\/\/gccircuit.com\/wordpress\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gccircuit.com\/wordpress\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gccircuit.com\/wordpress\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}