-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalarm.sch
583 lines (583 loc) · 11.4 KB
/
alarm.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
EESchema Schematic File Version 4
LIBS:alarm-cache
EELAYER 29 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Connector:Raspberry_Pi_2_3 RaspyPinOut1
U 1 1 5EDBD8F7
P 3150 2300
F 0 "RaspyPinOut1" H 3150 3781 50 0000 C CNN
F 1 "Raspberry_Pi_2_3" H 3150 3690 50 0000 C CNN
F 2 "Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_Vertical" H 3150 2300 50 0001 C CNN
F 3 "https://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/rpi_SCH_3bplus_1p0_reduced.pdf" H 3150 2300 50 0001 C CNN
1 3150 2300
1 0 0 -1
$EndComp
Wire Wire Line
6550 2900 6550 1450
Connection ~ 6550 1450
Wire Wire Line
6450 3000 6450 1550
Connection ~ 6450 1550
Wire Wire Line
5400 1750 6250 1750
Wire Wire Line
6350 3100 6350 1650
Connection ~ 6350 1650
Wire Wire Line
6250 3200 6250 1750
Connection ~ 6250 1750
Wire Wire Line
6150 3300 6150 1850
Connection ~ 6150 1850
Wire Wire Line
6050 3400 6050 1950
Connection ~ 6050 1950
Wire Wire Line
5950 3500 5950 2050
Connection ~ 5950 2050
Wire Wire Line
5850 3600 5850 2150
Connection ~ 5850 2150
Wire Wire Line
5850 2150 5400 2150
Wire Wire Line
8850 3600 8850 3800
Wire Wire Line
8950 3500 8950 3900
Wire Wire Line
9050 3400 9050 4000
Wire Wire Line
8750 3300 9150 3300
Wire Wire Line
9150 3300 9150 4100
Wire Wire Line
9250 2150 9250 4200
Wire Wire Line
9350 2050 9350 4300
Wire Wire Line
9450 1950 9450 4400
Wire Wire Line
9550 1850 9550 4500
Wire Wire Line
1850 4500 1850 2300
Wire Wire Line
1850 2300 2350 2300
Wire Wire Line
1950 4400 1950 2200
Wire Wire Line
1950 2200 2350 2200
Wire Wire Line
1950 4400 9450 4400
Wire Wire Line
2350 1700 2050 1700
Wire Wire Line
2050 1700 2050 4300
Wire Wire Line
2050 4300 9350 4300
Wire Wire Line
3950 3000 4200 3000
Wire Wire Line
4200 3000 4200 4200
Wire Wire Line
4200 4200 9250 4200
Wire Wire Line
2150 4100 2150 2900
Wire Wire Line
2150 2900 2350 2900
Wire Wire Line
2150 4100 9150 4100
Wire Wire Line
2250 4000 2250 2100
Wire Wire Line
2250 2100 2350 2100
Wire Wire Line
4100 3900 4100 3100
Wire Wire Line
4100 3100 3950 3100
Wire Wire Line
4100 3900 8950 3900
Wire Wire Line
3950 2200 4300 2200
Wire Wire Line
4300 2200 4300 3800
Wire Wire Line
4300 3800 8850 3800
$Comp
L alarm:7Segment_2841 AlarmTime1
U 1 1 5EE3A0C5
P 7550 3000
F 0 "AlarmTime1" H 7525 3325 50 0000 C CNN
F 1 "7Segment_2841" H 7525 3234 50 0000 C CNN
F 2 "alarm:7_Segment_2841A" H 7550 2300 50 0001 C CNN
F 3 "" H 7550 3000 50 0001 C CNN
1 7550 3000
1 0 0 -1
$EndComp
$Comp
L alarm:7Segment_2841 Realtime1
U 1 1 5EE3D7D4
P 7550 1550
F 0 "Realtime1" H 7525 1875 50 0000 C CNN
F 1 "7Segment_2841" H 7525 1784 50 0000 C CNN
F 2 "alarm:7_Segment_2841A" H 7550 850 50 0001 C CNN
F 3 "" H 7550 1550 50 0001 C CNN
1 7550 1550
1 0 0 -1
$EndComp
Wire Wire Line
6550 1450 6800 1450
Wire Wire Line
6450 1550 6800 1550
Wire Wire Line
6350 1650 6800 1650
Wire Wire Line
6250 1750 6800 1750
Wire Wire Line
6150 1850 6800 1850
Wire Wire Line
6050 1950 6800 1950
Wire Wire Line
5950 2050 6800 2050
Wire Wire Line
5850 2150 6800 2150
Wire Wire Line
6550 2900 6800 2900
Wire Wire Line
6450 3000 6800 3000
Wire Wire Line
6350 3100 6800 3100
Wire Wire Line
6250 3200 6800 3200
Wire Wire Line
6150 3300 6800 3300
Wire Wire Line
6050 3400 6800 3400
Wire Wire Line
5950 3500 6800 3500
Wire Wire Line
5850 3600 6800 3600
Wire Wire Line
8850 3600 8450 3600
Wire Wire Line
8450 3600 8450 3500
Wire Wire Line
8450 3500 8350 3500
Wire Wire Line
8350 3350 8550 3350
Wire Wire Line
8550 3350 8550 3500
Wire Wire Line
8550 3500 8950 3500
Wire Wire Line
8650 3400 8650 3150
Wire Wire Line
8650 3150 8350 3150
Wire Wire Line
8650 3400 9050 3400
Wire Wire Line
8350 3000 8750 3000
Wire Wire Line
8750 3000 8750 3300
Wire Wire Line
8450 2150 8450 2050
Wire Wire Line
8450 2050 8350 2050
Wire Wire Line
8450 2150 9250 2150
Wire Wire Line
8350 1900 8550 1900
Wire Wire Line
8550 1900 8550 2050
Wire Wire Line
8550 2050 9350 2050
Wire Wire Line
8650 1950 8650 1700
Wire Wire Line
8650 1700 8350 1700
Wire Wire Line
8650 1950 9450 1950
Wire Wire Line
8350 1550 8750 1550
Wire Wire Line
8750 1550 8750 1850
Wire Wire Line
8750 1850 9550 1850
Wire Wire Line
2250 4000 9050 4000
Wire Wire Line
4250 1450 4250 1700
Wire Wire Line
4250 1700 3950 1700
Wire Wire Line
4250 1450 6550 1450
Wire Wire Line
3950 1800 4350 1800
Wire Wire Line
4350 1550 6450 1550
Wire Wire Line
4500 1650 4500 2000
Wire Wire Line
4500 2000 3950 2000
Wire Wire Line
4500 1650 6350 1650
Wire Wire Line
5400 1750 5400 750
Wire Wire Line
5400 750 2250 750
Wire Wire Line
2250 750 2250 1400
Wire Wire Line
2250 1400 2350 1400
Wire Wire Line
2350 1500 2150 1500
Wire Wire Line
2150 1500 2150 650
Wire Wire Line
2150 650 5300 650
Wire Wire Line
5300 650 5300 1850
Wire Wire Line
5300 1850 6150 1850
Wire Wire Line
5200 1950 5200 550
Wire Wire Line
5200 550 2000 550
Wire Wire Line
2000 550 2000 1900
Wire Wire Line
2000 1900 2350 1900
Wire Wire Line
5200 1950 6050 1950
Wire Wire Line
5100 2050 5100 500
Wire Wire Line
5100 500 1900 500
Wire Wire Line
1900 500 1900 1800
Wire Wire Line
1900 1800 2350 1800
Wire Wire Line
5100 2050 5950 2050
Wire Wire Line
5400 2150 5400 3700
Wire Wire Line
5400 3700 2350 3700
Wire Wire Line
2350 3700 2350 3000
$Comp
L Device:LED music1
U 1 1 5EE880D1
P 4150 5000
F 0 "music1" H 4143 5216 50 0000 C CNN
F 1 "LED" H 4143 5125 50 0000 C CNN
F 2 "Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical" H 4150 5000 50 0001 C CNN
F 3 "~" H 4150 5000 50 0001 C CNN
1 4150 5000
1 0 0 -1
$EndComp
$Comp
L Device:LED weekend1
U 1 1 5EE8920A
P 3550 5000
F 0 "weekend1" H 3543 5216 50 0000 C CNN
F 1 "LED" H 3543 5125 50 0000 C CNN
F 2 "Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical" H 3550 5000 50 0001 C CNN
F 3 "~" H 3550 5000 50 0001 C CNN
1 3550 5000
1 0 0 -1
$EndComp
$Comp
L Device:LED active1
U 1 1 5EE895DD
P 3000 5000
F 0 "active1" H 2993 5216 50 0000 C CNN
F 1 "LED" H 2993 5125 50 0000 C CNN
F 2 "Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical" H 3000 5000 50 0001 C CNN
F 3 "~" H 3000 5000 50 0001 C CNN
1 3000 5000
1 0 0 -1
$EndComp
Wire Wire Line
2750 3600 2750 5000
Wire Wire Line
2750 5000 2850 5000
Wire Wire Line
7150 5350 6650 5350
Wire Wire Line
2750 5350 2750 5000
Connection ~ 2750 5000
Wire Wire Line
3400 5000 3400 5350
Connection ~ 3400 5350
Wire Wire Line
3400 5350 2750 5350
Wire Wire Line
4000 5000 4000 5350
Connection ~ 4000 5350
Wire Wire Line
4000 5350 3400 5350
Wire Wire Line
4350 4900 4350 5000
Wire Wire Line
4350 5000 4300 5000
Wire Wire Line
3750 4900 3750 5000
Wire Wire Line
3750 5000 3700 5000
Wire Wire Line
2350 2500 1750 2500
Wire Wire Line
1750 2500 1750 4600
Wire Wire Line
1750 4600 3150 4600
Wire Wire Line
3150 4600 3150 5000
Wire Wire Line
2350 2700 1800 2700
Wire Wire Line
1800 2700 1800 4550
Wire Wire Line
1800 4550 3750 4550
Wire Wire Line
3750 4550 3750 4600
Wire Wire Line
4350 1800 4350 1550
Wire Wire Line
3950 1400 4450 1400
Wire Wire Line
4450 1400 4450 4600
$Comp
L alarm:Resitor R100
U 1 1 5EECD52E
P 3750 4750
F 0 "R100" H 3750 4535 50 0000 C CNN
F 1 "Resitor" H 3750 4626 50 0000 C CNN
F 2 "alarm:resistor" H 3750 4650 50 0001 C CNN
F 3 "" H 3750 4750 50 0001 C CNN
1 3750 4750
-1 0 0 1
$EndComp
Wire Wire Line
1850 4500 9550 4500
Wire Wire Line
3750 4600 4000 4600
Wire Wire Line
4000 4600 4000 4750
Wire Wire Line
3500 4750 3500 4900
Wire Wire Line
3500 4900 3750 4900
$Comp
L alarm:Resitor R101
U 1 1 5EEE003A
P 4350 4750
F 0 "R101" H 4350 4975 50 0000 C CNN
F 1 "Resitor" H 4350 4884 50 0000 C CNN
F 2 "alarm:resistor" H 4350 4650 50 0001 C CNN
F 3 "" H 4350 4750 50 0001 C CNN
1 4350 4750
1 0 0 -1
$EndComp
Wire Wire Line
4100 4600 4100 4750
Wire Wire Line
4100 4600 4450 4600
Wire Wire Line
4600 4750 4600 4900
Wire Wire Line
4600 4900 4350 4900
$Comp
L alarm:button U1
U 1 1 5EEECDFB
P 4950 4800
F 0 "U1" H 4950 5015 50 0000 C CNN
F 1 "add" H 4950 4924 50 0000 C CNN
F 2 "alarm:button" H 4950 4650 50 0001 C CNN
F 3 "" H 4950 4800 50 0001 C CNN
1 4950 4800
1 0 0 -1
$EndComp
$Comp
L alarm:button U2
U 1 1 5EEECE56
P 5600 4800
F 0 "U2" H 5600 5015 50 0000 C CNN
F 1 "disable" H 5600 4924 50 0000 C CNN
F 2 "alarm:button" H 5600 4650 50 0001 C CNN
F 3 "" H 5600 4800 50 0001 C CNN
1 5600 4800
1 0 0 -1
$EndComp
$Comp
L alarm:button U3
U 1 1 5EEED15A
P 6250 4800
F 0 "U3" H 6250 5015 50 0000 C CNN
F 1 "minus" H 6250 4924 50 0000 C CNN
F 2 "alarm:button" H 6250 4650 50 0001 C CNN
F 3 "" H 6250 4800 50 0001 C CNN
1 6250 4800
1 0 0 -1
$EndComp
$Comp
L alarm:button U4
U 1 1 5EEED3B6
P 6900 4800
F 0 "U4" H 6900 5015 50 0000 C CNN
F 1 "music" H 6900 4924 50 0000 C CNN
F 2 "alarm:button" H 6900 4650 50 0001 C CNN
F 3 "" H 6900 4800 50 0001 C CNN
1 6900 4800
1 0 0 -1
$EndComp
Wire Wire Line
3950 2100 4550 2100
Wire Wire Line
4550 2100 4550 3600
Wire Wire Line
4550 3600 5750 3600
Wire Wire Line
5750 3600 5750 3700
Wire Wire Line
5750 3700 7150 3700
Wire Wire Line
7150 3700 7150 4850
Wire Wire Line
7150 4850 7050 4850
Wire Wire Line
2350 2800 1650 2800
Wire Wire Line
1650 2800 1650 4350
Wire Wire Line
1650 4350 6500 4350
Wire Wire Line
6500 4350 6500 4850
Wire Wire Line
6500 4850 6400 4850
Wire Wire Line
3950 2400 5800 2400
Wire Wire Line
5800 2400 5800 4600
Wire Wire Line
5800 4600 5850 4600
Wire Wire Line
5850 4600 5850 4850
Wire Wire Line
5850 4850 5750 4850
Wire Wire Line
3950 1500 5050 1500
Wire Wire Line
5050 1500 5050 2500
Wire Wire Line
5050 2500 5200 2500
Wire Wire Line
5200 2500 5200 4850
Wire Wire Line
5200 4850 5100 4850
Wire Wire Line
6650 4900 6650 5350
Connection ~ 6650 5350
Wire Wire Line
6650 5350 5350 5350
Wire Wire Line
6650 4900 6750 4900
Wire Wire Line
3350 1000 3350 900
Wire Wire Line
3350 900 1300 900
Wire Wire Line
1300 900 1300 5450
Wire Wire Line
1300 5450 6000 5450
Wire Wire Line
6000 5450 6000 4900
Wire Wire Line
6000 4900 6100 4900
Wire Wire Line
5450 4900 5350 4900
Wire Wire Line
5350 4900 5350 5350
Connection ~ 5350 5350
Wire Wire Line
5350 5350 4700 5350
Wire Wire Line
4700 5350 4700 4900
Wire Wire Line
4700 4900 4800 4900
Connection ~ 4700 5350
Wire Wire Line
4700 5350 4000 5350
$Comp
L alarm:LedConnector U5
U 1 1 5EF3BC0F
P 8000 5100
F 0 "U5" H 8328 5304 50 0000 L CNN
F 1 "LedConnector" H 8328 5213 50 0000 L CNN
F 2 "alarm:ledConnector" H 8000 4900 50 0001 C CNN
F 3 "" H 8000 5100 50 0001 C CNN
1 8000 5100
1 0 0 -1
$EndComp
Wire Wire Line
3150 3600 3150 4250
Wire Wire Line
3150 4250 7800 4250
Wire Wire Line
7800 4250 7800 4750
Wire Wire Line
8000 4750 8000 4150
Wire Wire Line
8000 4150 4250 4150
Wire Wire Line
4250 4150 4250 2700
Wire Wire Line
4250 2700 3950 2700
Wire Wire Line
3950 2800 4150 2800
Wire Wire Line
4150 2800 4150 4050
Wire Wire Line
4150 4050 8200 4050
Wire Wire Line
8200 4050 8200 4750
Wire Wire Line
2850 3600 2750 3600
Connection ~ 2750 3600
Wire Wire Line
2850 3600 2950 3600
Connection ~ 2850 3600
Wire Wire Line
2950 3600 3050 3600
Connection ~ 2950 3600
Wire Wire Line
3050 3600 3150 3600
Connection ~ 3050 3600
Connection ~ 3150 3600
Wire Wire Line
3150 3600 3250 3600
Wire Wire Line
3250 3600 3350 3600
Connection ~ 3250 3600
Wire Wire Line
3350 3600 3450 3600
Connection ~ 3350 3600
Text Label 8200 4750 0 50 ~ 0
clk
Text Label 8000 4750 0 50 ~ 0
mosi
Text Label 7800 4750 0 50 ~ 0
gnd
$EndSCHEMATC