2316d0583b619d69e2fa99542d7b390a381e4706
[sensor-light.git] / hardware / sensor-light / sensor-light.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <export version="D">
3   <design>
4     <source>/home/crosser/src/sensor-light/hardware/sensor-light/sensor-light.sch</source>
5     <date>Mon 01 Jan 2018 21:11:24 CET</date>
6     <tool>Eeschema 4.0.6+dfsg1-1</tool>
7     <sheet number="1" name="/" tstamps="/">
8       <title_block>
9         <title/>
10         <company/>
11         <rev/>
12         <date/>
13         <source>sensor-light.sch</source>
14         <comment number="1" value=""/>
15         <comment number="2" value=""/>
16         <comment number="3" value=""/>
17         <comment number="4" value=""/>
18       </title_block>
19     </sheet>
20   </design>
21   <components>
22     <comp ref="U2">
23       <value>MSP430G2553IN20</value>
24       <footprint>Housings_DIP:DIP-20_W7.62mm_Socket</footprint>
25       <libsource lib="msp430" part="MSP430G2553IN20"/>
26       <sheetpath names="/" tstamps="/"/>
27       <tstamp>5A4A4B70</tstamp>
28     </comp>
29     <comp ref="C1">
30       <value>10uF</value>
31       <footprint>Capacitors_THT:CP_Radial_D4.0mm_P2.00mm</footprint>
32       <libsource lib="device" part="CP"/>
33       <sheetpath names="/" tstamps="/"/>
34       <tstamp>5A4A4C0F</tstamp>
35     </comp>
36     <comp ref="R2">
37       <value>100 KOhm</value>
38       <footprint>Resistors_SMD:R_1218_HandSoldering</footprint>
39       <libsource lib="device" part="R"/>
40       <sheetpath names="/" tstamps="/"/>
41       <tstamp>5A4A4D3B</tstamp>
42     </comp>
43     <comp ref="R1">
44       <value>27 Ohm</value>
45       <footprint>Resistors_SMD:R_1218_HandSoldering</footprint>
46       <libsource lib="device" part="R"/>
47       <sheetpath names="/" tstamps="/"/>
48       <tstamp>5A4A4DD8</tstamp>
49     </comp>
50     <comp ref="J1">
51       <value>Power IN 12V</value>
52       <footprint>Socket_Strips:Socket_Strip_Straight_1x02_Pitch2.54mm</footprint>
53       <libsource lib="conn" part="CONN_01X02_MALE"/>
54       <sheetpath names="/" tstamps="/"/>
55       <tstamp>5A4A4E4F</tstamp>
56     </comp>
57     <comp ref="J6">
58       <value>PWM Power OUT 12V</value>
59       <footprint>Socket_Strips:Socket_Strip_Straight_1x02_Pitch2.54mm</footprint>
60       <libsource lib="conn" part="CONN_01X02_FEMALE"/>
61       <sheetpath names="/" tstamps="/"/>
62       <tstamp>5A4A4EAE</tstamp>
63     </comp>
64     <comp ref="Q1">
65       <value>IRLML2502</value>
66       <footprint>TO_SOT_Packages_SMD:SOT-23_Handsoldering</footprint>
67       <libsource lib="device" part="Q_NMOS_DGS"/>
68       <sheetpath names="/" tstamps="/"/>
69       <tstamp>5A4A4F0F</tstamp>
70     </comp>
71     <comp ref="U1">
72       <value>Reg 3.3V</value>
73       <footprint>TO_SOT_Packages_SMD:SOT-223</footprint>
74       <libsource lib="regul" part="LD1117S33TR"/>
75       <sheetpath names="/" tstamps="/"/>
76       <tstamp>5A4A4F7A</tstamp>
77     </comp>
78     <comp ref="J5">
79       <value>Light Sensor</value>
80       <footprint>Socket_Strips:Socket_Strip_Straight_1x03_Pitch2.54mm</footprint>
81       <libsource lib="conn" part="CONN_01X03_MALE"/>
82       <sheetpath names="/" tstamps="/"/>
83       <tstamp>5A4A4FE3</tstamp>
84     </comp>
85     <comp ref="J3">
86       <value>PIR Sensor 1</value>
87       <footprint>Socket_Strips:Socket_Strip_Straight_1x03_Pitch2.54mm</footprint>
88       <libsource lib="conn" part="CONN_01X03_MALE"/>
89       <sheetpath names="/" tstamps="/"/>
90       <tstamp>5A4A5096</tstamp>
91     </comp>
92     <comp ref="J2">
93       <value>PIR Sensor 2</value>
94       <footprint>Socket_Strips:Socket_Strip_Straight_1x03_Pitch2.54mm</footprint>
95       <libsource lib="conn" part="CONN_01X03_MALE"/>
96       <sheetpath names="/" tstamps="/"/>
97       <tstamp>5A4A5117</tstamp>
98     </comp>
99     <comp ref="SW1">
100       <value>Manual ON/OFF</value>
101       <footprint>Buttons_Switches_THT:SW_PUSH_SMALL</footprint>
102       <libsource lib="switches" part="SW_DIP_x01"/>
103       <sheetpath names="/" tstamps="/"/>
104       <tstamp>5A4A528A</tstamp>
105     </comp>
106     <comp ref="D2">
107       <value>Green</value>
108       <footprint>LEDs:LED_CREE-XQ_HandSoldering</footprint>
109       <libsource lib="device" part="LED"/>
110       <sheetpath names="/" tstamps="/"/>
111       <tstamp>5A4A52F3</tstamp>
112     </comp>
113     <comp ref="D1">
114       <value>Red</value>
115       <footprint>LEDs:LED_CREE-XQ_HandSoldering</footprint>
116       <libsource lib="device" part="LED"/>
117       <sheetpath names="/" tstamps="/"/>
118       <tstamp>5A4A535C</tstamp>
119     </comp>
120     <comp ref="J4">
121       <value>PROG Header</value>
122       <footprint>Socket_Strips:Socket_Strip_Straight_1x04_Pitch2.54mm</footprint>
123       <libsource lib="conn" part="CONN_01X04_MALE"/>
124       <sheetpath names="/" tstamps="/"/>
125       <tstamp>5A4A5801</tstamp>
126     </comp>
127   </components>
128   <libparts>
129     <libpart lib="conn" part="CONN_01X02_FEMALE">
130       <description>Generic Female Connector, Single Row, 01x02, socket header</description>
131       <fields>
132         <field name="Reference">J</field>
133         <field name="Value">CONN_01X02_FEMALE</field>
134       </fields>
135       <pins>
136         <pin num="1" name="1" type="passive"/>
137         <pin num="2" name="2" type="passive"/>
138       </pins>
139     </libpart>
140     <libpart lib="conn" part="CONN_01X02_MALE">
141       <description>Generic Male Connector, single row, 01x02, pin header</description>
142       <fields>
143         <field name="Reference">J</field>
144         <field name="Value">CONN_01X02_MALE</field>
145       </fields>
146       <pins>
147         <pin num="1" name="1" type="power_out"/>
148         <pin num="2" name="2" type="power_out"/>
149       </pins>
150     </libpart>
151     <libpart lib="conn" part="CONN_01X03_MALE">
152       <description>Generic Male Connector, single row, 01x03, pin header</description>
153       <fields>
154         <field name="Reference">J</field>
155         <field name="Value">CONN_01X03_MALE</field>
156       </fields>
157       <pins>
158         <pin num="1" name="1" type="passive"/>
159         <pin num="2" name="2" type="passive"/>
160         <pin num="3" name="3" type="passive"/>
161       </pins>
162     </libpart>
163     <libpart lib="conn" part="CONN_01X04_MALE">
164       <description>Generic Male Connector, single row, 01x04, pin header</description>
165       <fields>
166         <field name="Reference">J</field>
167         <field name="Value">CONN_01X04_MALE</field>
168       </fields>
169       <pins>
170         <pin num="1" name="1" type="passive"/>
171         <pin num="2" name="2" type="passive"/>
172         <pin num="3" name="3" type="passive"/>
173         <pin num="4" name="4" type="passive"/>
174       </pins>
175     </libpart>
176     <libpart lib="device" part="CP">
177       <description>Polarised capacitor</description>
178       <footprints>
179         <fp>CP_*</fp>
180       </footprints>
181       <fields>
182         <field name="Reference">C</field>
183         <field name="Value">CP</field>
184       </fields>
185       <pins>
186         <pin num="1" name="~" type="passive"/>
187         <pin num="2" name="~" type="passive"/>
188       </pins>
189     </libpart>
190     <libpart lib="regul" part="LD1117S33TR">
191       <aliases>
192         <alias>LD1117S33CTR</alias>
193         <alias>LD1117S12TR</alias>
194         <alias>LD1117S12CTR</alias>
195         <alias>LD1117S18TR</alias>
196         <alias>LD1117S18CTR</alias>
197         <alias>LD1117S25TR</alias>
198         <alias>LD1117S25CTR</alias>
199         <alias>LD1117S50TR</alias>
200         <alias>LD1117S50CTR</alias>
201       </aliases>
202       <description>800mA Fixed Low Drop Positive Voltage Regulator, Fixed Output 3.3V, SOT223</description>
203       <docs>http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00000544.pdf</docs>
204       <footprints>
205         <fp>SOT223</fp>
206       </footprints>
207       <fields>
208         <field name="Reference">U</field>
209         <field name="Value">LD1117S33TR</field>
210         <field name="Footprint">TO_SOT_Packages_SMD:SOT-223</field>
211       </fields>
212       <pins>
213         <pin num="1" name="GND" type="power_in"/>
214         <pin num="2" name="VO" type="power_out"/>
215         <pin num="3" name="VI" type="power_in"/>
216       </pins>
217     </libpart>
218     <libpart lib="device" part="LED">
219       <description>LED generic</description>
220       <footprints>
221         <fp>LED*</fp>
222       </footprints>
223       <fields>
224         <field name="Reference">D</field>
225         <field name="Value">LED</field>
226       </fields>
227       <pins>
228         <pin num="1" name="K" type="passive"/>
229         <pin num="2" name="A" type="passive"/>
230       </pins>
231     </libpart>
232     <libpart lib="msp430" part="MSP430G2153IN20">
233       <aliases>
234         <alias>MSP430G2253IN20</alias>
235         <alias>MSP430G2353IN20</alias>
236         <alias>MSP430G2453IN20</alias>
237         <alias>MSP430G2553IN20</alias>
238       </aliases>
239       <description>MSP430G2113, 20pin PDIP, 1KB Flash Memory, 256B RAM</description>
240       <docs>http://www.ti.com/lit/ds/symlink/msp430g2553.pdf</docs>
241       <fields>
242         <field name="Reference">U</field>
243         <field name="Value">MSP430G2153IN20</field>
244         <field name="Footprint">20N</field>
245       </fields>
246       <pins>
247         <pin num="1" name="DVCC" type="power_in"/>
248         <pin num="2" name="TA0CLK/ACLK/CA0/A0/P1.0" type="BiDi"/>
249         <pin num="3" name="UCA0RXD/UCA0SOMI/TA0.0/CA1/A1/P1.1" type="BiDi"/>
250         <pin num="4" name="UCA0TXD/UCA0SIMO/TA0.1/CA2/A2/P1.2" type="BiDi"/>
251         <pin num="5" name="CAOUT/VREF-/VeREF-/CA3/A3/P1.3" type="BiDi"/>
252         <pin num="6" name="TCK/SMCLK/UCB0STE/UCA0CLK/VREF+/VeREF+/CA4/A4/P1.4" type="BiDi"/>
253         <pin num="7" name="TMS/UCB0CLK/UCA0STE/TA0.0/CA5/A5/P1.5" type="BiDi"/>
254         <pin num="8" name="P2.0/TA1.0" type="BiDi"/>
255         <pin num="9" name="P2.1/TA1.1" type="BiDi"/>
256         <pin num="10" name="P2.2/TA1.1" type="BiDi"/>
257         <pin num="11" name="P2.3/TA1.0" type="BiDi"/>
258         <pin num="12" name="P2.4/TA1.2" type="BiDi"/>
259         <pin num="13" name="P2.5/TA1.2" type="BiDi"/>
260         <pin num="14" name="TDI/TCLK/UCB0SOMI/UCB0SCL/TA0.1/CA6/A6/P1.6" type="BiDi"/>
261         <pin num="15" name="TDO/TDI/UCB0SIMO/UCB0SDA/CAOUT/CA7/A7/P1.7" type="BiDi"/>
262         <pin num="16" name="~RST~/NMI/SBWTDIO" type="input"/>
263         <pin num="17" name="TEST/SBWTCK" type="input"/>
264         <pin num="18" name="P2.7/XOUT" type="BiDi"/>
265         <pin num="19" name="P2.6/XIN/TA0.1" type="BiDi"/>
266         <pin num="20" name="DVSS" type="power_in"/>
267       </pins>
268     </libpart>
269     <libpart lib="device" part="Q_NMOS_DGS">
270       <description>Transistor N-MOSFET (general)</description>
271       <fields>
272         <field name="Reference">Q</field>
273         <field name="Value">Q_NMOS_DGS</field>
274       </fields>
275       <pins>
276         <pin num="1" name="D" type="passive"/>
277         <pin num="2" name="G" type="input"/>
278         <pin num="3" name="S" type="passive"/>
279       </pins>
280     </libpart>
281     <libpart lib="device" part="R">
282       <description>Resistor</description>
283       <footprints>
284         <fp>R_*</fp>
285         <fp>R_*</fp>
286       </footprints>
287       <fields>
288         <field name="Reference">R</field>
289         <field name="Value">R</field>
290       </fields>
291       <pins>
292         <pin num="1" name="~" type="passive"/>
293         <pin num="2" name="~" type="passive"/>
294       </pins>
295     </libpart>
296     <libpart lib="switches" part="SW_DIP_x01">
297       <description>1x DIP Switch, Single Pole Single Throw (SPST) switch, small symbol</description>
298       <footprints>
299         <fp>SW?DIP?x1*</fp>
300       </footprints>
301       <fields>
302         <field name="Reference">SW</field>
303         <field name="Value">SW_DIP_x01</field>
304       </fields>
305       <pins>
306         <pin num="1" name="~" type="input"/>
307         <pin num="2" name="~" type="input"/>
308       </pins>
309     </libpart>
310   </libparts>
311   <libraries>
312     <library logical="device">
313       <uri>/usr/share/kicad/library/device.lib</uri>
314     </library>
315     <library logical="regul">
316       <uri>/usr/share/kicad/library/regul.lib</uri>
317     </library>
318     <library logical="msp430">
319       <uri>/usr/share/kicad/library/msp430.lib</uri>
320     </library>
321     <library logical="switches">
322       <uri>/usr/share/kicad/library/switches.lib</uri>
323     </library>
324     <library logical="conn">
325       <uri>/usr/share/kicad/library/conn.lib</uri>
326     </library>
327   </libraries>
328   <nets>
329     <net code="1" name="Net-(R1-Pad2)">
330       <node ref="U2" pin="4"/>
331       <node ref="R1" pin="2"/>
332     </net>
333     <net code="2" name="Net-(J2-Pad2)">
334       <node ref="U2" pin="13"/>
335       <node ref="J2" pin="2"/>
336     </net>
337     <net code="3" name="Net-(J3-Pad2)">
338       <node ref="U2" pin="12"/>
339       <node ref="J3" pin="2"/>
340     </net>
341     <net code="4" name="Net-(SW1-Pad1)">
342       <node ref="SW1" pin="1"/>
343       <node ref="U2" pin="5"/>
344     </net>
345     <net code="5" name="Net-(Q1-Pad2)">
346       <node ref="R1" pin="1"/>
347       <node ref="Q1" pin="2"/>
348       <node ref="R2" pin="1"/>
349     </net>
350     <net code="6" name="Net-(J5-Pad2)">
351       <node ref="J5" pin="2"/>
352       <node ref="U2" pin="6"/>
353     </net>
354     <net code="7" name="Net-(J6-Pad2)">
355       <node ref="J6" pin="2"/>
356       <node ref="Q1" pin="1"/>
357     </net>
358     <net code="8" name="Net-(J4-Pad3)">
359       <node ref="J4" pin="3"/>
360       <node ref="U2" pin="16"/>
361     </net>
362     <net code="9" name="Net-(U2-Pad18)">
363       <node ref="U2" pin="18"/>
364     </net>
365     <net code="10" name="Net-(U2-Pad19)">
366       <node ref="U2" pin="19"/>
367     </net>
368     <net code="11" name="Net-(U2-Pad11)">
369       <node ref="U2" pin="11"/>
370     </net>
371     <net code="12" name="Net-(U2-Pad10)">
372       <node ref="U2" pin="10"/>
373     </net>
374     <net code="13" name="Net-(U2-Pad9)">
375       <node ref="U2" pin="9"/>
376     </net>
377     <net code="14" name="Net-(U2-Pad8)">
378       <node ref="U2" pin="8"/>
379     </net>
380     <net code="15" name="Net-(U2-Pad15)">
381       <node ref="U2" pin="15"/>
382     </net>
383     <net code="16" name="Net-(U2-Pad7)">
384       <node ref="U2" pin="7"/>
385     </net>
386     <net code="17" name="Net-(U2-Pad3)">
387       <node ref="U2" pin="3"/>
388     </net>
389     <net code="18" name="Net-(J4-Pad2)">
390       <node ref="J4" pin="2"/>
391       <node ref="U2" pin="17"/>
392     </net>
393     <net code="19" name="Net-(C1-Pad1)">
394       <node ref="C1" pin="1"/>
395       <node ref="J4" pin="1"/>
396       <node ref="J2" pin="1"/>
397       <node ref="J3" pin="1"/>
398       <node ref="J5" pin="3"/>
399       <node ref="U2" pin="1"/>
400       <node ref="U1" pin="2"/>
401     </net>
402     <net code="20" name="Net-(D2-Pad2)">
403       <node ref="U2" pin="2"/>
404       <node ref="D2" pin="2"/>
405     </net>
406     <net code="21" name="Net-(D1-Pad2)">
407       <node ref="U2" pin="14"/>
408       <node ref="D1" pin="2"/>
409     </net>
410     <net code="22" name="Net-(C1-Pad2)">
411       <node ref="SW1" pin="2"/>
412       <node ref="J2" pin="3"/>
413       <node ref="J3" pin="3"/>
414       <node ref="D2" pin="1"/>
415       <node ref="U1" pin="1"/>
416       <node ref="J5" pin="1"/>
417       <node ref="D1" pin="1"/>
418       <node ref="J4" pin="4"/>
419       <node ref="J1" pin="2"/>
420       <node ref="R2" pin="2"/>
421       <node ref="C1" pin="2"/>
422       <node ref="Q1" pin="3"/>
423       <node ref="U2" pin="20"/>
424     </net>
425     <net code="23" name="Net-(J1-Pad1)">
426       <node ref="J6" pin="1"/>
427       <node ref="J1" pin="1"/>
428       <node ref="U1" pin="3"/>
429     </net>
430   </nets>
431 </export>