* SPICE netlist
V1 Vin 0 PWL(0 0 0.1 9)
V2 12V 0 12V
D1 N001 N008 D
V3 -12V 0 -12V
V4 5V 0 5V
XU3 N009 N004 12V -12V N005 LM741/NS ;pnba In+)In-)V+)V-)OUT
R10 N009 0 100k
R13 N005 N004 200k
R14 N003 N004 100k
R3 N009 Vin 50k
XU2 N022 N018 12V -12V N019 LM741/NS ;pnba In+)In-)V+)V-)OUT
D2 N001 N006 D
R4 N018 Vin 100k
R5 N019 N018 200k
R6 N022 N021 100k
R7 0 N022 200k
D3 N005 Vred D
D4 N019 Vblue D
D6 N001 N007 D
R23 Vred 0 100k
R24 Vblue 0 100k
D7 0 N002 TDZ6_8B
R8 N003 N002 2k
R9 0 N003 3k
R17 N002 12V 1.5k
D5 0 N020 TDZ6_8B
R11 N021 N020 2k
R12 0 N021 7k
R15 N020 12V 2.2k
R19 12V N001 100
XU6 N001 N011 12V -12V N010 LM741/NS ;pnba In+)In-)V+)V-)OUT
R26 N011 12V 100
R28 0 N011 800
Q3 N013 N016 0 0 BC547B
Q1 N014 N017 0 0 NPN
R2 N017 N010 10k
R1 N016 Vred 65k
R16 N008 N013 700
R20 N007 N012 700
R18 N015 Vblue 65k
Q2 N012 N015 0 0 BC547B
R21 N006 N014 300
R22 Vin 0 10k
.include D:\GITHUB\EE313-Term-project\Simulation\Display Unit\LM741.MOD
.tran 0 0.1 0

* LTspice schematic (.asc)
Version 4
SHEET 1 4304 1472
WIRE -760 -704 -760 -736
WIRE -760 -704 -808 -704
WIRE -888 -688 -888 -704
WIRE -888 -688 -920 -688
WIRE -760 -672 -760 -704
WIRE -536 -672 -536 -720
WIRE -392 -672 -392 -720
WIRE -248 -672 -248 -720
WIRE 1256 -672 1256 -736
WIRE -760 -544 -760 -592
WIRE -536 -544 -536 -592
WIRE -392 -544 -392 -592
WIRE -248 -544 -248 -592
WIRE 1256 -544 1256 -592
WIRE 1256 -544 1176 -544
WIRE -1928 -400 -1976 -400
WIRE -1816 -400 -1848 -400
WIRE -1720 -400 -1816 -400
WIRE -1528 -400 -1656 -400
WIRE 1256 -320 1256 -544
WIRE 1256 -320 456 -320
WIRE 2152 -320 1256 -320
WIRE -1816 -304 -1816 -400
WIRE -1720 -304 -1816 -304
WIRE -1624 -304 -1640 -304
WIRE -1592 -304 -1624 -304
WIRE -1480 -304 -1512 -304
WIRE 2152 -256 2152 -320
WIRE 456 -240 456 -320
WIRE 1256 -240 1256 -320
WIRE -1624 -208 -1624 -304
WIRE -1048 -208 -1624 -208
WIRE -952 -208 -968 -208
WIRE -920 -208 -952 -208
WIRE -792 -208 -840 -208
WIRE 1256 -128 1256 -176
WIRE 2152 -128 2152 -192
WIRE 456 -112 456 -176
WIRE -872 -80 -872 -112
WIRE -952 -64 -952 -208
WIRE -904 -64 -952 -64
WIRE 792 -64 792 -176
WIRE -792 -48 -792 -208
WIRE -792 -48 -840 -48
WIRE -760 -48 -792 -48
WIRE -680 -48 -696 -48
WIRE 1176 -48 1176 -544
WIRE 1176 -48 824 -48
WIRE -1336 -32 -1384 -32
WIRE -1192 -32 -1256 -32
WIRE -904 -32 -1192 -32
WIRE 760 -32 648 -32
WIRE 1032 -32 840 -32
WIRE -696 -16 -696 -48
WIRE 840 -16 840 -32
WIRE 840 -16 824 -16
WIRE 2152 0 2152 -48
WIRE 456 16 456 -32
WIRE 936 16 904 16
WIRE 1032 16 1032 -32
WIRE 1032 16 1016 16
WIRE 1064 16 1032 16
WIRE 1176 16 1144 16
WIRE 792 32 792 0
WIRE 1256 32 1256 -48
WIRE -1192 48 -1192 -32
WIRE 1928 48 1864 48
WIRE 2088 48 2008 48
WIRE 232 64 216 64
WIRE 392 64 312 64
WIRE 648 80 648 -32
WIRE 1016 80 648 80
WIRE 1192 80 1096 80
WIRE -872 96 -872 -16
WIRE -696 96 -696 64
WIRE -1192 208 -1192 128
WIRE 1256 288 1256 128
WIRE 2152 304 2152 96
WIRE 456 320 456 112
WIRE -1128 400 -1192 400
WIRE -984 400 -1048 400
WIRE -920 400 -984 400
WIRE -808 400 -840 400
WIRE -2104 416 -2152 416
WIRE -1992 416 -2024 416
WIRE -1896 416 -1992 416
WIRE -1704 416 -1832 416
WIRE -1992 512 -1992 416
WIRE -1896 512 -1992 512
WIRE -1800 512 -1816 512
WIRE -1768 512 -1800 512
WIRE -1656 512 -1688 512
WIRE -904 544 -904 512
WIRE -984 560 -984 400
WIRE -936 560 -984 560
WIRE -808 576 -808 400
WIRE -808 576 -872 576
WIRE -792 576 -808 576
WIRE -712 576 -728 576
WIRE -1800 592 -1800 512
WIRE -1208 592 -1800 592
WIRE -1032 592 -1128 592
WIRE -936 592 -1032 592
WIRE -1032 624 -1032 592
WIRE -728 624 -728 576
WIRE -904 720 -904 608
WIRE -728 720 -728 704
WIRE -1032 736 -1032 704
FLAG -760 -544 0
FLAG -760 -736 Vin
FLAG -536 -544 0
FLAG -536 -720 12V
FLAG 456 320 0
FLAG -392 -544 0
FLAG -392 -720 -12V
FLAG -248 -544 0
FLAG -248 -720 5V
FLAG -872 -112 12V
FLAG -1192 208 0
FLAG -680 -48 Vred
FLAG -1384 -32 Vin
FLAG -904 512 12V
FLAG -712 576 Vblue
FLAG -1032 736 0
FLAG -1192 400 Vin
FLAG -872 96 -12V
FLAG -904 720 -12V
FLAG 2152 304 0
FLAG -696 96 0
FLAG -728 720 0
FLAG 1256 -736 12V
FLAG -1480 -304 0
FLAG -1528 -400 0
FLAG -1976 -400 12V
FLAG -1656 512 0
FLAG -1704 416 0
FLAG -2152 416 12V
FLAG 792 32 12V
FLAG 792 -176 -12V
FLAG 1176 16 0
FLAG 904 16 12V
FLAG 1256 288 0
FLAG 216 64 Vred
FLAG 1864 48 Vblue
FLAG -920 -688 0
SYMBOL voltage -760 -688 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 0.1 9)
SYMBOL voltage -536 -688 R0
SYMATTR InstName V2
SYMATTR Value 12V
SYMBOL LED 440 -240 R0
SYMATTR InstName D1
SYMBOL voltage -392 -688 R0
SYMATTR InstName V3
SYMATTR Value -12V
SYMBOL voltage -248 -688 R0
SYMATTR InstName V4
SYMATTR Value 5V
SYMBOL OpAmps\\opamp2 -872 -112 R0
SYMATTR InstName U3
SYMATTR Value LM741/NS
SYMBOL res -1208 32 R0
SYMATTR InstName R10
SYMATTR Value 100k
SYMBOL res -824 -224 R90
SYMATTR InstName R13
SYMATTR Value 200k
SYMBOL res -1064 -192 R270
SYMATTR InstName R14
SYMATTR Value 100k
SYMBOL res -1240 -48 R90
SYMATTR InstName R3
SYMATTR Value 50k
SYMBOL OpAmps\\opamp2 -904 512 R0
SYMATTR InstName U2
SYMATTR Value LM741/NS
SYMBOL LED 1240 -240 R0
SYMATTR InstName D2
SYMBOL res -1032 384 R90
SYMATTR InstName R4
SYMATTR Value 100k
SYMBOL res -824 384 R90
SYMATTR InstName R5
SYMATTR Value 200k
SYMBOL res -1112 576 R90
SYMATTR InstName R6
SYMATTR Value 100k
SYMBOL res -1016 720 R180
SYMATTR InstName R7
SYMATTR Value 200k
SYMBOL diode -760 -32 R270
SYMATTR InstName D3
SYMBOL diode -792 592 R270
SYMATTR InstName D4
SYMBOL LED 2136 -256 R0
SYMATTR InstName D6
SYMBOL res -712 -32 R0
SYMATTR InstName R23
SYMATTR Value 100k
SYMBOL res -744 608 R0
SYMATTR InstName R24
SYMATTR Value 100k
SYMBOL zener -1656 -416 R90
SYMATTR InstName D7
SYMATTR Value TDZ6_8B
SYMBOL res -1624 -320 R90
SYMATTR InstName R8
SYMATTR Value 2k
SYMBOL res -1496 -320 R90
SYMATTR InstName R9
SYMATTR Value 3k
SYMBOL res -1832 -416 R90
SYMATTR InstName R17
SYMATTR Value 1.5k
SYMBOL zener -1832 400 R90
SYMATTR InstName D5
SYMATTR Value TDZ6_8B
SYMBOL res -1800 496 R90
SYMATTR InstName R11
SYMATTR Value 2k
SYMBOL res -1672 496 R90
SYMATTR InstName R12
SYMATTR Value 7k
SYMBOL res -2008 400 R90
SYMATTR InstName R15
SYMATTR Value 2.2k
SYMBOL res 1240 -688 R0
SYMATTR InstName R19
SYMATTR Value 100
SYMBOL OpAmps\\opamp2 792 32 R180
SYMATTR InstName U6
SYMATTR Value LM741/NS
SYMBOL res 1032 0 R90
SYMATTR InstName R26
SYMATTR Value 100
SYMBOL res 1160 0 R90
SYMATTR InstName R28
SYMATTR Value 800
SYMBOL npn 392 16 R0
SYMATTR InstName Q3
SYMATTR Value BC547B
SYMBOL npn 1192 32 R0
SYMATTR InstName Q1
SYMBOL res 1112 64 R90
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL res 328 48 R90
SYMATTR InstName R1
SYMATTR Value 65k
SYMBOL res 440 -128 R0
SYMATTR InstName R16
SYMATTR Value 700
SYMBOL res 2136 -144 R0
SYMATTR InstName R20
SYMATTR Value 700
SYMBOL res 2024 32 R90
SYMATTR InstName R18
SYMATTR Value 65k
SYMBOL npn 2088 0 R0
SYMATTR InstName Q2
SYMATTR Value BC547B
SYMBOL res 1240 -144 R0
SYMATTR InstName R21
SYMATTR Value 300
SYMBOL res -792 -720 R90
SYMATTR InstName R22
SYMATTR Value 10k