aboutsummaryrefslogtreecommitdiffstats
path: root/schematics-attiny/simplepwm-attiny.sch
blob: bd605373c9678dd91d71a4ef32b1ace9b5365e49 (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
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title "Simple PWM LED controller (1 channel)"
Date "2020-04-10"
Rev "1.1"
Comp "Copyright (c) 2018-2020 Michael Buesch <m@bues.ch>"
Comment1 "Licensed under the GNU/GPL v2 or (at your option) any later version."
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L MCU_Microchip_ATtiny:ATtiny85-20PU U1
U 1 1 5E14CBD3
P 3650 4200
F 0 "U1" H 3121 4246 50  0000 R CNN
F 1 "ATtinyXX" H 3121 4155 50  0000 R CNN
F 2 "Package_DIP:DIP-8_W7.62mm" H 3650 4200 50  0001 C CIN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/atmel-2586-avr-8-bit-microcontroller-attiny25-attiny45-attiny85_datasheet.pdf" H 3650 4200 50  0001 C CNN
	1    3650 4200
	1    0    0    -1  
$EndComp
$Comp
L Connector:AVR-ISP-6 J1
U 1 1 5E14DD07
P 5550 2750
F 0 "J1" V 5083 2800 50  0000 C CNN
F 1 "AVR-ISP-6" V 5174 2800 50  0000 C CNN
F 2 "" V 5300 2800 50  0001 C CNN
F 3 " ~" H 4275 2200 50  0001 C CNN
	1    5550 2750
	0    1    1    0   
$EndComp
$Comp
L Device:R_POT RV1
U 1 1 5E14E8CB
P 6600 4750
F 0 "RV1" H 6530 4704 50  0000 R CNN
F 1 "100k" H 6530 4795 50  0000 R CNN
F 2 "" H 6600 4750 50  0001 C CNN
F 3 "~" H 6600 4750 50  0001 C CNN
	1    6600 4750
	-1   0    0    1   
$EndComp
$Comp
L Device:C C1
U 1 1 5E14ECDB
P 3400 3500
F 0 "C1" V 3148 3500 50  0000 C CNN
F 1 "100n" V 3239 3500 50  0000 C CNN
F 2 "" H 3438 3350 50  0001 C CNN
F 3 "~" H 3400 3500 50  0001 C CNN
	1    3400 3500
	0    1    1    0   
$EndComp
$Comp
L power:VCC #PWR02
U 1 1 5E153604
P 3650 3400
F 0 "#PWR02" H 3650 3250 50  0001 C CNN
F 1 "VCC" H 3667 3573 50  0000 C CNN
F 2 "" H 3650 3400 50  0001 C CNN
F 3 "" H 3650 3400 50  0001 C CNN
	1    3650 3400
	1    0    0    -1  
$EndComp
$Comp
L power:GND #PWR03
U 1 1 5E153BD6
P 3650 5000
F 0 "#PWR03" H 3650 4750 50  0001 C CNN
F 1 "GND" H 3655 4827 50  0000 C CNN
F 2 "" H 3650 5000 50  0001 C CNN
F 3 "" H 3650 5000 50  0001 C CNN
	1    3650 5000
	1    0    0    -1  
$EndComp
Wire Wire Line
	3650 4800 3650 5000
Wire Wire Line
	3650 3400 3650 3500
Wire Wire Line
	3550 3500 3650 3500
Connection ~ 3650 3500
Wire Wire Line
	3650 3500 3650 3600
$Comp
L power:GND #PWR01
U 1 1 5E1544B9
P 3050 3500
F 0 "#PWR01" H 3050 3250 50  0001 C CNN
F 1 "GND" V 3055 3372 50  0000 R CNN
F 2 "" H 3050 3500 50  0001 C CNN
F 3 "" H 3050 3500 50  0001 C CNN
	1    3050 3500
	0    1    1    0   
$EndComp
Wire Wire Line
	3050 3500 3250 3500
$Comp
L power:VCC #PWR06
U 1 1 5E155655
P 6250 2650
F 0 "#PWR06" H 6250 2500 50  0001 C CNN
F 1 "VCC" V 6267 2778 50  0000 L CNN
F 2 "" H 6250 2650 50  0001 C CNN
F 3 "" H 6250 2650 50  0001 C CNN
	1    6250 2650
	0    1    1    0   
$EndComp
$Comp
L power:GND #PWR05
U 1 1 5E1565B8
P 4950 2650
F 0 "#PWR05" H 4950 2400 50  0001 C CNN
F 1 "GND" V 4955 2522 50  0000 R CNN
F 2 "" H 4950 2650 50  0001 C CNN
F 3 "" H 4950 2650 50  0001 C CNN
	1    4950 2650
	0    1    1    0   
$EndComp
Wire Wire Line
	4950 2650 5150 2650
Wire Wire Line
	6050 2650 6250 2650
$Comp
L Device:R R1
U 1 1 5E1573BA
P 4450 4750
F 0 "R1" H 4520 4796 50  0000 L CNN
F 1 "10k" H 4520 4705 50  0000 L CNN
F 2 "" V 4380 4750 50  0001 C CNN
F 3 "~" H 4450 4750 50  0001 C CNN
	1    4450 4750
	1    0    0    -1  
$EndComp
Wire Wire Line
	4250 4400 4450 4400
Wire Wire Line
	4450 4400 4450 4600
Wire Wire Line
	4450 4400 5450 4400
Wire Wire Line
	5450 4400 5450 3150
Connection ~ 4450 4400
Wire Wire Line
	5550 3150 5550 4100
Wire Wire Line
	5550 4100 4250 4100
Wire Wire Line
	5650 3150 5650 3900
Wire Wire Line
	5650 3900 4250 3900
Wire Wire Line
	5750 3150 5750 4000
Wire Wire Line
	5750 4000 4250 4000
$Comp
L power:VCC #PWR04
U 1 1 5E159838
P 4450 5000
F 0 "#PWR04" H 4450 4850 50  0001 C CNN
F 1 "VCC" H 4468 5173 50  0000 C CNN
F 2 "" H 4450 5000 50  0001 C CNN
F 3 "" H 4450 5000 50  0001 C CNN
	1    4450 5000
	-1   0    0    1   
$EndComp
Wire Wire Line
	4450 4900 4450 5000
$Comp
L Connector:Conn_01x01_Female J2
U 1 1 5E15A9D4
P 7650 3900
F 0 "J2" H 7500 4050 50  0000 L CNN
F 1 "PWM_OUTPUT" H 7300 3800 50  0000 L CNN
F 2 "" H 7650 3900 50  0001 C CNN
F 3 "~" H 7650 3900 50  0001 C CNN
	1    7650 3900
	1    0    0    -1  
$EndComp
Wire Wire Line
	5650 3900 7450 3900
Connection ~ 5650 3900
Wire Wire Line
	6600 4200 6600 4600
Wire Wire Line
	6250 4300 6250 4750
Wire Wire Line
	6250 4750 6450 4750
$Comp
L Connector:Conn_01x01_Male J3
U 1 1 5E177271
P 8000 3900
F 0 "J3" H 8100 4050 50  0000 C CNN
F 1 "Conn_01x01_Male" H 8000 3800 50  0001 C CNN
F 2 "" H 8000 3900 50  0001 C CNN
F 3 "~" H 8000 3900 50  0001 C CNN
	1    8000 3900
	1    0    0    -1  
$EndComp
$Comp
L Device:Q_NMOS_DGS Q1
U 1 1 5E179C4B
P 9400 3900
F 0 "Q1" H 9604 3946 50  0000 L CNN
F 1 "Q_NMOS" H 9604 3855 50  0000 L CNN
F 2 "" H 9600 4000 50  0001 C CNN
F 3 "~" H 9400 3900 50  0001 C CNN
	1    9400 3900
	1    0    0    -1  
$EndComp
$Comp
L Device:LED D1
U 1 1 5E17A678
P 9500 3200
F 0 "D1" V 9539 3083 50  0000 R CNN
F 1 "LED" V 9448 3083 50  0000 R CNN
F 2 "" H 9500 3200 50  0001 C CNN
F 3 "~" H 9500 3200 50  0001 C CNN
	1    9500 3200
	0    -1   -1   0   
$EndComp
$Comp
L Device:R R3
U 1 1 5E17B11C
P 9500 2550
F 0 "R3" H 9570 2596 50  0000 L CNN
F 1 "R" H 9570 2505 50  0000 L CNN
F 2 "" V 9430 2550 50  0001 C CNN
F 3 "~" H 9500 2550 50  0001 C CNN
	1    9500 2550
	1    0    0    -1  
$EndComp
$Comp
L power:Vdrive #PWR07
U 1 1 5E17C118
P 9500 2050
F 0 "#PWR07" H 9300 1900 50  0001 C CNN
F 1 "Vdrive" H 9517 2223 50  0000 C CNN
F 2 "" H 9500 2050 50  0001 C CNN
F 3 "" H 9500 2050 50  0001 C CNN
	1    9500 2050
	1    0    0    -1  
$EndComp
$Comp
L power:GND #PWR08
U 1 1 5E17C420
P 9500 5000
F 0 "#PWR08" H 9500 4750 50  0001 C CNN
F 1 "GND" H 9505 4827 50  0000 C CNN
F 2 "" H 9500 5000 50  0001 C CNN
F 3 "" H 9500 5000 50  0001 C CNN
	1    9500 5000
	1    0    0    -1  
$EndComp
Wire Wire Line
	9500 4100 9500 4550
Wire Wire Line
	8200 3900 9000 3900
Wire Wire Line
	9500 3350 9500 3700
Wire Wire Line
	9500 2700 9500 3050
Wire Wire Line
	9500 2050 9500 2400
Wire Wire Line
	6600 4900 6600 5100
Wire Wire Line
	6600 5100 6950 5100
Wire Wire Line
	6950 5100 6950 4100
Wire Wire Line
	6950 4100 5550 4100
Connection ~ 5550 4100
Wire Wire Line
	6600 4200 4250 4200
Wire Wire Line
	6250 4300 4250 4300
Text Notes 2800 4650 0    50   ~ 0
ATtiny13\nATtiny25\nATtiny45\nATtiny85
$Comp
L Device:R R2
U 1 1 5E91A0CA
P 9000 4200
F 0 "R2" H 9070 4246 50  0000 L CNN
F 1 "10k" H 9070 4155 50  0000 L CNN
F 2 "" V 8930 4200 50  0001 C CNN
F 3 "~" H 9000 4200 50  0001 C CNN
	1    9000 4200
	1    0    0    -1  
$EndComp
Wire Wire Line
	9000 4050 9000 3900
Connection ~ 9000 3900
Wire Wire Line
	9000 3900 9200 3900
Wire Wire Line
	9000 4350 9000 4550
Wire Wire Line
	9000 4550 9500 4550
Connection ~ 9500 4550
Wire Wire Line
	9500 4550 9500 5000
$EndSCHEMATC
bues.ch cgit interface