-
Notifications
You must be signed in to change notification settings - Fork 1
/
atmega328p.sch-bak
500 lines (500 loc) · 11.1 KB
/
atmega328p.sch-bak
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
EESchema Schematic File Version 4
LIBS:MAM19-cache
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 9 9
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Device:Crystal_Small Y401
U 1 1 59FE3A5A
P 8300 3600
F 0 "Y401" H 8300 3700 50 0000 C CNN
F 1 "16MHz" H 8300 3500 50 0000 C CNN
F 2 "Crystal:Crystal_HC49-U_Vertical" H 8300 3600 50 0001 C CNN
F 3 "http://www.farnell.com/datasheets/321153.pdf" H 8300 3600 50 0001 C CNN
1 8300 3600
1 0 0 1
$EndComp
$Comp
L Device:C_Small C403
U 1 1 59FE3A61
P 8050 3800
F 0 "C403" H 8060 3870 50 0000 L CNN
F 1 "22pF" H 8060 3720 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 8050 3800 50 0001 C CNN
F 3 "" H 8050 3800 50 0001 C CNN
1 8050 3800
-1 0 0 -1
$EndComp
$Comp
L Device:C_Small C404
U 1 1 59FE3A68
P 8550 3800
F 0 "C404" H 8350 3900 50 0000 L CNN
F 1 "22pF" H 8350 3700 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 8550 3800 50 0001 C CNN
F 3 "" H 8550 3800 50 0001 C CNN
1 8550 3800
-1 0 0 -1
$EndComp
$Comp
L Device:R_Small R401
U 1 1 59FE4B17
P 6300 4050
F 0 "R401" H 6330 4070 50 0000 L CNN
F 1 "10k" H 6330 4010 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 6300 4050 50 0001 C CNN
F 3 "" H 6300 4050 50 0001 C CNN
1 6300 4050
1 0 0 -1
$EndComp
$Comp
L Device:C_Small C406
U 1 1 59FE4EE2
P 6150 4350
F 0 "C406" V 6050 4250 50 0000 L CNN
F 1 "100nF" V 6200 4400 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 6150 4350 50 0001 C CNN
F 3 "" H 6150 4350 50 0001 C CNN
1 6150 4350
0 -1 -1 0
$EndComp
Text HLabel 6450 3250 2 60 Output ~ 0
SPI_SCK
Text HLabel 6450 3150 2 60 Input ~ 0
SPI_MISO
Text HLabel 6450 3050 2 60 Output ~ 0
SPI_MOSI
Text HLabel 6450 2750 2 60 Output ~ 0
MCP_SS
Text HLabel 6450 2850 2 60 Input ~ 0
MCP_INT
Text Label 5675 4250 0 60 ~ 0
RESET
Text HLabel 7950 2200 0 60 Input ~ 0
VCC
Text HLabel 7950 2350 0 60 Output ~ 0
GND
$Comp
L MCU_Microchip_ATmega:ATmega328P-PU U401
U 1 1 59FE3414
P 4350 3950
F 0 "U401" H 3850 5400 50 0000 L BNN
F 1 "ATMEGA328P-PU" H 4500 2450 50 0000 L BNN
F 2 "Package_DIP:DIP-28_W7.62mm_Socket" H 4350 3950 50 0001 C CIN
F 3 "" H 4350 3950 50 0001 C CNN
1 4350 3950
1 0 0 -1
$EndComp
$Comp
L Device:R_Small R402
U 1 1 5AACAE36
P 7350 4350
F 0 "R402" V 7400 4450 50 0000 L CNN
F 1 "1k" V 7400 4200 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 7350 4350 50 0001 C CNN
F 3 "" H 7350 4350 50 0001 C CNN
1 7350 4350
0 -1 -1 0
$EndComp
$Comp
L Device:R_Small R403
U 1 1 5AACB0BA
P 7350 4450
F 0 "R403" V 7400 4550 50 0000 L CNN
F 1 "1k" V 7400 4300 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 7350 4450 50 0001 C CNN
F 3 "" H 7350 4450 50 0001 C CNN
1 7350 4450
0 -1 -1 0
$EndComp
Text Notes 725 7700 0 60 ~ 0
http://ww1.microchip.com/downloads/en/appnotes/atmel-2521-avr-hardware-design-considerations_applicationnote_avr042.pdf
Wire Wire Line
8550 3350 8550 3600
Wire Wire Line
8550 3600 8400 3600
Wire Wire Line
8200 3600 8050 3600
Wire Wire Line
8050 3450 8050 3600
Wire Wire Line
8050 4000 8050 3900
Wire Wire Line
8550 4000 8550 3900
Wire Wire Line
4950 3450 8050 3450
Connection ~ 8050 3600
Wire Wire Line
4950 3350 8550 3350
Connection ~ 8550 3600
Wire Wire Line
5050 4550 4950 4550
Wire Wire Line
4950 4450 5050 4450
Wire Wire Line
6450 2750 4950 2750
Wire Wire Line
4950 3050 6450 3050
Wire Wire Line
6450 3150 4950 3150
Wire Wire Line
4950 3250 6450 3250
Wire Wire Line
4950 2850 6450 2850
Wire Wire Line
4950 3850 5050 3850
Wire Wire Line
4950 4050 5050 4050
Wire Wire Line
4950 3950 5050 3950
Wire Wire Line
5050 4150 4950 4150
Wire Wire Line
4950 4850 5050 4850
Wire Wire Line
5050 4750 4950 4750
Wire Wire Line
7450 4350 7550 4350
Wire Wire Line
7450 4450 7550 4450
Wire Wire Line
8050 3600 8050 3700
Wire Wire Line
8550 3600 8550 3700
Wire Wire Line
4350 2450 4350 2350
Wire Wire Line
4350 2350 4450 2350
Wire Wire Line
4450 2450 4450 2350
$Comp
L Diode:LL4148 D401
U 1 1 5BE95CC8
P 5975 4050
F 0 "D401" H 6075 3950 50 0000 R CNN
F 1 "LL4148" V 5825 4025 50 0000 R CNN
F 2 "Diode_SMD:D_MiniMELF_Handsoldering" H 5975 3875 50 0001 C CNN
F 3 "http://www.vishay.com/docs/85557/ll4148.pdf" H 5975 4050 50 0001 C CNN
1 5975 4050
0 -1 1 0
$EndComp
Wire Wire Line
5975 3900 5975 3850
Wire Wire Line
8050 4000 8300 4000
$Comp
L power:GND #PWR0407
U 1 1 5BEB6AE8
P 8300 4100
F 0 "#PWR0407" H 8300 3850 50 0001 C CNN
F 1 "GND" H 8350 3900 50 0000 C CNN
F 2 "" H 8300 4100 50 0001 C CNN
F 3 "" H 8300 4100 50 0001 C CNN
1 8300 4100
1 0 0 -1
$EndComp
Wire Wire Line
8300 4100 8300 4000
Connection ~ 8300 4000
Wire Wire Line
8300 4000 8550 4000
$Comp
L power:GND #PWR0412
U 1 1 5BEB7AB4
P 4350 5750
F 0 "#PWR0412" H 4350 5500 50 0001 C CNN
F 1 "GND" H 4400 5550 50 0000 C CNN
F 2 "" H 4350 5750 50 0001 C CNN
F 3 "" H 4350 5750 50 0001 C CNN
1 4350 5750
1 0 0 -1
$EndComp
Wire Wire Line
7950 2200 8050 2200
Wire Wire Line
8050 2200 8050 2150
Connection ~ 4350 2350
Text Label 5300 3150 0 60 ~ 0
SPI_MISO
Text Label 5300 3050 0 60 ~ 0
SPI_MOSI
Text Label 5300 3250 0 60 ~ 0
SPI_SCK
$Comp
L power:GND #PWR0404
U 1 1 5BEC895B
P 8050 2450
F 0 "#PWR0404" H 8050 2200 50 0001 C CNN
F 1 "GND" H 8100 2250 50 0000 C CNN
F 2 "" H 8050 2450 50 0001 C CNN
F 3 "" H 8050 2450 50 0001 C CNN
1 8050 2450
1 0 0 -1
$EndComp
Wire Wire Line
7950 2350 8050 2350
Wire Wire Line
8050 2350 8050 2450
$Comp
L Connector_Generic:Conn_01x04 J401
U 1 1 5BECD3FE
P 7750 4450
F 0 "J401" H 7700 4000 50 0000 C CNN
F 1 "USART" H 7700 4100 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" H 7750 4450 50 0001 C CNN
F 3 "~" H 7750 4450 50 0001 C CNN
1 7750 4450
1 0 0 1
$EndComp
$Comp
L power:GND #PWR0408
U 1 1 5BECF494
P 5975 4400
F 0 "#PWR0408" H 5975 4150 50 0001 C CNN
F 1 "GND" H 5875 4400 50 0000 C CNN
F 2 "" H 5975 4400 50 0001 C CNN
F 3 "" H 5975 4400 50 0001 C CNN
1 5975 4400
1 0 0 -1
$EndComp
Wire Wire Line
5975 3750 5975 3850
Connection ~ 5975 3850
$Comp
L Device:C_Small C405
U 1 1 5BED8033
P 6525 4250
F 0 "C405" V 6625 4100 50 0000 L CNN
F 1 "100nF" V 6625 3850 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 6525 4250 50 0001 C CNN
F 3 "" H 6525 4250 50 0001 C CNN
1 6525 4250
0 -1 -1 0
$EndComp
Text Label 5050 4450 0 60 ~ 0
USART_RX
Wire Wire Line
6625 4250 7550 4250
$Comp
L power:GND #PWR0409
U 1 1 5BEE0905
P 7450 4650
F 0 "#PWR0409" H 7450 4400 50 0001 C CNN
F 1 "GND" H 7500 4450 50 0000 C CNN
F 2 "" H 7450 4650 50 0001 C CNN
F 3 "" H 7450 4650 50 0001 C CNN
1 7450 4650
1 0 0 -1
$EndComp
Wire Wire Line
7450 4650 7450 4550
Wire Wire Line
7450 4550 7550 4550
Text Label 5050 4550 0 60 ~ 0
USART_TX
Text Label 6600 4350 0 60 ~ 0
USART_RX
Wire Wire Line
6600 4350 7250 4350
Wire Wire Line
6600 4450 7250 4450
Text Label 6600 4450 0 60 ~ 0
USART_TX
$Comp
L power:+5V #PWR0401
U 1 1 5BF321D4
P 4350 1750
F 0 "#PWR0401" H 4350 1600 50 0001 C CNN
F 1 "+5V" H 4400 1950 50 0000 C CNN
F 2 "" H 4350 1750 50 0001 C CNN
F 3 "" H 4350 1750 50 0001 C CNN
1 4350 1750
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR0402
U 1 1 5BF32222
P 8050 2150
F 0 "#PWR0402" H 8050 2000 50 0001 C CNN
F 1 "+5V" H 8100 2350 50 0000 C CNN
F 2 "" H 8050 2150 50 0001 C CNN
F 3 "" H 8050 2150 50 0001 C CNN
1 8050 2150
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR0406
U 1 1 5BF330B7
P 5975 3750
F 0 "#PWR0406" H 5975 3600 50 0001 C CNN
F 1 "+5V" H 6025 3950 50 0000 C CNN
F 2 "" H 5975 3750 50 0001 C CNN
F 3 "" H 5975 3750 50 0001 C CNN
1 5975 3750
1 0 0 -1
$EndComp
Wire Wire Line
4350 2350 3650 2350
Wire Wire Line
3650 2350 3650 2750
Wire Wire Line
3650 2750 3750 2750
$Comp
L Device:C_Small C402
U 1 1 5BF3B4C1
P 3650 2950
F 0 "C402" H 3700 2850 50 0000 L CNN
F 1 "100nF" H 3700 3050 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 3650 2950 50 0001 C CNN
F 3 "" H 3650 2950 50 0001 C CNN
1 3650 2950
-1 0 0 1
$EndComp
Connection ~ 3650 2750
Wire Wire Line
3650 2750 3650 2850
$Comp
L power:GND #PWR0405
U 1 1 5BF3D2B5
P 3650 3150
F 0 "#PWR0405" H 3650 2900 50 0001 C CNN
F 1 "GND" H 3700 2950 50 0000 C CNN
F 2 "" H 3650 3150 50 0001 C CNN
F 3 "" H 3650 3150 50 0001 C CNN
1 3650 3150
1 0 0 -1
$EndComp
Wire Wire Line
3650 3050 3650 3150
Text Label 5300 2850 0 60 ~ 0
MCP_INT
Text Label 5300 2750 0 60 ~ 0
MCP_SS
$Comp
L Device:C_Small C401
U 1 1 5BF2780D
P 4550 2050
F 0 "C401" H 4650 2050 50 0000 L CNN
F 1 "100nF" H 4550 2150 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 4550 2050 50 0001 C CNN
F 3 "" H 4550 2050 50 0001 C CNN
1 4550 2050
1 0 0 -1
$EndComp
Wire Wire Line
4550 1950 4550 1850
Wire Wire Line
4350 1850 4350 1750
Wire Wire Line
4550 1850 4350 1850
Wire Wire Line
4350 1850 4350 2350
Connection ~ 4350 1850
$Comp
L power:GND #PWR0403
U 1 1 5BF3B38D
P 4550 2250
F 0 "#PWR0403" H 4550 2000 50 0001 C CNN
F 1 "GND" H 4600 2050 50 0000 C CNN
F 2 "" H 4550 2250 50 0001 C CNN
F 3 "" H 4550 2250 50 0001 C CNN
1 4550 2250
1 0 0 -1
$EndComp
Wire Wire Line
4550 2250 4550 2150
Wire Wire Line
4350 5450 4350 5725
Wire Wire Line
4950 5150 5500 5150
Wire Wire Line
4950 4950 5050 4950
Wire Wire Line
4950 5050 5050 5050
Wire Wire Line
6300 4150 6300 4250
Wire Wire Line
6300 3950 6300 3850
Wire Wire Line
5975 3850 6300 3850
Wire Wire Line
6300 4250 6425 4250
Wire Wire Line
5975 4200 5975 4250
Wire Wire Line
4950 4250 5975 4250
Wire Wire Line
5975 4400 5975 4350
Wire Wire Line
5975 4350 6050 4350
Wire Wire Line
6250 4350 6300 4350
Wire Wire Line
6300 4350 6300 4250
Connection ~ 6300 4250
Wire Wire Line
6300 4250 5975 4250
Connection ~ 5975 4250
NoConn ~ 4950 2950
Wire Wire Line
4950 4650 5050 4650
NoConn ~ 5050 3850
NoConn ~ 5050 3950
NoConn ~ 5050 4050
NoConn ~ 5050 4150
NoConn ~ 5050 4650
NoConn ~ 5050 4750
NoConn ~ 5050 4850
NoConn ~ 5050 4950
NoConn ~ 5050 5050
Text HLabel 5275 3650 2 50 Output ~ 0
PWM
Wire Wire Line
4950 3750 5275 3750
Text HLabel 5275 3750 2 50 Output ~ 0
IR_2127_FAULT
Wire Wire Line
4950 3650 5275 3650
$Comp
L Device:LED_Small D403
U 1 1 59FE5354
P 5500 5625
F 0 "D403" H 5425 5450 50 0000 L CNN
F 1 "LED_RED" H 5400 5525 50 0000 L CNN
F 2 "LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 5500 5625 50 0001 C CNN
F 3 "" V 5500 5625 50 0001 C CNN
1 5500 5625
0 -1 -1 0
$EndComp
$Comp
L Device:R_Small R406
U 1 1 5CCAD44D
P 5500 5400
F 0 "R406" V 5575 5625 50 0000 C CNN
F 1 "330" V 5500 5600 50 0000 C CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 5500 5400 50 0001 C CNN
F 3 "~" H 5500 5400 50 0001 C CNN
1 5500 5400
1 0 0 -1
$EndComp
Wire Wire Line
5500 5500 5500 5525
Wire Wire Line
4350 5725 5500 5725
Connection ~ 4350 5725
Wire Wire Line
4350 5725 4350 5750
Wire Wire Line
5500 5150 5500 5300
$EndSCHEMATC