Skip to content

Instantly share code, notes, and snippets.

@ericfont
Created March 6, 2026 08:13
Show Gist options
  • Select an option

  • Save ericfont/e13d6042819a77744d443ba7df437aaa to your computer and use it in GitHub Desktop.

Select an option

Save ericfont/e13d6042819a77744d443ba7df437aaa to your computer and use it in GitHub Desktop.
possible solar top-up charging of two nimh in series
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="540" height="580"><defs><linearGradient id="BpiPXiJgaHPT" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#01fd01"/><stop offset="1" stop-color="#47b847"/></linearGradient><linearGradient id="eLdiidIlEUos" x1="0px" x2="16px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#629d62"/><stop offset="1" stop-color="#639c63"/></linearGradient><linearGradient id="UonTLlPGEakR" x1="0px" x2="16px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#44ba44"/><stop offset="1" stop-color="#44ba44"/></linearGradient><linearGradient id="HdZDOaraBMLt" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#44ba44"/><stop offset="1" stop-color="#44ba44"/></linearGradient></defs><g><rect fill="#000000" stroke="none" x="0" y="0" width="540" height="580"/><g transform="scale(1,1) translate(-954,-222)"><g><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="1424" y="464" text-anchor="middle" dominant-baseline="central">2.4 V</text></g><path fill="none" stroke="#44ba44" paint-order="fill stroke markers" d=" M 1360 464 L 1400 464" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#01fd01" paint-order="fill stroke markers" d=" M 1056 272 L 1041 272" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="10px" font-style="normal" font-weight="normal" text-decoration="normal" x="1013" y="272" text-anchor="start" dominant-baseline="central">+10V</text></g><path fill="none" stroke="#01fd01" paint-order="fill stroke markers" d=" M 1056 272 L 1080 272" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#47b847" paint-order="fill stroke markers" d=" M 1112 272 L 1136 272" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(1,0,0,1,1080,272)"><path fill="none" stroke="url(#BpiPXiJgaHPT)" paint-order="fill stroke markers" d=" M 0 0 L 2 6 L 6 -6 L 10 6 L 14 -6 L 18 6 L 22 -6 L 26 6 L 30 -6 L 32 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="1090" y="262" text-anchor="start" dominant-baseline="alphabetic">1k</text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1360 736 L 1360 713" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#629d62" paint-order="fill stroke markers" d=" M 1360 679 L 1360 656" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 1376.66 696 A 16.66 16.66 0 1 1 1376.6599916700006 695.9833400027767" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 1356 688 L 1364 688" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 1360 692 L 1360 684" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 1356 704 L 1364 704" 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="1316" y="702" text-anchor="start" dominant-baseline="alphabetic">1.2V</text><path fill="none" stroke="#629d62" paint-order="fill stroke markers" d=" M 1360 656 L 1360 656" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#639c63" paint-order="fill stroke markers" d=" M 1360 640 L 1360 640" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(0,-1,1,0,1360,656)"><path fill="none" stroke="url(#eLdiidIlEUos)" 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="1366" y="654" text-anchor="start" dominant-baseline="alphabetic">100</text><path fill="none" stroke="#44ba44" paint-order="fill stroke markers" d=" M 1360 560 L 1360 560" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#44ba44" paint-order="fill stroke markers" d=" M 1360 544 L 1360 544" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(0,-1,1,0,1360,560)"><path fill="none" stroke="url(#UonTLlPGEakR)" 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="1366" y="558" text-anchor="start" dominant-baseline="alphabetic">100</text><path fill="none" stroke="#639c63" paint-order="fill stroke markers" d=" M 1360 640 L 1360 617" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#44ba44" paint-order="fill stroke markers" d=" M 1360 583 L 1360 560" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 1376.66 600 A 16.66 16.66 0 1 1 1376.6599916700006 599.9833400027767" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 1356 592 L 1364 592" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 1360 596 L 1360 588" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 1356 608 L 1364 608" 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="1316" y="606" text-anchor="start" dominant-baseline="alphabetic">1.2V</text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1360 736 L 1360 752" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1370 752 L 1350 752" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1366 757 L 1354 757" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1362 762 L 1358 762" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#47b847" paint-order="fill stroke markers" d=" M 1232 272 L 1232 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#54ab54" paint-order="fill stroke markers" d=" M 1232 352 L 1232 416" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="#47b847" stroke="none" paint-order="stroke fill markers" d=" M 1240 336 L 1224 336 L 1232 352 Z"/><path fill="none" stroke="#54ab54" paint-order="fill stroke markers" d=" M 1240 352 L 1224 352" 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="1424" y="640" text-anchor="middle" dominant-baseline="central">1.2 V</text></g><path fill="none" stroke="#639c63" paint-order="fill stroke markers" d=" M 1360 640 L 1400 640" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1232 480 L 1232 452" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1220 452 L 1244 452" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#54ab54" paint-order="fill stroke markers" d=" M 1232 416 L 1232 444" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#54ab54" paint-order="fill stroke markers" d=" M 1220 444 L 1244 444" 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="1246" y="454" text-anchor="start" dominant-baseline="alphabetic">100μF</text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1232 480 L 1232 496" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1242 496 L 1222 496" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1238 501 L 1226 501" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1234 506 L 1230 506" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#54ab54" paint-order="fill stroke markers" d=" M 1232 416 L 1296 416" 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="1264" y="410" 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="1424" y="544" text-anchor="middle" dominant-baseline="central">2.4 V</text></g><path fill="none" stroke="#44ba44" paint-order="fill stroke markers" d=" M 1360 544 L 1400 544" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#44ba44" paint-order="fill stroke markers" d=" M 1360 544 L 1360 520" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#44ba44" paint-order="fill stroke markers" d=" M 1360 488 L 1360 464" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(0,-1,1,0,1360,520)"><path fill="none" stroke="url(#HdZDOaraBMLt)" paint-order="fill stroke markers" d=" M 0 0 L 2 6 L 6 -6 L 10 6 L 14 -6 L 18 6 L 22 -6 L 26 6 L 30 -6 L 32 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="1370" y="510" text-anchor="start" dominant-baseline="alphabetic">1k</text><path fill="none" stroke="#54ab54" paint-order="fill stroke markers" d=" M 1360 416 L 1360 432" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#44ba44" paint-order="fill stroke markers" d=" M 1360 448 L 1360 464" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="#54ab54" stroke="none" paint-order="stroke fill markers" d=" M 1368 432 L 1352 432 L 1360 448 Z"/><path fill="none" stroke="#44ba44" paint-order="fill stroke markers" d=" M 1368 448 L 1352 448" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#54ab54" paint-order="fill stroke markers" d=" M 1296 416 L 1360 416" 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="1328" y="410" 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="1424" y="416" text-anchor="middle" dominant-baseline="central">1.779 V</text></g><path fill="none" stroke="#54ab54" paint-order="fill stroke markers" d=" M 1360 416 L 1391 416" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><g><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="1296" y="272" text-anchor="middle" dominant-baseline="central">2.282 V</text></g><path fill="none" stroke="#47b847" paint-order="fill stroke markers" d=" M 1232 272 L 1263 272" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#47b847" paint-order="fill stroke markers" d=" M 1136 272 L 1136 300" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1136 324 L 1136 352" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 1147.76 312 A 11.76 11.76 0 1 1 1147.7599941200006 311.98824000196" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="#0000d0" stroke="none" paint-order="stroke fill markers" d=" M 1144 312 A 8 8 0 1 1 1143.9999999998872 311.9999575425633 Z"/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1136 352 L 1136 368" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1146 368 L 1126 368" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1142 373 L 1130 373" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 1138 378 L 1134 378" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#47b847" paint-order="fill stroke markers" d=" M 1136 272 L 1232 272" 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="1184" y="266" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 1363 464 A 3 3 0 1 1 1362.9999999999577 463.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 1139 272 A 3 3 0 1 1 1138.9999999999577 271.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 1363 640 A 3 3 0 1 1 1362.9999999999577 639.9999840784612 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 1363 544 A 3 3 0 1 1 1362.9999999999577 543.9999840784612 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 1235 272 A 3 3 0 1 1 1234.9999999999577 271.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 1235 416 A 3 3 0 1 1 1234.9999999999577 415.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 1363 416 A 3 3 0 1 1 1362.9999999999577 415.99998407846124 Z"/></g></g></svg>
@ericfont

ericfont commented Mar 6, 2026

Copy link
Copy Markdown
Author

sim

@ericfont

ericfont commented Mar 6, 2026

Copy link
Copy Markdown
Author

after charged:

circuit-20260306-0317

@ericfont

ericfont commented Mar 6, 2026

Copy link
Copy Markdown
Author

Use 3v zener for more precise voltage:

circuit-20260306-0321

sim

@ericfont

ericfont commented Mar 6, 2026

Copy link
Copy Markdown
Author

maybe that 1k resistor on the right isn't necessary or could be much smaller.

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