attempt to place components on the PCB
[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>Sat 10 Feb 2018 21:01:48 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_D12.5mm_P7.50mm</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_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_Horizontal</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_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_Horizontal</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>Connectors:AK300-2</footprint>
53       <libsource lib="sensor-light-rescue" part="CONN_01X02_MALE-RESCUE-sensor-light"/>
54       <sheetpath names="/" tstamps="/"/>
55       <tstamp>5A4A4E4F</tstamp>
56     </comp>
57     <comp ref="J6">
58       <value>PWM Power OUT 12V</value>
59       <footprint>Connectors:AK300-2</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_D3.0mm</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_D3.0mm</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     <comp ref="R3">
128       <value>56 Ohm</value>
129       <footprint>Resistors_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_Horizontal</footprint>
130       <libsource lib="device" part="R"/>
131       <sheetpath names="/" tstamps="/"/>
132       <tstamp>5A4C95F9</tstamp>
133     </comp>
134     <comp ref="R4">
135       <value>56 Ohm</value>
136       <footprint>Resistors_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_Horizontal</footprint>
137       <libsource lib="device" part="R"/>
138       <sheetpath names="/" tstamps="/"/>
139       <tstamp>5A4C9666</tstamp>
140     </comp>
141   </components>
142   <libparts>
143     <libpart lib="conn" part="CONN_01X02_FEMALE">
144       <description>Generic Female Connector, Single Row, 01x02, socket header</description>
145       <fields>
146         <field name="Reference">J</field>
147         <field name="Value">CONN_01X02_FEMALE</field>
148       </fields>
149       <pins>
150         <pin num="1" name="1" type="passive"/>
151         <pin num="2" name="2" type="passive"/>
152       </pins>
153     </libpart>
154     <libpart lib="sensor-light-rescue" part="CONN_01X02_MALE-RESCUE-sensor-light">
155       <fields>
156         <field name="Reference">J</field>
157         <field name="Value">CONN_01X02_MALE-RESCUE-sensor-light</field>
158       </fields>
159       <pins>
160         <pin num="1" name="1" type="power_out"/>
161         <pin num="2" name="2" type="power_out"/>
162       </pins>
163     </libpart>
164     <libpart lib="conn" part="CONN_01X03_MALE">
165       <description>Generic Male Connector, single row, 01x03, pin header</description>
166       <fields>
167         <field name="Reference">J</field>
168         <field name="Value">CONN_01X03_MALE</field>
169       </fields>
170       <pins>
171         <pin num="1" name="1" type="passive"/>
172         <pin num="2" name="2" type="passive"/>
173         <pin num="3" name="3" type="passive"/>
174       </pins>
175     </libpart>
176     <libpart lib="conn" part="CONN_01X04_MALE">
177       <description>Generic Male Connector, single row, 01x04, pin header</description>
178       <fields>
179         <field name="Reference">J</field>
180         <field name="Value">CONN_01X04_MALE</field>
181       </fields>
182       <pins>
183         <pin num="1" name="1" type="passive"/>
184         <pin num="2" name="2" type="passive"/>
185         <pin num="3" name="3" type="passive"/>
186         <pin num="4" name="4" type="passive"/>
187       </pins>
188     </libpart>
189     <libpart lib="device" part="CP">
190       <description>Polarised capacitor</description>
191       <footprints>
192         <fp>CP_*</fp>
193       </footprints>
194       <fields>
195         <field name="Reference">C</field>
196         <field name="Value">CP</field>
197       </fields>
198       <pins>
199         <pin num="1" name="~" type="passive"/>
200         <pin num="2" name="~" type="passive"/>
201       </pins>
202     </libpart>
203     <libpart lib="regul" part="LD1117S33TR">
204       <aliases>
205         <alias>LD1117S33CTR</alias>
206         <alias>LD1117S12TR</alias>
207         <alias>LD1117S12CTR</alias>
208         <alias>LD1117S18TR</alias>
209         <alias>LD1117S18CTR</alias>
210         <alias>LD1117S25TR</alias>
211         <alias>LD1117S25CTR</alias>
212         <alias>LD1117S50TR</alias>
213         <alias>LD1117S50CTR</alias>
214       </aliases>
215       <description>800mA Fixed Low Drop Positive Voltage Regulator, Fixed Output 3.3V, SOT223</description>
216       <docs>http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00000544.pdf</docs>
217       <footprints>
218         <fp>SOT223</fp>
219       </footprints>
220       <fields>
221         <field name="Reference">U</field>
222         <field name="Value">LD1117S33TR</field>
223         <field name="Footprint">TO_SOT_Packages_SMD:SOT-223</field>
224       </fields>
225       <pins>
226         <pin num="1" name="GND" type="power_in"/>
227         <pin num="2" name="VO" type="power_out"/>
228         <pin num="3" name="VI" type="power_in"/>
229       </pins>
230     </libpart>
231     <libpart lib="device" part="LED">
232       <description>LED generic</description>
233       <footprints>
234         <fp>LED*</fp>
235       </footprints>
236       <fields>
237         <field name="Reference">D</field>
238         <field name="Value">LED</field>
239       </fields>
240       <pins>
241         <pin num="1" name="K" type="passive"/>
242         <pin num="2" name="A" type="passive"/>
243       </pins>
244     </libpart>
245     <libpart lib="msp430" part="MSP430G2153IN20">
246       <aliases>
247         <alias>MSP430G2253IN20</alias>
248         <alias>MSP430G2353IN20</alias>
249         <alias>MSP430G2453IN20</alias>
250         <alias>MSP430G2553IN20</alias>
251       </aliases>
252       <description>MSP430G2113, 20pin PDIP, 1KB Flash Memory, 256B RAM</description>
253       <docs>http://www.ti.com/lit/ds/symlink/msp430g2553.pdf</docs>
254       <fields>
255         <field name="Reference">U</field>
256         <field name="Value">MSP430G2153IN20</field>
257         <field name="Footprint">20N</field>
258       </fields>
259       <pins>
260         <pin num="1" name="DVCC" type="power_in"/>
261         <pin num="2" name="TA0CLK/ACLK/CA0/A0/P1.0" type="BiDi"/>
262         <pin num="3" name="UCA0RXD/UCA0SOMI/TA0.0/CA1/A1/P1.1" type="BiDi"/>
263         <pin num="4" name="UCA0TXD/UCA0SIMO/TA0.1/CA2/A2/P1.2" type="BiDi"/>
264         <pin num="5" name="CAOUT/VREF-/VeREF-/CA3/A3/P1.3" type="BiDi"/>
265         <pin num="6" name="TCK/SMCLK/UCB0STE/UCA0CLK/VREF+/VeREF+/CA4/A4/P1.4" type="BiDi"/>
266         <pin num="7" name="TMS/UCB0CLK/UCA0STE/TA0.0/CA5/A5/P1.5" type="BiDi"/>
267         <pin num="8" name="P2.0/TA1.0" type="BiDi"/>
268         <pin num="9" name="P2.1/TA1.1" type="BiDi"/>
269         <pin num="10" name="P2.2/TA1.1" type="BiDi"/>
270         <pin num="11" name="P2.3/TA1.0" type="BiDi"/>
271         <pin num="12" name="P2.4/TA1.2" type="BiDi"/>
272         <pin num="13" name="P2.5/TA1.2" type="BiDi"/>
273         <pin num="14" name="TDI/TCLK/UCB0SOMI/UCB0SCL/TA0.1/CA6/A6/P1.6" type="BiDi"/>
274         <pin num="15" name="TDO/TDI/UCB0SIMO/UCB0SDA/CAOUT/CA7/A7/P1.7" type="BiDi"/>
275         <pin num="16" name="~RST~/NMI/SBWTDIO" type="input"/>
276         <pin num="17" name="TEST/SBWTCK" type="input"/>
277         <pin num="18" name="P2.7/XOUT" type="BiDi"/>
278         <pin num="19" name="P2.6/XIN/TA0.1" type="BiDi"/>
279         <pin num="20" name="DVSS" type="power_in"/>
280       </pins>
281     </libpart>
282     <libpart lib="device" part="Q_NMOS_DGS">
283       <description>Transistor N-MOSFET (general)</description>
284       <fields>
285         <field name="Reference">Q</field>
286         <field name="Value">Q_NMOS_DGS</field>
287       </fields>
288       <pins>
289         <pin num="1" name="D" type="passive"/>
290         <pin num="2" name="G" type="input"/>
291         <pin num="3" name="S" type="passive"/>
292       </pins>
293     </libpart>
294     <libpart lib="device" part="R">
295       <description>Resistor</description>
296       <footprints>
297         <fp>R_*</fp>
298         <fp>R_*</fp>
299       </footprints>
300       <fields>
301         <field name="Reference">R</field>
302         <field name="Value">R</field>
303       </fields>
304       <pins>
305         <pin num="1" name="~" type="passive"/>
306         <pin num="2" name="~" type="passive"/>
307       </pins>
308     </libpart>
309     <libpart lib="switches" part="SW_DIP_x01">
310       <description>1x DIP Switch, Single Pole Single Throw (SPST) switch, small symbol</description>
311       <footprints>
312         <fp>SW?DIP?x1*</fp>
313       </footprints>
314       <fields>
315         <field name="Reference">SW</field>
316         <field name="Value">SW_DIP_x01</field>
317       </fields>
318       <pins>
319         <pin num="1" name="~" type="input"/>
320         <pin num="2" name="~" type="input"/>
321       </pins>
322     </libpart>
323   </libparts>
324   <libraries>
325     <library logical="sensor-light-rescue">
326       <uri>/home/crosser/src/sensor-light/hardware/sensor-light/sensor-light-rescue.lib</uri>
327     </library>
328     <library logical="device">
329       <uri>/usr/share/kicad/library/device.lib</uri>
330     </library>
331     <library logical="conn">
332       <uri>/usr/share/kicad/library/conn.lib</uri>
333     </library>
334     <library logical="regul">
335       <uri>/usr/share/kicad/library/regul.lib</uri>
336     </library>
337     <library logical="msp430">
338       <uri>/usr/share/kicad/library/msp430.lib</uri>
339     </library>
340     <library logical="switches">
341       <uri>/usr/share/kicad/library/switches.lib</uri>
342     </library>
343   </libraries>
344   <nets>
345     <net code="1" name="Net-(Q1-Pad2)">
346       <node ref="R2" pin="1"/>
347       <node ref="R1" pin="1"/>
348       <node ref="Q1" pin="2"/>
349     </net>
350     <net code="2" name="Net-(J5-Pad2)">
351       <node ref="J5" pin="2"/>
352       <node ref="U2" pin="6"/>
353     </net>
354     <net code="3" name="Net-(R1-Pad2)">
355       <node ref="U2" pin="4"/>
356       <node ref="R1" pin="2"/>
357     </net>
358     <net code="4" name="Net-(SW1-Pad1)">
359       <node ref="U2" pin="5"/>
360       <node ref="SW1" pin="1"/>
361     </net>
362     <net code="5" name="Net-(J6-Pad2)">
363       <node ref="Q1" pin="1"/>
364       <node ref="J6" pin="2"/>
365     </net>
366     <net code="6" name="Net-(C1-Pad1)">
367       <node ref="J2" pin="1"/>
368       <node ref="J5" pin="3"/>
369       <node ref="C1" pin="1"/>
370       <node ref="J3" pin="1"/>
371       <node ref="U1" pin="2"/>
372       <node ref="J4" pin="1"/>
373       <node ref="U2" pin="1"/>
374     </net>
375     <net code="7" name="Net-(D2-Pad2)">
376       <node ref="D2" pin="2"/>
377       <node ref="R4" pin="2"/>
378     </net>
379     <net code="8" name="Net-(J4-Pad2)">
380       <node ref="J4" pin="2"/>
381       <node ref="U2" pin="17"/>
382     </net>
383     <net code="9" name="Net-(J4-Pad3)">
384       <node ref="J4" pin="3"/>
385       <node ref="U2" pin="16"/>
386     </net>
387     <net code="10" name="Net-(R4-Pad1)">
388       <node ref="R4" pin="1"/>
389       <node ref="U2" pin="2"/>
390     </net>
391     <net code="11" name="Net-(R3-Pad1)">
392       <node ref="R3" pin="1"/>
393       <node ref="U2" pin="14"/>
394     </net>
395     <net code="12" name="Net-(J2-Pad2)">
396       <node ref="U2" pin="13"/>
397       <node ref="J2" pin="2"/>
398     </net>
399     <net code="13" name="Net-(J3-Pad2)">
400       <node ref="J3" pin="2"/>
401       <node ref="U2" pin="12"/>
402     </net>
403     <net code="14" name="Net-(U2-Pad18)">
404       <node ref="U2" pin="18"/>
405     </net>
406     <net code="15" name="Net-(U2-Pad19)">
407       <node ref="U2" pin="19"/>
408     </net>
409     <net code="16" name="Net-(U2-Pad15)">
410       <node ref="U2" pin="15"/>
411     </net>
412     <net code="17" name="Net-(U2-Pad11)">
413       <node ref="U2" pin="11"/>
414     </net>
415     <net code="18" name="Net-(U2-Pad10)">
416       <node ref="U2" pin="10"/>
417     </net>
418     <net code="19" name="Net-(U2-Pad9)">
419       <node ref="U2" pin="9"/>
420     </net>
421     <net code="20" name="Net-(U2-Pad8)">
422       <node ref="U2" pin="8"/>
423     </net>
424     <net code="21" name="Net-(U2-Pad7)">
425       <node ref="U2" pin="7"/>
426     </net>
427     <net code="22" name="Net-(U2-Pad3)">
428       <node ref="U2" pin="3"/>
429     </net>
430     <net code="23" name="Net-(D1-Pad2)">
431       <node ref="D1" pin="2"/>
432       <node ref="R3" pin="2"/>
433     </net>
434     <net code="24" name="Net-(C1-Pad2)">
435       <node ref="J4" pin="4"/>
436       <node ref="J5" pin="1"/>
437       <node ref="J3" pin="3"/>
438       <node ref="J2" pin="3"/>
439       <node ref="SW1" pin="2"/>
440       <node ref="D1" pin="1"/>
441       <node ref="D2" pin="1"/>
442       <node ref="Q1" pin="3"/>
443       <node ref="C1" pin="2"/>
444       <node ref="R2" pin="2"/>
445       <node ref="J1" pin="2"/>
446       <node ref="U1" pin="1"/>
447       <node ref="U2" pin="20"/>
448     </net>
449     <net code="25" name="Net-(J1-Pad1)">
450       <node ref="J1" pin="1"/>
451       <node ref="J6" pin="1"/>
452       <node ref="U1" pin="3"/>
453     </net>
454   </nets>
455 </export>