-
Notifications
You must be signed in to change notification settings - Fork 37
/
dimmer.sch
420 lines (420 loc) · 8.18 KB
/
dimmer.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
EESchema Schematic File Version 2 date Fri 01 Mar 2013 05:49:14 PM EST
LIBS:guan
LIBS:power
LIBS:device
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:special
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:dimmer-cache
EELAYER 27 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date "1 mar 2013"
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L C C1
U 1 1 513103C9
P 8100 2250
F 0 "C1" H 8100 2350 40 0000 L CNN
F 1 "0.1uF" H 8106 2165 40 0000 L CNN
F 2 "~" H 8138 2100 30 0000 C CNN
F 3 "~" H 8100 2250 60 0000 C CNN
1 8100 2250
1 0 0 -1
$EndComp
Text Label 4850 2500 0 60 ~ 0
RESET
Text Label 4850 2400 0 60 ~ 0
LAMP
Text Label 4850 2200 0 60 ~ 0
SCK
Text Label 4850 2000 0 60 ~ 0
MOSI
Text Label 4850 2100 0 60 ~ 0
MISO
Text Label 5150 2200 0 60 ~ 0
UP
Text Label 4850 2300 0 60 ~ 0
DOWN
$Comp
L SWITCH-4 SW1
U 1 1 5131048E
P 6300 3500
F 0 "SW1" H 6300 3250 60 0000 C CNN
F 1 "SWITCH-4" H 6300 3800 60 0000 C CNN
F 2 "~" H 6300 3500 60 0000 C CNN
F 3 "~" H 6300 3500 60 0000 C CNN
1 6300 3500
1 0 0 -1
$EndComp
$Comp
L GND #PWR01
U 1 1 5131049D
P 6300 4000
F 0 "#PWR01" H 6300 4000 30 0001 C CNN
F 1 "GND" H 6300 3930 30 0001 C CNN
F 2 "" H 6300 4000 60 0000 C CNN
F 3 "" H 6300 4000 60 0000 C CNN
1 6300 4000
1 0 0 -1
$EndComp
Text Label 6100 3050 0 60 ~ 0
UP
$Comp
L SWITCH-4 SW2
U 1 1 513104CF
P 7250 3500
F 0 "SW2" H 7250 3250 60 0000 C CNN
F 1 "SWITCH-4" H 7250 3800 60 0000 C CNN
F 2 "~" H 7250 3500 60 0000 C CNN
F 3 "~" H 7250 3500 60 0000 C CNN
1 7250 3500
1 0 0 -1
$EndComp
$Comp
L GND #PWR02
U 1 1 513104D5
P 7250 4000
F 0 "#PWR02" H 7250 4000 30 0001 C CNN
F 1 "GND" H 7250 3930 30 0001 C CNN
F 2 "" H 7250 4000 60 0000 C CNN
F 3 "" H 7250 4000 60 0000 C CNN
1 7250 4000
1 0 0 -1
$EndComp
Text Label 7050 3050 0 60 ~ 0
DOWN
$Comp
L ATTINY85-S IC1
U 1 1 5131050C
P 6750 2250
F 0 "IC1" H 5700 2650 60 0000 C CNN
F 1 "ATTINY85-S" H 7600 1850 60 0000 C CNN
F 2 "SO8-200" H 5850 1850 60 0001 C CNN
F 3 "" H 6750 2250 60 0000 C CNN
1 6750 2250
1 0 0 -1
$EndComp
$Comp
L CONN_3X2 P3
U 1 1 5131051B
P 9900 1650
F 0 "P3" H 9900 1900 50 0000 C CNN
F 1 "CONN_3X2" V 9900 1700 40 0000 C CNN
F 2 "" H 9900 1650 60 0000 C CNN
F 3 "" H 9900 1650 60 0000 C CNN
1 9900 1650
1 0 0 -1
$EndComp
Text Label 10400 1500 0 60 ~ 0
VCC
Text Label 10400 1600 0 60 ~ 0
MOSI
Text Label 10400 1700 0 60 ~ 0
GND
Text Label 9150 1500 0 60 ~ 0
MISO
Text Label 9150 1600 0 60 ~ 0
SCK
Text Label 9150 1700 0 60 ~ 0
RESET
$Comp
L MOSFET_N Q1
U 1 1 51310664
P 9650 3300
F 0 "Q1" H 9660 3470 60 0000 R CNN
F 1 "MOSFET_N" H 9660 3150 60 0000 R CNN
F 2 "~" H 9650 3300 60 0000 C CNN
F 3 "~" H 9650 3300 60 0000 C CNN
1 9650 3300
1 0 0 -1
$EndComp
$Comp
L R R1
U 1 1 513106B5
P 9000 3300
F 0 "R1" V 9080 3300 40 0000 C CNN
F 1 "100R" V 9007 3301 40 0000 C CNN
F 2 "~" V 8930 3300 30 0000 C CNN
F 3 "~" H 9000 3300 30 0000 C CNN
1 9000 3300
0 -1 -1 0
$EndComp
Text Label 8400 3300 0 60 ~ 0
LAMP
$Comp
L R R2
U 1 1 513106E8
P 9350 3650
F 0 "R2" V 9430 3650 40 0000 C CNN
F 1 "10K" V 9357 3651 40 0000 C CNN
F 2 "~" V 9280 3650 30 0000 C CNN
F 3 "~" H 9350 3650 30 0000 C CNN
1 9350 3650
1 0 0 -1
$EndComp
$Comp
L GND #PWR03
U 1 1 5131073D
P 9350 4000
F 0 "#PWR03" H 9350 4000 30 0001 C CNN
F 1 "GND" H 9350 3930 30 0001 C CNN
F 2 "" H 9350 4000 60 0000 C CNN
F 3 "" H 9350 4000 60 0000 C CNN
1 9350 4000
1 0 0 -1
$EndComp
$Comp
L GND #PWR04
U 1 1 5131076F
P 9750 3600
F 0 "#PWR04" H 9750 3600 30 0001 C CNN
F 1 "GND" H 9750 3530 30 0001 C CNN
F 2 "" H 9750 3600 60 0000 C CNN
F 3 "" H 9750 3600 60 0000 C CNN
1 9750 3600
1 0 0 -1
$EndComp
$Comp
L CONN_2 P1
U 1 1 513107A2
P 9400 2800
F 0 "P1" V 9350 2800 40 0000 C CNN
F 1 "CONN_2" V 9450 2800 40 0000 C CNN
F 2 "" H 9400 2800 60 0000 C CNN
F 3 "" H 9400 2800 60 0000 C CNN
1 9400 2800
-1 0 0 1
$EndComp
$Comp
L VCC #PWR05
U 1 1 513107D6
P 9750 2600
F 0 "#PWR05" H 9750 2700 30 0001 C CNN
F 1 "VCC" H 9750 2700 30 0000 C CNN
F 2 "" H 9750 2600 60 0000 C CNN
F 3 "" H 9750 2600 60 0000 C CNN
1 9750 2600
1 0 0 -1
$EndComp
$Comp
L CONN_2 P2
U 1 1 5131080B
P 9400 4500
F 0 "P2" V 9350 4500 40 0000 C CNN
F 1 "CONN_2" V 9450 4500 40 0000 C CNN
F 2 "" H 9400 4500 60 0000 C CNN
F 3 "" H 9400 4500 60 0000 C CNN
1 9400 4500
-1 0 0 1
$EndComp
$Comp
L GND #PWR06
U 1 1 5131081A
P 9750 4700
F 0 "#PWR06" H 9750 4700 30 0001 C CNN
F 1 "GND" H 9750 4630 30 0001 C CNN
F 2 "" H 9750 4700 60 0000 C CNN
F 3 "" H 9750 4700 60 0000 C CNN
1 9750 4700
1 0 0 -1
$EndComp
$Comp
L VCC #PWR07
U 1 1 51310850
P 10450 4300
F 0 "#PWR07" H 10450 4400 30 0001 C CNN
F 1 "VCC" H 10450 4400 30 0000 C CNN
F 2 "" H 10450 4300 60 0000 C CNN
F 3 "" H 10450 4300 60 0000 C CNN
1 10450 4300
1 0 0 -1
$EndComp
Wire Wire Line
8100 1900 8100 2050
Wire Wire Line
8100 2450 8100 2650
Wire Wire Line
4850 2500 5400 2500
Wire Wire Line
5400 2400 4850 2400
Wire Wire Line
4850 2300 5400 2300
Wire Wire Line
4850 2200 5400 2200
Wire Wire Line
4850 2100 5400 2100
Wire Wire Line
4850 2000 5400 2000
Wire Wire Line
6000 3700 6000 3850
Wire Wire Line
6000 3850 6600 3850
Wire Wire Line
6300 3850 6300 4000
Wire Wire Line
6600 3850 6600 3700
Connection ~ 6300 3850
Wire Wire Line
6000 3300 6000 3050
Wire Wire Line
6000 3050 6600 3050
Wire Wire Line
6600 3050 6600 3300
Wire Wire Line
6950 3700 6950 3850
Wire Wire Line
6950 3850 7550 3850
Wire Wire Line
7250 3850 7250 4000
Wire Wire Line
7550 3850 7550 3700
Connection ~ 7250 3850
Wire Wire Line
6950 3300 6950 3050
Wire Wire Line
6950 3050 7550 3050
Wire Wire Line
7550 3050 7550 3300
Wire Wire Line
10300 1500 10650 1500
Wire Wire Line
10300 1600 10650 1600
Wire Wire Line
10300 1700 10650 1700
Wire Wire Line
9150 1700 9500 1700
Wire Wire Line
9150 1600 9500 1600
Wire Wire Line
9150 1500 9500 1500
Wire Wire Line
8400 3300 8750 3300
Wire Wire Line
9250 3300 9450 3300
Wire Wire Line
9350 3400 9350 3300
Connection ~ 9350 3300
Wire Wire Line
9350 4000 9350 3900
Wire Wire Line
9750 3500 9750 3600
Wire Wire Line
9750 2900 9750 3100
Wire Wire Line
9750 2600 9750 2700
Wire Wire Line
9750 4700 9750 4600
$Comp
L C C2
U 1 1 51310972
P 8450 4200
F 0 "C2" H 8450 4300 40 0000 L CNN
F 1 "10uF" H 8456 4115 40 0000 L CNN
F 2 "~" H 8488 4050 30 0000 C CNN
F 3 "~" H 8450 4200 60 0000 C CNN
1 8450 4200
1 0 0 -1
$EndComp
$Comp
L VCC #PWR08
U 1 1 5131098B
P 8450 3900
F 0 "#PWR08" H 8450 4000 30 0001 C CNN
F 1 "VCC" H 8450 4000 30 0000 C CNN
F 2 "" H 8450 3900 60 0000 C CNN
F 3 "" H 8450 3900 60 0000 C CNN
1 8450 3900
1 0 0 -1
$EndComp
$Comp
L GND #PWR09
U 1 1 5131099A
P 8450 4500
F 0 "#PWR09" H 8450 4500 30 0001 C CNN
F 1 "GND" H 8450 4430 30 0001 C CNN
F 2 "" H 8450 4500 60 0000 C CNN
F 3 "" H 8450 4500 60 0000 C CNN
1 8450 4500
1 0 0 -1
$EndComp
Wire Wire Line
8450 4500 8450 4400
Wire Wire Line
8450 4000 8450 3900
$Comp
L FUSE F1
U 1 1 51310B13
P 10100 4400
F 0 "F1" H 10200 4450 40 0000 C CNN
F 1 "FUSE" H 10000 4350 40 0000 C CNN
F 2 "~" H 10100 4400 60 0000 C CNN
F 3 "~" H 10100 4400 60 0000 C CNN
1 10100 4400
-1 0 0 1
$EndComp
Wire Wire Line
10450 4300 10450 4400
Wire Wire Line
10450 4400 10350 4400
Wire Wire Line
9750 4400 9850 4400
$Comp
L GND #PWR?
U 1 1 513130B0
P 8100 2650
F 0 "#PWR?" H 8100 2650 30 0001 C CNN
F 1 "GND" H 8100 2580 30 0001 C CNN
F 2 "" H 8100 2650 60 0000 C CNN
F 3 "" H 8100 2650 60 0000 C CNN
1 8100 2650
1 0 0 -1
$EndComp
Connection ~ 8100 2500
$Comp
L VCC #PWR?
U 1 1 513130EC
P 8100 1900
F 0 "#PWR?" H 8100 2000 30 0001 C CNN
F 1 "VCC" H 8100 2000 30 0000 C CNN
F 2 "" H 8100 1900 60 0000 C CNN
F 3 "" H 8100 1900 60 0000 C CNN
1 8100 1900
1 0 0 -1
$EndComp
Connection ~ 8100 2000
$EndSCHEMATC