summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/LM7912_SUB/LM7912-PORT.sch
blob: acb4d21edac68f2ba36f3d066f4430f297783d12 (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
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:LM7912-PORT-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 jfet_n J1
U 1 1 66541344
P 1950 4400
F 0 "J1" H 1850 4450 50  0000 R CNN
F 1 "jfet_n" H 1900 4550 50  0000 R CNN
F 2 "" H 2150 4500 29  0000 C CNN
F 3 "" H 1950 4400 60  0000 C CNN
	1    1950 4400
	-1   0    0    1   
$EndComp
$Comp
L zener U2
U 1 1 66541345
P 1850 1450
F 0 "U2" H 1800 1350 60  0000 C CNN
F 1 "zener" H 1850 1550 60  0000 C CNN
F 2 "" H 1900 1450 60  0000 C CNN
F 3 "" H 1900 1450 60  0000 C CNN
	1    1850 1450
	0    -1   -1   0   
$EndComp
$Comp
L zener U3
U 1 1 66541346
P 2400 1450
F 0 "U3" H 2350 1350 60  0000 C CNN
F 1 "zener" H 2400 1550 60  0000 C CNN
F 2 "" H 2450 1450 60  0000 C CNN
F 3 "" H 2450 1450 60  0000 C CNN
	1    2400 1450
	0    -1   -1   0   
$EndComp
$Comp
L eSim_PNP Q1
U 1 1 66541347
P 2050 3400
F 0 "Q1" H 1950 3450 50  0000 R CNN
F 1 "eSim_PNP" H 2000 3550 50  0000 R CNN
F 2 "" H 2250 3500 29  0000 C CNN
F 3 "" H 2050 3400 60  0000 C CNN
	1    2050 3400
	1    0    0    1   
$EndComp
$Comp
L eSim_NPN Q3
U 1 1 66541348
P 3000 1900
F 0 "Q3" H 2900 1950 50  0000 R CNN
F 1 "eSim_NPN" H 2950 2050 50  0000 R CNN
F 2 "" H 3200 2000 29  0000 C CNN
F 3 "" H 3000 1900 60  0000 C CNN
	1    3000 1900
	1    0    0    -1  
$EndComp
$Comp
L resistor R2
U 1 1 66541349
P 3050 1050
F 0 "R2" H 3100 1180 50  0000 C CNN
F 1 "1.4k" H 3100 1000 50  0000 C CNN
F 2 "" H 3100 1030 30  0000 C CNN
F 3 "" V 3100 1100 30  0000 C CNN
	1    3050 1050
	0    1    1    0   
$EndComp
$Comp
L resistor R3
U 1 1 6654134A
P 3050 2450
F 0 "R3" H 3100 2580 50  0000 C CNN
F 1 "7k" H 3100 2400 50  0000 C CNN
F 2 "" H 3100 2430 30  0000 C CNN
F 3 "" V 3100 2500 30  0000 C CNN
	1    3050 2450
	0    1    1    0   
$EndComp
$Comp
L resistor R4
U 1 1 6654134B
P 3050 2900
F 0 "R4" H 3100 3030 50  0000 C CNN
F 1 "15k" H 3100 2850 50  0000 C CNN
F 2 "" H 3100 2880 30  0000 C CNN
F 3 "" V 3100 2950 30  0000 C CNN
	1    3050 2900
	0    1    1    0   
$EndComp
$Comp
L eSim_PNP Q4
U 1 1 6654134C
P 3000 3450
F 0 "Q4" H 2900 3500 50  0000 R CNN
F 1 "eSim_PNP" H 2950 3600 50  0000 R CNN
F 2 "" H 3200 3550 29  0000 C CNN
F 3 "" H 3000 3450 60  0000 C CNN
	1    3000 3450
	1    0    0    1   
$EndComp
$Comp
L eSim_NPN Q2
U 1 1 6654134D
P 2500 4850
F 0 "Q2" H 2400 4900 50  0000 R CNN
F 1 "eSim_NPN" H 2450 5000 50  0000 R CNN
F 2 "" H 2700 4950 29  0000 C CNN
F 3 "" H 2500 4850 60  0000 C CNN
	1    2500 4850
	-1   0    0    -1  
$EndComp
$Comp
L eSim_NPN Q5
U 1 1 6654134E
P 3000 4850
F 0 "Q5" H 2900 4900 50  0000 R CNN
F 1 "eSim_NPN" H 2950 5000 50  0000 R CNN
F 2 "" H 3200 4950 29  0000 C CNN
F 3 "" H 3000 4850 60  0000 C CNN
	1    3000 4850
	1    0    0    -1  
$EndComp
$Comp
L resistor R1
U 1 1 6654134F
P 2350 5300
F 0 "R1" H 2400 5430 50  0000 C CNN
F 1 "750" H 2400 5250 50  0000 C CNN
F 2 "" H 2400 5280 30  0000 C CNN
F 3 "" V 2400 5350 30  0000 C CNN
	1    2350 5300
	0    1    1    0   
$EndComp
$Comp
L resistor R5
U 1 1 66541350
P 3050 5300
F 0 "R5" H 3100 5430 50  0000 C CNN
F 1 "1k" H 3100 5250 50  0000 C CNN
F 2 "" H 3100 5280 30  0000 C CNN
F 3 "" V 3100 5350 30  0000 C CNN
	1    3050 5300
	0    1    1    0   
$EndComp
$Comp
L eSim_NPN Q6
U 1 1 66541351
P 3500 4850
F 0 "Q6" H 3400 4900 50  0000 R CNN
F 1 "eSim_NPN" H 3450 5000 50  0000 R CNN
F 2 "" H 3700 4950 29  0000 C CNN
F 3 "" H 3500 4850 60  0000 C CNN
	1    3500 4850
	1    0    0    -1  
$EndComp
$Comp
L resistor R6
U 1 1 66541352
P 3550 5300
F 0 "R6" H 3600 5430 50  0000 C CNN
F 1 "6k" H 3600 5250 50  0000 C CNN
F 2 "" H 3600 5280 30  0000 C CNN
F 3 "" V 3600 5350 30  0000 C CNN
	1    3550 5300
	0    1    1    0   
$EndComp
$Comp
L resistor R7
U 1 1 66541353
P 3900 5350
F 0 "R7" H 3950 5480 50  0000 C CNN
F 1 "20k" H 3950 5300 50  0000 C CNN
F 2 "" H 3950 5330 30  0000 C CNN
F 3 "" V 3950 5400 30  0000 C CNN
	1    3900 5350
	0    1    1    0   
$EndComp
$Comp
L eSim_NPN Q8
U 1 1 66541354
P 4250 4850
F 0 "Q8" H 4150 4900 50  0000 R CNN
F 1 "eSim_NPN" H 4200 5000 50  0000 R CNN
F 2 "" H 4450 4950 29  0000 C CNN
F 3 "" H 4250 4850 60  0000 C CNN
	1    4250 4850
	1    0    0    -1  
$EndComp
$Comp
L eSim_PNP Q7
U 1 1 66541355
P 3850 1500
F 0 "Q7" H 3750 1550 50  0000 R CNN
F 1 "eSim_PNP" H 3800 1650 50  0000 R CNN
F 2 "" H 4050 1600 29  0000 C CNN
F 3 "" H 3850 1500 60  0000 C CNN
	1    3850 1500
	1    0    0    1   
$EndComp
$Comp
L eSim_NPN Q9
U 1 1 66541356
P 4450 2750
F 0 "Q9" H 4350 2800 50  0000 R CNN
F 1 "eSim_NPN" H 4400 2900 50  0000 R CNN
F 2 "" H 4650 2850 29  0000 C CNN
F 3 "" H 4450 2750 60  0000 C CNN
	1    4450 2750
	1    0    0    -1  
$EndComp
$Comp
L eSim_PNP Q10
U 1 1 66541357
P 4750 3250
F 0 "Q10" H 4650 3300 50  0000 R CNN
F 1 "eSim_PNP" H 4700 3400 50  0000 R CNN
F 2 "" H 4950 3350 29  0000 C CNN
F 3 "" H 4750 3250 60  0000 C CNN
	1    4750 3250
	-1   0    0    1   
$EndComp
$Comp
L eSim_NPN Q11
U 1 1 66541358
P 4750 5350
F 0 "Q11" H 4650 5400 50  0000 R CNN
F 1 "eSim_NPN" H 4700 5500 50  0000 R CNN
F 2 "" H 4950 5450 29  0000 C CNN
F 3 "" H 4750 5350 60  0000 C CNN
	1    4750 5350
	-1   0    0    -1  
$EndComp
$Comp
L resistor R8
U 1 1 66541359
P 5150 5400
F 0 "R8" H 5200 5530 50  0000 C CNN
F 1 "20k" H 5200 5350 50  0000 C CNN
F 2 "" H 5200 5380 30  0000 C CNN
F 3 "" V 5200 5450 30  0000 C CNN
	1    5150 5400
	1    0    0    -1  
$EndComp
$Comp
L resistor R9
U 1 1 6654135A
P 5600 5400
F 0 "R9" H 5650 5530 50  0000 C CNN
F 1 "20k" H 5650 5350 50  0000 C CNN
F 2 "" H 5650 5380 30  0000 C CNN
F 3 "" V 5650 5450 30  0000 C CNN
	1    5600 5400
	1    0    0    -1  
$EndComp
$Comp
L capacitor C1
U 1 1 6654135B
P 5900 5100
F 0 "C1" H 5925 5200 50  0000 L CNN
F 1 "20p" H 5925 5000 50  0000 L CNN
F 2 "" H 5938 4950 30  0000 C CNN
F 3 "" H 5900 5100 60  0000 C CNN
	1    5900 5100
	1    0    0    -1  
$EndComp
$Comp
L eSim_NPN Q13
U 1 1 6654135C
P 6150 5350
F 0 "Q13" H 6050 5400 50  0000 R CNN
F 1 "eSim_NPN" H 6100 5500 50  0000 R CNN
F 2 "" H 6350 5450 29  0000 C CNN
F 3 "" H 6150 5350 60  0000 C CNN
	1    6150 5350
	1    0    0    -1  
$EndComp
$Comp
L eSim_NPN Q14
U 1 1 6654135D
P 6350 2750
F 0 "Q14" H 6250 2800 50  0000 R CNN
F 1 "eSim_NPN" H 6300 2900 50  0000 R CNN
F 2 "" H 6550 2850 29  0000 C CNN
F 3 "" H 6350 2750 60  0000 C CNN
	1    6350 2750
	-1   0    0    -1  
$EndComp
$Comp
L eSim_PNP Q12
U 1 1 6654135E
P 6150 3250
F 0 "Q12" H 6050 3300 50  0000 R CNN
F 1 "eSim_PNP" H 6100 3400 50  0000 R CNN
F 2 "" H 6350 3350 29  0000 C CNN
F 3 "" H 6150 3250 60  0000 C CNN
	1    6150 3250
	1    0    0    1   
$EndComp
$Comp
L eSim_NPN Q16
U 1 1 6654135F
P 6700 5350
F 0 "Q16" H 6600 5400 50  0000 R CNN
F 1 "eSim_NPN" H 6650 5500 50  0000 R CNN
F 2 "" H 6900 5450 29  0000 C CNN
F 3 "" H 6700 5350 60  0000 C CNN
	1    6700 5350
	-1   0    0    -1  
$EndComp
$Comp
L eSim_NPN Q15
U 1 1 66541360
P 6700 3900
F 0 "Q15" H 6600 3950 50  0000 R CNN
F 1 "eSim_NPN" H 6650 4050 50  0000 R CNN
F 2 "" H 6900 4000 29  0000 C CNN
F 3 "" H 6700 3900 60  0000 C CNN
	1    6700 3900
	-1   0    0    -1  
$EndComp
$Comp
L resistor R10
U 1 1 66541361
P 7100 4200
F 0 "R10" H 7150 4330 50  0000 C CNN
F 1 "3k" H 7150 4150 50  0000 C CNN
F 2 "" H 7150 4180 30  0000 C CNN
F 3 "" V 7150 4250 30  0000 C CNN
	1    7100 4200
	0    1    1    0   
$EndComp
$Comp
L capacitor C2
U 1 1 66541362
P 7150 4850
F 0 "C2" H 7175 4950 50  0000 L CNN
F 1 "10p" H 7175 4750 50  0000 L CNN
F 2 "" H 7188 4700 30  0000 C CNN
F 3 "" H 7150 4850 60  0000 C CNN
	1    7150 4850
	1    0    0    -1  
$EndComp
$Comp
L resistor R11
U 1 1 66541363
P 7500 5400
F 0 "R11" H 7550 5530 50  0000 C CNN
F 1 "5k" H 7550 5350 50  0000 C CNN
F 2 "" H 7550 5380 30  0000 C CNN
F 3 "" V 7550 5450 30  0000 C CNN
	1    7500 5400
	1    0    0    -1  
$EndComp
$Comp
L resistor R12
U 1 1 66541364
P 7850 1300
F 0 "R12" H 7900 1430 50  0000 C CNN
F 1 "4k" H 7900 1250 50  0000 C CNN
F 2 "" H 7900 1280 30  0000 C CNN
F 3 "" V 7900 1350 30  0000 C CNN
	1    7850 1300
	0    1    1    0   
$EndComp
$Comp
L eSim_NPN Q17
U 1 1 66541365
P 7800 3550
F 0 "Q17" H 7700 3600 50  0000 R CNN
F 1 "eSim_NPN" H 7750 3700 50  0000 R CNN
F 2 "" H 8000 3650 29  0000 C CNN
F 3 "" H 7800 3550 60  0000 C CNN
	1    7800 3550
	1    0    0    -1  
$EndComp
$Comp
L resistor R13
U 1 1 66541366
P 7850 4200
F 0 "R13" H 7900 4330 50  0000 C CNN
F 1 "10k" H 7900 4150 50  0000 C CNN
F 2 "" H 7900 4180 30  0000 C CNN
F 3 "" V 7900 4250 30  0000 C CNN
	1    7850 4200
	0    1    1    0   
$EndComp
$Comp
L resistor R14
U 1 1 66541367
P 7850 4800
F 0 "R14" H 7900 4930 50  0000 C CNN
F 1 "600" H 7900 4750 50  0000 C CNN
F 2 "" H 7900 4780 30  0000 C CNN
F 3 "" V 7900 4850 30  0000 C CNN
	1    7850 4800
	0    1    1    0   
$EndComp
Wire Wire Line
	1850 1650 1850 4200
Connection ~ 1850 3400
Wire Wire Line
	1850 1150 1850 750 
Wire Wire Line
	1850 750  9650 750 
Wire Wire Line
	2400 750  2400 1150
Wire Wire Line
	3100 750  3100 950 
Connection ~ 2400 750 
Wire Wire Line
	3100 1250 3100 1700
Wire Wire Line
	3100 2100 3100 2350
Wire Wire Line
	3100 2650 3100 2800
Wire Wire Line
	3100 3100 3100 3250
Wire Wire Line
	3100 3650 3100 4650
Wire Wire Line
	3100 5050 3100 5200
Wire Wire Line
	2400 1650 2400 4650
Wire Wire Line
	2400 5050 2400 5200
Wire Wire Line
	1850 4600 1850 6250
Wire Wire Line
	1850 6100 9900 6100
Wire Wire Line
	2400 6100 2400 5500
Wire Wire Line
	3100 6100 3100 5500
Connection ~ 2400 6100
Wire Wire Line
	2150 3600 2150 6100
Connection ~ 2150 6100
Connection ~ 2150 4400
Wire Wire Line
	2300 3450 2800 3450
Connection ~ 2400 3450
Wire Wire Line
	2150 3200 2300 3200
Wire Wire Line
	2300 3200 2300 3450
Wire Wire Line
	3950 750  3950 1300
Connection ~ 3100 750 
Wire Wire Line
	2800 1500 2800 1900
Wire Wire Line
	3600 5050 3600 5200
Wire Wire Line
	2700 4850 2700 4450
Wire Wire Line
	2700 4450 3300 4450
Wire Wire Line
	3300 4450 3300 4850
Wire Wire Line
	2800 4100 2800 4850
Connection ~ 2800 4450
Wire Wire Line
	3100 4100 2800 4100
Connection ~ 3100 4100
Wire Wire Line
	3600 6100 3600 5500
Connection ~ 3100 6100
Wire Wire Line
	3950 1700 3950 5250
Wire Wire Line
	3950 6100 3950 5550
Connection ~ 3600 6100
Wire Wire Line
	4050 4850 3950 4850
Connection ~ 3950 4850
Wire Wire Line
	4550 2950 4650 2950
Wire Wire Line
	4650 2950 4650 3050
Wire Wire Line
	4650 3450 4650 5150
Wire Wire Line
	4550 750  4550 2550
Connection ~ 3950 750 
Wire Wire Line
	4650 6100 4650 5550
Connection ~ 3950 6100
Wire Wire Line
	4950 5350 5050 5350
Wire Wire Line
	5350 5350 5500 5350
Wire Wire Line
	4250 2750 3100 2750
Connection ~ 3100 2750
Wire Wire Line
	6250 2950 6250 3050
Wire Wire Line
	6250 750  6250 2550
Connection ~ 4550 750 
Wire Wire Line
	6250 6100 6250 5550
Connection ~ 4650 6100
Wire Wire Line
	5800 5350 5950 5350
Connection ~ 5900 5350
Wire Wire Line
	4350 5050 5450 5050
Connection ~ 4650 5050
Wire Wire Line
	5450 5050 5450 5350
Connection ~ 5450 5350
Wire Wire Line
	3600 3250 3600 4650
Wire Wire Line
	6600 4100 6600 5150
Wire Wire Line
	6600 6100 6600 5550
Connection ~ 6250 6100
Wire Wire Line
	7150 5000 7150 5350
Wire Wire Line
	6900 5350 7400 5350
Connection ~ 7150 5350
Wire Wire Line
	5900 5250 5900 5350
Wire Wire Line
	5900 4950 6250 4950
Connection ~ 6250 4950
Wire Wire Line
	4350 4650 7150 4650
Connection ~ 6250 4650
Wire Wire Line
	6250 3450 6250 5150
Wire Wire Line
	7150 4650 7150 4700
Wire Wire Line
	7900 1500 7900 3350
Wire Wire Line
	7900 3750 7900 4100
Wire Wire Line
	7900 4400 7900 4700
Wire Wire Line
	7900 5000 7900 5350
Wire Wire Line
	7700 5350 8200 5350
Wire Wire Line
	6600 3700 6600 3550
Wire Wire Line
	6250 3550 7600 3550
Connection ~ 6250 3550
Connection ~ 6600 3550
Wire Wire Line
	7150 4400 7150 4500
Wire Wire Line
	7150 4500 6600 4500
Connection ~ 6600 4500
Wire Wire Line
	7150 4100 7150 3900
Wire Wire Line
	6900 3900 8000 3900
Wire Wire Line
	7900 750  7900 1200
Connection ~ 6250 750 
$Comp
L eSim_NPN Q18
U 1 1 66541368
P 8400 5250
F 0 "Q18" H 8300 5300 50  0000 R CNN
F 1 "eSim_NPN" H 8350 5400 50  0000 R CNN
F 2 "" H 8600 5350 29  0000 C CNN
F 3 "" H 8400 5250 60  0000 C CNN
	1    8400 5250
	0    -1   1    0   
$EndComp
$Comp
L resistor R15
U 1 1 66541369
P 8350 4650
F 0 "R15" H 8400 4780 50  0000 C CNN
F 1 "15k" H 8400 4600 50  0000 C CNN
F 2 "" H 8400 4630 30  0000 C CNN
F 3 "" V 8400 4700 30  0000 C CNN
	1    8350 4650
	0    1    1    0   
$EndComp
$Comp
L eSim_NPN Q19
U 1 1 6654136A
P 8500 4100
F 0 "Q19" H 8400 4150 50  0000 R CNN
F 1 "eSim_NPN" H 8450 4250 50  0000 R CNN
F 2 "" H 8700 4200 29  0000 C CNN
F 3 "" H 8500 4100 60  0000 C CNN
	1    8500 4100
	1    0    0    -1  
$EndComp
$Comp
L eSim_NPN Q20
U 1 1 6654136B
P 9150 4300
F 0 "Q20" H 9050 4350 50  0000 R CNN
F 1 "eSim_NPN" H 9100 4450 50  0000 R CNN
F 2 "" H 9350 4400 29  0000 C CNN
F 3 "" H 9150 4300 60  0000 C CNN
	1    9150 4300
	1    0    0    -1  
$EndComp
$Comp
L resistor R16
U 1 1 6654136C
P 8750 4550
F 0 "R16" H 8800 4680 50  0000 C CNN
F 1 "2k" H 8800 4500 50  0000 C CNN
F 2 "" H 8800 4530 30  0000 C CNN
F 3 "" V 8800 4600 30  0000 C CNN
	1    8750 4550
	0    1    1    0   
$EndComp
$Comp
L resistor R18
U 1 1 6654136D
P 9200 3150
F 0 "R18" H 9250 3280 50  0000 C CNN
F 1 "23k" H 9250 3100 50  0000 C CNN
F 2 "" H 9250 3130 30  0000 C CNN
F 3 "" V 9250 3200 30  0000 C CNN
	1    9200 3150
	0    1    1    0   
$EndComp
$Comp
L resistor R17
U 1 1 6654136E
P 9200 1400
F 0 "R17" H 9250 1530 50  0000 C CNN
F 1 "5k" H 9250 1350 50  0000 C CNN
F 2 "" H 9250 1380 30  0000 C CNN
F 3 "" V 9250 1450 30  0000 C CNN
	1    9200 1400
	0    1    1    0   
$EndComp
Connection ~ 7900 5350
Wire Wire Line
	8400 4850 8400 5050
Wire Wire Line
	8400 4550 8400 4500
Wire Wire Line
	8400 4500 7900 4500
Connection ~ 7900 4500
Wire Wire Line
	8300 4100 8000 4100
Wire Wire Line
	8000 4100 8000 3900
Connection ~ 7900 3900
Connection ~ 7150 3900
Wire Wire Line
	8950 4300 8600 4300
Wire Wire Line
	8800 4450 8800 4300
Connection ~ 8800 4300
Wire Wire Line
	8600 3900 10250 3900
Wire Wire Line
	9250 3350 9250 4100
Connection ~ 9250 3900
Wire Wire Line
	9250 3050 9250 1600
Wire Wire Line
	9250 750  9250 1300
Connection ~ 7900 750 
Wire Wire Line
	6550 2750 9250 2750
Connection ~ 9250 2750
Wire Wire Line
	8800 4750 8800 4950
Wire Wire Line
	8800 4950 9600 4950
Wire Wire Line
	9250 4950 9250 4500
$Comp
L resistor R20
U 1 1 6654136F
P 9850 4850
F 0 "R20" H 9900 4980 50  0000 C CNN
F 1 "20k" H 9900 4800 50  0000 C CNN
F 2 "" H 9900 4830 30  0000 C CNN
F 3 "" V 9900 4900 30  0000 C CNN
	1    9850 4850
	0    1    1    0   
$EndComp
$Comp
L resistor R19
U 1 1 66541370
P 9200 5400
F 0 "R19" H 9250 5530 50  0000 C CNN
F 1 "150" H 9250 5350 50  0000 C CNN
F 2 "" H 9250 5380 30  0000 C CNN
F 3 "" V 9250 5450 30  0000 C CNN
	1    9200 5400
	1    0    0    -1  
$EndComp
$Comp
L zener U4
U 1 1 66541371
P 9900 4400
F 0 "U4" H 9850 4300 60  0000 C CNN
F 1 "zener" H 9900 4500 60  0000 C CNN
F 2 "" H 9950 4400 60  0000 C CNN
F 3 "" H 9950 4400 60  0000 C CNN
	1    9900 4400
	0    -1   -1   0   
$EndComp
$Comp
L resistor R21
U 1 1 66541372
P 9850 5700
F 0 "R21" H 9900 5830 50  0000 C CNN
F 1 "0.2" H 9900 5650 50  0000 C CNN
F 2 "" H 9900 5680 30  0000 C CNN
F 3 "" V 9900 5750 30  0000 C CNN
	1    9850 5700
	0    1    1    0   
$EndComp
Wire Wire Line
	8600 5350 9100 5350
Wire Wire Line
	9900 5600 9600 5600
Wire Wire Line
	9600 5600 9600 4950
Connection ~ 9250 4950
Wire Wire Line
	9900 6100 9900 5900
Connection ~ 6600 6100
Wire Wire Line
	9400 5350 9600 5350
Connection ~ 9600 5350
Wire Wire Line
	9900 4600 9900 4750
Wire Wire Line
	9900 5050 9900 5200
Wire Wire Line
	9900 5200 8950 5200
Wire Wire Line
	8950 5200 8950 5350
Connection ~ 8950 5350
Wire Wire Line
	9900 3900 9900 4100
Wire Wire Line
	2800 1500 3650 1500
Connection ~ 3100 1500
Wire Wire Line
	5950 3250 4950 3250
Wire Wire Line
	3600 3250 4350 3250
Wire Wire Line
	4350 3250 4350 3900
Wire Wire Line
	4350 3900 5450 3900
Wire Wire Line
	5450 3900 5450 3250
Connection ~ 5450 3250
Connection ~ 9250 750 
Connection ~ 1850 6100
Connection ~ 9900 3900
$Comp
L PORT U1
U 3 1 66541713
P 10500 3900
F 0 "U1" H 10550 4000 30  0000 C CNN
F 1 "PORT" H 10500 3900 30  0000 C CNN
F 2 "" H 10500 3900 60  0000 C CNN
F 3 "" H 10500 3900 60  0000 C CNN
	3    10500 3900
	-1   0    0    1   
$EndComp
$Comp
L PORT U1
U 2 1 6655D938
P 1850 6500
F 0 "U1" H 1900 6600 30  0000 C CNN
F 1 "PORT" H 1850 6500 30  0000 C CNN
F 2 "" H 1850 6500 60  0000 C CNN
F 3 "" H 1850 6500 60  0000 C CNN
	2    1850 6500
	0    -1   -1   0   
$EndComp
$Comp
L PORT U1
U 1 1 66561E4D
P 9650 1000
F 0 "U1" H 9700 1100 30  0000 C CNN
F 1 "PORT" H 9650 1000 30  0000 C CNN
F 2 "" H 9650 1000 60  0000 C CNN
F 3 "" H 9650 1000 60  0000 C CNN
	1    9650 1000
	0    -1   -1   0   
$EndComp
$EndSCHEMATC