* Z:\tmp\asc_dec_bjh7r6w2\06923567d7b8_IL300_F-107_12V_npn_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
R5 N005 0 33k
C1 N004 N005 22pf
XU2 N015 N006 N001 0 N003 OPA2340 ;pnba In+)In-)V+)V-)OUT
Q1 VCC_2 N007 N010 0 NPN
R10 N003 N006 100k
R13 N015 N021 100k
C2 N016 0 10n
V9 N013 0 1.2 Rser=10m
XU3 N020 N019 N001 0 N019 OPA2340 ;pnba In+)In-)V+)V-)OUT
R1 N016 VADC 1k
V7 N002 0 5V Rser=10m
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 6832 5392
WIRE -224 352 -640 352
WIRE 1232 368 1040 368
WIRE 0 400 -128 400
WIRE 112 416 64 416
WIRE 176 416 112 416
WIRE 0 432 -32 432
WIRE 272 432 272 352
WIRE -256 464 -272 464
WIRE -128 464 -128 400
WIRE -128 464 -176 464
WIRE 112 480 112 416
WIRE 1104 480 1072 480
WIRE 32 496 32 448
WIRE 208 496 208 480
WIRE 208 496 176 496
WIRE 816 496 672 496
WIRE -224 512 -224 352
WIRE -400 528 -432 528
WIRE -272 528 -272 464
WIRE -272 528 -320 528
WIRE -256 528 -272 528
WIRE 288 528 272 528
WIRE 384 528 368 528
WIRE 1040 528 1040 368
WIRE -128 544 -128 464
WIRE -128 544 -192 544
WIRE 736 544 736 368
WIRE 896 544 848 544
WIRE 992 544 992 480
WIRE 992 544 976 544
WIRE 1008 544 992 544
WIRE -256 560 -272 560
WIRE 384 560 224 560
WIRE 672 560 672 496
WIRE 704 560 672 560
WIRE 1104 560 1104 480
WIRE 1104 560 1072 560
WIRE 1136 560 1104 560
WIRE 1152 560 1136 560
WIRE 1328 560 1152 560
WIRE 1440 560 1408 560
WIRE 816 576 816 496
WIRE 816 576 768 576
WIRE 896 576 816 576
WIRE 992 576 976 576
WIRE 1008 576 992 576
WIRE -224 592 -224 576
WIRE -32 592 -32 432
WIRE 112 592 112 544
WIRE 112 592 -32 592
WIRE 384 592 112 592
WIRE 704 592 544 592
WIRE 1232 592 1232 368
WIRE 1440 592 1440 560
WIRE -576 608 -688 608
WIRE -32 608 -32 592
WIRE 1440 608 1440 592
WIRE -640 624 -640 352
WIRE 384 624 176 624
WIRE 992 624 992 576
WIRE 1040 624 1040 592
WIRE -688 640 -688 608
WIRE -672 640 -688 640
WIRE 736 640 736 608
WIRE 848 640 848 544
WIRE -576 656 -576 608
WIRE -576 656 -608 656
WIRE -400 656 -576 656
WIRE -272 656 -272 560
WIRE -272 656 -320 656
WIRE 1136 656 1136 560
WIRE -736 672 -768 672
WIRE -672 672 -736 672
WIRE -736 704 -736 672
WIRE -32 704 -32 688
WIRE 1232 704 1232 672
WIRE -400 752 -480 752
WIRE -272 752 -272 656
WIRE -272 752 -320 752
WIRE 848 752 848 720
WIRE -160 768 -160 720
WIRE -736 816 -736 784
WIRE -480 864 -480 832
WIRE -160 880 -160 848
SYMBOL res -48 592 R0
SYMATTR InstName R5
SYMATTR Value 33k
SYMBOL cap 96 480 R0
SYMATTR InstName C1
SYMATTR Value 22pf
SYMBOL Opamps\\opamp2 -224 480 R0
WINDOW 38 29 92 Left 2
SYMATTR SpiceModel OPA2340
SYMATTR InstName U2
SYMATTR Value ""
SYMBOL npn 208 432 R0
SYMATTR InstName Q1
SYMBOL res -160 448 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 100k
SYMBOL res -304 736 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R13
SYMATTR Value 100k
SYMBOL cap 1424 592 R0
SYMATTR InstName C2
SYMATTR Value 10n
SYMBOL voltage 848 624 R0
WINDOW 123 0 0 Left 2
WINDOW 39 24 124 Left 2
SYMATTR SpiceLine Rser=10m
SYMATTR InstName V9
SYMATTR Value 1.2
SYMBOL Opamps\\opamp2 -640 592 R0
WINDOW 38 29 92 Left 2
SYMATTR SpiceModel OPA2340
SYMATTR InstName U3
SYMATTR Value ""
SYMBOL res 1424 544 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL voltage 1232 576 R0
WINDOW 123 0 0 Left 2
WINDOW 39 24 124 Left 2
SYMATTR SpiceLine Rser=10m
SYMATTR InstName V7
SYMATTR Value 5V
FLAG 32 384 0
FLAG -32 704 0
FLAG 224 560 0
FLAG 1232 704 0
FLAG 736 640 0
FLAG -640 688 0
FLAG -224 592 0
FLAG -480 864 0
FLAG 1040 624 0
FLAG 848 752 0
FLAG 992 704 0
FLAG 1152 560 VADC
FLAG 1136 736 0
FLAG -160 880 0
FLAG 32 496 VCC_2
FLAG -160 720 VCC_2
FLAG 176 624 VCC_2
FLAG 1440 656 0
FLAG 272 352 VCC_2