Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\26d7e9a3cbd5_Draft8.asc
* Generated by LTspice 26.0.1 for Windows.
R2 0 N002 1k
R1 N002 N001 1k
V1 N001 0 PULSE(0 1 0 1p 2p 1n 2n) AC 1
C1 N002 0 0.1n
.ac dec 10 10 10G
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 48 112 -16 112
WIRE 208 112 128 112
WIRE 288 112 208 112
WIRE -16 128 -16 112
WIRE 208 128 208 112
WIRE 288 128 288 112
WIRE 48 208 -16 208
WIRE 208 208 48 208
WIRE 288 208 288 192
WIRE 288 208 208 208
SYMBOL res 144 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res 224 224 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL voltage -16 112 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(0 1 0 1p 2p 1n 2n)
SYMATTR Value2 AC 1
SYMBOL cap 272 128 R0
SYMATTR InstName C1
SYMATTR Value 0.1n
FLAG 48 208 0
TEXT -200 224 Left 2 !.ac dec 10 10 10G
* Z:\home\khalils\Downloads\files\data\raw_asc\5ca0263121e0_quiz_q5.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 PULSE(0 5 1u 1n 1n 19u 20u)
C1 N002 0 1n
R1 N002 N001 1k
.tran 20u
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 352 80 128 80
WIRE 608 80 432 80
WIRE 608 96 608 80
WIRE 128 192 128 160
WIRE 608 208 608 160
SYMBOL cap 592 96 R0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL voltage 128 64 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 1u 1n 1n 19u 20u)
SYMBOL res 448 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
FLAG 128 192 0
FLAG 608 208 0
TEXT 88 232 Left 2 !.tran 20u
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP2165-1.5.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\ADP2165-1.5.asy)
R1 N005 0 100K
C4 N002 0 1
C3 OUT 0 84 Rser=2m
C6 N007 0 1p
L1 N004 OUT 1.5 Rser=6m
Rload OUT 0 .3
V1 IN 0 5
C2 N003 N004 .1
C1 N008 0 2n
R2 N007 N006 36K
R3 OUT N001 100K
XU1 N002 N005 N002 OUT 0 0 N004 IN IN IN N001 N008 N007 N003 N002 ADP2165-x.x Rtop=600K Rbot=400K ;pnba SYNC)Rt)TRK)FB)Gnd)Pgnd)SW)Pvin)Avin)EN)Pgood)SS)Comp)Bst)Vreg
C5 N006 0 680p
.tran 1m startup
.lib ADP2165-x.x.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1076 680
WIRE 48 -96 -176 -96
WIRE 176 -96 48 -96
WIRE 272 -96 176 -96
WIRE -176 -80 -176 -96
WIRE 176 -80 176 -96
WIRE 272 -80 272 -96
WIRE 48 -16 48 -96
WIRE 64 -16 48 -16
WIRE 448 -16 384 -16
WIRE 608 -16 528 -16
WIRE -176 16 -176 0
WIRE -32 64 -48 64
WIRE 48 64 32 64
WIRE 64 64 48 64
WIRE 432 64 384 64
WIRE 48 144 48 64
WIRE 64 144 48 144
WIRE 432 144 432 128
WIRE 432 144 384 144
WIRE 480 144 432 144
WIRE 608 144 608 -16
WIRE 608 144 560 144
WIRE 720 144 608 144
WIRE 832 144 720 144
WIRE 720 160 720 144
WIRE 832 160 832 144
WIRE 48 224 48 144
WIRE 64 224 48 224
WIRE 720 256 720 224
WIRE 832 256 832 240
WIRE -32 304 -48 304
WIRE 64 304 48 304
WIRE 608 304 608 144
WIRE 608 304 384 304
WIRE -160 384 -224 384
WIRE -32 384 -80 384
WIRE 64 384 -32 384
WIRE 400 384 384 384
WIRE 480 384 464 384
WIRE -224 400 -224 384
WIRE -32 400 -32 384
WIRE 176 464 176 448
WIRE 272 464 272 448
WIRE -224 480 -224 464
WIRE -32 480 -32 464
SYMBOL ind 464 160 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 1.5
SYMATTR SpiceLine Rser=6m
SYMBOL voltage -176 -96 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL ADP2165-1.5 224 176 R0
SYMATTR InstName U1
SYMBOL cap 416 64 R0
SYMATTR InstName C2
SYMATTR Value .1
SYMBOL cap 400 368 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 2n
SYMBOL cap -48 400 R0
SYMATTR InstName C6
SYMATTR Value 1p
SYMBOL res 64 288 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL res 816 144 R0
SYMATTR InstName Rload
SYMATTR Value .3
SYMBOL cap 704 160 R0
WINDOW 40 24 74 Left 2
SYMATTR Value 84
SYMATTR InstName C3
SYMATTR SpiceLine Rser=2m
SYMBOL cap 32 48 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C4
SYMATTR Value 1
SYMBOL res 544 -32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 100K
SYMBOL res -64 368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 36K
SYMBOL cap -240 400 R0
SYMATTR InstName C5
SYMATTR Value 680p
FLAG 480 384 0
FLAG 272 464 0
FLAG -48 304 0
FLAG -224 480 0
FLAG -176 16 0
FLAG 720 256 0
FLAG 832 256 0
FLAG 832 144 OUT
FLAG -176 -96 IN
FLAG -48 64 0
FLAG -32 480 0
FLAG 176 464 0
TEXT 696 424 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\41f56bde6e0b_nmos_step_w.asc
* Generated by LTspice 26.0.1 for Windows.
* Plot Id(M1)
* Id versus Vds for different W(idth)
M1 N001 N002 0 0 NMOS1 L={L} W={W}
V1 N002 0 1
V2 N001 0 2
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.model NMOS1 NMOS(Vto=0.5 Kp=1m)
.step param W list 0.2u 1u 5u
.param L=0.1u
.dc V2 0 2
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 288 -128 96 -128
WIRE 96 -80 96 -128
WIRE 96 48 96 0
WIRE 288 48 288 -128
WIRE 240 128 96 128
WIRE 96 176 96 128
WIRE 288 192 288 144
WIRE 96 304 96 256
SYMBOL voltage 96 160 R0
SYMATTR InstName V1
SYMATTR Value 1
SYMBOL voltage 96 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 2
SYMBOL nmos 240 48 R0
SYMATTR InstName M1
SYMATTR Value NMOS1 L={L} W={W}
FLAG 288 192 0
FLAG 96 48 0
FLAG 96 304 0
TEXT 168 256 Left 0 !.model NMOS1 NMOS(Vto=0.5 Kp=1m)
TEXT 336 -48 Left 0 !.step param W list 0.2u 1u 5u
TEXT 336 -80 Left 0 !.param L=0.1u
TEXT 336 -8 Left 0 !.dc V2 0 2
TEXT 336 -120 Left 0 ;Plot Id(M1)
TEXT 88 -176 Left 0 ;Id versus Vds for different W(idth)
* Z:\tmp\asc_dec_bjh7r6w2\115cebe2e97e_Draft1_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
XU1 N005 N006 N002 N006 PC817 Igain=1m ;pnba A)K)C)E
R5 N005 N004 10k
R2 N003 N002 22k
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Optos\PC817A.asy)
.lib PC817.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1084 680
WIRE 608 -80 608 -144
WIRE 704 -80 608 -80
WIRE 608 -16 608 -80
WIRE 336 32 336 -144
WIRE 368 32 336 32
WIRE 496 32 448 32
WIRE 544 32 496 32
WIRE -64 96 -176 96
WIRE 96 96 16 96
WIRE 336 96 336 32
WIRE 336 96 288 96
WIRE 496 112 496 32
WIRE 96 192 64 192
WIRE 352 192 288 192
WIRE 64 272 64 192
WIRE 64 272 -176 272
WIRE 352 272 352 192
WIRE 352 272 64 272
WIRE 496 272 496 192
WIRE 496 272 352 272
WIRE 608 272 608 80
WIRE 352 352 352 272
SYMBOL Optos\\PC817A 192 144 R0
SYMATTR InstName U1
SYMBOL res 32 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL res 464 16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 22k
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1764A-1.5.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT1764A-1.5.asy)
C1 OUT 0 10 Rser=.1
V1 IN 0 PWL(0 0 1 10)
XU1 IN IN 0 OUT OUT LT1764-1.5 ;pnba _SHDN)IN)GND)OUT)Sense
Rload OUT 0 500
.tran 1
.lib LT1764.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 0 48 -224 48
WIRE 16 48 0 48
WIRE 320 48 304 48
WIRE 384 48 320 48
WIRE 512 48 384 48
WIRE -224 64 -224 48
WIRE 384 64 384 48
WIRE 512 64 512 48
WIRE 0 144 0 48
WIRE 16 144 0 144
WIRE 320 144 320 48
WIRE 320 144 304 144
WIRE -224 160 -224 144
WIRE 384 160 384 128
WIRE 512 160 512 144
WIRE 160 240 160 208
SYMBOL res 496 48 R0
SYMATTR InstName Rload
SYMATTR Value 500
SYMBOL voltage -224 48 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 1 10)
SYMBOL cap 368 64 R0
WINDOW 39 24 84 Left 2
SYMATTR InstName C1
SYMATTR Value 10
SYMATTR SpiceLine Rser=.1
SYMBOL PowerProducts\\LT1764A-1.5 160 96 R0
SYMATTR InstName U1
FLAG -224 160 0
FLAG 384 160 0
FLAG 512 160 0
FLAG 160 240 0
FLAG 512 48 OUT
FLAG -224 48 IN
TEXT 392 248 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\3280a733120d_Draft3.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\OP482.asy)
XU1 N003 N001 N002 0 output OP482 ;pnba In+)In-)V+)V-)OUT
R1 N001 N002 2k
V2 N003 0 AC 1 0
V1 N002 0 9v
R2 0 N001 1k
.ac dec 10 20 20000
.lib OP482.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 680
WIRE -16 0 -64 0
WIRE -16 16 -16 0
WIRE -64 48 -64 0
WIRE 96 64 -16 64
WIRE 96 144 32 144
WIRE 368 144 96 144
WIRE 32 160 32 144
WIRE -64 176 -64 128
WIRE -16 176 -16 64
WIRE -16 176 -64 176
WIRE 0 176 -16 176
WIRE 144 192 64 192
WIRE 0 208 -320 208
IOPIN 144 192 Out
SYMBOL res 80 48 R0
SYMATTR InstName R1
SYMATTR Value 2k
SYMBOL OpAmps\\OP482 32 128 R0
SYMATTR InstName U1
SYMBOL res -80 32 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL voltage 368 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 9v
SYMBOL voltage -320 192 R0
WINDOW 123 24 44 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value ""
SYMATTR Value2 AC 1 0
FLAG -320 288 0
FLAG 32 224 0
FLAG 368 224 0
FLAG -16 16 0
FLAG 144 192 output
TEXT -264 304 Left 2 !.ac dec 10 20 20000
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1261CS8-4.asc
* Generated by LTspice 26.0.1 for Windows.
C2 N001 N003 0.1
V1 IN 0 5
C3 OUT 0 3.3
Rload OUT 0 800
R1 IN N002 10k
XU2 IN N001 N003 0 NC_01 OUT N002 NC_02 LTC1261CS8-4 ;pnba Vcc)C1+)C1-)GND)COMP)OUT)REG)SHDN
.tran 2m
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC1261CS8-4.asy)
.lib LTC1261CS8-4.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2424 2180
WIRE 1680 1056 1536 1056
WIRE 2064 1056 1680 1056
WIRE 1536 1072 1536 1056
WIRE 2064 1088 2064 1056
WIRE 1680 1136 1680 1056
WIRE 1712 1136 1680 1136
WIRE 1536 1168 1536 1152
WIRE 1712 1200 1632 1200
WIRE 2064 1200 2064 1168
WIRE 2064 1200 2000 1200
WIRE 1712 1264 1632 1264
WIRE 2064 1264 2000 1264
WIRE 2160 1264 2064 1264
WIRE 2064 1280 2064 1264
WIRE 2160 1280 2160 1264
WIRE 1712 1328 1696 1328
WIRE 2064 1376 2064 1344
WIRE 2160 1376 2160 1360
FLAG 1696 1328 0
FLAG 1536 1168 0
FLAG 2064 1376 0
FLAG 2160 1376 0
FLAG 2160 1264 OUT
FLAG 1536 1056 IN
SYMBOL cap 1616 1200 R0
WINDOW 0 33 18 Left 2
WINDOW 3 30 49 Left 2
SYMATTR InstName C2
SYMATTR Value 0.1
SYMBOL VOLTAGE 1536 1056 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL cap 2048 1280 R0
SYMATTR InstName C3
SYMATTR Value 3.3
SYMBOL RES 2144 1264 R0
SYMATTR InstName Rload
SYMATTR Value 800
SYMBOL res 2048 1072 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL LTC1261CS8-4 1856 1232 R0
SYMATTR InstName U2
TEXT 1816 1408 Left 2 !.tran 2m
* Z:\home\khalils\Downloads\files\data\raw_asc\302c1f161d2f_lab_4.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\OP113.asy)
XU2 N008 N003 N004 N009 N003 OP113 ;pnba In+)In-)V+)V-)OUT
R1 N008 N002 10k
V2 0 N009 12
R4 N006 N001 11k
V1 N004 0 12
C4 0 N008 1.13n
R2 N002 N001 10k
R3 0 N007 22.5k
C3 N003 N002 2.25n
V3 N005 0 SINE(0 12 100000) AC 12
C1 N007 N006 100n
XU1 N007 N001 N004 N009 N001 OP113 ;pnba In+)In-)V+)V-)OUT
C2 N006 N005 100n
.ac dec 100 10 100000k
.lib ADI.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 192 96 48 96
WIRE 320 96 304 96
WIRE 400 96 384 96
WIRE 496 96 400 96
WIRE 464 128 464 80
WIRE 464 128 112 128
WIRE 48 144 48 96
WIRE 80 144 48 144
WIRE 400 144 400 96
WIRE 432 144 400 144
WIRE 192 160 192 96
WIRE 192 160 144 160
WIRE 208 160 192 160
WIRE 496 160 496 96
WIRE -112 176 -192 176
WIRE -32 176 -32 96
WIRE -32 176 -48 176
WIRE -16 176 -32 176
WIRE 64 176 48 176
WIRE 80 176 64 176
WIRE 208 176 208 160
WIRE 304 176 304 96
WIRE 304 176 288 176
WIRE 320 176 304 176
WIRE 416 176 400 176
WIRE 432 176 416 176
WIRE 464 192 112 192
WIRE 64 208 64 176
WIRE 416 224 416 176
WIRE 464 224 464 192
SYMBOL cap 48 160 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 100n
SYMBOL res 80 304 R180
WINDOW 0 -40 72 Left 2
WINDOW 3 -26 43 Left 2
SYMATTR InstName R3
SYMATTR Value 22.5k
SYMBOL res 304 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL voltage 464 96 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL OpAmps\\OP113 464 96 R0
SYMATTR InstName U2
SYMBOL cap 432 288 R180
WINDOW 0 24 56 Left 2
WINDOW 3 24 8 Left 2
SYMATTR InstName C4
SYMATTR Value 1.13n
SYMBOL OpAmps\\OP113 112 96 R0
SYMATTR InstName U1
SYMBOL voltage 464 320 R180
WINDOW 0 -64 79 Left 2
WINDOW 3 -55 45 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL res -48 112 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 87 49 VBottom 2
SYMATTR InstName R4
SYMATTR Value 11k
SYMBOL res 416 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL cap 384 80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 -53 54 VTop 2
SYMATTR InstName C3
SYMATTR Value 2.25n
SYMBOL cap -48 160 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 100n
SYMBOL voltage -192 160 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value SINE(0 12 100000)
SYMATTR Value2 AC 12
FLAG 64 288 0
FLAG 416 288 0
FLAG 464 304 0
FLAG 464 0 0
FLAG -192 256 0
TEXT -226 328 Left 2 !.ac dec 100 10 100000k
* Z:\home\khalils\Downloads\files\data\raw_asc\0342a27b9114_DiscrNorForLG1465.asc
* Generated by LTspice 26.0.1 for Windows.
R5 N003 29 100k tol=1 pwr=0.1
R6 N003 23 100k tol=1 pwr=0.1
R3 N003 15 100k tol=1 pwr=0.1
V5 N001 0 12
V3 29 0 2.3
R1 N002 N004 75K tol=1 pwr=0.1
V1 N002 0 125
V4 23 0 2.4
Q2 24OutNor N003 0 0 BC548a
V2 15 0 2.3
R2 N005 24OutNor 10k tol=1 pwr=0.1
Q1 N004 N005 0 0 BF420P
R4 N001 24OutNor 1k2 tol=1 pwr=0.1
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 1m
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -880 256 -880 112
WIRE -880 480 -880 336
WIRE -784 240 -784 176
WIRE -784 368 -784 240
WIRE -784 480 -880 480
WIRE -784 480 -784 448
WIRE -688 288 -688 256
WIRE -688 368 -688 288
WIRE -688 480 -784 480
WIRE -688 480 -688 448
WIRE -656 176 -784 176
WIRE -592 384 -592 368
WIRE -592 480 -688 480
WIRE -592 480 -592 464
WIRE -560 368 -592 368
WIRE -512 256 -688 256
WIRE -464 368 -560 368
WIRE -352 176 -576 176
WIRE -352 256 -432 256
WIRE -352 256 -352 176
WIRE -352 368 -384 368
WIRE -352 368 -352 256
WIRE -320 368 -352 368
WIRE -256 112 -880 112
WIRE -256 192 -256 112
WIRE -256 304 -256 272
WIRE -256 320 -256 304
WIRE -256 480 -592 480
WIRE -256 480 -256 416
WIRE -192 304 -256 304
WIRE -144 304 -192 304
WIRE -32 304 -64 304
WIRE 32 144 32 112
WIRE 32 256 32 224
WIRE 32 480 -256 480
WIRE 32 480 32 352
WIRE 32 496 32 480
WIRE 192 112 32 112
WIRE 192 256 192 112
WIRE 192 480 32 480
WIRE 192 480 192 336
SYMBOL npn2 -32 256 R0
SYMATTR InstName Q1
SYMATTR Value BF420P
SYMBOL npn2 -320 320 R0
SYMATTR InstName Q2
SYMATTR Value BC548a
SYMBOL res -368 352 R90
WINDOW 0 -24 77 VRight 0
WINDOW 3 -24 10 VRight 0
SYMATTR InstName R3
SYMATTR Value 100k
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res -48 288 R90
WINDOW 0 -26 75 VRight 0
WINDOW 3 -24 10 VRight 0
SYMATTR InstName R2
SYMATTR Value 10k
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res -560 160 R90
WINDOW 0 -1 92 VRight 0
WINDOW 3 -1 -30 VRight 0
SYMATTR InstName R6
SYMATTR Value 100k
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 16 128 R0
SYMATTR InstName R1
SYMATTR Value 75K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL voltage 192 240 R0
WINDOW 3 -21 58 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value 125
SYMATTR InstName V1
SYMBOL res -416 240 R90
WINDOW 0 1 101 VRight 0
WINDOW 3 1 -44 VRight 0
SYMATTR InstName R5
SYMATTR Value 100k
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL voltage -688 352 R0
WINDOW 3 -17 59 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value 2.3
SYMATTR InstName V3
SYMBOL voltage -784 352 R0
WINDOW 3 -17 58 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value 2.4
SYMATTR InstName V4
SYMBOL voltage -880 240 R0
WINDOW 3 -16 56 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value 12
SYMATTR InstName V5
SYMBOL res -272 176 R0
SYMATTR InstName R4
SYMATTR Value 1k2
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL voltage -592 368 R0
WINDOW 3 -13 58 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value 2.3
SYMATTR InstName V2
FLAG 32 496 0
FLAG -192 304 24OutNor
FLAG -784 240 23
FLAG -688 288 29
FLAG -560 368 15
TEXT -146 394 Left 0 !.tran 1m
* Z:\home\khalils\Downloads\files\data\raw_asc\7a5041fde28b_Draft16.asc
* Generated by LTspice 26.0.1 for Windows.
V1 VIN 0 PULSE(0 5 0 1u 1u 2m 4m)
Q1 N003 N001 0 0 2N5089
Q2 N002 N003 N004 0 2SC2411K
RL N001 N003 250
R1 VIN N001 20K
R2 VS N002 1K
V2 VS 0 10
R3 N004 0 100
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 0 10m 0 1u
* Current Mirror: https://wiki.analog.com/university/courses/electronics/text/chapter-11
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 464 -224 384 -224
WIRE 464 -208 464 -224
WIRE 736 -144 736 -192
WIRE 464 -96 464 -128
WIRE 464 -96 384 -96
WIRE 464 -64 464 -96
WIRE 736 -16 736 -64
WIRE 464 32 464 16
WIRE 672 32 464 32
WIRE -176 112 -176 64
WIRE 64 112 64 64
WIRE 464 112 464 32
WIRE 736 112 736 80
WIRE 384 160 384 -96
WIRE 400 160 384 160
WIRE 736 208 736 192
WIRE 736 208 464 208
WIRE -176 256 -176 192
WIRE 64 256 64 192
WIRE 464 256 464 208
FLAG 464 256 0
FLAG 64 64 VIN
FLAG 64 256 0
FLAG 384 -224 VIN
FLAG -176 256 0
FLAG -176 64 VS
FLAG 736 -192 VS
SYMBOL voltage 64 96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 0 1u 1u 2m 4m)
SYMBOL npn 400 112 R0
SYMATTR InstName Q1
SYMATTR Value 2N5089
SYMBOL npn 672 -16 R0
SYMATTR InstName Q2
SYMATTR Value 2SC2411K
SYMBOL res 448 -80 R0
SYMATTR InstName RL
SYMATTR Value 250
SYMBOL res 448 -224 R0
SYMATTR InstName R1
SYMATTR Value 20K
SYMBOL res 720 -160 R0
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL voltage -176 96 R0
SYMATTR InstName V2
SYMATTR Value 10
SYMBOL res 720 96 R0
SYMATTR InstName R3
SYMATTR Value 100
TEXT -184 416 Left 2 !.tran 0 10m 0 1u
TEXT -200 496 Left 2 ;Current Mirror: https://wiki.analog.com/university/courses/electronics/text/chapter-11
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC6405.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LTC6405.asy)
C1 N005 0 .1
R4 N002 N001 100
V1 +V 0 5
V2 N001 0 sine(0 .5 1Meg)
XU1 N007 N005 +V N008 N003 0 NC_01 N002 N004 N006 LTC6405 ;pnba IN-)Vocm)V+)OUT+)OUT-)V-)_SHDN)IN+)OUTF-)OUTF+
R1 N003 N002 402
R2 N008 N007 402
R3 N007 0 100
.tran 10u
.lib LTC7.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 980 680
WIRE -48 0 -240 0
WIRE 48 0 32 0
WIRE 272 0 48 0
WIRE 416 0 352 0
WIRE -240 16 -240 0
WIRE 192 64 192 48
WIRE -240 112 -240 96
WIRE 416 112 416 0
WIRE 416 112 384 112
WIRE 48 160 48 0
WIRE 80 160 48 160
WIRE 400 176 384 176
WIRE -16 208 -32 208
WIRE 80 208 48 208
WIRE 400 240 384 240
WIRE 80 256 48 256
WIRE -240 288 -240 272
WIRE 416 304 384 304
WIRE -240 384 -240 368
WIRE 192 384 192 352
WIRE -48 416 -64 416
WIRE 48 416 48 256
WIRE 48 416 32 416
WIRE 256 416 48 416
WIRE 416 416 416 304
WIRE 416 416 336 416
SYMBOL opamps\\LTC6405 208 208 R0
SYMATTR InstName U1
SYMBOL cap 48 192 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value .1
SYMBOL res 48 400 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 100
SYMBOL res 48 -16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 100
SYMBOL res 368 -16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 402
SYMBOL voltage -240 272 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 352 400 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 402
SYMBOL voltage -240 0 R0
SYMATTR InstName V2
SYMATTR Value sine(0 .5 1Meg)
FLAG -240 272 +V
FLAG 192 48 +V
FLAG -240 384 0
FLAG 192 384 0
FLAG -64 416 0
FLAG -240 112 0
FLAG -32 208 0
TEXT 240 496 Left 2 !.tran 10u
* Z:\home\khalils\Downloads\files\data\raw_asc\0921a35a87c9_let_the_sun_shine.asc
* Generated by LTspice 26.0.1 for Windows.
* a smaller photo diode
* Let The Sun Shine
RLOAD N001 0 1k
B1 vdi 0 I=V(VLUX)*1u
R2 vdi N001 10
R1 vdi 0 1e6
D1 0 vdi D
V1 VLUX 0 PWL(0 10 1 10 2 100 3 100 4 1000 6 1000 7 100)
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0 10 0 .01
.options plotwinsize=0
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 964 680
WIRE 368 128 320 128
WIRE 432 128 368 128
WIRE 528 128 432 128
WIRE 576 128 528 128
WIRE 848 128 656 128
WIRE -128 160 -128 144
WIRE 528 160 528 128
WIRE 320 176 320 128
WIRE 432 176 432 128
WIRE 848 176 848 128
WIRE -128 256 -128 240
WIRE 320 288 320 256
WIRE 432 288 432 240
WIRE 432 288 320 288
WIRE 528 288 528 240
WIRE 528 288 432 288
WIRE 848 288 848 256
WIRE 432 320 432 288
LINE Normal -128 -64 -128 -16
LINE Normal -352 192 -400 192
LINE Normal -128 400 -128 448
LINE Normal 144 192 96 192
LINE Normal -335 282 -376 302
LINE Normal -272 352 -304 384
LINE Normal 64 16 32 48
LINE Normal 64 368 32 336
LINE Normal -288 48 -320 16
LINE Normal 122 92 81 112
LINE Normal -204 -3 -224 -44
LINE Normal -16 422 -36 381
LINE Normal -196 387 -217 433
LINE Normal -20 -45 -41 1
LINE Normal -339 108 -385 87
LINE Normal 123 291 77 270
RECTANGLE Normal 688 368 208 48
CIRCLE Normal 96 400 -352 -16
SYMBOL res 832 160 R0
SYMATTR InstName RLOAD
SYMATTR Value 1k
SYMBOL voltage -128 144 R0
WINDOW 3 -238 356 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PWL(0 10 1 10 2 100  3 100 4 1000 6 1000 7 100)
SYMBOL res 560 144 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R2
SYMATTR Value 10
SYMBOL res 512 144 R0
SYMATTR InstName R1
SYMATTR Value 1e6
SYMBOL diode 416 240 M180
WINDOW 0 24 72 Left 0
WINDOW 3 24 0 Left 0
SYMATTR InstName D1
SYMBOL bi 320 176 R0
WINDOW 3 -80 136 Left 0
SYMATTR InstName B1
SYMATTR Value I=V(VLUX)*1u
FLAG 432 320 0
FLAG 368 128 vdi
FLAG 848 288 0
FLAG -128 144 VLUX
FLAG -128 256 0
TEXT 230 -76 Left 0 !.tran 0 10 0 .01
TEXT 240 72 Left 0 ;a smaller photo diode
TEXT 232 -48 Left 0 !.options plotwinsize=0
TEXT -208 -120 Left 0 ;Let The Sun Shine