* Z:\home\khalils\Downloads\files\data\raw_asc\4e5f04501cec_n_element_sensor_system.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU2, XU3, XU1, XUd (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LM308.asy)
XU1 0 N001 5V 0 V1 NC_05 NC_06 LT1008 ;pnba In+)In-)V+)V-)OUT)COMP1)COMP2
Dc 0 N003 D
XUd 0 N004 5V 0 V4 NC_07 NC_08 LT1008 ;pnba In+)In-)V+)V-)OUT)COMP1)COMP2
Ra V1 N001 1000k
Rc V3 N003 1000k
Rd V4 N004 1000k
R1 5V P001 10k
Db 0 N002 D
R2 5V P002 10k
Rb V2 N002 1000k
Da 0 N001 D
XU2 0 N002 5V 0 V2 NC_01 NC_02 LT1008 ;pnba In+)In-)V+)V-)OUT)COMP1)COMP2
D2 P002 0 D
Dd 0 N004 D
XU3 0 N003 5V 0 V3 NC_03 NC_04 LT1008 ;pnba In+)In-)V+)V-)OUT)COMP1)COMP2
D3 P003 0 D
R3 5V P003 10k
Rn 5V P004 10k
V5V 5V 0 5V
Dn P004 0 D
D1 P001 0 D
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1096 680
WIRE -32 -208 -48 -208
WIRE 192 -208 48 -208
WIRE 528 -208 512 -208
WIRE 752 -208 608 -208
WIRE -48 -112 -48 -208
WIRE -48 -112 -112 -112
WIRE 32 -112 -48 -112
WIRE 512 -112 512 -208
WIRE 512 -112 448 -112
WIRE 592 -112 512 -112
WIRE 192 -96 192 -208
WIRE 192 -96 96 -96
WIRE 272 -96 192 -96
WIRE 752 -96 752 -208
WIRE 752 -96 656 -96
WIRE 832 -96 752 -96
WIRE -112 -80 -112 -112
WIRE 32 -80 0 -80
WIRE 448 -80 448 -112
WIRE 592 -80 560 -80
WIRE 0 -64 0 -80
WIRE 560 -64 560 -80
WIRE -112 0 -112 -16
WIRE 448 0 448 -16
WIRE 704 32 688 32
WIRE 928 32 784 32
WIRE 688 128 688 32
WIRE 688 128 624 128
WIRE 768 128 688 128
WIRE 928 144 928 32
WIRE 928 144 832 144
WIRE 1008 144 928 144
WIRE 16 160 -112 160
WIRE 80 160 80 128
WIRE 80 160 16 160
WIRE 144 160 80 160
WIRE 272 160 144 160
WIRE 624 160 624 128
WIRE 768 160 736 160
WIRE -112 176 -112 160
WIRE 16 176 16 160
WIRE 144 176 144 160
WIRE 272 176 272 160
WIRE 736 176 736 160
WIRE 624 240 624 224
WIRE -112 336 -112 320
WIRE 16 336 16 320
WIRE 16 336 -112 336
WIRE 80 336 16 336
WIRE 144 336 144 320
WIRE 144 336 80 336
WIRE 272 336 272 320
WIRE 272 336 144 336
WIRE 80 368 80 336
WIRE 640 368 624 368
WIRE 864 368 720 368
WIRE 624 464 624 368
WIRE 624 464 560 464
WIRE 704 464 624 464
WIRE 864 480 864 368
WIRE 864 480 768 480
WIRE 944 480 864 480
WIRE 560 496 560 464
WIRE 704 496 672 496
WIRE 672 512 672 496
WIRE 560 576 560 560
IOPIN 432 144 Out
IOPIN 80 128 In
IOPIN 640 -128 In
IOPIN 832 -96 Out
IOPIN 816 112 In
IOPIN 1008 144 Out
IOPIN 80 -128 In
IOPIN 272 -96 Out
IOPIN 752 448 In
IOPIN 944 480 Out
SYMBOL res 800 16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rc
SYMATTR Value 1000k
SYMBOL diode 464 -16 R180
WINDOW 0 44 35 Left 2
WINDOW 3 24 0 Invisible 2
SYMATTR InstName Db
SYMBOL diode 640 224 R180
WINDOW 0 44 33 Left 2
WINDOW 3 24 0 Invisible 2
SYMATTR InstName Dc
SYMBOL LED 0 256 R0
WINDOW 0 -37 33 Left 2
WINDOW 3 24 64 Invisible 2
SYMATTR InstName D2
SYMBOL voltage 432 128 R0
WINDOW 0 24 16 Invisible 2
WINDOW 3 39 56 Left 2
SYMATTR InstName 5V
SYMATTR Value 5V
SYMBOL res 64 -224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Ra
SYMATTR Value 1000k
SYMBOL res 736 352 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rd
SYMATTR Value 1000k
SYMBOL res 0 160 R0
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL OpAmps\\LM308 64 -160 R0
SYMATTR InstName U1
SYMBOL LED -128 256 R0
WINDOW 0 -39 33 Left 2
WINDOW 3 24 64 Invisible 2
SYMATTR InstName D1
SYMBOL OpAmps\\LM308 624 -160 R0
SYMATTR InstName U2
SYMBOL LED 128 256 R0
WINDOW 0 -35 32 Left 2
WINDOW 3 24 64 Invisible 2
SYMATTR InstName D3
SYMBOL res 624 -224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rb
SYMATTR Value 1000k
SYMBOL res -128 160 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL diode -96 -16 R180
WINDOW 0 44 33 Left 2
WINDOW 3 24 0 Invisible 2
SYMATTR InstName Da
SYMBOL res 128 160 R0
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL OpAmps\\LM308 736 416 R0
SYMATTR InstName Ud
SYMBOL OpAmps\\LM308 800 80 R0
SYMATTR InstName U3
SYMBOL diode 576 560 R180
WINDOW 0 44 33 Left 2
WINDOW 3 24 0 Invisible 2
SYMATTR InstName Dd
SYMBOL res 256 160 R0
SYMATTR InstName Rn
SYMATTR Value 10k
SYMBOL LED 256 256 R0
WINDOW 0 -35 32 Left 2
WINDOW 3 24 64 Invisible 2
SYMATTR InstName Dn
FLAG 432 224 0
FLAG 432 144 5V
FLAG 80 368 0
FLAG 80 128 5V
FLAG 560 -64 0
FLAG 624 -64 0
FLAG 640 -128 5V
FLAG 832 -96 V2
FLAG 448 0 0
FLAG 736 176 0
FLAG 800 176 0
FLAG 816 112 5V
FLAG 1008 144 V3
FLAG 624 240 0
FLAG 0 -64 0
FLAG 64 -64 0
FLAG 80 -128 5V
FLAG 272 -96 V1
FLAG -112 0 0
FLAG 672 512 0
FLAG 736 512 0
FLAG 752 448 5V
FLAG 944 480 V4
FLAG 560 576 0