blob: dd76f30da3205719bae654c2ba3a547410fa68ea (
plain)
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
LIBS:PinLock-cache
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 4
Title "Pin Lock"
Date "2019-10-29"
Rev "1.0"
Comp ""
Comment1 "Mikrocontroller Seminar"
Comment2 "WiSe 2019/2020"
Comment3 ""
Comment4 ""
$EndDescr
Wire Wire Line
5300 950 5400 950
Connection ~ 5300 950
Wire Wire Line
5400 950 5400 1300
Wire Wire Line
5300 950 5300 1300
$Comp
L Switch:SW_Push SW?
U 1 1 5DBE2224
P 4250 1600
F 0 "SW?" H 4250 1885 50 0000 C CNN
F 1 "SW_Push" H 4250 1794 50 0000 C CNN
F 2 "" H 4250 1800 50 0001 C CNN
F 3 "~" H 4250 1800 50 0001 C CNN
1 4250 1600
1 0 0 -1
$EndComp
Wire Wire Line
4700 1600 4450 1600
$Comp
L power:GND #PWR?
U 1 1 5DBD43C2
P 2050 7100
F 0 "#PWR?" H 2050 6850 50 0001 C CNN
F 1 "GND" H 2055 6927 50 0000 C CNN
F 2 "" H 2050 7100 50 0001 C CNN
F 3 "" H 2050 7100 50 0001 C CNN
1 2050 7100
1 0 0 -1
$EndComp
NoConn ~ 1650 1350
$Comp
L Regulator_Linear:AMS1117-5.0 U?
U 1 1 5DBB71E9
P 3300 950
F 0 "U?" H 3300 1192 50 0000 C CNN
F 1 "AMS1117-5.0" H 3300 1101 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-223-3_TabPin2" H 3300 1150 50 0001 C CNN
F 3 "http://www.advanced-monolithic.com/pdf/ds1117.pdf" H 3400 700 50 0001 C CNN
1 3300 950
1 0 0 -1
$EndComp
$Comp
L Connector:Barrel_Jack_MountingPin J?
U 1 1 5DBB60C9
P 1650 1050
F 0 "J?" H 1707 1367 50 0000 C CNN
F 1 "Barrel_Jack_MountingPin" H 1707 1276 50 0000 C CNN
F 2 "" H 1700 1010 50 0001 C CNN
F 3 "~" H 1700 1010 50 0001 C CNN
1 1650 1050
1 0 0 -1
$EndComp
Wire Wire Line
3600 950 3700 950
$Comp
L Connector:USB_B_Micro J?
U 1 1 5DBB7B46
P 1650 1900
F 0 "J?" H 1707 2367 50 0000 C CNN
F 1 "USB_B_Micro" H 1707 2276 50 0000 C CNN
F 2 "" H 1800 1850 50 0001 C CNN
F 3 "~" H 1800 1850 50 0001 C CNN
1 1650 1900
1 0 0 -1
$EndComp
$Comp
L Device:C C?
U 1 1 5DC7168B
P 2300 1250
F 0 "C?" V 2250 1150 50 0000 C CNN
F 1 "C" V 2250 1350 50 0000 C CNN
F 2 "" H 2338 1100 50 0001 C CNN
F 3 "~" H 2300 1250 50 0001 C CNN
1 2300 1250
0 1 1 0
$EndComp
Wire Wire Line
1950 950 2050 950
Wire Wire Line
2050 950 2050 1250
Wire Wire Line
1950 1150 2150 1150
Wire Wire Line
2150 1150 2150 950
Wire Wire Line
2150 950 2550 950
Wire Wire Line
2050 1250 2150 1250
Connection ~ 2050 1250
Wire Wire Line
2050 1250 2050 1350
Wire Wire Line
2450 1250 2550 1250
Wire Wire Line
2550 1250 2550 950
Connection ~ 2550 950
Wire Wire Line
2550 950 3000 950
Wire Wire Line
3300 1250 3300 1350
Wire Wire Line
3300 1350 2050 1350
Connection ~ 2050 1350
Wire Wire Line
2050 1350 2050 1600
Wire Wire Line
1950 1700 2250 1700
Wire Wire Line
3700 1700 3700 950
Connection ~ 3700 950
Wire Wire Line
3700 950 5300 950
Wire Wire Line
1650 2300 1650 2400
Wire Wire Line
1650 2400 2050 2400
Connection ~ 2050 2400
Wire Wire Line
2050 2400 2050 7000
$Comp
L Device:C C?
U 1 1 5DC8ECAA
P 2250 1950
F 0 "C?" H 2365 1996 50 0000 L CNN
F 1 "C" H 2365 1905 50 0000 L CNN
F 2 "" H 2288 1800 50 0001 C CNN
F 3 "~" H 2250 1950 50 0001 C CNN
1 2250 1950
1 0 0 -1
$EndComp
Wire Wire Line
2250 1700 2250 1800
Connection ~ 2250 1700
Wire Wire Line
2250 1700 3700 1700
Wire Wire Line
2250 2100 2250 2400
Wire Wire Line
2250 2400 2050 2400
Wire Wire Line
4050 1600 2050 1600
Connection ~ 2050 1600
Wire Wire Line
2050 1600 2050 2400
Wire Wire Line
5300 7000 2050 7000
Connection ~ 2050 7000
Wire Wire Line
2050 7000 2050 7100
Wire Wire Line
5900 1600 6550 1600
Wire Wire Line
5900 1700 6550 1700
Wire Wire Line
5900 1800 6550 1800
Wire Wire Line
5900 1900 6550 1900
Wire Wire Line
5900 2000 6550 2000
Wire Wire Line
5900 2100 6550 2100
Wire Wire Line
5900 2200 6550 2200
Wire Wire Line
5900 2300 6550 2300
Wire Wire Line
5900 2500 6550 2500
Wire Wire Line
5900 2600 6550 2600
Wire Wire Line
5900 2700 6550 2700
Wire Wire Line
5900 2800 6550 2800
Wire Wire Line
5900 2900 6550 2900
Wire Wire Line
5900 3000 6550 3000
Wire Wire Line
5900 3100 6550 3100
Wire Wire Line
5900 3200 6550 3200
$Sheet
S 6550 1450 600 1950
U 5DD2ECA3
F0 "Display" 50
F1 "display.sch" 50
F2 "VCC" B R 7150 1500 50
F3 "GND" B R 7150 3300 50
F4 "CHAR0_0" I L 6550 1600 50
F5 "CHAR0_1" I L 6550 1700 50
F6 "CHAR0_2" I L 6550 1800 50
F7 "CHAR0_3" I L 6550 1900 50
F8 "CHAR1_0" I L 6550 2000 50
F9 "CHAR1_1" I L 6550 2100 50
F10 "CHAR1_2" I L 6550 2200 50
F11 "CHAR1_3" I L 6550 2300 50
F12 "CHAR2_0" I L 6550 2500 50
F13 "CHAR2_1" I L 6550 2600 50
F14 "CHAR2_2" I L 6550 2700 50
F15 "CHAR2_3" I L 6550 2800 50
F16 "CHAR3_0" I L 6550 2900 50
F17 "CHAR3_1" I L 6550 3000 50
F18 "CHAR3_2" I L 6550 3100 50
F19 "CHAR3_3" I L 6550 3200 50
$EndSheet
$Sheet
S 9350 1450 550 450
U 5DE30C4A
F0 "Status" 50
F1 "status.sch" 50
F2 "VCC" B R 9900 1500 50
F3 "GND" B R 9900 1800 50
F4 "STATUS" I L 9350 1600 50
F5 "CLK" I L 9350 1700 50
$EndSheet
Text GLabel 5900 4300 2 50 Output ~ 0
ROWS
$Comp
L MCU_Microchip_ATmega:ATmega16A-PU U?
U 1 1 5DB85A9E
P 5300 3300
F 0 "U?" H 5750 5250 50 0000 C CNN
F 1 "ATmega16A-PU" H 4900 5250 50 0000 C CNN
F 2 "Package_DIP:DIP-40_W15.24mm" H 5300 3300 50 0001 C CIN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8154-8-bit-AVR-ATmega16A_Datasheet.pdf" H 5300 3300 50 0001 C CNN
1 5300 3300
1 0 0 -1
$EndComp
Text GLabel 5900 4400 2 50 Input ~ 0
COLUMNS
Text GLabel 5900 4500 2 50 Output ~ 0
CLK_BUTTONS
Text GLabel 8000 1600 0 50 Input ~ 0
ROWS
Text GLabel 8000 1700 0 50 Output ~ 0
COLUMNS
Text GLabel 8000 1800 0 50 Input ~ 0
CLK_BUTTONS
Text GLabel 5900 4600 2 50 Output ~ 0
STATUS
Text GLabel 5900 4700 2 50 Output ~ 0
CLK_STATUS
Text GLabel 9350 1600 0 50 Input ~ 0
STATUS
Text GLabel 9350 1700 0 50 Input ~ 0
CLK_STATUS
Wire Wire Line
5300 5300 5300 5400
Wire Wire Line
5300 5400 5300 7000
Connection ~ 5300 5400
NoConn ~ 5900 4000
NoConn ~ 5900 4100
NoConn ~ 5900 4800
NoConn ~ 5900 4900
NoConn ~ 5900 5000
Wire Wire Line
4700 2200 4600 2200
Wire Wire Line
4600 2200 4600 5400
Wire Wire Line
4600 5400 5300 5400
NoConn ~ 4700 1800
NoConn ~ 4700 2000
NoConn ~ 5900 3500
NoConn ~ 5900 3400
$Comp
L Connector:AVR-JTAG-10 J?
U 1 1 5DC4B0A3
P 8050 2950
F 0 "J?" H 8400 2450 50 0000 R CNN
F 1 "AVR-JTAG-10" H 7950 2450 50 0000 R CNN
F 2 "" V 7900 3100 50 0001 C CNN
F 3 " ~" H 6775 2400 50 0001 C CNN
1 8050 2950
1 0 0 -1
$EndComp
$Sheet
S 8000 1450 550 550
U 5DDEAC3F
F0 "Buttons" 50
F1 "buttons.sch" 50
F2 "VCC" B R 8550 1500 50
F3 "GND" B R 8550 1900 50
F4 "ROWS" I L 8000 1600 50
F5 "COLUMNS" O L 8000 1700 50
F6 "CLK" I L 8000 1800 50
$EndSheet
Text GLabel 4550 1600 3 50 Input ~ 0
NRST
Wire Wire Line
5400 950 7250 950
Wire Wire Line
7250 950 7250 1500
Connection ~ 5400 950
Wire Wire Line
5300 5400 7350 5400
Wire Wire Line
7350 5400 7350 3300
Wire Wire Line
7250 1500 7150 1500
Wire Wire Line
7150 3300 7350 3300
Wire Wire Line
7250 950 8650 950
Wire Wire Line
8650 950 8650 1500
Wire Wire Line
8650 1500 8550 1500
Connection ~ 7250 950
Wire Wire Line
7350 5400 8750 5400
Wire Wire Line
8750 1900 8550 1900
Connection ~ 7350 5400
Text GLabel 8550 2650 1 50 Output ~ 0
NRST
Wire Wire Line
8650 950 10000 950
Wire Wire Line
10000 950 10000 1500
Wire Wire Line
10000 1500 9900 1500
Connection ~ 8650 950
Wire Wire Line
8750 5400 10100 5400
Wire Wire Line
10100 5400 10100 1800
Wire Wire Line
10100 1800 9900 1800
Connection ~ 8750 5400
Text GLabel 5900 3900 2 50 Input ~ 0
TDI
Text GLabel 5900 3800 2 50 Output ~ 0
TDO
Wire Wire Line
8650 1500 8650 2350
Wire Wire Line
8650 2350 8050 2350
Connection ~ 8650 1500
Wire Wire Line
7950 2350 8050 2350
Connection ~ 8050 2350
Wire Wire Line
8750 1900 8750 3550
Wire Wire Line
8050 3550 8750 3550
Connection ~ 8750 3550
Wire Wire Line
8750 3550 8750 5400
Text GLabel 8550 3050 2 50 Input ~ 0
TDO
Text GLabel 8550 3150 2 50 Output ~ 0
TDI
Text GLabel 8550 2850 2 50 Output ~ 0
TCK
Wire Wire Line
8550 2750 8550 2650
Text GLabel 8550 2950 2 50 Output ~ 0
TMS
Text GLabel 5900 3700 2 50 Input ~ 0
TMS
Text GLabel 5900 3600 2 50 Input ~ 0
TCK
$EndSCHEMATC
|