* SPICE netlist
XU5 N011 N005 12V -12V N006 LM741/NS ;pnba In+)In-)V+)V-)OUT
V1 LM35 0 PWL(0 0 0.2 0 0.8 1 1 1)
V2 12V 0 12
R1 12V N004 3k
R2 N008 0 2.5k
R3 N006 N005 25k
R4 N005 N007 1k
R5 N011 LM35 1k
R6 N011 0 25k
XU1 N008 N007 12V -12V N007 LM741/NS ;pnba In+)In-)V+)V-)OUT
V3 -12V 0 -12V
V4 5V 0 5V
D1 N006 N009 D
XU2 N010 Vout 12V -12V Vout LM741/NS ;pnba In+)In-)V+)V-)OUT
R7 N004 N008 45k
R8 N010 N009 10k
D2 0 N010 UDZV9_1B
D4 0 N004 1N750
XU3 Vout N012 12V -12V N013 LM741/NS ;pnba In+)In-)V+)V-)OUT
D3 N013 N012 D
R10 N012 0 560
R11 N010 0 500k
.include D:\GITHUB\EE313-Term-project\Simulation\Sensing Unit\LM741.MOD
.tran 0 1 0

* LTspice schematic (.asc)
Version 4
SHEET 1 2304 1792
WIRE -928 -832 -928 -896
WIRE -640 -832 -640 -896
WIRE -496 -832 -496 -896
WIRE -352 -832 -352 -896
WIRE -928 -704 -928 -752
WIRE -640 -704 -640 -752
WIRE -496 -704 -496 -752
WIRE -352 -704 -352 -752
WIRE -352 -608 -1152 -608
WIRE 400 -608 -304 -608
WIRE 992 -608 448 -608
WIRE -928 -464 -928 -512
WIRE -928 -384 -1104 -384
WIRE 16 -352 -32 -352
WIRE 192 -352 96 -352
WIRE -496 -336 -672 -336
WIRE -928 -320 -928 -384
WIRE 864 -304 688 -304
WIRE -608 -240 -608 -288
WIRE -1104 -224 -1104 -384
WIRE -672 -224 -672 -336
WIRE -640 -224 -672 -224
WIRE -496 -208 -496 -336
WIRE -496 -208 -576 -208
WIRE -176 -208 -496 -208
WIRE -32 -208 -32 -352
WIRE -32 -208 -96 -208
WIRE 752 -208 752 -256
WIRE -928 -192 -928 -240
WIRE -640 -192 -928 -192
WIRE 48 -192 48 -240
WIRE 688 -192 688 -304
WIRE 720 -192 688 -192
WIRE -32 -176 -32 -208
WIRE 16 -176 -32 -176
WIRE 864 -176 864 -304
WIRE 864 -176 784 -176
WIRE 1072 -176 864 -176
WIRE 1152 -176 1072 -176
WIRE 192 -160 192 -352
WIRE 192 -160 80 -160
WIRE 224 -160 192 -160
WIRE 464 -160 288 -160
WIRE 576 -160 544 -160
WIRE 640 -160 576 -160
WIRE 720 -160 640 -160
WIRE -928 -144 -928 -192
WIRE 16 -144 -32 -144
WIRE 640 -112 640 -160
WIRE -608 -96 -608 -176
WIRE -176 -96 -240 -96
WIRE -32 -96 -32 -144
WIRE -32 -96 -96 -96
WIRE 576 -96 576 -160
WIRE 48 -80 48 -128
WIRE 752 -64 752 -144
WIRE -32 -32 -32 -96
WIRE -1104 0 -1104 -160
WIRE -928 0 -928 -64
WIRE -928 0 -1104 0
WIRE 576 0 576 -32
WIRE 640 0 640 -32
WIRE -928 32 -928 0
WIRE -1152 80 -1152 -608
WIRE -352 80 -352 -608
WIRE -352 80 -1152 80
WIRE -32 80 -32 48
WIRE -304 144 -304 -608
WIRE 400 144 400 -608
WIRE 400 144 -304 144
WIRE 448 144 448 -608
WIRE 992 144 992 -608
WIRE 992 144 448 144
WIRE 1072 208 1072 -176
WIRE 1072 208 672 208
WIRE 736 352 736 304
WIRE 704 368 624 368
WIRE 1072 384 768 384
WIRE 672 400 672 208
WIRE 704 400 672 400
WIRE 736 496 736 416
WIRE 1072 496 1072 384
WIRE 1072 608 1072 560
WIRE 624 752 624 368
WIRE 1072 752 1072 688
WIRE 1072 752 624 752
WIRE 1072 896 1072 832
FLAG -928 -704 0
FLAG -928 -896 LM35
FLAG -640 -704 0
FLAG -640 -896 12V
FLAG -928 -512 12V
FLAG -240 -96 LM35
FLAG -608 -288 12V
FLAG -496 -704 0
FLAG -496 -896 -12V
FLAG -608 -96 -12V
FLAG -352 -704 0
FLAG -352 -896 5V
FLAG 48 -240 12V
FLAG -32 80 0
FLAG 48 -80 -12V
FLAG 752 -256 12V
FLAG 752 -64 -12V
FLAG 1152 -176 Vout
FLAG 576 0 0
FLAG -928 32 0
FLAG 736 304 12V
FLAG 736 496 -12V
FLAG 1072 896 0
FLAG 640 0 0
SYMBOL OpAmps\\opamp2 48 -224 R0
SYMATTR InstName U5
SYMATTR Value LM741/NS
SYMBOL voltage -928 -848 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 0.2 0 0.8 1 1 1)
SYMBOL voltage -640 -848 R0
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL res -944 -480 R0
SYMATTR InstName R1
SYMATTR Value 3k
SYMBOL res -944 -160 R0
SYMATTR InstName R2
SYMATTR Value 2.5k
SYMBOL res 112 -368 R90
SYMATTR InstName R3
SYMATTR Value 25k
SYMBOL res -80 -224 R90
SYMATTR InstName R4
SYMATTR Value 1k
SYMBOL res -80 -112 R90
SYMATTR InstName R5
SYMATTR Value 1k
SYMBOL res -48 -48 R0
SYMATTR InstName R6
SYMATTR Value 25k
SYMBOL OpAmps\\opamp2 -608 -272 R0
SYMATTR InstName U1
SYMATTR Value LM741/NS
SYMBOL voltage -496 -848 R0
SYMATTR InstName V3
SYMATTR Value -12V
SYMBOL voltage -352 -848 R0
SYMATTR InstName V4
SYMATTR Value 5V
SYMBOL diode 224 -144 R270
SYMATTR InstName D1
SYMBOL OpAmps\\opamp2 752 -240 R0
SYMATTR InstName U2
SYMATTR Value LM741/NS
SYMBOL res -944 -336 R0
SYMATTR InstName R7
SYMATTR Value 45k
SYMBOL res 560 -176 R90
SYMATTR InstName R8
SYMATTR Value 10k
SYMBOL zener 592 -32 R180
SYMATTR InstName D2
SYMATTR Value UDZV9_1B
SYMBOL zener -1088 -160 R180
SYMATTR InstName D4
SYMATTR Value 1N750
SYMBOL OpAmps\\opamp2 736 320 R0
SYMATTR InstName U3
SYMATTR Value LM741/NS
SYMBOL LED 1056 496 R0
SYMATTR InstName D3
SYMBOL res 1056 592 R0
SYMATTR InstName R9
SYMATTR Value 0
SYMBOL res 1056 736 R0
SYMATTR InstName R10
SYMATTR Value 560
SYMBOL res 624 -128 R0
SYMATTR InstName R11
SYMATTR Value 500k