]> www.average.org Git - sensor-light.git/blob - hardware/sensor-light/sensor-light.sch
make PWM duty cycle change more smoothly
[sensor-light.git] / hardware / sensor-light / sensor-light.sch
1 EESchema Schematic File Version 2
2 LIBS:power
3 LIBS:device
4 LIBS:transistors
5 LIBS:conn
6 LIBS:linear
7 LIBS:regul
8 LIBS:74xx
9 LIBS:cmos4000
10 LIBS:adc-dac
11 LIBS:memory
12 LIBS:xilinx
13 LIBS:microcontrollers
14 LIBS:dsp
15 LIBS:microchip
16 LIBS:analog_switches
17 LIBS:motorola
18 LIBS:texas
19 LIBS:intel
20 LIBS:audio
21 LIBS:interface
22 LIBS:digital-audio
23 LIBS:philips
24 LIBS:display
25 LIBS:cypress
26 LIBS:siliconi
27 LIBS:opto
28 LIBS:atmel
29 LIBS:contrib
30 LIBS:valves
31 LIBS:msp430
32 LIBS:switches
33 LIBS:sensor-light-cache
34 EELAYER 25 0
35 EELAYER END
36 $Descr A4 11693 8268
37 encoding utf-8
38 Sheet 1 1
39 Title ""
40 Date ""
41 Rev ""
42 Comp ""
43 Comment1 ""
44 Comment2 ""
45 Comment3 ""
46 Comment4 ""
47 $EndDescr
48 $Comp
49 L MSP430G2553IN20 U2
50 U 1 1 5A4A4B70
51 P 5750 4300
52 F 0 "U2" H 4250 4900 50  0000 C CNN
53 F 1 "MSP430G2553IN20" H 7000 3750 50  0000 C CNN
54 F 2 "Housings_DIP:DIP-20_W7.62mm_Socket" H 4300 3750 50  0001 C CIN
55 F 3 "" H 5700 4300 50  0001 C CNN
56         1    5750 4300
57         1    0    0    -1  
58 $EndComp
59 $Comp
60 L CP C1
61 U 1 1 5A4A4C0F
62 P 2200 3900
63 F 0 "C1" H 2225 4000 50  0000 L CNN
64 F 1 "10uF" H 2225 3800 50  0000 L CNN
65 F 2 "Capacitors_THT:CP_Radial_D4.0mm_P2.00mm" H 2238 3750 50  0001 C CNN
66 F 3 "" H 2200 3900 50  0001 C CNN
67         1    2200 3900
68         1    0    0    -1  
69 $EndComp
70 $Comp
71 L R R2
72 U 1 1 5A4A4D3B
73 P 9650 4850
74 F 0 "R2" V 9730 4850 50  0000 C CNN
75 F 1 "100 KOhm" V 9650 4850 50  0000 C BNN
76 F 2 "Resistors_SMD:R_1218_HandSoldering" V 9580 4850 50  0001 C CNN
77 F 3 "" H 9650 4850 50  0001 C CNN
78         1    9650 4850
79         1    0    0    -1  
80 $EndComp
81 $Comp
82 L R R1
83 U 1 1 5A4A4DD8
84 P 9300 4200
85 F 0 "R1" V 9380 4200 50  0000 C CNN
86 F 1 "27 Ohm" V 9300 4200 50  0000 C BNN
87 F 2 "Resistors_SMD:R_1218_HandSoldering" V 9230 4200 50  0001 C CNN
88 F 3 "" H 9300 4200 50  0001 C CNN
89         1    9300 4200
90         0    1    1    0   
91 $EndComp
92 $Comp
93 L CONN_01X02_MALE J1
94 U 1 1 5A4A4E4F
95 P 1100 5400
96 F 0 "J1" H 1100 5575 50  0000 C CNN
97 F 1 "Power IN 12V" H 1100 5200 50  0000 C CNN
98 F 2 "Socket_Strips:Socket_Strip_Straight_1x02_Pitch2.54mm" H 1100 5500 50  0001 C CNN
99 F 3 "" H 1100 5500 50  0001 C CNN
100         1    1100 5400
101         1    0    0    -1  
102 $EndComp
103 $Comp
104 L CONN_01X02_FEMALE J6
105 U 1 1 5A4A4EAE
106 P 10050 2850
107 F 0 "J6" H 10050 3000 50  0000 C CNN
108 F 1 "PWM Power OUT 12V" H 10150 2850 50  0000 C BNN
109 F 2 "Socket_Strips:Socket_Strip_Straight_1x02_Pitch2.54mm" H 10050 2850 50  0001 C CNN
110 F 3 "" H 10050 2850 50  0001 C CNN
111         1    10050 2850
112         1    0    0    -1  
113 $EndComp
114 $Comp
115 L Q_NMOS_DGS Q1
116 U 1 1 5A4A4F0F
117 P 9850 4200
118 F 0 "Q1" H 10050 4250 50  0000 L CNN
119 F 1 "IRLML2502" H 10050 4150 50  0000 L CNN
120 F 2 "TO_SOT_Packages_SMD:SOT-23_Handsoldering" H 10050 4300 50  0001 C CNN
121 F 3 "" H 9850 4200 50  0001 C CNN
122         1    9850 4200
123         1    0    0    -1  
124 $EndComp
125 $Comp
126 L LD1117S33TR U1
127 U 1 1 5A4A4F7A
128 P 1800 3350
129 F 0 "U1" H 1800 3600 50  0000 C CNN
130 F 1 "Reg 3.3V" H 1800 3550 50  0000 C CNN
131 F 2 "TO_SOT_Packages_SMD:SOT-223" H 1800 3450 50  0001 C CNN
132 F 3 "" H 1800 3350 50  0001 C CNN
133         1    1800 3350
134         1    0    0    -1  
135 $EndComp
136 $Comp
137 L CONN_01X03_MALE J5
138 U 1 1 5A4A4FE3
139 P 8950 3500
140 F 0 "J5" H 8950 3775 50  0000 C CNN
141 F 1 "Light Sensor" H 8975 3225 50  0000 C CNN
142 F 2 "Socket_Strips:Socket_Strip_Straight_1x03_Pitch2.54mm" H 8950 3700 50  0001 C CNN
143 F 3 "" H 8950 3700 50  0001 C CNN
144         1    8950 3500
145         -1   0    0    1   
146 $EndComp
147 $Comp
148 L CONN_01X03_MALE J3
149 U 1 1 5A4A5096
150 P 3150 3950
151 F 0 "J3" H 3150 4225 50  0000 C CNN
152 F 1 "PIR Sensor 1" H 3175 3675 50  0000 C CNN
153 F 2 "Socket_Strips:Socket_Strip_Straight_1x03_Pitch2.54mm" H 3150 4150 50  0001 C CNN
154 F 3 "" H 3150 4150 50  0001 C CNN
155         1    3150 3950
156         1    0    0    -1  
157 $EndComp
158 $Comp
159 L CONN_01X03_MALE J2
160 U 1 1 5A4A5117
161 P 2550 4800
162 F 0 "J2" H 2550 5075 50  0000 C CNN
163 F 1 "PIR Sensor 2" H 2575 4525 50  0000 C CNN
164 F 2 "Socket_Strips:Socket_Strip_Straight_1x03_Pitch2.54mm" H 2550 5000 50  0001 C CNN
165 F 3 "" H 2550 5000 50  0001 C CNN
166         1    2550 4800
167         1    0    0    -1  
168 $EndComp
169 $Comp
170 L SW_DIP_x01 SW1
171 U 1 1 5A4A528A
172 P 8200 5200
173 F 0 "SW1" H 8200 5350 50  0000 C CNN
174 F 1 "Manual ON/OFF" H 8200 5050 50  0000 C CNN
175 F 2 "Buttons_Switches_THT:SW_PUSH_SMALL" H 8200 5200 50  0001 C CNN
176 F 3 "" H 8200 5200 50  0001 C CNN
177         1    8200 5200
178         0    1    1    0   
179 $EndComp
180 $Comp
181 L LED D2
182 U 1 1 5A4A52F3
183 P 7800 5050
184 F 0 "D2" H 7800 5150 50  0000 C CNN
185 F 1 "Green" H 7800 4950 50  0000 C CNN
186 F 2 "LEDs:LED_CREE-XQ_HandSoldering" H 7800 5050 50  0001 C CNN
187 F 3 "" H 7800 5050 50  0001 C CNN
188         1    7800 5050
189         0    -1   -1   0   
190 $EndComp
191 $Comp
192 L LED D1
193 U 1 1 5A4A535C
194 P 7550 5250
195 F 0 "D1" H 7550 5350 50  0000 C CNN
196 F 1 "Red" H 7550 5150 50  0000 C CNN
197 F 2 "LEDs:LED_CREE-XQ_HandSoldering" H 7550 5250 50  0001 C CNN
198 F 3 "" H 7550 5250 50  0001 C CNN
199         1    7550 5250
200         0    -1   -1   0   
201 $EndComp
202 $Comp
203 L CONN_01X04_MALE J4
204 U 1 1 5A4A5801
205 P 5750 2200
206 F 0 "J4" H 5750 2575 50  0000 C CNN
207 F 1 "PROG Header" H 5750 1800 50  0000 C CNN
208 F 2 "Socket_Strips:Socket_Strip_Straight_1x04_Pitch2.54mm" H 5750 2500 50  0001 C CNN
209 F 3 "" H 5750 2500 50  0001 C CNN
210         1    5750 2200
211         0    1    1    0   
212 $EndComp
213 Wire Wire Line
214         1400 5500 9950 5500
215 Wire Wire Line
216         5750 4950 5750 5500
217 Wire Wire Line
218         2200 3300 8650 3300
219 Wire Wire Line
220         5750 3300 5750 3600
221 Wire Wire Line
222         1800 3600 1800 5500
223 Connection ~ 1800 5500
224 Wire Wire Line
225         1400 2750 1400 5300
226 Wire Wire Line
227         1400 2750 9950 2750
228 Connection ~ 1400 3300
229 Wire Wire Line
230         2200 3300 2200 3750
231 Wire Wire Line
232         9950 2950 9950 4000
233 Wire Wire Line
234         9950 5500 9950 4400
235 Connection ~ 2200 5500
236 Connection ~ 2200 3300
237 Wire Wire Line
238         9650 4200 9650 4700
239 Wire Wire Line
240         9650 5000 9650 5500
241 Connection ~ 9650 5500
242 Connection ~ 9650 4200
243 Connection ~ 5750 5500
244 Wire Wire Line
245         7450 4400 8400 4400
246 Wire Wire Line
247         8400 4400 8400 3500
248 Wire Wire Line
249         8400 3500 8650 3500
250 Wire Wire Line
251         8650 3700 8650 5500
252 Connection ~ 8650 5500
253 Wire Wire Line
254         9450 4200 9650 4200
255 Wire Wire Line
256         9150 4200 7450 4200
257 Connection ~ 8200 5500
258 Wire Wire Line
259         8200 4300 8200 4900
260 Wire Wire Line
261         2850 5000 2850 5500
262 Connection ~ 2850 5500
263 Wire Wire Line
264         2850 4600 2850 3300
265 Connection ~ 2850 3300
266 Wire Wire Line
267         3450 3300 3450 3750
268 Wire Wire Line
269         3450 5500 3450 4150
270 Wire Wire Line
271         3450 3950 3600 3950
272 Wire Wire Line
273         3600 3950 3600 4400
274 Wire Wire Line
275         3600 4400 4050 4400
276 Wire Wire Line
277         4050 4500 3150 4500
278 Wire Wire Line
279         3150 4500 3150 4800
280 Wire Wire Line
281         3150 4800 2850 4800
282 Connection ~ 7550 5500
283 Wire Wire Line
284         7800 5200 7800 5500
285 Connection ~ 7800 5500
286 Wire Wire Line
287         7550 5100 7550 4600
288 Wire Wire Line
289         7550 4600 7450 4600
290 Wire Wire Line
291         7800 4900 7800 4000
292 Wire Wire Line
293         7800 4000 7450 4000
294 Wire Wire Line
295         7450 4300 8200 4300
296 Connection ~ 5750 3300
297 Connection ~ 3450 3300
298 Connection ~ 3450 5500
299 Wire Wire Line
300         2200 5500 2200 4050
301 Wire Wire Line
302         5450 2500 3800 2500
303 Wire Wire Line
304         3800 2500 3800 5500
305 Connection ~ 3800 5500
306 Wire Wire Line
307         4050 3850 4050 3100
308 Wire Wire Line
309         4050 3100 5650 3100
310 Wire Wire Line
311         5650 3100 5650 2500
312 Wire Wire Line
313         7450 3850 7450 3100
314 Wire Wire Line
315         7450 3100 5850 3100
316 Wire Wire Line
317         5850 3100 5850 2500
318 Wire Wire Line
319         7550 5500 7550 5400
320 Wire Wire Line
321         6050 2500 6050 3300
322 Connection ~ 6050 3300
323 NoConn ~ 7450 4100
324 NoConn ~ 7450 4500
325 NoConn ~ 7450 4700
326 NoConn ~ 4050 4000
327 NoConn ~ 4050 4100
328 NoConn ~ 4050 4200
329 NoConn ~ 4050 4300
330 NoConn ~ 4050 4600
331 NoConn ~ 4050 4700
332 $EndSCHEMATC