summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/lm123_sub/lm123_sub.sch
blob: 45edcf599e2b601ae7eabb89c9ff76583dbe7b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
EESchema Schematic File Version 2
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:power
LIBS:eSim_Plot
LIBS:transistors
LIBS:conn
LIBS:eSim_User
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:eSim_Analog
LIBS:eSim_Devices
LIBS:eSim_Digital
LIBS:eSim_Hybrid
LIBS:eSim_Miscellaneous
LIBS:eSim_Power
LIBS:eSim_Sources
LIBS:eSim_Subckt
LIBS:eSim_Nghdl
LIBS:eSim_Ngveri
LIBS:eSim_SKY130
LIBS:eSim_SKY130_Subckts
LIBS:lm123_sub-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L eSim_PNP Q2
U 1 1 665CB16A
P 1850 1000
F 0 "Q2" H 1750 1050 50  0000 R CNN
F 1 "eSim_PNP" H 1800 1150 50  0000 R CNN
F 2 "" H 2050 1100 29  0000 C CNN
F 3 "" H 1850 1000 60  0000 C CNN
	1    1850 1000
	1    0    0    1   
$EndComp
$Comp
L eSim_PNP Q3
U 1 1 665CB16B
P 2350 1000
F 0 "Q3" H 2250 1050 50  0000 R CNN
F 1 "eSim_PNP" H 2300 1150 50  0000 R CNN
F 2 "" H 2550 1100 29  0000 C CNN
F 3 "" H 2350 1000 60  0000 C CNN
	1    2350 1000
	1    0    0    1   
$EndComp
$Comp
L eSim_PNP Q5
U 1 1 665CB16C
P 2900 1000
F 0 "Q5" H 2800 1050 50  0000 R CNN
F 1 "eSim_PNP" H 2850 1150 50  0000 R CNN
F 2 "" H 3100 1100 29  0000 C CNN
F 3 "" H 2900 1000 60  0000 C CNN
	1    2900 1000
	1    0    0    1   
$EndComp
$Comp
L jfet_n J1
U 1 1 665CB16D
P 1200 5100
F 0 "J1" H 1100 5150 50  0000 R CNN
F 1 "jfet_n" H 1150 5250 50  0000 R CNN
F 2 "" H 1400 5200 29  0000 C CNN
F 3 "" H 1200 5100 60  0000 C CNN
	1    1200 5100
	1    0    0    -1  
$EndComp
$Comp
L resistor R1
U 1 1 665CB16E
P 1700 5600
F 0 "R1" H 1750 5730 50  0000 C CNN
F 1 "4k" H 1750 5550 50  0000 C CNN
F 2 "" H 1750 5580 30  0000 C CNN
F 3 "" V 1750 5650 30  0000 C CNN
	1    1700 5600
	0    -1   -1   0   
$EndComp
$Comp
L resistor R2
U 1 1 665CB16F
P 1700 6050
F 0 "R2" H 1750 6180 50  0000 C CNN
F 1 "250" H 1750 6000 50  0000 C CNN
F 2 "" H 1750 6030 30  0000 C CNN
F 3 "" V 1750 6100 30  0000 C CNN
	1    1700 6050
	0    -1   -1   0   
$EndComp
$Comp
L zener U2
U 1 1 665CB170
P 2200 5500
F 0 "U2" H 2150 5400 60  0000 C CNN
F 1 "zener" H 2200 5600 60  0000 C CNN
F 2 "" H 2250 5500 60  0000 C CNN
F 3 "" H 2250 5500 60  0000 C CNN
	1    2200 5500
	0    1    -1   0   
$EndComp
$Comp
L eSim_NPN Q1
U 1 1 665CB171
P 1750 5100
F 0 "Q1" H 1650 5150 50  0000 R CNN
F 1 "eSim_NPN" H 1700 5250 50  0000 R CNN
F 2 "" H 1950 5200 29  0000 C CNN
F 3 "" H 1750 5100 60  0000 C CNN
	1    1750 5100
	-1   0    0    -1  
$EndComp
$Comp
L eSim_NPN Q4
U 1 1 665CB172
P 2600 5800
F 0 "Q4" H 2500 5850 50  0000 R CNN
F 1 "eSim_NPN" H 2550 5950 50  0000 R CNN
F 2 "" H 2800 5900 29  0000 C CNN
F 3 "" H 2600 5800 60  0000 C CNN
	1    2600 5800
	1    0    0    -1  
$EndComp
$Comp
L resistor R3
U 1 1 665CB173
P 3100 6050
F 0 "R3" H 3150 6180 50  0000 C CNN
F 1 "1k" H 3150 6000 50  0000 C CNN
F 2 "" H 3150 6030 30  0000 C CNN
F 3 "" V 3150 6100 30  0000 C CNN
	1    3100 6050
	0    -1   -1   0   
$EndComp
$Comp
L eSim_NPN Q6
U 1 1 665CB174
P 3150 4600
F 0 "Q6" H 3050 4650 50  0000 R CNN
F 1 "eSim_NPN" H 3100 4750 50  0000 R CNN
F 2 "" H 3350 4700 29  0000 C CNN
F 3 "" H 3150 4600 60  0000 C CNN
	1    3150 4600
	-1   0    0    -1  
$EndComp
$Comp
L resistor R4
U 1 1 665CB175
P 3250 4050
F 0 "R4" H 3300 4180 50  0000 C CNN
F 1 "2k" H 3300 4000 50  0000 C CNN
F 2 "" H 3300 4030 30  0000 C CNN
F 3 "" V 3300 4100 30  0000 C CNN
	1    3250 4050
	1    0    0    -1  
$EndComp
$Comp
L resistor R5
U 1 1 665CB176
P 3650 4300
F 0 "R5" H 3700 4430 50  0000 C CNN
F 1 "1.32k" H 3700 4250 50  0000 C CNN
F 2 "" H 3700 4280 30  0000 C CNN
F 3 "" V 3700 4350 30  0000 C CNN
	1    3650 4300
	0    -1   -1   0   
$EndComp
$Comp
L resistor R6
U 1 1 665CB177
P 3650 4950
F 0 "R6" H 3700 5080 50  0000 C CNN
F 1 "100" H 3700 4900 50  0000 C CNN
F 2 "" H 3700 4930 30  0000 C CNN
F 3 "" V 3700 5000 30  0000 C CNN
	1    3650 4950
	0    -1   -1   0   
$EndComp
$Comp
L eSim_NPN Q7
U 1 1 665CB178
P 3500 5450
F 0 "Q7" H 3400 5500 50  0000 R CNN
F 1 "eSim_NPN" H 3450 5600 50  0000 R CNN
F 2 "" H 3700 5550 29  0000 C CNN
F 3 "" H 3500 5450 60  0000 C CNN
	1    3500 5450
	1    0    0    -1  
$EndComp
$Comp
L resistor R7
U 1 1 665CB179
P 3650 6050
F 0 "R7" H 3700 6180 50  0000 C CNN
F 1 "100" H 3700 6000 50  0000 C CNN
F 2 "" H 3700 6030 30  0000 C CNN
F 3 "" V 3700 6100 30  0000 C CNN
	1    3650 6050
	0    -1   -1   0   
$EndComp
$Comp
L eSim_NPN Q10
U 1 1 665CB17A
P 4200 5150
F 0 "Q10" H 4100 5200 50  0000 R CNN
F 1 "eSim_NPN" H 4150 5300 50  0000 R CNN
F 2 "" H 4400 5250 29  0000 C CNN
F 3 "" H 4200 5150 60  0000 C CNN
	1    4200 5150
	1    0    0    -1  
$EndComp
$Comp
L resistor R8
U 1 1 665CB17B
P 4700 6050
F 0 "R8" H 4750 6180 50  0000 C CNN
F 1 "12k" H 4750 6000 50  0000 C CNN
F 2 "" H 4750 6030 30  0000 C CNN
F 3 "" V 4750 6100 30  0000 C CNN
	1    4700 6050
	0    -1   -1   0   
$EndComp
$Comp
L resistor R10
U 1 1 665CB17C
P 5150 6050
F 0 "R10" H 5200 6180 50  0000 C CNN
F 1 "1k" H 5200 6000 50  0000 C CNN
F 2 "" H 5200 6030 30  0000 C CNN
F 3 "" V 5200 6100 30  0000 C CNN
	1    5150 6050
	0    -1   -1   0   
$EndComp
$Comp
L eSim_NPN Q11
U 1 1 665CB17D
P 5000 5500
F 0 "Q11" H 4900 5550 50  0000 R CNN
F 1 "eSim_NPN" H 4950 5650 50  0000 R CNN
F 2 "" H 5200 5600 29  0000 C CNN
F 3 "" H 5000 5500 60  0000 C CNN
	1    5000 5500
	1    0    0    -1  
$EndComp
$Comp
L eSim_NPN Q14
U 1 1 665CB17E
P 5700 5500
F 0 "Q14" H 5600 5550 50  0000 R CNN
F 1 "eSim_NPN" H 5650 5650 50  0000 R CNN
F 2 "" H 5900 5600 29  0000 C CNN
F 3 "" H 5700 5500 60  0000 C CNN
	1    5700 5500
	-1   0    0    -1  
$EndComp
$Comp
L resistor R11
U 1 1 665CB17F
P 5650 6050
F 0 "R11" H 5700 6180 50  0000 C CNN
F 1 "4k" H 5700 6000 50  0000 C CNN
F 2 "" H 5700 6030 30  0000 C CNN
F 3 "" V 5700 6100 30  0000 C CNN
	1    5650 6050
	0    -1   -1   0   
$EndComp
$Comp
L eSim_NPN Q13
U 1 1 665CB180
P 5700 4800
F 0 "Q13" H 5600 4850 50  0000 R CNN
F 1 "eSim_NPN" H 5650 4950 50  0000 R CNN
F 2 "" H 5900 4900 29  0000 C CNN
F 3 "" H 5700 4800 60  0000 C CNN
	1    5700 4800
	1    0    0    -1  
$EndComp
$Comp
L eSim_NPN Q16
U 1 1 665CB181
P 6300 5100
F 0 "Q16" H 6200 5150 50  0000 R CNN
F 1 "eSim_NPN" H 6250 5250 50  0000 R CNN
F 2 "" H 6500 5200 29  0000 C CNN
F 3 "" H 6300 5100 60  0000 C CNN
	1    6300 5100
	1    0    0    -1  
$EndComp
$Comp
L resistor R9
U 1 1 665CB182
P 5150 4350
F 0 "R9" H 5200 4480 50  0000 C CNN
F 1 "20k" H 5200 4300 50  0000 C CNN
F 2 "" H 5200 4330 30  0000 C CNN
F 3 "" V 5200 4400 30  0000 C CNN
	1    5150 4350
	0    -1   -1   0   
$EndComp
$Comp
L capacitor C1
U 1 1 665CB183
P 5600 4200
F 0 "C1" H 5625 4300 50  0000 L CNN
F 1 "30pF" H 5625 4100 50  0000 L CNN
F 2 "" H 5638 4050 30  0000 C CNN
F 3 "" H 5600 4200 60  0000 C CNN
	1    5600 4200
	0    -1   -1   0   
$EndComp
$Comp
L eSim_NPN Q12
U 1 1 665CB184
P 5200 3700
F 0 "Q12" H 5100 3750 50  0000 R CNN
F 1 "eSim_NPN" H 5150 3850 50  0000 R CNN
F 2 "" H 5400 3800 29  0000 C CNN
F 3 "" H 5200 3700 60  0000 C CNN
	1    5200 3700
	-1   0    0    -1  
$EndComp
$Comp
L eSim_NPN Q9
U 1 1 665CB185
P 3700 3700
F 0 "Q9" H 3600 3750 50  0000 R CNN
F 1 "eSim_NPN" H 3650 3850 50  0000 R CNN
F 2 "" H 3900 3800 29  0000 C CNN
F 3 "" H 3700 3700 60  0000 C CNN
	1    3700 3700
	-1   0    0    -1  
$EndComp
$Comp
L eSim_NPN Q8
U 1 1 665CB186
P 3700 3150
F 0 "Q8" H 3600 3200 50  0000 R CNN
F 1 "eSim_NPN" H 3650 3300 50  0000 R CNN
F 2 "" H 3900 3250 29  0000 C CNN
F 3 "" H 3700 3150 60  0000 C CNN
	1    3700 3150
	-1   0    0    -1  
$EndComp
$Comp
L resistor R14
U 1 1 665CB187
P 7450 3400
F 0 "R14" H 7500 3530 50  0000 C CNN
F 1 "50k" H 7500 3350 50  0000 C CNN
F 2 "" H 7500 3380 30  0000 C CNN
F 3 "" V 7500 3450 30  0000 C CNN
	1    7450 3400
	0    -1   -1   0   
$EndComp
$Comp
L resistor R15
U 1 1 665CB188
P 7450 4050
F 0 "R15" H 7500 4180 50  0000 C CNN
F 1 "500" H 7500 4000 50  0000 C CNN
F 2 "" H 7500 4030 30  0000 C CNN
F 3 "" V 7500 4100 30  0000 C CNN
	1    7450 4050
	0    -1   -1   0   
$EndComp
$Comp
L eSim_NPN Q20
U 1 1 665CB189
P 7850 3700
F 0 "Q20" H 7750 3750 50  0000 R CNN
F 1 "eSim_NPN" H 7800 3850 50  0000 R CNN
F 2 "" H 8050 3800 29  0000 C CNN
F 3 "" H 7850 3700 60  0000 C CNN
	1    7850 3700
	-1   0    0    -1  
$EndComp
$Comp
L resistor R16
U 1 1 665CB18A
P 7800 6050
F 0 "R16" H 7850 6180 50  0000 C CNN
F 1 "20k" H 7850 6000 50  0000 C CNN
F 2 "" H 7850 6030 30  0000 C CNN
F 3 "" V 7850 6100 30  0000 C CNN
	1    7800 6050
	0    -1   -1   0   
$EndComp
$Comp
L resistor R19
U 1 1 665CB18B
P 8850 6050
F 0 "R19" H 8900 6180 50  0000 C CNN
F 1 "4k" H 8900 6000 50  0000 C CNN
F 2 "" H 8900 6030 30  0000 C CNN
F 3 "" V 8900 6100 30  0000 C CNN
	1    8850 6050
	0    -1   -1   0   
$EndComp
$Comp
L zener U4
U 1 1 665CB18C
P 9650 4900
F 0 "U4" H 9600 4800 60  0000 C CNN
F 1 "zener" H 9650 5000 60  0000 C CNN
F 2 "" H 9700 4900 60  0000 C CNN
F 3 "" H 9700 4900 60  0000 C CNN
	1    9650 4900
	0    1    -1   0   
$EndComp
$Comp
L eSim_NPN Q19
U 1 1 665CB18D
P 7500 2450
F 0 "Q19" H 7400 2500 50  0000 R CNN
F 1 "eSim_NPN" H 7450 2600 50  0000 R CNN
F 2 "" H 7700 2550 29  0000 C CNN
F 3 "" H 7500 2450 60  0000 C CNN
	1    7500 2450
	-1   0    0    -1  
$EndComp
$Comp
L eSim_PNP Q17
U 1 1 665CB18E
P 6750 2600
F 0 "Q17" H 6650 2650 50  0000 R CNN
F 1 "eSim_PNP" H 6700 2750 50  0000 R CNN
F 2 "" H 6950 2700 29  0000 C CNN
F 3 "" H 6750 2600 60  0000 C CNN
	1    6750 2600
	1    0    0    1   
$EndComp
$Comp
L resistor R12
U 1 1 665CB18F
P 6450 2300
F 0 "R12" H 6500 2430 50  0000 C CNN
F 1 "1k" H 6500 2250 50  0000 C CNN
F 2 "" H 6500 2280 30  0000 C CNN
F 3 "" V 6500 2350 30  0000 C CNN
	1    6450 2300
	0    -1   -1   0   
$EndComp
$Comp
L eSim_NPN Q15
U 1 1 665CB190
P 6300 1700
F 0 "Q15" H 6200 1750 50  0000 R CNN
F 1 "eSim_NPN" H 6250 1850 50  0000 R CNN
F 2 "" H 6500 1800 29  0000 C CNN
F 3 "" H 6300 1700 60  0000 C CNN
	1    6300 1700
	1    0    0    -1  
$EndComp
$Comp
L eSim_PNP Q18
U 1 1 665CB191
P 7100 1650
F 0 "Q18" H 7000 1700 50  0000 R CNN
F 1 "eSim_PNP" H 7050 1800 50  0000 R CNN
F 2 "" H 7300 1750 29  0000 C CNN
F 3 "" H 7100 1650 60  0000 C CNN
	1    7100 1650
	-1   0    0    1   
$EndComp
$Comp
L resistor R13
U 1 1 665CB192
P 7450 1450
F 0 "R13" H 7500 1580 50  0000 C CNN
F 1 "2k" H 7500 1400 50  0000 C CNN
F 2 "" H 7500 1430 30  0000 C CNN
F 3 "" V 7500 1500 30  0000 C CNN
	1    7450 1450
	0    -1   -1   0   
$EndComp
$Comp
L capacitor C2
U 1 1 665CB193
P 7900 1900
F 0 "C2" H 7925 2000 50  0000 L CNN
F 1 "10pF" H 7925 1800 50  0000 L CNN
F 2 "" H 7938 1750 30  0000 C CNN
F 3 "" H 7900 1900 60  0000 C CNN
	1    7900 1900
	1    0    0    -1  
$EndComp
$Comp
L resistor R17
U 1 1 665CB194
P 8250 2500
F 0 "R17" H 8300 2630 50  0000 C CNN
F 1 "2k" H 8300 2450 50  0000 C CNN
F 2 "" H 8300 2480 30  0000 C CNN
F 3 "" V 8300 2550 30  0000 C CNN
	1    8250 2500
	1    0    0    -1  
$EndComp
$Comp
L resistor R18
U 1 1 665CB195
P 8600 2050
F 0 "R18" H 8650 2180 50  0000 C CNN
F 1 "200" H 8650 2000 50  0000 C CNN
F 2 "" H 8650 2030 30  0000 C CNN
F 3 "" V 8650 2100 30  0000 C CNN
	1    8600 2050
	0    -1   -1   0   
$EndComp
$Comp
L eSim_NPN Q21
U 1 1 665CB196
P 8900 2350
F 0 "Q21" H 8800 2400 50  0000 R CNN
F 1 "eSim_NPN" H 8850 2500 50  0000 R CNN
F 2 "" H 9100 2450 29  0000 C CNN
F 3 "" H 8900 2350 60  0000 C CNN
	1    8900 2350
	0    -1   1    0   
$EndComp
$Comp
L resistor R20
U 1 1 665CB197
P 8950 1500
F 0 "R20" H 9000 1630 50  0000 C CNN
F 1 "6k" H 9000 1450 50  0000 C CNN
F 2 "" H 9000 1480 30  0000 C CNN
F 3 "" V 9000 1550 30  0000 C CNN
	1    8950 1500
	0    -1   -1   0   
$EndComp
$Comp
L resistor R22
U 1 1 665CB198
P 9550 2500
F 0 "R22" H 9600 2630 50  0000 C CNN
F 1 "50" H 9600 2450 50  0000 C CNN
F 2 "" H 9600 2480 30  0000 C CNN
F 3 "" V 9600 2550 30  0000 C CNN
	1    9550 2500
	1    0    0    -1  
$EndComp
$Comp
L resistor R21
U 1 1 665CB199
P 9400 1500
F 0 "R21" H 9450 1630 50  0000 C CNN
F 1 "50k" H 9450 1450 50  0000 C CNN
F 2 "" H 9450 1480 30  0000 C CNN
F 3 "" V 9450 1550 30  0000 C CNN
	1    9400 1500
	0    -1   -1   0   
$EndComp
$Comp
L resistor R24
U 1 1 665CB19A
P 10450 3000
F 0 "R24" H 10500 3130 50  0000 C CNN
F 1 "0.03" H 10500 2950 50  0000 C CNN
F 2 "" H 10500 2980 30  0000 C CNN
F 3 "" V 10500 3050 30  0000 C CNN
	1    10450 3000
	0    -1   -1   0   
$EndComp
$Comp
L resistor R23
U 1 1 665CB19B
P 10050 2000
F 0 "R23" H 10100 2130 50  0000 C CNN
F 1 "1k" H 10100 1950 50  0000 C CNN
F 2 "" H 10100 1980 30  0000 C CNN
F 3 "" V 10100 2050 30  0000 C CNN
	1    10050 2000
	0    -1   -1   0   
$EndComp
$Comp
L eSim_NPN Q22
U 1 1 665CB19C
P 9650 1200
F 0 "Q22" H 9550 1250 50  0000 R CNN
F 1 "eSim_NPN" H 9600 1350 50  0000 R CNN
F 2 "" H 9850 1300 29  0000 C CNN
F 3 "" H 9650 1200 60  0000 C CNN
	1    9650 1200
	1    0    0    -1  
$EndComp
$Comp
L eSim_NPN Q23
U 1 1 665CB19D
P 10300 1500
F 0 "Q23" H 10200 1550 50  0000 R CNN
F 1 "eSim_NPN" H 10250 1650 50  0000 R CNN
F 2 "" H 10500 1600 29  0000 C CNN
F 3 "" H 10300 1500 60  0000 C CNN
	1    10300 1500
	1    0    0    -1  
$EndComp
$Comp
L zener U3
U 1 1 665CB19E
P 9350 950
F 0 "U3" H 9300 850 60  0000 C CNN
F 1 "zener" H 9350 1050 60  0000 C CNN
F 2 "" H 9400 950 60  0000 C CNN
F 3 "" H 9400 950 60  0000 C CNN
	1    9350 950 
	0    -1   -1   0   
$EndComp
Wire Wire Line
	1650 1000 1650 4900
Wire Wire Line
	2200 1200 2200 5200
Wire Wire Line
	2200 1200 2450 1200
Wire Wire Line
	1950 800  3000 800 
Wire Wire Line
	2450 550  2450 800 
Connection ~ 2450 800 
Wire Wire Line
	9350 650  9350 550 
Wire Wire Line
	1500 550  10400 550 
Wire Wire Line
	10400 550  10400 1300
Connection ~ 9350 550 
Wire Wire Line
	1300 4900 1300 4650
Wire Wire Line
	1300 4650 1650 4650
Connection ~ 1650 4650
Wire Wire Line
	1650 5300 1650 5400
Wire Wire Line
	1300 5300 1300 5350
Wire Wire Line
	1300 5350 1650 5350
Connection ~ 1650 5350
Wire Wire Line
	1650 5700 1650 5850
Wire Wire Line
	2400 5800 1650 5800
Connection ~ 1650 5800
Wire Wire Line
	1000 5100 1000 6300
Wire Wire Line
	1000 6300 10500 6300
Wire Wire Line
	8800 6150 8800 6300
Connection ~ 8800 6300
Wire Wire Line
	9650 6300 9650 5100
Connection ~ 9650 6300
Wire Wire Line
	1650 6150 1650 6300
Connection ~ 1650 6300
Wire Wire Line
	2200 5700 2200 6300
Connection ~ 2200 6300
Wire Wire Line
	2700 6000 2700 6300
Connection ~ 2700 6300
Wire Wire Line
	3050 6150 3050 6300
Connection ~ 3050 6300
Wire Wire Line
	3600 6150 3600 6300
Connection ~ 3600 6300
Wire Wire Line
	1950 5100 2200 5100
Connection ~ 2200 5100
Wire Wire Line
	2700 5600 2700 1550
Wire Wire Line
	2700 1550 3600 1550
Wire Wire Line
	3600 1550 3600 1200
Wire Wire Line
	3000 1200 9450 1200
Connection ~ 3600 1200
Wire Wire Line
	1950 1200 1950 1400
Wire Wire Line
	1950 1400 1650 1400
Connection ~ 1650 1400
Wire Wire Line
	1650 1000 2700 1000
Connection ~ 2150 1000
Connection ~ 2450 550 
Wire Wire Line
	3050 4800 3050 5850
Wire Wire Line
	3300 5450 3050 5450
Connection ~ 3050 5450
Wire Wire Line
	3600 5850 3600 5650
Wire Wire Line
	3600 5050 3600 5250
Wire Wire Line
	3600 4400 3600 4750
Wire Wire Line
	3350 4600 3600 4600
Connection ~ 3600 4600
Wire Wire Line
	3050 3450 3050 4400
Wire Wire Line
	3050 4000 3150 4000
Wire Wire Line
	3450 4000 3600 4000
Wire Wire Line
	3600 3900 3600 4100
Connection ~ 3600 4000
Wire Wire Line
	3600 3350 3600 3500
Wire Wire Line
	3900 3450 3900 3700
Wire Wire Line
	3050 3450 3900 3450
Connection ~ 3600 3450
Connection ~ 3050 4000
Wire Wire Line
	3600 2950 1650 2950
Connection ~ 1650 2950
Wire Wire Line
	4000 5150 3600 5150
Connection ~ 3600 5150
Wire Wire Line
	4300 5350 4300 5500
Wire Wire Line
	4300 5500 4800 5500
Wire Wire Line
	4650 5850 4650 5500
Connection ~ 4650 5500
Wire Wire Line
	4650 6150 4650 6300
Connection ~ 4650 6300
Wire Wire Line
	5100 6150 5100 6300
Connection ~ 5100 6300
Wire Wire Line
	5100 5850 5100 5700
Wire Wire Line
	5600 5700 5600 5850
Wire Wire Line
	5600 6150 5600 6300
Connection ~ 5600 6300
Wire Wire Line
	4300 4950 4300 1200
Connection ~ 4300 1200
Wire Wire Line
	6000 5500 5900 5500
Wire Wire Line
	6000 5100 6000 5500
Wire Wire Line
	5800 5100 6100 5100
Wire Wire Line
	5600 5300 5600 5200
Wire Wire Line
	5600 5200 6000 5200
Connection ~ 6000 5200
Wire Wire Line
	5800 5000 5800 5100
Connection ~ 6000 5100
Wire Wire Line
	6400 5300 6400 6300
Connection ~ 6400 6300
Wire Wire Line
	5100 4450 5100 5300
Wire Wire Line
	5100 4800 5500 4800
Connection ~ 5100 4800
Wire Wire Line
	5450 4200 5300 4200
Wire Wire Line
	5300 4200 5300 4800
Connection ~ 5300 4800
Wire Wire Line
	6400 4200 5750 4200
Wire Wire Line
	5100 4150 5100 3900
Wire Wire Line
	3900 3150 10650 3150
Wire Wire Line
	5100 3500 5100 3150
Connection ~ 5100 3150
Wire Wire Line
	7400 3500 7400 3850
Wire Wire Line
	7400 2650 7400 3200
Connection ~ 7400 3150
Wire Wire Line
	5400 3700 7400 3700
Connection ~ 7400 3700
Wire Wire Line
	7750 3900 7750 5850
Wire Wire Line
	7750 6150 7750 6300
Connection ~ 7750 6300
Wire Wire Line
	8800 5850 8800 3150
Connection ~ 8800 3150
Wire Wire Line
	8050 3700 8300 3700
Wire Wire Line
	8300 3700 8300 3150
Connection ~ 8300 3150
Wire Wire Line
	7750 3500 7750 3150
Connection ~ 7750 3150
Wire Wire Line
	7400 4150 7400 4300
Wire Wire Line
	7400 4300 7750 4300
Connection ~ 7750 4300
Wire Wire Line
	6400 2400 6400 4900
Wire Wire Line
	5800 4600 6400 4600
Connection ~ 6400 4600
Connection ~ 6400 4200
Wire Wire Line
	6850 2800 6850 6300
Connection ~ 6850 6300
Wire Wire Line
	6400 2100 6400 1900
Wire Wire Line
	6400 1500 6400 1200
Connection ~ 6400 1200
Wire Wire Line
	6100 1700 5900 1700
Wire Wire Line
	5900 1700 5900 1200
Connection ~ 5900 1200
Wire Wire Line
	7000 1450 7000 1200
Connection ~ 7000 1200
Wire Wire Line
	6550 2600 6400 2600
Connection ~ 6400 2600
Wire Wire Line
	6850 2400 6850 1200
Connection ~ 6850 1200
Wire Wire Line
	7000 1850 7000 2900
Wire Wire Line
	7000 2900 6850 2900
Connection ~ 6850 2900
Wire Wire Line
	7400 1550 7400 2250
Wire Wire Line
	7300 1650 7900 1650
Connection ~ 7400 1650
Wire Wire Line
	7900 1650 7900 1750
Wire Wire Line
	7900 2050 7900 2450
Wire Wire Line
	7700 2450 8150 2450
Connection ~ 7900 2450
Wire Wire Line
	8450 2450 8700 2450
Wire Wire Line
	8550 2150 8550 2450
Connection ~ 8550 2450
Wire Wire Line
	9100 2450 9450 2450
Wire Wire Line
	8900 1600 8900 2150
Wire Wire Line
	8550 1850 8550 1750
Wire Wire Line
	8550 1750 8900 1750
Connection ~ 8900 1750
Wire Wire Line
	8900 1300 8900 1200
Connection ~ 8900 1200
Wire Wire Line
	9350 1150 9350 1300
Wire Wire Line
	9350 1600 9350 2450
Connection ~ 9350 2450
Wire Wire Line
	9750 1000 9750 850 
Wire Wire Line
	9750 850  10400 850 
Connection ~ 10400 850 
Wire Wire Line
	9750 1400 9750 1500
Wire Wire Line
	9750 1500 10100 1500
Wire Wire Line
	10000 1800 10000 1500
Connection ~ 10000 1500
Wire Wire Line
	10000 2100 10000 2450
Wire Wire Line
	9750 2450 10400 2450
Wire Wire Line
	10400 1700 10400 2800
Connection ~ 10000 2450
Connection ~ 10400 2450
Wire Wire Line
	10400 3150 10400 3100
Connection ~ 10400 3150
Wire Wire Line
	9650 4600 9650 3150
Connection ~ 9650 3150
Connection ~ 1000 6300
Wire Wire Line
	7400 1250 7400 1200
Connection ~ 7400 1200
$Comp
L PORT U1
U 1 1 665D1194
P 1250 550
F 0 "U1" H 1300 650 30  0000 C CNN
F 1 "PORT" H 1250 550 30  0000 C CNN
F 2 "" H 1250 550 60  0000 C CNN
F 3 "" H 1250 550 60  0000 C CNN
	1    1250 550 
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 3 1 665D1335
P 10750 6300
F 0 "U1" H 10800 6400 30  0000 C CNN
F 1 "PORT" H 10750 6300 30  0000 C CNN
F 2 "" H 10750 6300 60  0000 C CNN
F 3 "" H 10750 6300 60  0000 C CNN
	3    10750 6300
	-1   0    0    -1  
$EndComp
$Comp
L PORT U1
U 2 1 665D1462
P 10900 3150
F 0 "U1" H 10950 3250 30  0000 C CNN
F 1 "PORT" H 10900 3150 30  0000 C CNN
F 2 "" H 10900 3150 60  0000 C CNN
F 3 "" H 10900 3150 60  0000 C CNN
	2    10900 3150
	-1   0    0    -1  
$EndComp
$EndSCHEMATC