-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathjoystick.sch
571 lines (571 loc) · 12.7 KB
/
joystick.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
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
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 5 10
Title ""
Date ""
Rev "0.1"
Comp "deFEEST"
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L qmtech-minimig-rescue:DB9_Male-Connector J1
U 1 1 5D74BDB1
P 8400 2150
F 0 "J1" H 8580 2196 50 0000 L CNN
F 1 "DB9_Male" H 8580 2105 50 0000 L CNN
F 2 "Connector_Dsub:DSUB-9_Male_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mm" H 8580 2059 50 0001 L CNN
F 3 " ~" H 8400 2150 50 0001 C CNN
1 8400 2150
1 0 0 -1
$EndComp
Text GLabel 6750 1750 0 50 Input ~ 0
JS1_5
Text GLabel 6750 1850 0 50 Input ~ 0
JS1_9
Text GLabel 6750 1950 0 50 Input ~ 0
JS1_4
Text GLabel 6750 2050 0 50 Input ~ 0
JS1_3
Text GLabel 6750 2150 0 50 Input ~ 0
JS1_2
Text GLabel 6750 2250 0 50 Input ~ 0
JS1_6
Text GLabel 6750 2350 0 50 Input ~ 0
JS1_1
$Comp
L qmtech-minimig-rescue:DB9_Male-Connector J2
U 1 1 5D78EA68
P 8450 5250
F 0 "J2" H 8630 5296 50 0000 L CNN
F 1 "DB9_Male" H 8630 5205 50 0000 L CNN
F 2 "Connector_Dsub:DSUB-9_Male_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mm" H 8630 5159 50 0001 L CNN
F 3 " ~" H 8450 5250 50 0001 C CNN
1 8450 5250
1 0 0 -1
$EndComp
Text GLabel 7050 4850 0 50 Input ~ 0
JS2_5
Text GLabel 7050 4950 0 50 Input ~ 0
JS2_9
Text GLabel 7050 5050 0 50 Input ~ 0
JS2_4
Text GLabel 7050 5150 0 50 Input ~ 0
JS2_3
Text GLabel 7050 5250 0 50 Input ~ 0
JS2_2
Text GLabel 7050 5350 0 50 Input ~ 0
JS2_6
Text GLabel 7050 5450 0 50 Input ~ 0
JS2_1
Text GLabel 7050 5750 2 50 Input ~ 0
GND
Text GLabel 8150 5350 0 50 Input ~ 0
J2IN5V
Text GLabel 8150 5150 0 50 Input ~ 0
GND
Wire Wire Line
7775 5150 7775 5250
Wire Wire Line
7775 5250 8150 5250
Wire Wire Line
7675 5250 7675 5450
Wire Wire Line
7050 5350 7550 5350
Wire Wire Line
7550 5350 7550 5550
Wire Wire Line
7050 5450 7450 5450
Wire Wire Line
7450 5450 7450 5650
Text GLabel 5000 2650 1 50 Input ~ 0
GND
Text GLabel 5000 5025 3 50 Input ~ 0
VIN5V
Text GLabel 8100 2250 0 50 Input ~ 0
J1IN5V
Text GLabel 8100 2050 0 50 Input ~ 0
GND
Wire Wire Line
7675 2350 7825 2350
Wire Wire Line
6750 2250 7500 2250
Wire Wire Line
7500 2250 7500 2450
Wire Wire Line
7500 2450 7725 2450
Wire Wire Line
6750 2350 7400 2350
Wire Wire Line
7400 2350 7400 2550
$Comp
L Device:C C57
U 1 1 5E30EED8
P 4850 4900
F 0 "C57" V 4598 4900 50 0000 C CNN
F 1 "100nF" V 4689 4900 50 0000 C CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 4888 4750 50 0001 C CNN
F 3 "~" H 4850 4900 50 0001 C CNN
1 4850 4900
0 -1 -1 0
$EndComp
Wire Wire Line
5000 4650 5000 4900
Text GLabel 4700 4900 0 50 Input ~ 0
GND
$Comp
L Device:Polyfuse F3
U 1 1 5E31E80F
P 7250 3000
F 0 "F3" V 7025 3000 50 0000 C CNN
F 1 "100mA" V 7116 3000 50 0000 C CNN
F 2 "Fuse:Fuse_0805_2012Metric" H 7300 2800 50 0001 L CNN
F 3 "~" H 7250 3000 50 0001 C CNN
1 7250 3000
0 1 1 0
$EndComp
Text GLabel 7400 3000 2 50 Input ~ 0
J1IN5V
Text GLabel 7100 3000 0 50 Input ~ 0
VIN5V
$Comp
L Device:Polyfuse F2
U 1 1 5E320D9B
P 6975 6250
F 0 "F2" V 6750 6250 50 0000 C CNN
F 1 "100mA" V 6841 6250 50 0000 C CNN
F 2 "Fuse:Fuse_0805_2012Metric" H 7025 6050 50 0001 L CNN
F 3 "~" H 6975 6250 50 0001 C CNN
1 6975 6250
0 1 1 0
$EndComp
Text GLabel 7125 6250 2 50 Input ~ 0
J2IN5V
Text GLabel 6825 6250 0 50 Input ~ 0
VIN5V
Text GLabel 8300 1450 1 50 Input ~ 0
GND
Text GLabel 8350 4550 1 50 Input ~ 0
GND
Text GLabel 5500 4450 2 50 Input ~ 0
JS2_5
Text GLabel 5500 4350 2 50 Input ~ 0
JS2_9
Text GLabel 5500 4250 2 50 Input ~ 0
JS2_4
Text GLabel 5500 4150 2 50 Input ~ 0
JS2_3
Text GLabel 5500 4050 2 50 Input ~ 0
JS2_2
Text GLabel 5500 3950 2 50 Input ~ 0
JS2_6
Text GLabel 5500 3850 2 50 Input ~ 0
JS2_1
Text GLabel 5500 3550 2 50 Input ~ 0
JS1_1
Text GLabel 5500 3450 2 50 Input ~ 0
JS1_6
Text GLabel 5500 3350 2 50 Input ~ 0
JS1_2
Text GLabel 5500 3250 2 50 Input ~ 0
JS1_3
Text GLabel 5500 3150 2 50 Input ~ 0
JS1_4
Text GLabel 5500 3050 2 50 Input ~ 0
JS1_9
Text GLabel 5500 2950 2 50 Input ~ 0
JS1_5
Connection ~ 5000 4900
Wire Wire Line
5000 4900 5000 5025
Text Notes 3875 3225 0 50 ~ 0
5V SPI\n
Text GLabel 4500 3950 0 50 Input ~ 0
JS_INTA_5V
Text GLabel 4500 4050 0 50 Input ~ 0
JS_INTB_5V
$Comp
L Device:C C24
U 1 1 5F31A37C
P 3325 1850
F 0 "C24" V 3073 1850 50 0000 C CNN
F 1 "100nF" V 3164 1850 50 0000 C CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 3363 1700 50 0001 C CNN
F 3 "~" H 3325 1850 50 0001 C CNN
1 3325 1850
0 1 1 0
$EndComp
Text GLabel 3475 1850 2 50 Input ~ 0
GND
$Comp
L Device:R R7
U 1 1 5F3A2FEA
P 4275 2950
AR Path="/5D74B9F4/5F3A2FEA" Ref="R7" Part="1"
AR Path="/5DE41876/5F3A2FEA" Ref="R?" Part="1"
F 0 "R7" V 4068 2950 50 0000 C CNN
F 1 "10k" V 4159 2950 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 4205 2950 50 0001 C CNN
F 3 "~" H 4275 2950 50 0001 C CNN
1 4275 2950
0 1 1 0
$EndComp
Text GLabel 4125 2950 0 50 Input ~ 0
GND
Wire Wire Line
4500 3050 4425 3050
Wire Wire Line
4425 3050 4425 2950
Wire Wire Line
4425 2950 4425 2850
Wire Wire Line
4425 2850 4500 2850
Connection ~ 4425 2950
Wire Wire Line
4500 2950 4425 2950
Text GLabel 7400 1100 1 50 Input ~ 0
J1IN5V
Connection ~ 7725 2450
Wire Wire Line
7725 2450 8100 2450
Wire Wire Line
2875 1850 2875 1700
Connection ~ 2875 1850
Wire Wire Line
2750 1850 2875 1850
Wire Wire Line
3050 1850 3050 1700
Connection ~ 3050 1850
Wire Wire Line
3175 1850 3050 1850
Wire Wire Line
3050 2450 3050 1850
Wire Wire Line
2775 2450 3050 2450
Wire Wire Line
2875 2350 2875 1850
Wire Wire Line
2775 2350 2875 2350
Text GLabel 3050 1700 1 50 Input ~ 0
VIN5V
Text GLabel 2875 1700 1 50 Input ~ 0
3V3
Text GLabel 2450 1850 0 50 Input ~ 0
GND
$Comp
L Device:C C20
U 1 1 5F319691
P 2600 1850
F 0 "C20" V 2348 1850 50 0000 C CNN
F 1 "100nF" V 2439 1850 50 0000 C CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 2638 1700 50 0001 C CNN
F 3 "~" H 2600 1850 50 0001 C CNN
1 2600 1850
0 -1 -1 0
$EndComp
Text GLabel 1375 3250 0 50 Input ~ 0
JS_INTB_5V
Text GLabel 1375 3350 0 50 Input ~ 0
JS_INTA_5V
Text GLabel 1375 3450 0 50 Input ~ 0
JS_CS_5V
Text GLabel 2775 3650 2 50 Input ~ 0
GND
Text GLabel 1375 2850 0 50 Input ~ 0
JS_INTB
Text GLabel 1375 2950 0 50 Input ~ 0
JS_INTA
$Comp
L qmtech-minimig-rescue:TXB0106PWR-TXB0106PWR U6
U 1 1 5F2E87E4
P 2075 3050
F 0 "U6" H 2075 4020 50 0000 C CNN
F 1 "TXB0106PWR" H 2075 3929 50 0000 C CNN
F 2 "SOP65P640X120-16N" H 2075 3050 50 0001 L BNN
F 3 "" H 2075 3050 50 0001 C CNN
1 2075 3050
1 0 0 -1
$EndComp
Text GLabel 1075 2650 0 50 Input ~ 0
3V3
$Comp
L Device:R R2
U 1 1 5F2DF875
P 1225 2650
F 0 "R2" V 1018 2650 50 0000 C CNN
F 1 "10k" V 1109 2650 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 1155 2650 50 0001 C CNN
F 3 "~" H 1225 2650 50 0001 C CNN
1 1225 2650
0 1 1 0
$EndComp
Text GLabel 1375 3050 0 50 Input ~ 0
JS_CS
Text GLabel 2775 3050 2 50 Input ~ 0
JS_SCK
Text GLabel 2775 2950 2 50 Input ~ 0
JS_MOSI
Text GLabel 2775 2850 2 50 Input ~ 0
JS_MISO
Text GLabel 3950 4675 3 50 Input ~ 0
VIN5V
Wire Wire Line
4500 4450 4425 4450
Wire Wire Line
4425 4450 4425 4550
Wire Wire Line
3950 4675 3950 4550
Text GLabel 4500 3550 0 50 Input ~ 0
JS_CS_5V
Wire Wire Line
2775 3450 4500 3450
Wire Wire Line
2775 3350 4500 3350
Wire Wire Line
2775 3250 4500 3250
$Comp
L Device:R R87
U 1 1 5FC2A341
P 5650 3750
AR Path="/5D74B9F4/5FC2A341" Ref="R87" Part="1"
AR Path="/5DE41876/5FC2A341" Ref="R?" Part="1"
F 0 "R87" V 5725 3750 50 0000 C CNN
F 1 "10k" V 5650 3750 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 5580 3750 50 0001 C CNN
F 3 "~" H 5650 3750 50 0001 C CNN
1 5650 3750
0 -1 -1 0
$EndComp
Text GLabel 5800 3750 2 50 Input ~ 0
GND
$Comp
L Device:R R12
U 1 1 5FC2FC54
P 5650 2850
AR Path="/5D74B9F4/5FC2FC54" Ref="R12" Part="1"
AR Path="/5DE41876/5FC2FC54" Ref="R?" Part="1"
F 0 "R12" V 5725 2850 50 0000 C CNN
F 1 "10k" V 5650 2850 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 5580 2850 50 0001 C CNN
F 3 "~" H 5650 2850 50 0001 C CNN
1 5650 2850
0 -1 -1 0
$EndComp
Text GLabel 5800 2850 2 50 Input ~ 0
GND
Text Notes 4850 2350 0 50 ~ 0
I/O expander to SPI
Text Notes 3675 3875 0 50 ~ 0
Not strictly needed, \ncan poll with the FPGA.
$Comp
L qmtech-minimig-rescue:MCP23S17-microchip U9
U 1 1 5F13EE93
P 5000 3650
F 0 "U9" H 5000 2469 50 0000 C CNN
F 1 "MCP23S17" H 5000 2560 50 0000 C CNN
F 2 "Package_SO:SSOP-28_5.3x10.2mm_P0.65mm" H 5050 2700 50 0001 L CNN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/20001952C.pdf" H 5250 4650 50 0001 C CNN
1 5000 3650
-1 0 0 1
$EndComp
Wire Wire Line
3950 4550 4425 4550
Text Label 2875 3250 0 50 ~ 0
JS_MISO_5V
Text Label 2875 3350 0 50 ~ 0
JS_MOSI_5V
Text Label 2875 3450 0 50 ~ 0
JS_SCK_5V
$Comp
L Device:R_Pack04 RN1
U 1 1 5F73821B
P 7225 1300
F 0 "RN1" H 7413 1346 50 0000 L CNN
F 1 "10K" H 7413 1255 50 0000 L CNN
F 2 "Resistor_SMD:R_Array_Convex_4x0603" V 7500 1300 50 0001 C CNN
F 3 "~" H 7225 1300 50 0001 C CNN
1 7225 1300
1 0 0 -1
$EndComp
Wire Wire Line
7025 1100 7125 1100
Wire Wire Line
7325 1100 7625 1100
Wire Wire Line
7125 1100 7225 1100
Connection ~ 7125 1100
Connection ~ 7325 1100
Connection ~ 7225 1100
Wire Wire Line
7225 1100 7325 1100
$Comp
L Device:R_Pack04 RN2
U 1 1 5F76013F
P 7825 1300
F 0 "RN2" H 8013 1346 50 0000 L CNN
F 1 "10K" H 8013 1255 50 0000 L CNN
F 2 "Resistor_SMD:R_Array_Convex_4x0603" V 8100 1300 50 0001 C CNN
F 3 "~" H 7825 1300 50 0001 C CNN
1 7825 1300
1 0 0 -1
$EndComp
Connection ~ 7625 1100
Wire Wire Line
7625 1100 7725 1100
Connection ~ 7725 1100
Wire Wire Line
7725 1100 7825 1100
Wire Wire Line
7725 1500 7725 2450
Wire Wire Line
7775 2050 7775 2150
Wire Wire Line
7825 1100 7925 1100
Connection ~ 7825 1100
Wire Wire Line
7325 1500 7325 1750
Connection ~ 7325 1750
Wire Wire Line
7325 1750 8100 1750
Wire Wire Line
6750 1750 7325 1750
Wire Wire Line
6750 1850 7225 1850
Connection ~ 7225 1850
Wire Wire Line
7225 1850 8100 1850
Wire Wire Line
7225 1500 7225 1850
Wire Wire Line
6750 1950 7125 1950
Wire Wire Line
6750 2050 7025 2050
Wire Wire Line
7125 1500 7125 1950
Connection ~ 7125 1950
Wire Wire Line
7125 1950 8100 1950
Wire Wire Line
7025 1500 7025 2050
Connection ~ 7025 2050
Wire Wire Line
7025 2050 7775 2050
Wire Wire Line
7825 1500 7825 2350
Wire Wire Line
7775 2150 8100 2150
Connection ~ 7825 2350
Wire Wire Line
7825 2350 8100 2350
Wire Wire Line
7400 2550 7625 2550
Wire Wire Line
7675 2150 7675 2350
Wire Wire Line
6750 2150 7675 2150
Wire Wire Line
7625 1500 7625 2550
Connection ~ 7625 2550
Wire Wire Line
7625 2550 8100 2550
Wire Wire Line
7050 4850 7125 4850
Wire Wire Line
7550 5550 7825 5550
Wire Wire Line
7050 5250 7675 5250
Wire Wire Line
7050 4950 7225 4950
Text GLabel 7500 4200 1 50 Input ~ 0
J2IN5V
$Comp
L Device:R_Pack04 RN3
U 1 1 5F831CA7
P 7325 4400
F 0 "RN3" H 7513 4446 50 0000 L CNN
F 1 "10K" H 7513 4355 50 0000 L CNN
F 2 "Resistor_SMD:R_Array_Convex_4x0603" V 7600 4400 50 0001 C CNN
F 3 "~" H 7325 4400 50 0001 C CNN
1 7325 4400
1 0 0 -1
$EndComp
Wire Wire Line
7125 4200 7225 4200
Wire Wire Line
7425 4200 7725 4200
Wire Wire Line
7225 4200 7325 4200
Connection ~ 7225 4200
Connection ~ 7425 4200
Connection ~ 7325 4200
Wire Wire Line
7325 4200 7425 4200
$Comp
L Device:R_Pack04 RN4
U 1 1 5F831CB4
P 7925 4400
F 0 "RN4" H 8113 4446 50 0000 L CNN
F 1 "10K" H 8113 4355 50 0000 L CNN
F 2 "Resistor_SMD:R_Array_Convex_4x0603" V 8200 4400 50 0001 C CNN
F 3 "~" H 7925 4400 50 0001 C CNN
1 7925 4400
1 0 0 -1
$EndComp
Connection ~ 7725 4200
Wire Wire Line
7725 4200 7825 4200
Connection ~ 7825 4200
Wire Wire Line
7825 4200 7925 4200
Wire Wire Line
7825 4600 7825 5550
Wire Wire Line
7925 4200 8025 4200
Connection ~ 7925 4200
Wire Wire Line
7225 4600 7225 4950
Wire Wire Line
7125 4600 7125 4850
Wire Wire Line
7725 4600 7725 5450
Connection ~ 7825 5550
Wire Wire Line
7825 5550 8150 5550
Connection ~ 7925 5650
Wire Wire Line
7925 5650 8150 5650
Wire Wire Line
7675 5450 7725 5450
Wire Wire Line
7925 4600 7925 5650
Connection ~ 7725 5450
Wire Wire Line
7725 5450 8150 5450
Wire Wire Line
7450 5650 7925 5650
Connection ~ 7125 4850
Wire Wire Line
7050 5150 7425 5150
Connection ~ 7225 4950
Wire Wire Line
7050 5050 7325 5050
Connection ~ 7325 5050
Wire Wire Line
7325 5050 8150 5050
Wire Wire Line
7325 4600 7325 5050
Wire Wire Line
7225 4950 8150 4950
Connection ~ 7425 5150
Wire Wire Line
7425 5150 7775 5150
Wire Wire Line
7125 4850 8150 4850
Wire Wire Line
7425 4600 7425 5150
$EndSCHEMATC