-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsamo4k-pcb-test.sch
588 lines (588 loc) · 13 KB
/
samo4k-pcb-test.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
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
EESchema Schematic File Version 4
LIBS:samo4k-pcb-test-cache
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 MCU_Microchip_ATmega:ATmega32U4-AU U1
U 1 1 669DD027
P 5100 3850
F 0 "U1" H 5100 1961 50 0000 C CNN
F 1 "ATmega32U4-AU" H 5100 1870 50 0000 C CNN
F 2 "Package_QFP:TQFP-44_10x10mm_P0.8mm" H 5100 3850 50 0001 C CIN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Datasheet.pdf" H 5100 3850 50 0001 C CNN
1 5100 3850
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR0101
U 1 1 669DE806
P 5000 1850
F 0 "#PWR0101" H 5000 1700 50 0001 C CNN
F 1 "+5V" H 5015 2023 50 0000 C CNN
F 2 "" H 5000 1850 50 0001 C CNN
F 3 "" H 5000 1850 50 0001 C CNN
1 5000 1850
1 0 0 -1
$EndComp
Wire Wire Line
5200 2050 5100 2050
Wire Wire Line
5100 2050 5000 2050
Connection ~ 5100 2050
Wire Wire Line
5000 2050 5000 1850
Connection ~ 5000 2050
Wire Wire Line
5100 5650 5000 5650
$Comp
L power:GND #PWR0102
U 1 1 669E08CB
P 4650 5650
F 0 "#PWR0102" H 4650 5400 50 0001 C CNN
F 1 "GND" H 4655 5477 50 0000 C CNN
F 2 "" H 4650 5650 50 0001 C CNN
F 3 "" H 4650 5650 50 0001 C CNN
1 4650 5650
1 0 0 -1
$EndComp
Wire Wire Line
5000 5650 4650 5650
Connection ~ 5000 5650
$Comp
L Device:R_Small R4
U 1 1 669E2404
P 6300 4450
F 0 "R4" V 6104 4450 50 0000 C CNN
F 1 "10k" V 6195 4450 50 0000 C CNN
F 2 "Resistor_SMD:R_0805_2012Metric" H 6300 4450 50 0001 C CNN
F 3 "~" H 6300 4450 50 0001 C CNN
1 6300 4450
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0103
U 1 1 669E4526
P 6750 4450
F 0 "#PWR0103" H 6750 4200 50 0001 C CNN
F 1 "GND" H 6755 4277 50 0000 C CNN
F 2 "" H 6750 4450 50 0001 C CNN
F 3 "" H 6750 4450 50 0001 C CNN
1 6750 4450
1 0 0 -1
$EndComp
Wire Wire Line
5700 4450 6200 4450
Wire Wire Line
6400 4450 6750 4450
Wire Wire Line
4000 3350 4500 3350
Wire Wire Line
3600 3450 4500 3450
$Comp
L Device:R_Small R2
U 1 1 669E6A87
P 3900 3350
F 0 "R2" V 3704 3350 50 0000 C CNN
F 1 "22" V 3795 3350 50 0000 C CNN
F 2 "Resistor_SMD:R_0805_2012Metric" H 3900 3350 50 0001 C CNN
F 3 "~" H 3900 3350 50 0001 C CNN
1 3900 3350
0 1 1 0
$EndComp
$Comp
L Device:R_Small R1
U 1 1 669E78FF
P 3500 3450
F 0 "R1" V 3304 3450 50 0000 C CNN
F 1 "22" V 3395 3450 50 0000 C CNN
F 2 "Resistor_SMD:R_0805_2012Metric" H 3500 3450 50 0001 C CNN
F 3 "~" H 3500 3450 50 0001 C CNN
1 3500 3450
0 1 1 0
$EndComp
Wire Wire Line
3800 3350 3100 3350
Wire Wire Line
3400 3450 3100 3450
Wire Wire Line
4500 3650 3700 3650
$Comp
L Device:C_Small C6
U 1 1 669EA410
P 3700 3750
F 0 "C6" H 3792 3796 50 0000 L CNN
F 1 "1uF" H 3792 3705 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 3700 3750 50 0001 C CNN
F 3 "~" H 3700 3750 50 0001 C CNN
1 3700 3750
1 0 0 -1
$EndComp
Wire Wire Line
3700 3850 3700 3950
$Comp
L power:GND #PWR0104
U 1 1 669EB3D1
P 3700 3950
F 0 "#PWR0104" H 3700 3700 50 0001 C CNN
F 1 "GND" H 3705 3777 50 0000 C CNN
F 2 "" H 3700 3950 50 0001 C CNN
F 3 "" H 3700 3950 50 0001 C CNN
1 3700 3950
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C1
U 1 1 669EBE94
P 2700 4700
F 0 "C1" H 2792 4746 50 0000 L CNN
F 1 "0.1uF" H 2792 4655 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 2700 4700 50 0001 C CNN
F 3 "~" H 2700 4700 50 0001 C CNN
1 2700 4700
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C2
U 1 1 669EC7D6
P 3050 4700
F 0 "C2" H 3142 4746 50 0000 L CNN
F 1 "0.1uF" H 3142 4655 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 3050 4700 50 0001 C CNN
F 3 "~" H 3050 4700 50 0001 C CNN
1 3050 4700
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C3
U 1 1 669ED5D1
P 3400 4700
F 0 "C3" H 3492 4746 50 0000 L CNN
F 1 "0.1uF" H 3492 4655 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 3400 4700 50 0001 C CNN
F 3 "~" H 3400 4700 50 0001 C CNN
1 3400 4700
1 0 0 -1
$EndComp
Wire Wire Line
2700 4600 3050 4600
Wire Wire Line
3400 4600 3200 4600
Connection ~ 3050 4600
Wire Wire Line
2700 4800 3050 4800
Wire Wire Line
3050 4800 3200 4800
Connection ~ 3050 4800
$Comp
L Device:C_Small C7
U 1 1 669F2B59
P 3750 4700
F 0 "C7" H 3842 4746 50 0000 L CNN
F 1 "10uF" H 3842 4655 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 3750 4700 50 0001 C CNN
F 3 "~" H 3750 4700 50 0001 C CNN
1 3750 4700
1 0 0 -1
$EndComp
Wire Wire Line
3400 4600 3750 4600
Connection ~ 3400 4600
Wire Wire Line
3750 4800 3400 4800
Connection ~ 3400 4800
Wire Wire Line
3200 4600 3200 4500
Connection ~ 3200 4600
Wire Wire Line
3200 4600 3050 4600
Wire Wire Line
3200 4800 3200 4900
Connection ~ 3200 4800
Wire Wire Line
3200 4800 3400 4800
$Comp
L power:GND #PWR0105
U 1 1 669F5089
P 3200 4900
F 0 "#PWR0105" H 3200 4650 50 0001 C CNN
F 1 "GND" H 3205 4727 50 0000 C CNN
F 2 "" H 3200 4900 50 0001 C CNN
F 3 "" H 3200 4900 50 0001 C CNN
1 3200 4900
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR0106
U 1 1 669F5923
P 3200 4500
F 0 "#PWR0106" H 3200 4350 50 0001 C CNN
F 1 "+5V" H 3215 4673 50 0000 C CNN
F 2 "" H 3200 4500 50 0001 C CNN
F 3 "" H 3200 4500 50 0001 C CNN
1 3200 4500
1 0 0 -1
$EndComp
Wire Wire Line
4500 3150 4100 3150
$Comp
L power:+5V #PWR0107
U 1 1 669F7F09
P 4100 3150
F 0 "#PWR0107" H 4100 3000 50 0001 C CNN
F 1 "+5V" H 4115 3323 50 0000 C CNN
F 2 "" H 4100 3150 50 0001 C CNN
F 3 "" H 4100 3150 50 0001 C CNN
1 4100 3150
1 0 0 -1
$EndComp
$Comp
L Device:Crystal_GND24_Small Y1
U 1 1 669FF7B2
P 4000 2650
F 0 "Y1" V 3954 2794 50 0000 L CNN
F 1 "16MHz" V 4045 2794 50 0000 L CNN
F 2 "Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm" H 4000 2650 50 0001 C CNN
F 3 "~" H 4000 2650 50 0001 C CNN
1 4000 2650
0 1 1 0
$EndComp
Wire Wire Line
4500 2550 4000 2550
Wire Wire Line
4500 2750 4000 2750
Wire Wire Line
4000 2550 3650 2550
Connection ~ 4000 2550
Wire Wire Line
4000 2750 3650 2750
Wire Wire Line
3650 2750 3650 2800
Connection ~ 4000 2750
$Comp
L Device:C_Small C4
U 1 1 66A042EA
P 3550 2500
F 0 "C4" V 3321 2500 50 0000 C CNN
F 1 "22pF" V 3412 2500 50 0000 C CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 3550 2500 50 0001 C CNN
F 3 "~" H 3550 2500 50 0001 C CNN
1 3550 2500
0 1 1 0
$EndComp
$Comp
L Device:C_Small C5
U 1 1 66A054CB
P 3550 2800
F 0 "C5" V 3779 2800 50 0000 C CNN
F 1 "22pF" V 3688 2800 50 0000 C CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 3550 2800 50 0001 C CNN
F 3 "~" H 3550 2800 50 0001 C CNN
1 3550 2800
0 -1 -1 0
$EndComp
Wire Wire Line
3450 2800 3450 2950
$Comp
L power:GND #PWR0108
U 1 1 66A07EAA
P 3450 2950
F 0 "#PWR0108" H 3450 2700 50 0001 C CNN
F 1 "GND" H 3455 2777 50 0000 C CNN
F 2 "" H 3450 2950 50 0001 C CNN
F 3 "" H 3450 2950 50 0001 C CNN
1 3450 2950
1 0 0 -1
$EndComp
Wire Wire Line
3900 2650 3900 2900
Wire Wire Line
3900 2950 3450 2950
Connection ~ 3450 2950
Wire Wire Line
4100 2650 4100 2900
Wire Wire Line
4100 2900 3900 2900
Connection ~ 3900 2900
Wire Wire Line
3900 2900 3900 2950
Wire Wire Line
3650 2550 3650 2500
Wire Wire Line
3450 2500 3450 2800
Connection ~ 3450 2800
Wire Wire Line
4500 2350 4400 2350
$Comp
L Switch:SW_Push SW1
U 1 1 66A0D033
P 4100 2350
F 0 "SW1" H 4100 2635 50 0000 C CNN
F 1 "SW_Push" H 4100 2544 50 0000 C CNN
F 2 "random-keyboard-parts:SKQG-1155865" H 4100 2550 50 0001 C CNN
F 3 "~" H 4100 2550 50 0001 C CNN
1 4100 2350
1 0 0 -1
$EndComp
Wire Wire Line
3900 2350 3850 2350
Wire Wire Line
3850 2350 3850 2200
Wire Wire Line
3850 2200 3200 2200
$Comp
L power:GND #PWR0109
U 1 1 66A123FF
P 3200 2200
F 0 "#PWR0109" H 3200 1950 50 0001 C CNN
F 1 "GND" H 3205 2027 50 0000 C CNN
F 2 "" H 3200 2200 50 0001 C CNN
F 3 "" H 3200 2200 50 0001 C CNN
1 3200 2200
1 0 0 -1
$EndComp
Wire Wire Line
4400 2350 4400 2050
Connection ~ 4400 2350
Wire Wire Line
4400 2350 4300 2350
$Comp
L Device:R_Small R3
U 1 1 66A1395E
P 4400 1950
F 0 "R3" H 4459 1996 50 0000 L CNN
F 1 "10k" H 4459 1905 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" H 4400 1950 50 0001 C CNN
F 3 "~" H 4400 1950 50 0001 C CNN
1 4400 1950
1 0 0 -1
$EndComp
Wire Wire Line
4400 1850 4400 1750
$Comp
L power:+5V #PWR0110
U 1 1 66A14FD1
P 4400 1750
F 0 "#PWR0110" H 4400 1600 50 0001 C CNN
F 1 "+5V" H 4415 1923 50 0000 C CNN
F 2 "" H 4400 1750 50 0001 C CNN
F 3 "" H 4400 1750 50 0001 C CNN
1 4400 1750
1 0 0 -1
$EndComp
Text GLabel 3100 3450 0 50 Input ~ 0
D-
Text GLabel 3100 3350 0 50 Input ~ 0
D+
$Comp
L random-keyboard-parts:Molex-0548190589 USB1
U 1 1 66A1B7B1
P 7150 2200
F 0 "USB1" V 7687 2167 60 0000 C CNN
F 1 "Molex-0548190589" V 7581 2167 60 0000 C CNN
F 2 "random-keyboard-parts:Molex-0548190589" H 7150 2200 60 0001 C CNN
F 3 "" H 7150 2200 60 0001 C CNN
1 7150 2200
0 -1 -1 0
$EndComp
$Comp
L Device:Polyfuse_Small F1
U 1 1 66A1CD47
P 8100 2000
F 0 "F1" V 7895 2000 50 0000 C CNN
F 1 "500mA" V 7986 2000 50 0000 C CNN
F 2 "Fuse:Fuse_1206_3216Metric" H 8150 1800 50 0001 L CNN
F 3 "~" H 8100 2000 50 0001 C CNN
1 8100 2000
0 1 1 0
$EndComp
$Comp
L power:VCC #PWR0111
U 1 1 66A1FB6B
P 7700 2000
F 0 "#PWR0111" H 7700 1850 50 0001 C CNN
F 1 "VCC" H 7717 2173 50 0000 C CNN
F 2 "" H 7700 2000 50 0001 C CNN
F 3 "" H 7700 2000 50 0001 C CNN
1 7700 2000
1 0 0 -1
$EndComp
Wire Wire Line
7450 2000 7700 2000
Wire Wire Line
7700 2000 8000 2000
Connection ~ 7700 2000
$Comp
L power:+5V #PWR0112
U 1 1 66A2374F
P 8500 2000
F 0 "#PWR0112" H 8500 1850 50 0001 C CNN
F 1 "+5V" H 8515 2173 50 0000 C CNN
F 2 "" H 8500 2000 50 0001 C CNN
F 3 "" H 8500 2000 50 0001 C CNN
1 8500 2000
1 0 0 -1
$EndComp
Wire Wire Line
8200 2000 8500 2000
Text GLabel 7450 2100 2 50 Input ~ 0
D-
Text GLabel 7450 2200 2 50 Input ~ 0
D+
Wire Wire Line
7450 2400 7500 2400
$Comp
L power:GND #PWR0113
U 1 1 66A26F30
P 7500 2400
F 0 "#PWR0113" H 7500 2150 50 0001 C CNN
F 1 "GND" H 7505 2227 50 0000 C CNN
F 2 "" H 7500 2400 50 0001 C CNN
F 3 "" H 7500 2400 50 0001 C CNN
1 7500 2400
1 0 0 -1
$EndComp
$Comp
L MX_Alps_Hybrid:MX-NoLED MX1
U 1 1 66A27EB0
P 8900 3700
F 0 "MX1" H 8933 3923 60 0000 C CNN
F 1 "MX-NoLED" H 8933 3849 20 0000 C CNN
F 2 "MX_Alps_Hybrid:MX-1U" H 8275 3675 60 0001 C CNN
F 3 "" H 8275 3675 60 0001 C CNN
1 8900 3700
1 0 0 -1
$EndComp
Wire Wire Line
8850 3850 8750 3850
$Comp
L Device:D_Small D1
U 1 1 66A298D7
P 8750 3950
F 0 "D1" V 8796 3882 50 0000 R CNN
F 1 "SOD-123" V 8705 3882 50 0000 R CNN
F 2 "Diode_SMD:D_SOD-123" V 8750 3950 50 0001 C CNN
F 3 "~" V 8750 3950 50 0001 C CNN
1 8750 3950
0 -1 -1 0
$EndComp
$Comp
L MX_Alps_Hybrid:MX-NoLED MX3
U 1 1 66A2F4C8
P 9650 3700
F 0 "MX3" H 9683 3923 60 0000 C CNN
F 1 "MX-NoLED" H 9683 3849 20 0000 C CNN
F 2 "MX_Alps_Hybrid:MX-1U" H 9025 3675 60 0001 C CNN
F 3 "" H 9025 3675 60 0001 C CNN
1 9650 3700
1 0 0 -1
$EndComp
Wire Wire Line
9600 3850 9500 3850
$Comp
L Device:D_Small D3
U 1 1 66A2F4CF
P 9500 3950
F 0 "D3" V 9546 3882 50 0000 R CNN
F 1 "SOD-123" V 9455 3882 50 0000 R CNN
F 2 "Diode_SMD:D_SOD-123" V 9500 3950 50 0001 C CNN
F 3 "~" V 9500 3950 50 0001 C CNN
1 9500 3950
0 -1 -1 0
$EndComp
$Comp
L MX_Alps_Hybrid:MX-NoLED MX2
U 1 1 66A358D8
P 8900 4400
F 0 "MX2" H 8933 4623 60 0000 C CNN
F 1 "MX-NoLED" H 8933 4549 20 0000 C CNN
F 2 "MX_Alps_Hybrid:MX-1U" H 8275 4375 60 0001 C CNN
F 3 "" H 8275 4375 60 0001 C CNN
1 8900 4400
1 0 0 -1
$EndComp
Wire Wire Line
8850 4550 8750 4550
$Comp
L Device:D_Small D2
U 1 1 66A358DF
P 8750 4650
F 0 "D2" V 8796 4582 50 0000 R CNN
F 1 "SOD-123" V 8705 4582 50 0000 R CNN
F 2 "Diode_SMD:D_SOD-123" V 8750 4650 50 0001 C CNN
F 3 "~" V 8750 4650 50 0001 C CNN
1 8750 4650
0 -1 -1 0
$EndComp
$Comp
L MX_Alps_Hybrid:MX-NoLED MX4
U 1 1 66A358E5
P 9650 4400
F 0 "MX4" H 9683 4623 60 0000 C CNN
F 1 "MX-NoLED" H 9683 4549 20 0000 C CNN
F 2 "MX_Alps_Hybrid:MX-1U" H 9025 4375 60 0001 C CNN
F 3 "" H 9025 4375 60 0001 C CNN
1 9650 4400
1 0 0 -1
$EndComp
Wire Wire Line
9600 4550 9500 4550
$Comp
L Device:D_Small D4
U 1 1 66A358EC
P 9500 4650
F 0 "D4" V 9546 4582 50 0000 R CNN
F 1 "SOD-123" V 9455 4582 50 0000 R CNN
F 2 "Diode_SMD:D_SOD-123" V 9500 4650 50 0001 C CNN
F 3 "~" V 9500 4650 50 0001 C CNN
1 9500 4650
0 -1 -1 0
$EndComp
Wire Wire Line
9800 4350 9800 3650
Wire Wire Line
9500 4050 8750 4050
Wire Wire Line
9050 3650 9050 4350
Wire Wire Line
9500 4750 8750 4750
Wire Wire Line
8750 4050 8150 4050
Connection ~ 8750 4050
Wire Wire Line
8750 4750 8150 4750
Connection ~ 8750 4750
Wire Wire Line
9050 3650 9050 3050
Connection ~ 9050 3650
Wire Wire Line
9800 3650 9800 3050
Connection ~ 9800 3650
Text GLabel 9050 3050 1 50 Input ~ 0
COL0
Text GLabel 9800 3050 1 50 Input ~ 0
COL1
Text GLabel 8150 4050 0 50 Input ~ 0
ROW0
Text GLabel 8150 4750 0 50 Input ~ 0
ROW1
Text GLabel 5700 4150 2 50 Input ~ 0
COL1
Text GLabel 5700 4250 2 50 Input ~ 0
COL0
Text GLabel 5700 2750 2 50 Input ~ 0
ROW1
Text GLabel 5700 2850 2 50 Input ~ 0
ROW0
$EndSCHEMATC