forked from SukkoPera/OpenC16JoyAdapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOpenC16JoyAdapter.sch
535 lines (535 loc) · 11 KB
/
OpenC16JoyAdapter.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
EESchema Schematic File Version 2
LIBS:power
LIBS:device
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:cmos4000
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:valves
LIBS:74LS241
LIBS:OpenC16JoyAdapter-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title "OpenC16JoyAdapter: Open Joystick Adapter for C-16 and Plus/4"
Date "2018-01-05"
Rev "2"
Comp "SukkoPera"
Comment1 "http://www.commodore.ca/manuals/funet/cbm/documents/projects/interfaces/plus4joy/plus4joy.html"
Comment2 "Based on work by Levente Hársfalvi"
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L 74LS244 U1
U 1 1 596400F9
P 5550 3800
F 0 "U1" H 5875 4400 50 0000 C CNN
F 1 "74LS244" H 5775 3200 50 0000 C CNN
F 2 "pth_circuits:dil_20-300_socket" H 5550 3800 50 0001 C CNN
F 3 "" H 5550 3800 50 0000 C CNN
1 5550 3800
1 0 0 -1
$EndComp
$Comp
L DB9 J1
U 1 1 59640177
P 2275 3700
F 0 "J1" H 2275 4250 50 0000 C CNN
F 1 "DB9 Male" H 2275 3150 50 0000 C CNN
F 2 "conn_d-sub:DB_9M" H 2275 3700 50 0001 C CNN
F 3 "" H 2275 3700 50 0000 C CNN
1 2275 3700
-1 0 0 1
$EndComp
$Comp
L +5V #PWR01
U 1 1 59640215
P 4450 2650
F 0 "#PWR01" H 4450 2500 50 0001 C CNN
F 1 "+5V" H 4450 2790 50 0000 C CNN
F 2 "" H 4450 2650 50 0000 C CNN
F 3 "" H 4450 2650 50 0000 C CNN
1 4450 2650
1 0 0 -1
$EndComp
$Comp
L GND #PWR02
U 1 1 5964022D
P 4450 4600
F 0 "#PWR02" H 4450 4350 50 0001 C CNN
F 1 "GND" H 4450 4450 50 0000 C CNN
F 2 "" H 4450 4600 50 0000 C CNN
F 3 "" H 4450 4600 50 0000 C CNN
1 4450 4600
1 0 0 -1
$EndComp
$Comp
L CONN_01X08 P1
U 1 1 59640310
P 9025 3650
F 0 "P1" H 9025 4100 50 0000 C CNN
F 1 "TO_C16_MINI_DIN_8" V 9125 3650 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x08_Pitch2.54mm" H 9025 3650 50 0001 C CNN
F 3 "" H 9025 3650 50 0000 C CNN
1 9025 3650
1 0 0 -1
$EndComp
$Comp
L +5V #PWR03
U 1 1 59640615
P 8225 2650
F 0 "#PWR03" H 8225 2500 50 0001 C CNN
F 1 "+5V" H 8225 2790 50 0000 C CNN
F 2 "" H 8225 2650 50 0000 C CNN
F 3 "" H 8225 2650 50 0000 C CNN
1 8225 2650
1 0 0 -1
$EndComp
$Comp
L GND #PWR04
U 1 1 59640635
P 8225 4700
F 0 "#PWR04" H 8225 4450 50 0001 C CNN
F 1 "GND" H 8225 4550 50 0000 C CNN
F 2 "" H 8225 4700 50 0000 C CNN
F 3 "" H 8225 4700 50 0000 C CNN
1 8225 4700
1 0 0 -1
$EndComp
$Comp
L CONN_01X02 P2
U 1 1 596A1CDA
P 2275 2900
F 0 "P2" H 2275 3050 50 0000 C CNN
F 1 "PIN5_POWER" V 2375 2900 50 0000 C CNN
F 2 "OpenC16JoyAdapter:Pin_Header_Straight_1x02-ModSilkS" H 2275 2900 50 0001 C CNN
F 3 "" H 2275 2900 50 0000 C CNN
1 2275 2900
0 1 1 0
$EndComp
Text Label 8325 3300 0 60 ~ 0
c16_up
Text Label 8325 3400 0 60 ~ 0
c16_down
Text Label 8325 3500 0 60 ~ 0
c16_left
Text Label 8325 3600 0 60 ~ 0
c16_right
Text Label 8325 3800 0 60 ~ 0
c16_fire
Text Label 8325 4000 0 60 ~ 0
c16_select
Text Label 2725 3300 0 60 ~ 0
md_up
Text Label 2725 3500 0 60 ~ 0
md_down
Text Label 2725 3700 0 60 ~ 0
md_left
Text Label 2725 3900 0 60 ~ 0
md_right
Text Label 2725 3400 0 60 ~ 0
md_b_~a
NoConn ~ 6250 3800
NoConn ~ 6250 3900
NoConn ~ 6250 4000
$Comp
L LED D1
U 1 1 596A2963
P 9750 3400
F 0 "D1" H 9750 3500 50 0000 C CNN
F 1 "LED" H 9750 3300 50 0000 C CNN
F 2 "" H 9750 3400 50 0001 C CNN
F 3 "" H 9750 3400 50 0000 C CNN
1 9750 3400
0 1 -1 0
$EndComp
$Comp
L R R6
U 1 1 596A2AE8
P 9750 3850
F 0 "R6" V 9830 3850 50 0000 C CNN
F 1 "680" V 9750 3850 50 0000 C CNN
F 2 "" V 9680 3850 50 0001 C CNN
F 3 "" H 9750 3850 50 0000 C CNN
1 9750 3850
1 0 0 -1
$EndComp
$Comp
L +5V #PWR05
U 1 1 596A2CAD
P 9750 3150
F 0 "#PWR05" H 9750 3000 50 0001 C CNN
F 1 "+5V" H 9750 3290 50 0000 C CNN
F 2 "" H 9750 3150 50 0000 C CNN
F 3 "" H 9750 3150 50 0000 C CNN
1 9750 3150
1 0 0 -1
$EndComp
$Comp
L GND #PWR06
U 1 1 596A2CD9
P 9750 4100
F 0 "#PWR06" H 9750 3850 50 0001 C CNN
F 1 "GND" H 9750 3950 50 0000 C CNN
F 2 "" H 9750 4100 50 0000 C CNN
F 3 "" H 9750 4100 50 0000 C CNN
1 9750 4100
1 0 0 -1
$EndComp
$Comp
L C C1
U 1 1 596A2F06
P 10375 3600
F 0 "C1" H 10400 3700 50 0000 L CNN
F 1 "100n" H 10400 3500 50 0000 L CNN
F 2 "OpenC16JoyAdapter:C_0805+THT" H 10413 3450 50 0001 C CNN
F 3 "" H 10375 3600 50 0000 C CNN
1 10375 3600
1 0 0 -1
$EndComp
$Comp
L GND #PWR07
U 1 1 596A3CE6
P 6400 4350
F 0 "#PWR07" H 6400 4100 50 0001 C CNN
F 1 "GND" H 6400 4200 50 0000 C CNN
F 2 "" H 6400 4350 50 0000 C CNN
F 3 "" H 6400 4350 50 0000 C CNN
1 6400 4350
1 0 0 -1
$EndComp
$Comp
L +5V #PWR08
U 1 1 596A3F1E
P 6400 4100
F 0 "#PWR08" H 6400 3950 50 0001 C CNN
F 1 "+5V" H 6400 4240 50 0000 C CNN
F 2 "" H 6400 4100 50 0000 C CNN
F 3 "" H 6400 4100 50 0000 C CNN
1 6400 4100
1 0 0 -1
$EndComp
$Comp
L +5V #PWR09
U 1 1 596A41AD
P 10375 3350
F 0 "#PWR09" H 10375 3200 50 0001 C CNN
F 1 "+5V" H 10375 3490 50 0000 C CNN
F 2 "" H 10375 3350 50 0000 C CNN
F 3 "" H 10375 3350 50 0000 C CNN
1 10375 3350
1 0 0 -1
$EndComp
$Comp
L GND #PWR010
U 1 1 596A41DC
P 10375 3900
F 0 "#PWR010" H 10375 3650 50 0001 C CNN
F 1 "GND" H 10375 3750 50 0000 C CNN
F 2 "" H 10375 3900 50 0000 C CNN
F 3 "" H 10375 3900 50 0000 C CNN
1 10375 3900
1 0 0 -1
$EndComp
Text Label 2725 3600 0 60 ~ 0
md_select
Text Label 2725 4000 0 60 ~ 0
md_c_~start
NoConn ~ 3300 4000
Text Notes 1950 2600 0 60 ~ 0
Short for Sega Mega\nDrive controllers, leave\nopen otherwise
$Comp
L +5V #PWR011
U 1 1 59CADFEF
P 10475 800
F 0 "#PWR011" H 10475 650 50 0001 C CNN
F 1 "+5V" H 10475 940 50 0000 C CNN
F 2 "" H 10475 800 50 0000 C CNN
F 3 "" H 10475 800 50 0000 C CNN
1 10475 800
1 0 0 -1
$EndComp
$Comp
L GND #PWR012
U 1 1 59CAE036
P 10900 925
F 0 "#PWR012" H 10900 675 50 0001 C CNN
F 1 "GND" H 10900 775 50 0000 C CNN
F 2 "" H 10900 925 50 0000 C CNN
F 3 "" H 10900 925 50 0000 C CNN
1 10900 925
1 0 0 -1
$EndComp
$Comp
L PWR_FLAG #FLG013
U 1 1 59CAE07F
P 10900 825
F 0 "#FLG013" H 10900 920 50 0001 C CNN
F 1 "PWR_FLAG" H 10900 1005 50 0000 C CNN
F 2 "" H 10900 825 50 0000 C CNN
F 3 "" H 10900 825 50 0000 C CNN
1 10900 825
1 0 0 -1
$EndComp
$Comp
L PWR_FLAG #FLG014
U 1 1 59CAE0CD
P 10475 900
F 0 "#FLG014" H 10475 995 50 0001 C CNN
F 1 "PWR_FLAG" H 10475 1080 50 0000 C CNN
F 2 "" H 10475 900 50 0000 C CNN
F 3 "" H 10475 900 50 0000 C CNN
1 10475 900
-1 0 0 1
$EndComp
$Comp
L CONN_01X01 P3
U 1 1 59CADB6A
P 10600 6275
F 0 "P3" H 10600 6375 50 0000 C CNN
F 1 "OSHW_LOGO_PLACEHOLDER" V 10700 6275 50 0000 C CNN
F 2 "w_logo:Logo_copper_OSHW_6x6mm" H 10600 6275 50 0001 C CNN
F 3 "" H 10600 6275 50 0000 C CNN
1 10600 6275
0 1 1 0
$EndComp
NoConn ~ 10600 6075
$Comp
L R_Network05 RN1
U 1 1 5A45976E
P 3550 3000
F 0 "RN1" V 3250 3000 50 0000 C CNN
F 1 "10k" V 3850 3000 50 0000 C CNN
F 2 "Resistors_THT:R_Array_SIP6" V 3925 3000 50 0001 C CNN
F 3 "" H 3550 3000 50 0001 C CNN
1 3550 3000
-1 0 0 -1
$EndComp
$Comp
L CONN_01X02 P4
U 1 1 5A459F9B
P 4150 3000
F 0 "P4" H 4150 3150 50 0000 C CNN
F 1 "PULL_UP" V 4250 3000 50 0000 C CNN
F 2 "OpenC16JoyAdapter:Pin_Header_Straight_1x02-ModSilkS" H 4150 3000 50 0001 C CNN
F 3 "" H 4150 3000 50 0000 C CNN
1 4150 3000
0 1 1 0
$EndComp
$Comp
L R_Pack05_SIP RN2
U 1 1 5A45A4EC
P 7350 2975
F 0 "RN2" V 6650 3025 50 0000 C CNN
F 1 "100" V 8150 3025 50 0000 C CNN
F 2 "Resistors_THT:R_Array_SIP10" V 8225 2975 50 0001 C CNN
F 3 "" H 7350 2975 50 0001 C CNN
1 7350 2975
1 0 0 -1
$EndComp
Wire Wire Line
2725 3500 4850 3500
Wire Wire Line
2725 3400 4850 3400
Wire Wire Line
4450 3600 2725 3600
Wire Wire Line
2325 2650 4450 2650
Wire Wire Line
4450 2650 4450 3600
Wire Wire Line
8050 3300 8825 3300
Wire Wire Line
7750 3400 8825 3400
Wire Wire Line
7450 3500 8825 3500
Wire Wire Line
7150 3600 8825 3600
Wire Wire Line
8825 3700 8225 3700
Wire Wire Line
8225 3700 8225 2650
Wire Wire Line
6850 3800 8825 3800
Wire Wire Line
8825 3900 8225 3900
Wire Wire Line
8225 3900 8225 4700
Wire Wire Line
4750 4600 6650 4600
Wire Wire Line
6650 4600 6650 4000
Wire Wire Line
6650 4000 8825 4000
Wire Wire Line
2725 3300 4850 3300
Wire Wire Line
2725 3800 4450 3800
Wire Wire Line
4750 3900 4850 3900
Wire Wire Line
4750 4200 4850 4200
Wire Wire Line
4750 4200 4750 4600
Wire Wire Line
4850 4300 4750 4300
Connection ~ 4750 4300
Wire Wire Line
2725 3700 4550 3700
Wire Wire Line
4550 3700 4550 3600
Wire Wire Line
4550 3600 4850 3600
Wire Wire Line
2725 3900 4650 3900
Wire Wire Line
4650 3900 4650 3700
Wire Wire Line
4650 3700 4850 3700
Wire Wire Line
2325 2700 2325 2650
Connection ~ 4450 2650
Wire Wire Line
2225 2700 2225 2650
Wire Wire Line
2225 2650 1925 2650
Wire Wire Line
1925 2650 1925 4400
Wire Wire Line
1925 4400 2825 4400
Wire Wire Line
2825 4400 2825 4100
Wire Wire Line
2825 4100 2725 4100
Wire Wire Line
4450 3800 4450 4600
Wire Wire Line
4750 3800 4850 3800
Wire Wire Line
4450 4000 4850 4000
Wire Wire Line
4750 3800 4750 4000
Connection ~ 4750 3900
Connection ~ 4450 4000
Connection ~ 4750 4000
Wire Wire Line
6250 3300 7950 3300
Wire Wire Line
6250 3500 6450 3500
Wire Wire Line
6450 3500 6450 3400
Wire Wire Line
6250 3600 6550 3600
Wire Wire Line
6550 3600 6550 3500
Wire Wire Line
6550 3500 7350 3500
Wire Wire Line
6650 3700 6250 3700
Wire Wire Line
6650 3600 6650 3700
Wire Wire Line
6650 3600 7050 3600
Wire Wire Line
6250 3400 6350 3400
Wire Wire Line
6350 3400 6350 3800
Wire Wire Line
6350 3800 6750 3800
Wire Wire Line
9750 3700 9750 3550
Wire Wire Line
9750 3250 9750 3150
Wire Wire Line
9750 4000 9750 4100
Wire Wire Line
6250 4200 6400 4200
Wire Wire Line
6400 4200 6400 4100
Wire Wire Line
6250 4300 6400 4300
Wire Wire Line
6400 4300 6400 4350
Wire Wire Line
10375 3900 10375 3750
Wire Wire Line
10375 3450 10375 3350
Wire Wire Line
2725 4000 3300 4000
Wire Wire Line
10475 900 10475 800
Wire Wire Line
10900 825 10900 925
Wire Wire Line
3350 3200 3350 3300
Connection ~ 3350 3300
Wire Wire Line
3450 3200 3450 3400
Connection ~ 3450 3400
Wire Wire Line
3550 3200 3550 3500
Connection ~ 3550 3500
Wire Wire Line
3650 3200 3650 3700
Connection ~ 3650 3700
Wire Wire Line
3750 3200 3750 3900
Connection ~ 3750 3900
Wire Wire Line
3750 2800 3750 2725
Wire Wire Line
3750 2725 4100 2725
Wire Wire Line
4100 2725 4100 2800
Wire Wire Line
4200 2800 4200 2650
Connection ~ 4200 2650
Wire Wire Line
8050 3175 8050 3300
Wire Wire Line
7950 3300 7950 3175
Wire Wire Line
7750 3175 7750 3400
Wire Wire Line
7650 3175 7650 3400
Wire Wire Line
7650 3400 6450 3400
Wire Wire Line
7450 3500 7450 3175
Wire Wire Line
7350 3500 7350 3175
Wire Wire Line
7150 3600 7150 3175
Wire Wire Line
7050 3600 7050 3175
Wire Wire Line
6850 3800 6850 3175
Wire Wire Line
6750 3800 6750 3175
Text Notes 4475 3100 0 60 ~ 0
Short to enable pull-up\nresistors, i.e.: only leave open\nfor Sega Mega Drive controllers
$EndSCHEMATC