$ 1 5.0E-6 10.20027730826997 50 5.0 50
a 560 400 480 400 1 15.0 -15.0 1000000.0
r 480 400 432 400 0 10000.0
-t 432 400 400 400 0 1 -20.00024748937585 -15.00024750938585 100.0
+t 432 400 400 400 0 1 0.6010861572617257 0.6015469424280533 100.0
v 560 480 560 416 0 0 40.0 2.5 0.0 0.0 0.5
w 400 416 400 480 0
w 400 480 480 480 0
w 336 544 208 544 0
w 656 544 784 544 0
w 784 544 864 544 0
-x 267 115 733 121 0 24 Low voltage cutoff (3-36V) using TL431
+x 158 92 624 98 0 24 Low voltage cutoff (3-36V) using TL431
x 489 302 611 308 0 24 P-MOSFET
x 296 590 712 594 0 16 You can omit 1k resistor if you don't need OFF switch
-x 265 146 456 150 0 16 + Built-in switch buttons
+x 156 123 347 127 0 16 + Built-in switch buttons
x 675 380 714 384 0 16 500k
x 676 398 746 402 0 16 multiturn
x 454 276 461 279 0 10 S
w 384 384 400 384 0
w 384 416 400 416 0
r 784 432 784 320 0 100.0
-x 266 184 456 188 0 16 + Zero off state current
-x 266 165 464 169 0 16 + Short circuit protection
-o 18 64 0 289 2.5 9.765625E-5 0 -1
-o 9 64 0 35 10.0 9.765625E-5 1 -1
-o 7 64 0 35 0.3125 9.765625E-5 2 -1
+x 157 161 347 165 0 16 + Zero off state current
+x 157 142 355 146 0 16 + Short circuit protection
+x 157 179 823 183 0 16 + Reverse voltage protection unless you use MOSFET with diode or press OFF button
+o 18 64 0 289 2.5 0.05 0 -1
+o 9 64 0 35 10.0 0.05 1 -1
+o 7 64 0 35 5.0 9.765625E-5 2 -1