Skip to content

Instantly share code, notes, and snippets.

@ericfont
Last active January 30, 2025 07:00
Show Gist options
  • Save ericfont/196e08517478d7b540657d011cee814f to your computer and use it in GitHub Desktop.
Save ericfont/196e08517478d7b540657d011cee814f to your computer and use it in GitHub Desktop.
TL431 regulate 4.75-5.5V USB supply through LED down to 2.50674V within 1 mV
Display the source blob
Display the rendered blob
Raw
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="668" height="260"><defs><clipPath id="xTHMVRoBNumZ"><path fill="none" stroke="none" d=" M 0 0 L 192 0 L 192 144 L 0 144 L 0 0 Z"/></clipPath><linearGradient id="MbaXxadeTTMU" x1="0px" x2="16px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#14ea14"/><stop offset="1" stop-color="#01fd01"/></linearGradient></defs><g><rect fill="#000000" stroke="none" x="0" y="0" width="668" height="260"/><g transform="scale(1,1) translate(-538,-430)"><g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 784 624 L 784 608" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="778" y="598" text-anchor="start" dominant-baseline="alphabetic">A</text><path fill="none" stroke="#40be40" paint-order="fill stroke markers" d=" M 784 496 L 784 512" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="778" y="534" text-anchor="start" dominant-baseline="alphabetic">C</text><path fill="none" stroke="#40be40" paint-order="fill stroke markers" d=" M 752 560 L 768 560" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="18px" font-style="normal" font-weight="normal" text-decoration="normal" x="773" y="566" text-anchor="start" dominant-baseline="alphabetic">ref</text><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 768 512 L 800 512 L 800 608 L 768 608 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#40be40" paint-order="fill stroke markers" d=" M 736 560 L 752 560" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="744" y="554" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#40be40" paint-order="fill stroke markers" d=" M 736 480 L 784 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="760" y="474" text-anchor="start" dominant-baseline="alphabetic"></text><g><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="880" y="480" text-anchor="middle" dominant-baseline="central">2506.740 mV</text></g><path fill="none" stroke="#40be40" paint-order="fill stroke markers" d=" M 832 480 L 829 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 656 608 L 656 548" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#01fd01" paint-order="fill stroke markers" d=" M 656 540 L 656 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 646 548 L 666 548" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#01fd01" paint-order="fill stroke markers" d=" M 640 540 L 672 540" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="608" y="480" text-anchor="middle" dominant-baseline="central">5000.000 mV</text></g><path fill="none" stroke="#01fd01" paint-order="fill stroke markers" d=" M 656 480 L 659 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 832 608 L 832 548" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 820 548 L 844 548" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#40be40" paint-order="fill stroke markers" d=" M 832 480 L 832 540" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#40be40" paint-order="fill stroke markers" d=" M 820 540 L 844 540" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="846" y="550" text-anchor="start" dominant-baseline="alphabetic">100μF</text><path fill="none" stroke="#40be40" paint-order="fill stroke markers" d=" M 832 480 L 784 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="808" y="474" text-anchor="start" dominant-baseline="alphabetic"></text><g transform="scale(1,1) translate(538,430)"><g transform="translate(424,176)"><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 4.9 0 A 4.9 4.9 0 1 1 4.899997550000204 -0.004899999183336211" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M -8 0 L -5 0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 8 0 L 5 0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 0 -8 L 0 -5" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 0 8 L 0 5" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M -6 -6 L -4 -4" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 6 -6 L 4 -4" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M -6 6 L -4 4" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 6 6 L 4 4" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><g transform="translate(406,50)" clip-path="url(#xTHMVRoBNumZ)"><g><path fill="none" stroke="#A0A0A0" paint-order="fill stroke markers" d=" M 0 135 L 191 135" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 0 109 L 191 109" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 0 83 L 191 83" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 0 59 L 191 59" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 0 33 L 191 33" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 0 7 L 191 7" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 175 0 L 175 143" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 143 0 L 143 143" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 112 0 L 112 143" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 81 0 L 81 143" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#404040" paint-order="fill stroke markers" d=" M 50 0 L 50 143" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#A0A0A0" paint-order="fill stroke markers" d=" M 18 0 L 18 143" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#00ff00" paint-order="fill stroke markers" d=" M 0 103 L 191 103" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="0" y="10" text-anchor="start" dominant-baseline="alphabetic">Max=2.507 V</text><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="0" y="139" text-anchor="start" dominant-baseline="alphabetic">Min=2.507 V</text></g></g></g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 784 624 L 784 640" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 794 640 L 774 640" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 790 645 L 778 645" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 786 650 L 782 650" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 832 608 L 832 640" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 842 640 L 822 640" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 838 645 L 826 645" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 834 650 L 830 650" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 656 608 L 656 640" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 666 640 L 646 640" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 662 645 L 650 645" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 658 650 L 654 650" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#40be40" paint-order="fill stroke markers" d=" M 784 496 L 784 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="790" y="494" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#40be40" paint-order="fill stroke markers" d=" M 736 560 L 736 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="742" y="526" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#14ea14" paint-order="fill stroke markers" d=" M 672 480 L 692 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#40be40" paint-order="fill stroke markers" d=" M 716 480 L 736 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 715.76 480 A 11.76 11.76 0 1 1 715.7599941200004 479.98824000196" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="#e20000" stroke="none" paint-order="stroke fill markers" d=" M 712 480 A 8 8 0 1 1 711.9999999998873 479.9999575425633 Z"/><path fill="none" stroke="#14ea14" paint-order="fill stroke markers" d=" M 672 480 L 672 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#01fd01" paint-order="fill stroke markers" d=" M 656 480 L 656 480" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(-1,0,0,-1,672,480)"><path fill="none" stroke="url(#MbaXxadeTTMU)" paint-order="fill stroke markers" d=" M 0 0 L 1 2 L 3 -2 L 5 2 L 7 -2 L 9 2 L 11 -2 L 13 2 L 15 -2 L 16 0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="654" y="474" text-anchor="start" dominant-baseline="alphabetic">130</text><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 739 480 A 3 3 0 1 1 738.9999999999577 479.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 787 480 A 3 3 0 1 1 786.9999999999577 479.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 835 480 A 3 3 0 1 1 834.9999999999577 479.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 659 480 A 3 3 0 1 1 658.9999999999577 479.99998407846124 Z"/></g></g></svg>
@ericfont
Copy link
Author

sim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment