Rev Author Line No. Line
559 cizelu 1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE eagle SYSTEM "eagle.dtd">
3 <eagle version="6.2">
4 <drawing>
5 <settings>
6 <setting alwaysvectorfont="no"/>
7 <setting verticaltext="up"/>
8 </settings>
9 <grid distance="2.54" unitdist="mm" unit="mm" style="dots" multiple="1" display="yes" altdistance="0.01" altunitdist="inch" altunit="inch"/>
10 <layers>
11 <layer number="1" name="Top" color="4" fill="1" visible="no" active="no"/>
12 <layer number="16" name="Bottom" color="1" fill="1" visible="no" active="no"/>
13 <layer number="17" name="Pads" color="2" fill="1" visible="no" active="no"/>
14 <layer number="18" name="Vias" color="2" fill="1" visible="no" active="no"/>
15 <layer number="19" name="Unrouted" color="6" fill="1" visible="no" active="no"/>
16 <layer number="20" name="Dimension" color="15" fill="1" visible="no" active="no"/>
17 <layer number="21" name="tPlace" color="7" fill="1" visible="no" active="no"/>
18 <layer number="22" name="bPlace" color="7" fill="1" visible="no" active="no"/>
19 <layer number="23" name="tOrigins" color="13" fill="1" visible="no" active="no"/>
20 <layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="no"/>
21 <layer number="25" name="tNames" color="3" fill="1" visible="no" active="no"/>
22 <layer number="26" name="bNames" color="7" fill="1" visible="no" active="no"/>
23 <layer number="27" name="tValues" color="11" fill="1" visible="no" active="no"/>
24 <layer number="28" name="bValues" color="7" fill="1" visible="no" active="no"/>
25 <layer number="29" name="tStop" color="7" fill="3" visible="no" active="no"/>
26 <layer number="30" name="bStop" color="7" fill="6" visible="no" active="no"/>
27 <layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="no"/>
28 <layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="no"/>
29 <layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="no"/>
30 <layer number="44" name="Drills" color="7" fill="1" visible="no" active="no"/>
31 <layer number="45" name="Holes" color="10" fill="1" visible="no" active="no"/>
32 <layer number="46" name="Milling" color="3" fill="1" visible="no" active="no"/>
33 <layer number="47" name="Measures" color="7" fill="1" visible="no" active="no"/>
34 <layer number="48" name="Document" color="7" fill="1" visible="no" active="no"/>
35 <layer number="49" name="Reference" color="7" fill="1" visible="no" active="no"/>
36 <layer number="51" name="tDocu" color="14" fill="1" visible="no" active="no"/>
37 <layer number="52" name="bDocu" color="7" fill="1" visible="no" active="no"/>
38 <layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/>
39 <layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/>
40 <layer number="93" name="Pins" color="2" fill="1" visible="no" active="yes"/>
41 <layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/>
42 <layer number="95" name="Names" color="3" fill="1" visible="yes" active="yes"/>
43 <layer number="96" name="Values" color="9" fill="1" visible="yes" active="yes"/>
44 <layer number="100" name="PaJa" color="12" fill="7" visible="yes" active="yes"/>
45 <layer number="101" name="Doplnky" color="5" fill="1" visible="yes" active="yes"/>
46 <layer number="102" name="Kola" color="11" fill="7" visible="yes" active="yes"/>
47 <layer number="31" name="tCream" color="7" fill="4" visible="no" active="no"/>
48 <layer number="32" name="bCream" color="7" fill="5" visible="no" active="no"/>
49 <layer number="33" name="tFinish" color="6" fill="3" visible="no" active="no"/>
50 <layer number="34" name="bFinish" color="6" fill="6" visible="no" active="no"/>
51 <layer number="35" name="tGlue" color="7" fill="4" visible="no" active="no"/>
52 <layer number="36" name="bGlue" color="7" fill="5" visible="no" active="no"/>
53 <layer number="37" name="tTest" color="7" fill="1" visible="no" active="no"/>
54 <layer number="38" name="bTest" color="7" fill="1" visible="no" active="no"/>
55 <layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="no"/>
56 <layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="no"/>
57 <layer number="97" name="Info" color="7" fill="1" visible="no" active="no"/>
58 <layer number="98" name="Guide" color="6" fill="1" visible="no" active="no"/>
59 </layers>
60 <schematic xreflabel="%F%N/%S.%C%R" xrefpart="/%S.%C%R">
61 <libraries>
62 <library name="TSL3301CL">
63 <packages>
64 <package name="TSLXXXXCL">
65 <smd name="2" x="0" y="0" dx="1.3" dy="0.8" layer="1"/>
66 <smd name="1" x="0" y="2.2225" dx="1.3" dy="1.4" layer="1"/>
67 <smd name="3" x="0" y="-2.5" dx="1.3" dy="0.8" layer="1"/>
68 <smd name="4" x="0" y="-5" dx="1.3" dy="0.8" layer="1"/>
69 <smd name="7" x="2.1" y="0" dx="1.3" dy="0.8" layer="1"/>
70 <smd name="6" x="2.1" y="-2.5" dx="1.3" dy="0.8" layer="1"/>
71 <smd name="5" x="2.1" y="-5" dx="1.3" dy="0.8" layer="1"/>
72 <smd name="8" x="2.1" y="2.5" dx="1.3" dy="0.8" layer="1"/>
73 <wire x1="-0.3175" y1="3.175" x2="-0.3175" y2="-5.715" width="0.254" layer="21"/>
74 <wire x1="-0.3175" y1="-5.715" x2="2.4225" y2="-5.715" width="0.254" layer="21"/>
75 <wire x1="2.4225" y1="-5.715" x2="2.4225" y2="3.175" width="0.254" layer="21"/>
76 <wire x1="2.4225" y1="3.175" x2="-0.3175" y2="3.175" width="0.254" layer="21"/>
77 <text x="3.3" y="1.8" size="1.6764" layer="21">&gt;NAME</text>
78 <text x="3.3" y="-1.5" size="1.6764" layer="21">&gt;VALUE</text>
79 <wire x1="1.5875" y1="2.2225" x2="1.5875" y2="-4.7625" width="0.4064" layer="21"/>
80 <wire x1="1.5875" y1="2.2225" x2="0.635" y2="2.2225" width="0.4064" layer="21"/>
81 <wire x1="0.635" y1="2.2225" x2="0.635" y2="-4.7625" width="0.4064" layer="21"/>
82 <wire x1="0.635" y1="-4.7625" x2="1.5875" y2="-4.7625" width="0.4064" layer="21"/>
83 </package>
84 </packages>
85 <symbols>
86 <symbol name="TSL3301CL">
87 <pin name="SCLK" x="-5.08" y="2.54" visible="pin" length="short" direction="pas"/>
88 <pin name="VDD" x="-5.08" y="0" visible="pin" length="short" direction="pas"/>
89 <pin name="SDIN" x="-5.08" y="-2.54" visible="pin" length="short" direction="pas"/>
90 <pin name="SDOUT" x="-5.08" y="-5.08" visible="pin" length="short" direction="pas"/>
91 <pin name="NC1" x="17.78" y="2.54" visible="pin" length="short" direction="pas" rot="R180"/>
92 <pin name="GND1" x="17.78" y="0" visible="pin" length="short" direction="pas" rot="R180"/>
93 <pin name="GND2" x="17.78" y="-2.54" visible="pin" length="short" direction="pas" rot="R180"/>
94 <pin name="NC2" x="17.78" y="-5.08" visible="pin" length="short" direction="pas" rot="R180"/>
95 <wire x1="-2.54" y1="-7.62" x2="-2.54" y2="5.08" width="0.4064" layer="94"/>
96 <wire x1="-2.54" y1="5.08" x2="15.24" y2="5.08" width="0.4064" layer="94"/>
97 <wire x1="15.24" y1="5.08" x2="15.24" y2="-7.62" width="0.4064" layer="94"/>
98 <wire x1="15.24" y1="-7.62" x2="-2.54" y2="-7.62" width="0.4064" layer="94"/>
99 <text x="2.54" y="7.62" size="1.6764" layer="95">&gt;NAME</text>
100 <text x="2.54" y="10.16" size="1.6764" layer="96">&gt;VALUE</text>
101 </symbol>
102 </symbols>
103 <devicesets>
104 <deviceset name="TSL3301CL">
105 <gates>
106 <gate name="G$1" symbol="TSL3301CL" x="2.54" y="-5.08"/>
107 </gates>
108 <devices>
109 <device name="" package="TSLXXXXCL">
110 <connects>
111 <connect gate="G$1" pin="GND1" pad="7"/>
112 <connect gate="G$1" pin="GND2" pad="6"/>
113 <connect gate="G$1" pin="NC1" pad="8"/>
114 <connect gate="G$1" pin="NC2" pad="5"/>
115 <connect gate="G$1" pin="SCLK" pad="1"/>
116 <connect gate="G$1" pin="SDIN" pad="3"/>
117 <connect gate="G$1" pin="SDOUT" pad="4"/>
118 <connect gate="G$1" pin="VDD" pad="2"/>
119 </connects>
120 <technologies>
121 <technology name=""/>
122 </technologies>
123 </device>
124 </devices>
125 </deviceset>
126 </devicesets>
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">
213 <description>&lt;b&gt;Supply Symbols&lt;/b&gt;&lt;p&gt;
214 GND, VCC, 0V, +5V, -5V, etc.&lt;p&gt;
215 Please keep in mind, that these devices are necessary for the
216 automatic wiring of the supply signals.&lt;p&gt;
217 The pin name defined in the symbol is identical to the net which is to be wired automatically.&lt;p&gt;
218 In this library the device names are the same as the pin names of the symbols, therefore the correct signal names appear next to the supply symbols in the schematic.&lt;p&gt;
219 &lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
220 <packages>
221 </packages>
222 <symbols>
223 <symbol name="GND">
224 <wire x1="-1.905" y1="0" x2="1.905" y2="0" width="0.254" layer="94"/>
225 <text x="-2.54" y="-2.54" size="1.778" layer="96">&gt;VALUE</text>
226 <pin name="GND" x="0" y="2.54" visible="off" length="short" direction="sup" rot="R270"/>
227 </symbol>
228 </symbols>
229 <devicesets>
230 <deviceset name="GND" prefix="GND">
231 <description>&lt;b&gt;SUPPLY SYMBOL&lt;/b&gt;</description>
232 <gates>
233 <gate name="1" symbol="GND" x="0" y="0"/>
234 </gates>
235 <devices>
236 <device name="">
237 <technologies>
238 <technology name=""/>
239 </technologies>
240 </device>
241 </devices>
242 </deviceset>
243 </devicesets>
244 </library>
245 </libraries>
246 <attributes>
247 </attributes>
248 <variantdefs>
249 </variantdefs>
250 <classes>
251 <class number="0" name="default" width="0" drill="0">
252 </class>
253 </classes>
254 <parts>
255 <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=""/>
259 <part name="SV2" library="moje_hrebinky" deviceset="MA03-2" device=""/>
260 </parts>
261 <sheets>
262 <sheet>
263 <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>
273 <instances>
274 <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"/>
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>
284 <busses>
285 </busses>
286 <nets>
287 <net name="N$6" class="0">
288 <segment>
289 <pinref part="U$1" gate="G$1" pin="GND1"/>
290 <pinref part="GND2" gate="1" pin="GND"/>
291 <wire x1="55.88" y1="71.12" x2="60.96" y2="71.12" width="0.1524" layer="91"/>
292 <wire x1="60.96" y1="71.12" x2="60.96" y2="68.58" width="0.1524" layer="91"/>
293 <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"/>
295 <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"/>
297 </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>
341 </nets>
342 </sheet>
343 </sheets>
344 </schematic>
345 </drawing>
346 </eagle>