Rev 559 Rev 565
Line 123... Line 123...
123 </device> 123 </device>
124 </devices> 124 </devices>
125 </deviceset> 125 </deviceset>
126 </devicesets> 126 </devicesets>
127 </library> 127 </library>
128 <library name="moje_hrebinky"> -  
129 <description>&lt;b&gt;Pin Headers&lt;/b&gt;&lt;p&gt; -  
130 Naming:&lt;p&gt; -  
131 MA = male&lt;p&gt; -  
132 # contacts - # rows&lt;p&gt; -  
133 W = angled&lt;p&gt; -  
134 &lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description> -  
135 <packages> -  
136 <package name="MA03-2"> -  
137 <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description> -  
138 <wire x1="-3.175" y1="2.54" x2="-1.905" y2="2.54" width="0.1524" layer="21"/> -  
139 <wire x1="-1.905" y1="2.54" x2="-1.27" y2="1.905" width="0.1524" layer="21"/> -  
140 <wire x1="-1.27" y1="1.905" x2="-0.635" y2="2.54" width="0.1524" layer="21"/> -  
141 <wire x1="-0.635" y1="2.54" x2="0.635" y2="2.54" width="0.1524" layer="21"/> -  
142 <wire x1="0.635" y1="2.54" x2="1.27" y2="1.905" width="0.1524" layer="21"/> -  
143 <wire x1="-3.175" y1="2.54" x2="-3.81" y2="1.905" width="0.1524" layer="21"/> -  
144 <wire x1="1.27" y1="1.905" x2="1.905" y2="2.54" width="0.1524" layer="21"/> -  
145 <wire x1="1.905" y1="2.54" x2="3.175" y2="2.54" width="0.1524" layer="21"/> -  
146 <wire x1="3.175" y1="2.54" x2="3.81" y2="1.905" width="0.1524" layer="21"/> -  
147 <wire x1="3.81" y1="1.905" x2="3.81" y2="-1.905" width="0.1524" layer="21"/> -  
148 <wire x1="-1.27" y1="-1.905" x2="-1.905" y2="-2.54" width="0.1524" layer="21"/> -  
149 <wire x1="1.27" y1="-1.905" x2="0.635" y2="-2.54" width="0.1524" layer="21"/> -  
150 <wire x1="0.635" y1="-2.54" x2="-0.635" y2="-2.54" width="0.1524" layer="21"/> -  
151 <wire x1="-0.635" y1="-2.54" x2="-1.27" y2="-1.905" width="0.1524" layer="21"/> -  
152 <wire x1="-3.81" y1="1.905" x2="-3.81" y2="-1.905" width="0.1524" layer="21"/> -  
153 <wire x1="-3.81" y1="-1.905" x2="-3.175" y2="-2.54" width="0.1524" layer="21"/> -  
154 <wire x1="-1.905" y1="-2.54" x2="-3.175" y2="-2.54" width="0.1524" layer="21"/> -  
155 <wire x1="3.81" y1="-1.905" x2="3.175" y2="-2.54" width="0.1524" layer="21"/> -  
156 <wire x1="3.175" y1="-2.54" x2="1.905" y2="-2.54" width="0.1524" layer="21"/> -  
157 <wire x1="1.905" y1="-2.54" x2="1.27" y2="-1.905" width="0.1524" layer="21"/> -  
158 <pad name="1" x="-2.54" y="-1.27" drill="0.889" diameter="1.651" shape="square"/> -  
159 <pad name="3" x="0" y="-1.27" drill="0.889" diameter="1.651" shape="square"/> -  
160 <pad name="5" x="2.54" y="-1.27" drill="0.889" diameter="1.651" shape="square"/> -  
161 <pad name="2" x="-2.54" y="1.27" drill="0.889" diameter="1.651" shape="square"/> -  
162 <pad name="4" x="0" y="1.27" drill="0.889" diameter="1.651" shape="square"/> -  
163 <pad name="6" x="2.54" y="1.27" drill="0.889" diameter="1.651" shape="square"/> -  
164 <text x="-3.81" y="2.921" size="1.27" layer="25" ratio="10">&gt;NAME</text> -  
165 <text x="-1.27" y="-4.191" size="1.27" layer="27" ratio="10">&gt;VALUE</text> -  
166 <rectangle x1="-0.254" y1="-1.524" x2="0.254" y2="-1.016" layer="51"/> -  
167 <rectangle x1="-2.794" y1="-1.524" x2="-2.286" y2="-1.016" layer="51"/> -  
168 <rectangle x1="2.286" y1="-1.524" x2="2.794" y2="-1.016" layer="51"/> -  
169 <rectangle x1="-2.794" y1="1.016" x2="-2.286" y2="1.524" layer="51"/> -  
170 <rectangle x1="-0.254" y1="1.016" x2="0.254" y2="1.524" layer="51"/> -  
171 <rectangle x1="2.286" y1="1.016" x2="2.794" y2="1.524" layer="51"/> -  
172 </package> -  
173 </packages> -  
174 <symbols> -  
175 <symbol name="MA01-1"> -  
176 <wire x1="1.27" y1="0" x2="2.54" y2="0" width="0.6096" layer="94"/> -  
177 <wire x1="-2.54" y1="0" x2="-1.27" y2="0" width="0.6096" layer="94"/> -  
178 <text x="-3.81" y="-5.08" size="1.778" layer="96">&gt;VALUE</text> -  
179 <text x="-3.81" y="3.302" size="1.778" layer="95">&gt;NAME</text> -  
180 <wire x1="-2.54" y1="0" x2="2.54" y2="0" width="0.254" layer="94"/> -  
181 <pin name="K" x="-5.08" y="0" visible="off" length="middle" direction="pas"/> -  
182 </symbol> -  
183 </symbols> -  
184 <devicesets> -  
185 <deviceset name="MA03-2" prefix="SV" uservalue="yes"> -  
186 <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description> -  
187 <gates> -  
188 <gate name="-1" symbol="MA01-1" x="0" y="7.62"/> -  
189 <gate name="-2" symbol="MA01-1" x="0" y="-2.54"/> -  
190 <gate name="-3" symbol="MA01-1" x="0" y="-12.7"/> -  
191 </gates> -  
192 <devices> -  
193 <device name="" package="MA03-2"> -  
194 <connects> -  
195 <connect gate="-1" pin="K" pad="1 2"/> -  
196 <connect gate="-2" pin="K" pad="3 4"/> -  
197 <connect gate="-3" pin="K" pad="5 6"/> -  
198 </connects> -  
199 <technologies> -  
200 <technology name=""> -  
201 <attribute name="MF" value="" constant="no"/> -  
202 <attribute name="MPN" value="" constant="no"/> -  
203 <attribute name="OC_FARNELL" value="unknown" constant="no"/> -  
204 <attribute name="OC_NEWARK" value="unknown" constant="no"/> -  
205 </technology> -  
206 </technologies> -  
207 </device> -  
208 </devices> -  
209 </deviceset> -  
210 </devicesets> -  
211 </library> -  
212 <library name="supply1"> 128 <library name="supply1">
213 <description>&lt;b&gt;Supply Symbols&lt;/b&gt;&lt;p&gt; 129 <description>&lt;b&gt;Supply Symbols&lt;/b&gt;&lt;p&gt;
214 GND, VCC, 0V, +5V, -5V, etc.&lt;p&gt; 130 GND, VCC, 0V, +5V, -5V, etc.&lt;p&gt;
215 Please keep in mind, that these devices are necessary for the 131 Please keep in mind, that these devices are necessary for the
216 automatic wiring of the supply signals.&lt;p&gt; 132 automatic wiring of the supply signals.&lt;p&gt;
Line 251... Line 167...
251 <class number="0" name="default" width="0" drill="0"> 167 <class number="0" name="default" width="0" drill="0">
252 </class> 168 </class>
253 </classes> 169 </classes>
254 <parts> 170 <parts>
255 <part name="U$1" library="TSL3301CL" deviceset="TSL3301CL" device=""/> 171 <part name="U$1" library="TSL3301CL" deviceset="TSL3301CL" device=""/>
256 <part name="SV1" library="moje_hrebinky" deviceset="MA03-2" device=""/> -  
257 <part name="GND1" library="supply1" deviceset="GND" device=""/> -  
258 <part name="GND2" library="supply1" deviceset="GND" device=""/> 172 <part name="GND2" library="supply1" deviceset="GND" device=""/>
259 <part name="SV2" library="moje_hrebinky" deviceset="MA03-2" device=""/> -  
260 </parts> 173 </parts>
261 <sheets> 174 <sheets>
262 <sheet> 175 <sheet>
263 <plain> 176 <plain>
264 <wire x1="5.08" y1="99.06" x2="5.08" y2="88.9" width="0.4064" layer="94"/> -  
265 <wire x1="5.08" y1="88.9" x2="15.24" y2="88.9" width="0.4064" layer="94"/> -  
266 <wire x1="15.24" y1="88.9" x2="15.24" y2="99.06" width="0.4064" layer="94"/> -  
267 <wire x1="15.24" y1="99.06" x2="5.08" y2="99.06" width="0.4064" layer="94"/> -  
268 <wire x1="2.54" y1="73.66" x2="2.54" y2="63.5" width="0.4064" layer="94"/> -  
269 <wire x1="2.54" y1="63.5" x2="12.7" y2="63.5" width="0.4064" layer="94"/> -  
270 <wire x1="12.7" y1="63.5" x2="12.7" y2="73.66" width="0.4064" layer="94"/> -  
271 <wire x1="12.7" y1="73.66" x2="2.54" y2="73.66" width="0.4064" layer="94"/> -  
272 </plain> 177 </plain>
273 <instances> 178 <instances>
274 <instance part="U$1" gate="G$1" x="38.1" y="71.12"/> 179 <instance part="U$1" gate="G$1" x="38.1" y="71.12"/>
275 <instance part="SV1" gate="-1" x="10.16" y="96.52" rot="R180"/> -  
276 <instance part="SV1" gate="-2" x="10.16" y="93.98" rot="R180"/> -  
277 <instance part="SV1" gate="-3" x="10.16" y="91.44" rot="R180"/> -  
278 <instance part="GND1" gate="1" x="17.78" y="78.74"/> -  
279 <instance part="GND2" gate="1" x="60.96" y="58.42"/> 180 <instance part="GND2" gate="1" x="60.96" y="58.42"/>
280 <instance part="SV2" gate="-1" x="7.62" y="71.12" rot="R180"/> -  
281 <instance part="SV2" gate="-2" x="7.62" y="68.58" rot="R180"/> -  
282 <instance part="SV2" gate="-3" x="7.62" y="66.04" rot="R180"/> -  
283 </instances> 181 </instances>
284 <busses> 182 <busses>
285 </busses> 183 </busses>
286 <nets> 184 <nets>
287 <net name="N$6" class="0"> 185 <net name="N$6" class="0">
Line 293... Line 191...
293 <pinref part="U$1" gate="G$1" pin="GND2"/> 191 <pinref part="U$1" gate="G$1" pin="GND2"/>
294 <wire x1="60.96" y1="68.58" x2="60.96" y2="60.96" width="0.1524" layer="91"/> 192 <wire x1="60.96" y1="68.58" x2="60.96" y2="60.96" width="0.1524" layer="91"/>
295 <wire x1="55.88" y1="68.58" x2="60.96" y2="68.58" width="0.1524" layer="91"/> 193 <wire x1="55.88" y1="68.58" x2="60.96" y2="68.58" width="0.1524" layer="91"/>
296 <junction x="60.96" y="68.58"/> 194 <junction x="60.96" y="68.58"/>
297 </segment> 195 </segment>
298 <segment> -  
299 <pinref part="SV1" gate="-1" pin="K"/> -  
300 <wire x1="15.24" y1="96.52" x2="17.78" y2="96.52" width="0.1524" layer="91"/> -  
301 <wire x1="17.78" y1="96.52" x2="17.78" y2="91.44" width="0.1524" layer="91"/> -  
302 <pinref part="SV1" gate="-3" pin="K"/> -  
303 <wire x1="17.78" y1="91.44" x2="15.24" y2="91.44" width="0.1524" layer="91"/> -  
304 <pinref part="GND1" gate="1" pin="GND"/> -  
305 <wire x1="17.78" y1="81.28" x2="17.78" y2="91.44" width="0.1524" layer="91"/> -  
306 <junction x="17.78" y="91.44"/> -  
307 </segment> -  
308 </net> -  
309 <net name="N$2" class="0"> -  
310 <segment> -  
311 <pinref part="SV1" gate="-2" pin="K"/> -  
312 <wire x1="15.24" y1="93.98" x2="30.48" y2="93.98" width="0.1524" layer="91"/> -  
313 <wire x1="30.48" y1="93.98" x2="30.48" y2="71.12" width="0.1524" layer="91"/> -  
314 <pinref part="U$1" gate="G$1" pin="VDD"/> -  
315 <wire x1="30.48" y1="71.12" x2="33.02" y2="71.12" width="0.1524" layer="91"/> -  
316 </segment> -  
317 </net> -  
318 <net name="N$3" class="0"> -  
319 <segment> -  
320 <pinref part="SV2" gate="-1" pin="K"/> -  
321 <wire x1="12.7" y1="71.12" x2="27.94" y2="71.12" width="0.1524" layer="91"/> -  
322 <wire x1="27.94" y1="71.12" x2="27.94" y2="73.66" width="0.1524" layer="91"/> -  
323 <pinref part="U$1" gate="G$1" pin="SCLK"/> -  
324 <wire x1="27.94" y1="73.66" x2="33.02" y2="73.66" width="0.1524" layer="91"/> -  
325 </segment> -  
326 </net> -  
327 <net name="N$4" class="0"> -  
328 <segment> -  
329 <pinref part="SV2" gate="-2" pin="K"/> -  
330 <pinref part="U$1" gate="G$1" pin="SDIN"/> -  
331 <wire x1="12.7" y1="68.58" x2="33.02" y2="68.58" width="0.1524" layer="91"/> -  
332 </segment> -  
333 </net> -  
334 <net name="N$1" class="0"> -  
335 <segment> -  
336 <pinref part="SV2" gate="-3" pin="K"/> -  
337 <pinref part="U$1" gate="G$1" pin="SDOUT"/> -  
338 <wire x1="12.7" y1="66.04" x2="33.02" y2="66.04" width="0.1524" layer="91"/> -  
339 </segment> -  
340 </net> 196 </net>
341 </nets> 197 </nets>
342 </sheet> 198 </sheet>
343 </sheets> 199 </sheets>
344 </schematic> 200 </schematic>