-
Notifications
You must be signed in to change notification settings - Fork 1
/
ps2key.sch
383 lines (383 loc) · 8.54 KB
/
ps2key.sch
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
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Connector:Conn_01x06_Male J1
U 1 1 5F46A44B
P 3400 3150
F 0 "J1" H 3600 3600 50 0000 R CNN
F 1 "GPIO" H 3650 3500 50 0000 R CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical" H 3400 3150 50 0001 C CNN
F 3 "~" H 3400 3150 50 0001 C CNN
1 3400 3150
1 0 0 -1
$EndComp
$Comp
L Connector:Mini-DIN-6 J2
U 1 1 5F46B3F1
P 7050 2750
F 0 "J2" H 7050 3117 50 0000 C CNN
F 1 "Keyboard" H 7050 3026 50 0000 C CNN
F 2 "Custom_Footprints:Connector_Mini-DIN_Female_6Pin_2rows" H 7050 2750 50 0001 C CNN
F 3 "http://service.powerdynamics.com/ec/Catalog17/Section%2011.pdf" H 7050 2750 50 0001 C CNN
1 7050 2750
1 0 0 -1
$EndComp
$Comp
L Connector:Mini-DIN-6 J3
U 1 1 5F46DA3A
P 7050 4050
F 0 "J3" H 7050 4417 50 0000 C CNN
F 1 "Mouse" H 7050 4326 50 0000 C CNN
F 2 "Custom_Footprints:Connector_Mini-DIN_Female_6Pin_2rows" H 7050 4050 50 0001 C CNN
F 3 "http://service.powerdynamics.com/ec/Catalog17/Section%2011.pdf" H 7050 4050 50 0001 C CNN
1 7050 4050
1 0 0 -1
$EndComp
$Comp
L Transistor_FET:2N7000 Q1
U 1 1 5F46DCA8
P 4500 2050
F 0 "Q1" H 4704 2096 50 0000 L CNN
F 1 "2N7000" H 4704 2005 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 4700 1975 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/2N/2N7000.pdf" H 4500 2050 50 0001 L CNN
1 4500 2050
1 0 0 -1
$EndComp
$Comp
L Device:R R3
U 1 1 5F46FC6A
P 4850 1700
F 0 "R3" V 4643 1700 50 0000 C CNN
F 1 "10k" V 4734 1700 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Vertical" V 4780 1700 50 0001 C CNN
F 3 "~" H 4850 1700 50 0001 C CNN
1 4850 1700
0 1 1 0
$EndComp
$Comp
L Device:R R1
U 1 1 5F471900
P 4350 2400
F 0 "R1" V 4143 2400 50 0000 C CNN
F 1 "10k" V 4234 2400 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Vertical" V 4280 2400 50 0001 C CNN
F 3 "~" H 4350 2400 50 0001 C CNN
1 4350 2400
0 1 1 0
$EndComp
Text Label 3600 2950 0 50 ~ 0
GND
Text Label 3600 3450 0 50 ~ 0
3v3
Text Label 3600 3050 0 50 ~ 0
CLK_K
Text Label 3600 3150 0 50 ~ 0
DATA_K
Text Label 3600 3250 0 50 ~ 0
CLK_M
Text Label 3600 3350 0 50 ~ 0
DATA_M
Wire Wire Line
6750 2750 6550 2750
Wire Wire Line
6550 4050 6750 4050
Wire Wire Line
7350 2750 7750 2750
Wire Wire Line
7750 4050 7350 4050
Wire Wire Line
7750 2750 7750 2950
Connection ~ 7750 2950
Wire Wire Line
7750 2950 7750 4050
Wire Wire Line
4700 1700 4600 1700
Wire Wire Line
4600 2250 4600 2400
Wire Wire Line
4600 2400 4500 2400
$Comp
L Transistor_FET:2N7000 Q3
U 1 1 5F48E17E
P 4500 4200
F 0 "Q3" H 4704 4246 50 0000 L CNN
F 1 "2N7000" H 4704 4155 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 4700 4125 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/2N/2N7000.pdf" H 4500 4200 50 0001 L CNN
1 4500 4200
1 0 0 -1
$EndComp
$Comp
L Device:R R7
U 1 1 5F48E184
P 4850 3850
F 0 "R7" V 4643 3850 50 0000 C CNN
F 1 "10k" V 4734 3850 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Vertical" V 4780 3850 50 0001 C CNN
F 3 "~" H 4850 3850 50 0001 C CNN
1 4850 3850
0 1 1 0
$EndComp
$Comp
L Device:R R5
U 1 1 5F48E18A
P 4350 4550
F 0 "R5" V 4143 4550 50 0000 C CNN
F 1 "10k" V 4234 4550 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Vertical" V 4280 4550 50 0001 C CNN
F 3 "~" H 4350 4550 50 0001 C CNN
1 4350 4550
0 1 1 0
$EndComp
Wire Wire Line
4700 3850 4600 3850
Wire Wire Line
4600 3850 4600 4000
Wire Wire Line
4600 4400 4600 4550
Wire Wire Line
4600 4550 4500 4550
Wire Wire Line
3600 2950 7750 2950
Wire Wire Line
4300 4200 4200 4200
Connection ~ 4200 4200
Wire Wire Line
4200 4200 4200 4550
Wire Wire Line
4200 2400 4200 2600
Wire Wire Line
4300 2050 4200 2050
Wire Wire Line
4200 2050 4200 2400
Connection ~ 4200 2400
$Comp
L Transistor_FET:2N7000 Q2
U 1 1 5F493E04
P 5600 2250
F 0 "Q2" H 5804 2296 50 0000 L CNN
F 1 "2N7000" H 5804 2205 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 5800 2175 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/2N/2N7000.pdf" H 5600 2250 50 0001 L CNN
1 5600 2250
1 0 0 -1
$EndComp
$Comp
L Device:R R4
U 1 1 5F493E0A
P 5950 1900
F 0 "R4" V 5743 1900 50 0000 C CNN
F 1 "10k" V 5834 1900 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Vertical" V 5880 1900 50 0001 C CNN
F 3 "~" H 5950 1900 50 0001 C CNN
1 5950 1900
0 1 1 0
$EndComp
$Comp
L Device:R R2
U 1 1 5F493E10
P 5450 2600
F 0 "R2" V 5243 2600 50 0000 C CNN
F 1 "10k" V 5334 2600 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Vertical" V 5380 2600 50 0001 C CNN
F 3 "~" H 5450 2600 50 0001 C CNN
1 5450 2600
0 1 1 0
$EndComp
Wire Wire Line
5800 1900 5700 1900
Wire Wire Line
5700 1900 5700 2050
Wire Wire Line
5700 2450 5700 2600
Wire Wire Line
5700 2600 5600 2600
$Comp
L Transistor_FET:2N7000 Q4
U 1 1 5F497176
P 5650 4400
F 0 "Q4" H 5854 4446 50 0000 L CNN
F 1 "2N7000" H 5854 4355 50 0000 L CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 5850 4325 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/2N/2N7000.pdf" H 5650 4400 50 0001 L CNN
1 5650 4400
1 0 0 -1
$EndComp
$Comp
L Device:R R8
U 1 1 5F49717C
P 6000 4050
F 0 "R8" V 5793 4050 50 0000 C CNN
F 1 "10k" V 5884 4050 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Vertical" V 5930 4050 50 0001 C CNN
F 3 "~" H 6000 4050 50 0001 C CNN
1 6000 4050
0 1 1 0
$EndComp
$Comp
L Device:R R6
U 1 1 5F497182
P 5500 4750
F 0 "R6" V 5293 4750 50 0000 C CNN
F 1 "10k" V 5384 4750 50 0000 C CNN
F 2 "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Vertical" V 5430 4750 50 0001 C CNN
F 3 "~" H 5500 4750 50 0001 C CNN
1 5500 4750
0 1 1 0
$EndComp
Wire Wire Line
5850 4050 5750 4050
Wire Wire Line
5750 4050 5750 4200
Wire Wire Line
5750 4600 5750 4750
Wire Wire Line
5750 4750 5650 4750
Wire Wire Line
5350 4750 5350 4400
Wire Wire Line
5350 4400 5450 4400
Wire Wire Line
5300 2600 5300 2250
Wire Wire Line
5300 2250 5400 2250
Wire Wire Line
5300 2600 4200 2600
Connection ~ 5300 2600
Wire Wire Line
4200 4550 4200 4750
Wire Wire Line
4200 4750 5350 4750
Connection ~ 4200 4550
Connection ~ 5350 4750
Wire Wire Line
5000 3850 6150 3850
Wire Wire Line
6150 4050 6150 3850
Connection ~ 6150 3850
Wire Wire Line
6150 3850 6550 3850
Wire Wire Line
6100 1900 6100 1700
Wire Wire Line
6100 1700 5000 1700
Wire Wire Line
3600 3050 4600 3050
Wire Wire Line
4600 3050 4600 2400
Connection ~ 4600 2400
Wire Wire Line
3600 3150 5700 3150
Wire Wire Line
5700 3150 5700 2600
Connection ~ 5700 2600
Wire Wire Line
3600 3350 3850 3350
Wire Wire Line
3850 5200 5750 5200
Wire Wire Line
5750 5200 5750 4750
Connection ~ 5750 4750
Wire Wire Line
3600 3250 3950 3250
Wire Wire Line
3950 4950 4600 4950
Wire Wire Line
4600 4950 4600 4550
Connection ~ 4600 4550
Wire Wire Line
7350 2650 7550 2650
Wire Wire Line
7550 2650 7550 1250
Wire Wire Line
7550 1250 4600 1250
Wire Wire Line
4600 1250 4600 1700
Connection ~ 6550 3850
Wire Wire Line
6550 3850 6550 4050
Wire Wire Line
6550 2750 6550 3850
Wire Wire Line
4200 2600 4200 3450
Connection ~ 4200 2600
Wire Wire Line
3600 3450 4200 3450
Connection ~ 4200 3450
Wire Wire Line
4200 3450 4200 4200
Wire Wire Line
3950 3250 3950 4950
Wire Wire Line
3850 3350 3850 5200
Wire Wire Line
4600 3850 4600 3450
Wire Wire Line
4600 3450 7550 3450
Wire Wire Line
7550 3450 7550 3950
Wire Wire Line
7550 3950 7350 3950
Connection ~ 4600 3850
Wire Wire Line
7350 4150 8050 4150
Wire Wire Line
8050 4150 8050 3300
Wire Wire Line
8050 3300 5750 3300
Wire Wire Line
5750 3300 5750 4050
Connection ~ 5750 4050
Wire Wire Line
7350 2850 8050 2850
Wire Wire Line
8050 2850 8050 1450
Wire Wire Line
8050 1450 5700 1450
Wire Wire Line
5700 1450 5700 1900
Connection ~ 5700 1900
Text Label 7350 2650 0 50 ~ 0
KBDDATA
Text Label 7350 2850 0 50 ~ 0
KBDCLK
Text Label 6750 2750 2 50 ~ 0
5V
Text Label 7350 2750 0 50 ~ 0
GND
Text Label 7350 4050 0 50 ~ 0
GND
Text Label 6750 4050 2 50 ~ 0
5V
Wire Wire Line
6100 1700 6550 1700
Wire Wire Line
6550 1700 6550 2750
Connection ~ 6100 1700
Connection ~ 6550 2750
Text Label 7350 3950 0 50 ~ 0
MOUDATA
Text Label 7350 4150 0 50 ~ 0
MOUCLK
NoConn ~ 6750 2650
NoConn ~ 6750 2850
NoConn ~ 6750 3950
NoConn ~ 6750 4150
Wire Wire Line
4600 1700 4600 1850
Connection ~ 4600 1700
$EndSCHEMATC