eaglecad 0 → 1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/Gemfile +5 -1
  2. data/README.markdown +29 -0
  3. data/Rakefile +9 -0
  4. data/eaglecad.gemspec +4 -2
  5. data/lib/eaglecad.rb +15 -1
  6. data/lib/eaglecad/attribute.rb +47 -0
  7. data/lib/eaglecad/board.rb +184 -0
  8. data/lib/eaglecad/clearance.rb +31 -0
  9. data/lib/eaglecad/design_rules.rb +38 -0
  10. data/lib/eaglecad/deviceset.rb +113 -0
  11. data/lib/eaglecad/drawing.rb +124 -0
  12. data/lib/eaglecad/geometry.rb +259 -0
  13. data/lib/eaglecad/layer.rb +40 -0
  14. data/lib/eaglecad/library.rb +73 -0
  15. data/lib/eaglecad/package.rb +74 -0
  16. data/lib/eaglecad/part.rb +29 -0
  17. data/lib/eaglecad/schematic.rb +83 -0
  18. data/lib/eaglecad/sheet.rb +256 -0
  19. data/lib/eaglecad/symbol.rb +73 -0
  20. data/test/eaglecad.rb +12 -0
  21. data/test/eaglecad/board.rb +68 -0
  22. data/test/eaglecad/design_rules.rb +38 -0
  23. data/test/eaglecad/deviceset.rb +52 -0
  24. data/test/eaglecad/drawing.rb +94 -0
  25. data/test/eaglecad/library.rb +47 -0
  26. data/test/eaglecad/package.rb +60 -0
  27. data/test/eaglecad/schematic.rb +50 -0
  28. data/test/eaglecad/sheet.rb +24 -0
  29. data/test/eaglecad/symbol.rb +41 -0
  30. data/test/fixtures/board.xml +859 -0
  31. data/test/fixtures/demo1.sch +10932 -0
  32. data/test/fixtures/design_rules.xml +70 -0
  33. data/test/fixtures/deviceset.xml +683 -0
  34. data/test/fixtures/drawing_board.xml +910 -0
  35. data/test/fixtures/drawing_schematic.xml +10928 -0
  36. data/test/fixtures/hexapodu.brd +1863 -0
  37. data/test/fixtures/library.xml +175 -0
  38. data/test/fixtures/package.xml +28 -0
  39. data/test/fixtures/schematic.xml +10861 -0
  40. data/test/fixtures/sheet.xml +318 -0
  41. data/test/fixtures/symbol.xml +11 -0
  42. metadata +79 -5
  43. data/README.md +0 -29
@@ -0,0 +1,910 @@
1
+ <drawing>
2
+ <settings>
3
+ <setting alwaysvectorfont="yes"/>
4
+ <setting verticaltext="up"/>
5
+ </settings>
6
+ <grid distance="0.05" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.05" altunitdist="inch" altunit="inch"/>
7
+ <layers>
8
+ <layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
9
+ <layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="yes"/>
10
+ <layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/>
11
+ <layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/>
12
+ <layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/>
13
+ <layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="yes"/>
14
+ <layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
15
+ <layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/>
16
+ <layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="yes"/>
17
+ <layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/>
18
+ <layer number="25" name="tNames" color="7" fill="1" visible="yes" active="yes"/>
19
+ <layer number="26" name="bNames" color="7" fill="1" visible="yes" active="yes"/>
20
+ <layer number="27" name="tValues" color="7" fill="1" visible="yes" active="yes"/>
21
+ <layer number="28" name="bValues" color="7" fill="1" visible="yes" active="yes"/>
22
+ <layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/>
23
+ <layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/>
24
+ <layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/>
25
+ <layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/>
26
+ <layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/>
27
+ <layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/>
28
+ <layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/>
29
+ <layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/>
30
+ <layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/>
31
+ <layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/>
32
+ <layer number="39" name="tKeepout" color="4" fill="11" visible="yes" active="yes"/>
33
+ <layer number="40" name="bKeepout" color="1" fill="11" visible="yes" active="yes"/>
34
+ <layer number="41" name="tRestrict" color="4" fill="10" visible="yes" active="yes"/>
35
+ <layer number="42" name="bRestrict" color="1" fill="10" visible="yes" active="yes"/>
36
+ <layer number="43" name="vRestrict" color="2" fill="10" visible="yes" active="yes"/>
37
+ <layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/>
38
+ <layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/>
39
+ <layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/>
40
+ <layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/>
41
+ <layer number="48" name="Document" color="7" fill="1" visible="yes" active="yes"/>
42
+ <layer number="49" name="Reference" color="7" fill="1" visible="yes" active="yes"/>
43
+ <layer number="51" name="tDocu" color="7" fill="1" visible="yes" active="yes"/>
44
+ <layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="yes"/>
45
+ <layer number="91" name="Nets" color="2" fill="1" visible="no" active="no"/>
46
+ <layer number="92" name="Busses" color="1" fill="1" visible="no" active="no"/>
47
+ <layer number="93" name="Pins" color="2" fill="1" visible="no" active="no"/>
48
+ <layer number="94" name="Symbols" color="4" fill="1" visible="no" active="no"/>
49
+ <layer number="95" name="Names" color="7" fill="1" visible="no" active="no"/>
50
+ <layer number="96" name="Values" color="7" fill="1" visible="no" active="no"/>
51
+ </layers>
52
+ <board>
53
+ <plain>
54
+ <wire x1="-0.47" y1="-0.63" x2="45.555" y2="-0.63" width="0" layer="20"/>
55
+ <wire x1="45.555" y1="-0.63" x2="45.555" y2="25.395" width="0" layer="20"/>
56
+ <wire x1="45.555" y1="25.395" x2="-0.47" y2="25.395" width="0" layer="20"/>
57
+ <wire x1="-0.47" y1="25.395" x2="-0.47" y2="-0.63" width="0" layer="20"/>
58
+ </plain>
59
+ <libraries>
60
+ <library name="special">
61
+ <packages>
62
+ <package name="QS">
63
+ <description>&lt;B&gt;CRYSTAL&lt;/B&gt;</description>
64
+ <wire x1="-3.429" y1="-2.286" x2="3.429" y2="-2.286" width="0.1524" layer="21"/>
65
+ <wire x1="3.429" y1="2.286" x2="-3.429" y2="2.286" width="0.1524" layer="21"/>
66
+ <wire x1="-3.429" y1="-1.778" x2="3.429" y2="-1.778" width="0.0508" layer="21"/>
67
+ <wire x1="3.429" y1="1.778" x2="-3.429" y2="1.778" width="0.0508" layer="21"/>
68
+ <wire x1="3.429" y1="1.778" x2="3.429" y2="-1.778" width="0.0508" layer="21" curve="-180"/>
69
+ <wire x1="3.429" y1="2.286" x2="3.429" y2="-2.286" width="0.1524" layer="21" curve="-180"/>
70
+ <wire x1="-3.429" y1="2.286" x2="-3.429" y2="-2.286" width="0.1524" layer="21" curve="180"/>
71
+ <wire x1="-3.429" y1="1.778" x2="-3.429" y2="-1.778" width="0.0508" layer="21" curve="180"/>
72
+ <pad name="1" x="-2.54" y="0" drill="0.6096" shape="long" rot="R90"/>
73
+ <pad name="2" x="2.54" y="0" drill="0.6096" shape="long" rot="R90"/>
74
+ <text x="-5.08" y="-3.937" size="1.27" layer="27" ratio="10">&gt;VALUE</text>
75
+ <text x="-5.08" y="2.667" size="1.27" layer="25" ratio="10">&gt;NAME</text>
76
+ </package>
77
+ </packages>
78
+ </library>
79
+ <library name="rcl">
80
+ <packages>
81
+ <package name="C1206">
82
+ <description>&lt;b&gt;CAPACITOR&lt;/b&gt;&lt;p&gt;
83
+ chip</description>
84
+ <wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/>
85
+ <wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/>
86
+ <wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/>
87
+ <wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/>
88
+ <wire x1="-0.965" y1="0.787" x2="0.965" y2="0.787" width="0.1016" layer="51"/>
89
+ <wire x1="-0.965" y1="-0.787" x2="0.965" y2="-0.787" width="0.1016" layer="51"/>
90
+ <smd name="1" x="-1.4" y="0" dx="1.6" dy="1.8" layer="1"/>
91
+ <smd name="2" x="1.4" y="0" dx="1.6" dy="1.8" layer="1"/>
92
+ <text x="-1.27" y="1.143" size="1.27" layer="25">&gt;NAME</text>
93
+ <text x="-1.27" y="-2.413" size="1.27" layer="27">&gt;VALUE</text>
94
+ <rectangle x1="-1.7018" y1="-0.8509" x2="-0.9517" y2="0.8491" layer="51"/>
95
+ <rectangle x1="0.9517" y1="-0.8491" x2="1.7018" y2="0.8509" layer="51"/>
96
+ <rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/>
97
+ </package>
98
+ <package name="C025-025X050">
99
+ <description>&lt;b&gt;CAPACITOR&lt;/b&gt;&lt;p&gt;
100
+ grid 2.5 mm, outline 2.5 x 5 mm</description>
101
+ <wire x1="-2.159" y1="1.27" x2="2.159" y2="1.27" width="0.1524" layer="21"/>
102
+ <wire x1="2.159" y1="-1.27" x2="-2.159" y2="-1.27" width="0.1524" layer="21"/>
103
+ <wire x1="2.413" y1="1.016" x2="2.413" y2="-1.016" width="0.1524" layer="21"/>
104
+ <wire x1="-2.413" y1="1.016" x2="-2.413" y2="-1.016" width="0.1524" layer="21"/>
105
+ <wire x1="2.159" y1="1.27" x2="2.413" y2="1.016" width="0.1524" layer="21" curve="-90"/>
106
+ <wire x1="-2.413" y1="1.016" x2="-2.159" y2="1.27" width="0.1524" layer="21" curve="-90"/>
107
+ <wire x1="2.159" y1="-1.27" x2="2.413" y2="-1.016" width="0.1524" layer="21" curve="90"/>
108
+ <wire x1="-2.413" y1="-1.016" x2="-2.159" y2="-1.27" width="0.1524" layer="21" curve="90"/>
109
+ <wire x1="0.762" y1="0" x2="0.381" y2="0" width="0.1524" layer="51"/>
110
+ <wire x1="0.381" y1="0" x2="0.254" y2="0" width="0.1524" layer="21"/>
111
+ <wire x1="0.254" y1="0" x2="0.254" y2="0.762" width="0.254" layer="21"/>
112
+ <wire x1="0.254" y1="0" x2="0.254" y2="-0.762" width="0.254" layer="21"/>
113
+ <wire x1="-0.254" y1="0.762" x2="-0.254" y2="0" width="0.254" layer="21"/>
114
+ <wire x1="-0.254" y1="0" x2="-0.254" y2="-0.762" width="0.254" layer="21"/>
115
+ <wire x1="-0.254" y1="0" x2="-0.381" y2="0" width="0.1524" layer="21"/>
116
+ <wire x1="-0.381" y1="0" x2="-0.762" y2="0" width="0.1524" layer="51"/>
117
+ <pad name="1" x="-1.27" y="0" drill="0.8128" shape="octagon"/>
118
+ <pad name="2" x="1.27" y="0" drill="0.8128" shape="octagon"/>
119
+ <text x="-2.286" y="1.524" size="1.27" layer="25" ratio="10">&gt;NAME</text>
120
+ <text x="-2.286" y="-2.794" size="1.27" layer="27" ratio="10">&gt;VALUE</text>
121
+ </package>
122
+ <package name="TAP5-45">
123
+ <description>&lt;b&gt;ELECTROLYTIC CAPACITOR&lt;/b&gt;&lt;p&gt;
124
+ diameter 4.5 mm, grid 5.08 mm</description>
125
+ <wire x1="-1.397" y1="0" x2="-0.508" y2="0" width="0.1524" layer="21"/>
126
+ <wire x1="-0.508" y1="0" x2="-0.508" y2="-0.635" width="0.1524" layer="21"/>
127
+ <wire x1="-0.508" y1="-0.635" x2="-0.1778" y2="-0.635" width="0.1524" layer="21"/>
128
+ <wire x1="-0.1778" y1="-0.635" x2="-0.1778" y2="0.635" width="0.1524" layer="21"/>
129
+ <wire x1="-0.1778" y1="0.635" x2="-0.508" y2="0.635" width="0.1524" layer="21"/>
130
+ <wire x1="-0.508" y1="0.635" x2="-0.508" y2="0" width="0.1524" layer="21"/>
131
+ <wire x1="0.508" y1="0" x2="1.397" y2="0" width="0.1524" layer="21"/>
132
+ <wire x1="-1.143" y1="0.381" x2="-1.143" y2="0.889" width="0.1524" layer="21"/>
133
+ <wire x1="-0.889" y1="0.635" x2="-1.397" y2="0.635" width="0.1524" layer="21"/>
134
+ <wire x1="0.1778" y1="0.635" x2="0.1778" y2="-0.635" width="0.1524" layer="21"/>
135
+ <wire x1="0.508" y1="0.635" x2="0.1778" y2="0.635" width="0.1524" layer="21"/>
136
+ <wire x1="0.1778" y1="-0.635" x2="0.508" y2="-0.635" width="0.1524" layer="21"/>
137
+ <wire x1="0.508" y1="-0.635" x2="0.508" y2="0" width="0.1524" layer="21"/>
138
+ <wire x1="0.508" y1="0" x2="0.508" y2="0.635" width="0.1524" layer="21"/>
139
+ <wire x1="0.3302" y1="-0.508" x2="0.3302" y2="0.508" width="0.1524" layer="21"/>
140
+ <wire x1="-1.9144" y1="-1.2492" x2="1.9144" y2="-1.2492" width="0.1524" layer="21" curve="113.748837" cap="flat"/>
141
+ <wire x1="-1.9144" y1="1.2492" x2="1.9144" y2="1.2492" width="0.1524" layer="21" curve="-113.748837" cap="flat"/>
142
+ <wire x1="-1.9144" y1="1.2492" x2="-1.9144" y2="-1.2492" width="0.1524" layer="51" curve="66.251163" cap="flat"/>
143
+ <wire x1="1.9144" y1="-1.2492" x2="1.9144" y2="1.2492" width="0.1524" layer="51" curve="66.251163" cap="flat"/>
144
+ <pad name="-" x="2.54" y="0" drill="0.8128" shape="octagon"/>
145
+ <pad name="+" x="-2.54" y="0" drill="0.8128"/>
146
+ <text x="2.286" y="1.016" size="1.27" layer="25" ratio="10">&gt;NAME</text>
147
+ <text x="2.286" y="-2.286" size="1.27" layer="27" ratio="10">&gt;VALUE</text>
148
+ <text x="-0.889" y="-1.905" size="0.9906" layer="21" ratio="12">TT</text>
149
+ </package>
150
+ <package name="R1206">
151
+ <description>&lt;b&gt;RESISTOR&lt;/b&gt;&lt;p&gt;
152
+ chip</description>
153
+ <wire x1="-0.9525" y1="0.8128" x2="0.9652" y2="0.8128" width="0.1524" layer="51"/>
154
+ <wire x1="-0.9525" y1="-0.8128" x2="0.9652" y2="-0.8128" width="0.1524" layer="51"/>
155
+ <wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/>
156
+ <wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/>
157
+ <wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/>
158
+ <wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/>
159
+ <smd name="1" x="-1.422" y="0" dx="1.6" dy="1.803" layer="1"/>
160
+ <smd name="2" x="1.422" y="0" dx="1.6" dy="1.803" layer="1"/>
161
+ <text x="-2.667" y="-2.667" size="1.27" layer="25">&gt;NAME</text>
162
+ <text x="-2.667" y="1.397" size="1.27" layer="27">&gt;VALUE</text>
163
+ <rectangle x1="0.9525" y1="-0.8763" x2="1.6891" y2="0.8763" layer="51"/>
164
+ <rectangle x1="-1.6891" y1="-0.8763" x2="-0.9525" y2="0.8763" layer="51"/>
165
+ <rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/>
166
+ </package>
167
+ </packages>
168
+ </library>
169
+ <library name="PINHEAD">
170
+ <packages>
171
+ <package name="1X04">
172
+ <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
173
+ <wire x1="0" y1="0.635" x2="0.635" y2="1.27" width="0.1524" layer="21"/>
174
+ <wire x1="0.635" y1="1.27" x2="1.905" y2="1.27" width="0.1524" layer="21"/>
175
+ <wire x1="1.905" y1="1.27" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
176
+ <wire x1="2.54" y1="0.635" x2="2.54" y2="-0.635" width="0.1524" layer="21"/>
177
+ <wire x1="2.54" y1="-0.635" x2="1.905" y2="-1.27" width="0.1524" layer="21"/>
178
+ <wire x1="1.905" y1="-1.27" x2="0.635" y2="-1.27" width="0.1524" layer="21"/>
179
+ <wire x1="0.635" y1="-1.27" x2="0" y2="-0.635" width="0.1524" layer="21"/>
180
+ <wire x1="-4.445" y1="1.27" x2="-3.175" y2="1.27" width="0.1524" layer="21"/>
181
+ <wire x1="-3.175" y1="1.27" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
182
+ <wire x1="-2.54" y1="0.635" x2="-2.54" y2="-0.635" width="0.1524" layer="21"/>
183
+ <wire x1="-2.54" y1="-0.635" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/>
184
+ <wire x1="-2.54" y1="0.635" x2="-1.905" y2="1.27" width="0.1524" layer="21"/>
185
+ <wire x1="-1.905" y1="1.27" x2="-0.635" y2="1.27" width="0.1524" layer="21"/>
186
+ <wire x1="-0.635" y1="1.27" x2="0" y2="0.635" width="0.1524" layer="21"/>
187
+ <wire x1="0" y1="0.635" x2="0" y2="-0.635" width="0.1524" layer="21"/>
188
+ <wire x1="0" y1="-0.635" x2="-0.635" y2="-1.27" width="0.1524" layer="21"/>
189
+ <wire x1="-0.635" y1="-1.27" x2="-1.905" y2="-1.27" width="0.1524" layer="21"/>
190
+ <wire x1="-1.905" y1="-1.27" x2="-2.54" y2="-0.635" width="0.1524" layer="21"/>
191
+ <wire x1="-5.08" y1="0.635" x2="-5.08" y2="-0.635" width="0.1524" layer="21"/>
192
+ <wire x1="-4.445" y1="1.27" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
193
+ <wire x1="-5.08" y1="-0.635" x2="-4.445" y2="-1.27" width="0.1524" layer="21"/>
194
+ <wire x1="-3.175" y1="-1.27" x2="-4.445" y2="-1.27" width="0.1524" layer="21"/>
195
+ <wire x1="3.175" y1="1.27" x2="4.445" y2="1.27" width="0.1524" layer="21"/>
196
+ <wire x1="4.445" y1="1.27" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
197
+ <wire x1="5.08" y1="0.635" x2="5.08" y2="-0.635" width="0.1524" layer="21"/>
198
+ <wire x1="5.08" y1="-0.635" x2="4.445" y2="-1.27" width="0.1524" layer="21"/>
199
+ <wire x1="3.175" y1="1.27" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
200
+ <wire x1="2.54" y1="-0.635" x2="3.175" y2="-1.27" width="0.1524" layer="21"/>
201
+ <wire x1="4.445" y1="-1.27" x2="3.175" y2="-1.27" width="0.1524" layer="21"/>
202
+ <pad name="1" x="-3.81" y="0" drill="1.016" shape="long" rot="R90"/>
203
+ <pad name="2" x="-1.27" y="0" drill="1.016" shape="long" rot="R90"/>
204
+ <pad name="3" x="1.27" y="0" drill="1.016" shape="long" rot="R90"/>
205
+ <pad name="4" x="3.81" y="0" drill="1.016" shape="long" rot="R90"/>
206
+ <text x="-5.1562" y="1.8288" size="1.27" layer="25" ratio="10">&gt;NAME</text>
207
+ <text x="-5.08" y="-3.175" size="1.27" layer="27">&gt;VALUE</text>
208
+ <rectangle x1="1.016" y1="-0.254" x2="1.524" y2="0.254" layer="51"/>
209
+ <rectangle x1="-1.524" y1="-0.254" x2="-1.016" y2="0.254" layer="51"/>
210
+ <rectangle x1="-4.064" y1="-0.254" x2="-3.556" y2="0.254" layer="51"/>
211
+ <rectangle x1="3.556" y1="-0.254" x2="4.064" y2="0.254" layer="51"/>
212
+ </package>
213
+ <package name="1X17">
214
+ <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
215
+ <wire x1="17.145" y1="1.27" x2="18.415" y2="1.27" width="0.1524" layer="21"/>
216
+ <wire x1="18.415" y1="1.27" x2="19.05" y2="0.635" width="0.1524" layer="21"/>
217
+ <wire x1="19.05" y1="0.635" x2="19.05" y2="-0.635" width="0.1524" layer="21"/>
218
+ <wire x1="19.05" y1="-0.635" x2="18.415" y2="-1.27" width="0.1524" layer="21"/>
219
+ <wire x1="13.97" y1="0.635" x2="14.605" y2="1.27" width="0.1524" layer="21"/>
220
+ <wire x1="14.605" y1="1.27" x2="15.875" y2="1.27" width="0.1524" layer="21"/>
221
+ <wire x1="15.875" y1="1.27" x2="16.51" y2="0.635" width="0.1524" layer="21"/>
222
+ <wire x1="16.51" y1="0.635" x2="16.51" y2="-0.635" width="0.1524" layer="21"/>
223
+ <wire x1="16.51" y1="-0.635" x2="15.875" y2="-1.27" width="0.1524" layer="21"/>
224
+ <wire x1="15.875" y1="-1.27" x2="14.605" y2="-1.27" width="0.1524" layer="21"/>
225
+ <wire x1="14.605" y1="-1.27" x2="13.97" y2="-0.635" width="0.1524" layer="21"/>
226
+ <wire x1="17.145" y1="1.27" x2="16.51" y2="0.635" width="0.1524" layer="21"/>
227
+ <wire x1="16.51" y1="-0.635" x2="17.145" y2="-1.27" width="0.1524" layer="21"/>
228
+ <wire x1="18.415" y1="-1.27" x2="17.145" y2="-1.27" width="0.1524" layer="21"/>
229
+ <wire x1="9.525" y1="1.27" x2="10.795" y2="1.27" width="0.1524" layer="21"/>
230
+ <wire x1="10.795" y1="1.27" x2="11.43" y2="0.635" width="0.1524" layer="21"/>
231
+ <wire x1="11.43" y1="0.635" x2="11.43" y2="-0.635" width="0.1524" layer="21"/>
232
+ <wire x1="11.43" y1="-0.635" x2="10.795" y2="-1.27" width="0.1524" layer="21"/>
233
+ <wire x1="11.43" y1="0.635" x2="12.065" y2="1.27" width="0.1524" layer="21"/>
234
+ <wire x1="12.065" y1="1.27" x2="13.335" y2="1.27" width="0.1524" layer="21"/>
235
+ <wire x1="13.335" y1="1.27" x2="13.97" y2="0.635" width="0.1524" layer="21"/>
236
+ <wire x1="13.97" y1="0.635" x2="13.97" y2="-0.635" width="0.1524" layer="21"/>
237
+ <wire x1="13.97" y1="-0.635" x2="13.335" y2="-1.27" width="0.1524" layer="21"/>
238
+ <wire x1="13.335" y1="-1.27" x2="12.065" y2="-1.27" width="0.1524" layer="21"/>
239
+ <wire x1="12.065" y1="-1.27" x2="11.43" y2="-0.635" width="0.1524" layer="21"/>
240
+ <wire x1="6.35" y1="0.635" x2="6.985" y2="1.27" width="0.1524" layer="21"/>
241
+ <wire x1="6.985" y1="1.27" x2="8.255" y2="1.27" width="0.1524" layer="21"/>
242
+ <wire x1="8.255" y1="1.27" x2="8.89" y2="0.635" width="0.1524" layer="21"/>
243
+ <wire x1="8.89" y1="0.635" x2="8.89" y2="-0.635" width="0.1524" layer="21"/>
244
+ <wire x1="8.89" y1="-0.635" x2="8.255" y2="-1.27" width="0.1524" layer="21"/>
245
+ <wire x1="8.255" y1="-1.27" x2="6.985" y2="-1.27" width="0.1524" layer="21"/>
246
+ <wire x1="6.985" y1="-1.27" x2="6.35" y2="-0.635" width="0.1524" layer="21"/>
247
+ <wire x1="9.525" y1="1.27" x2="8.89" y2="0.635" width="0.1524" layer="21"/>
248
+ <wire x1="8.89" y1="-0.635" x2="9.525" y2="-1.27" width="0.1524" layer="21"/>
249
+ <wire x1="10.795" y1="-1.27" x2="9.525" y2="-1.27" width="0.1524" layer="21"/>
250
+ <wire x1="1.905" y1="1.27" x2="3.175" y2="1.27" width="0.1524" layer="21"/>
251
+ <wire x1="3.175" y1="1.27" x2="3.81" y2="0.635" width="0.1524" layer="21"/>
252
+ <wire x1="3.81" y1="0.635" x2="3.81" y2="-0.635" width="0.1524" layer="21"/>
253
+ <wire x1="3.81" y1="-0.635" x2="3.175" y2="-1.27" width="0.1524" layer="21"/>
254
+ <wire x1="3.81" y1="0.635" x2="4.445" y2="1.27" width="0.1524" layer="21"/>
255
+ <wire x1="4.445" y1="1.27" x2="5.715" y2="1.27" width="0.1524" layer="21"/>
256
+ <wire x1="5.715" y1="1.27" x2="6.35" y2="0.635" width="0.1524" layer="21"/>
257
+ <wire x1="6.35" y1="0.635" x2="6.35" y2="-0.635" width="0.1524" layer="21"/>
258
+ <wire x1="6.35" y1="-0.635" x2="5.715" y2="-1.27" width="0.1524" layer="21"/>
259
+ <wire x1="5.715" y1="-1.27" x2="4.445" y2="-1.27" width="0.1524" layer="21"/>
260
+ <wire x1="4.445" y1="-1.27" x2="3.81" y2="-0.635" width="0.1524" layer="21"/>
261
+ <wire x1="-1.27" y1="0.635" x2="-0.635" y2="1.27" width="0.1524" layer="21"/>
262
+ <wire x1="-0.635" y1="1.27" x2="0.635" y2="1.27" width="0.1524" layer="21"/>
263
+ <wire x1="0.635" y1="1.27" x2="1.27" y2="0.635" width="0.1524" layer="21"/>
264
+ <wire x1="1.27" y1="0.635" x2="1.27" y2="-0.635" width="0.1524" layer="21"/>
265
+ <wire x1="1.27" y1="-0.635" x2="0.635" y2="-1.27" width="0.1524" layer="21"/>
266
+ <wire x1="0.635" y1="-1.27" x2="-0.635" y2="-1.27" width="0.1524" layer="21"/>
267
+ <wire x1="-0.635" y1="-1.27" x2="-1.27" y2="-0.635" width="0.1524" layer="21"/>
268
+ <wire x1="1.905" y1="1.27" x2="1.27" y2="0.635" width="0.1524" layer="21"/>
269
+ <wire x1="1.27" y1="-0.635" x2="1.905" y2="-1.27" width="0.1524" layer="21"/>
270
+ <wire x1="3.175" y1="-1.27" x2="1.905" y2="-1.27" width="0.1524" layer="21"/>
271
+ <wire x1="-5.715" y1="1.27" x2="-4.445" y2="1.27" width="0.1524" layer="21"/>
272
+ <wire x1="-4.445" y1="1.27" x2="-3.81" y2="0.635" width="0.1524" layer="21"/>
273
+ <wire x1="-3.81" y1="0.635" x2="-3.81" y2="-0.635" width="0.1524" layer="21"/>
274
+ <wire x1="-3.81" y1="-0.635" x2="-4.445" y2="-1.27" width="0.1524" layer="21"/>
275
+ <wire x1="-3.81" y1="0.635" x2="-3.175" y2="1.27" width="0.1524" layer="21"/>
276
+ <wire x1="-3.175" y1="1.27" x2="-1.905" y2="1.27" width="0.1524" layer="21"/>
277
+ <wire x1="-1.905" y1="1.27" x2="-1.27" y2="0.635" width="0.1524" layer="21"/>
278
+ <wire x1="-1.27" y1="0.635" x2="-1.27" y2="-0.635" width="0.1524" layer="21"/>
279
+ <wire x1="-1.27" y1="-0.635" x2="-1.905" y2="-1.27" width="0.1524" layer="21"/>
280
+ <wire x1="-1.905" y1="-1.27" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/>
281
+ <wire x1="-3.175" y1="-1.27" x2="-3.81" y2="-0.635" width="0.1524" layer="21"/>
282
+ <wire x1="-8.89" y1="0.635" x2="-8.255" y2="1.27" width="0.1524" layer="21"/>
283
+ <wire x1="-8.255" y1="1.27" x2="-6.985" y2="1.27" width="0.1524" layer="21"/>
284
+ <wire x1="-6.985" y1="1.27" x2="-6.35" y2="0.635" width="0.1524" layer="21"/>
285
+ <wire x1="-6.35" y1="0.635" x2="-6.35" y2="-0.635" width="0.1524" layer="21"/>
286
+ <wire x1="-6.35" y1="-0.635" x2="-6.985" y2="-1.27" width="0.1524" layer="21"/>
287
+ <wire x1="-6.985" y1="-1.27" x2="-8.255" y2="-1.27" width="0.1524" layer="21"/>
288
+ <wire x1="-8.255" y1="-1.27" x2="-8.89" y2="-0.635" width="0.1524" layer="21"/>
289
+ <wire x1="-5.715" y1="1.27" x2="-6.35" y2="0.635" width="0.1524" layer="21"/>
290
+ <wire x1="-6.35" y1="-0.635" x2="-5.715" y2="-1.27" width="0.1524" layer="21"/>
291
+ <wire x1="-4.445" y1="-1.27" x2="-5.715" y2="-1.27" width="0.1524" layer="21"/>
292
+ <wire x1="-13.335" y1="1.27" x2="-12.065" y2="1.27" width="0.1524" layer="21"/>
293
+ <wire x1="-12.065" y1="1.27" x2="-11.43" y2="0.635" width="0.1524" layer="21"/>
294
+ <wire x1="-11.43" y1="0.635" x2="-11.43" y2="-0.635" width="0.1524" layer="21"/>
295
+ <wire x1="-11.43" y1="-0.635" x2="-12.065" y2="-1.27" width="0.1524" layer="21"/>
296
+ <wire x1="-11.43" y1="0.635" x2="-10.795" y2="1.27" width="0.1524" layer="21"/>
297
+ <wire x1="-10.795" y1="1.27" x2="-9.525" y2="1.27" width="0.1524" layer="21"/>
298
+ <wire x1="-9.525" y1="1.27" x2="-8.89" y2="0.635" width="0.1524" layer="21"/>
299
+ <wire x1="-8.89" y1="0.635" x2="-8.89" y2="-0.635" width="0.1524" layer="21"/>
300
+ <wire x1="-8.89" y1="-0.635" x2="-9.525" y2="-1.27" width="0.1524" layer="21"/>
301
+ <wire x1="-9.525" y1="-1.27" x2="-10.795" y2="-1.27" width="0.1524" layer="21"/>
302
+ <wire x1="-10.795" y1="-1.27" x2="-11.43" y2="-0.635" width="0.1524" layer="21"/>
303
+ <wire x1="-16.51" y1="0.635" x2="-15.875" y2="1.27" width="0.1524" layer="21"/>
304
+ <wire x1="-15.875" y1="1.27" x2="-14.605" y2="1.27" width="0.1524" layer="21"/>
305
+ <wire x1="-14.605" y1="1.27" x2="-13.97" y2="0.635" width="0.1524" layer="21"/>
306
+ <wire x1="-13.97" y1="0.635" x2="-13.97" y2="-0.635" width="0.1524" layer="21"/>
307
+ <wire x1="-13.97" y1="-0.635" x2="-14.605" y2="-1.27" width="0.1524" layer="21"/>
308
+ <wire x1="-14.605" y1="-1.27" x2="-15.875" y2="-1.27" width="0.1524" layer="21"/>
309
+ <wire x1="-15.875" y1="-1.27" x2="-16.51" y2="-0.635" width="0.1524" layer="21"/>
310
+ <wire x1="-13.335" y1="1.27" x2="-13.97" y2="0.635" width="0.1524" layer="21"/>
311
+ <wire x1="-13.97" y1="-0.635" x2="-13.335" y2="-1.27" width="0.1524" layer="21"/>
312
+ <wire x1="-12.065" y1="-1.27" x2="-13.335" y2="-1.27" width="0.1524" layer="21"/>
313
+ <wire x1="-20.955" y1="1.27" x2="-19.685" y2="1.27" width="0.1524" layer="21"/>
314
+ <wire x1="-19.685" y1="1.27" x2="-19.05" y2="0.635" width="0.1524" layer="21"/>
315
+ <wire x1="-19.05" y1="0.635" x2="-19.05" y2="-0.635" width="0.1524" layer="21"/>
316
+ <wire x1="-19.05" y1="-0.635" x2="-19.685" y2="-1.27" width="0.1524" layer="21"/>
317
+ <wire x1="-19.05" y1="0.635" x2="-18.415" y2="1.27" width="0.1524" layer="21"/>
318
+ <wire x1="-18.415" y1="1.27" x2="-17.145" y2="1.27" width="0.1524" layer="21"/>
319
+ <wire x1="-17.145" y1="1.27" x2="-16.51" y2="0.635" width="0.1524" layer="21"/>
320
+ <wire x1="-16.51" y1="0.635" x2="-16.51" y2="-0.635" width="0.1524" layer="21"/>
321
+ <wire x1="-16.51" y1="-0.635" x2="-17.145" y2="-1.27" width="0.1524" layer="21"/>
322
+ <wire x1="-17.145" y1="-1.27" x2="-18.415" y2="-1.27" width="0.1524" layer="21"/>
323
+ <wire x1="-18.415" y1="-1.27" x2="-19.05" y2="-0.635" width="0.1524" layer="21"/>
324
+ <wire x1="-21.59" y1="0.635" x2="-21.59" y2="-0.635" width="0.1524" layer="21"/>
325
+ <wire x1="-20.955" y1="1.27" x2="-21.59" y2="0.635" width="0.1524" layer="21"/>
326
+ <wire x1="-21.59" y1="-0.635" x2="-20.955" y2="-1.27" width="0.1524" layer="21"/>
327
+ <wire x1="-19.685" y1="-1.27" x2="-20.955" y2="-1.27" width="0.1524" layer="21"/>
328
+ <wire x1="19.05" y1="0.635" x2="19.685" y2="1.27" width="0.1524" layer="21"/>
329
+ <wire x1="19.685" y1="1.27" x2="20.955" y2="1.27" width="0.1524" layer="21"/>
330
+ <wire x1="20.955" y1="1.27" x2="21.59" y2="0.635" width="0.1524" layer="21"/>
331
+ <wire x1="21.59" y1="0.635" x2="21.59" y2="-0.635" width="0.1524" layer="21"/>
332
+ <wire x1="21.59" y1="-0.635" x2="20.955" y2="-1.27" width="0.1524" layer="21"/>
333
+ <wire x1="20.955" y1="-1.27" x2="19.685" y2="-1.27" width="0.1524" layer="21"/>
334
+ <wire x1="19.685" y1="-1.27" x2="19.05" y2="-0.635" width="0.1524" layer="21"/>
335
+ <pad name="1" x="-20.32" y="0" drill="1.016" shape="long" rot="R90"/>
336
+ <pad name="2" x="-17.78" y="0" drill="1.016" shape="long" rot="R90"/>
337
+ <pad name="3" x="-15.24" y="0" drill="1.016" shape="long" rot="R90"/>
338
+ <pad name="4" x="-12.7" y="0" drill="1.016" shape="long" rot="R90"/>
339
+ <pad name="5" x="-10.16" y="0" drill="1.016" shape="long" rot="R90"/>
340
+ <pad name="6" x="-7.62" y="0" drill="1.016" shape="long" rot="R90"/>
341
+ <pad name="7" x="-5.08" y="0" drill="1.016" shape="long" rot="R90"/>
342
+ <pad name="8" x="-2.54" y="0" drill="1.016" shape="long" rot="R90"/>
343
+ <pad name="9" x="0" y="0" drill="1.016" shape="long" rot="R90"/>
344
+ <pad name="10" x="2.54" y="0" drill="1.016" shape="long" rot="R90"/>
345
+ <pad name="11" x="5.08" y="0" drill="1.016" shape="long" rot="R90"/>
346
+ <pad name="12" x="7.62" y="0" drill="1.016" shape="long" rot="R90"/>
347
+ <pad name="13" x="10.16" y="0" drill="1.016" shape="long" rot="R90"/>
348
+ <pad name="14" x="12.7" y="0" drill="1.016" shape="long" rot="R90"/>
349
+ <pad name="15" x="15.24" y="0" drill="1.016" shape="long" rot="R90"/>
350
+ <pad name="16" x="17.78" y="0" drill="1.016" shape="long" rot="R90"/>
351
+ <pad name="17" x="20.32" y="0" drill="1.016" shape="long" rot="R90"/>
352
+ <text x="-21.6662" y="1.8288" size="1.27" layer="25" ratio="10">&gt;NAME</text>
353
+ <text x="-21.59" y="-3.175" size="1.27" layer="27">&gt;VALUE</text>
354
+ <rectangle x1="17.526" y1="-0.254" x2="18.034" y2="0.254" layer="51"/>
355
+ <rectangle x1="14.986" y1="-0.254" x2="15.494" y2="0.254" layer="51"/>
356
+ <rectangle x1="12.446" y1="-0.254" x2="12.954" y2="0.254" layer="51"/>
357
+ <rectangle x1="9.906" y1="-0.254" x2="10.414" y2="0.254" layer="51"/>
358
+ <rectangle x1="7.366" y1="-0.254" x2="7.874" y2="0.254" layer="51"/>
359
+ <rectangle x1="4.826" y1="-0.254" x2="5.334" y2="0.254" layer="51"/>
360
+ <rectangle x1="2.286" y1="-0.254" x2="2.794" y2="0.254" layer="51"/>
361
+ <rectangle x1="-0.254" y1="-0.254" x2="0.254" y2="0.254" layer="51"/>
362
+ <rectangle x1="-2.794" y1="-0.254" x2="-2.286" y2="0.254" layer="51"/>
363
+ <rectangle x1="-5.334" y1="-0.254" x2="-4.826" y2="0.254" layer="51"/>
364
+ <rectangle x1="-7.874" y1="-0.254" x2="-7.366" y2="0.254" layer="51"/>
365
+ <rectangle x1="-10.414" y1="-0.254" x2="-9.906" y2="0.254" layer="51"/>
366
+ <rectangle x1="-12.954" y1="-0.254" x2="-12.446" y2="0.254" layer="51"/>
367
+ <rectangle x1="-15.494" y1="-0.254" x2="-14.986" y2="0.254" layer="51"/>
368
+ <rectangle x1="-18.034" y1="-0.254" x2="-17.526" y2="0.254" layer="51"/>
369
+ <rectangle x1="-20.574" y1="-0.254" x2="-20.066" y2="0.254" layer="51"/>
370
+ <rectangle x1="20.066" y1="-0.254" x2="20.574" y2="0.254" layer="51"/>
371
+ </package>
372
+ </packages>
373
+ </library>
374
+ <library name="diode">
375
+ <packages>
376
+ <package name="DO35-10">
377
+ <description>&lt;B&gt;DIODE&lt;/B&gt;&lt;p&gt;
378
+ diameter 2 mm, horizontal, grid 10.16 mm</description>
379
+ <wire x1="5.08" y1="0" x2="4.191" y2="0" width="0.508" layer="51"/>
380
+ <wire x1="-5.08" y1="0" x2="-4.191" y2="0" width="0.508" layer="51"/>
381
+ <wire x1="-0.635" y1="0" x2="0" y2="0" width="0.1524" layer="21"/>
382
+ <wire x1="1.016" y1="0.635" x2="1.016" y2="-0.635" width="0.1524" layer="21"/>
383
+ <wire x1="1.016" y1="-0.635" x2="0" y2="0" width="0.1524" layer="21"/>
384
+ <wire x1="0" y1="0" x2="1.524" y2="0" width="0.1524" layer="21"/>
385
+ <wire x1="0" y1="0" x2="1.016" y2="0.635" width="0.1524" layer="21"/>
386
+ <wire x1="0" y1="0.635" x2="0" y2="0" width="0.1524" layer="21"/>
387
+ <wire x1="0" y1="0" x2="0" y2="-0.635" width="0.1524" layer="21"/>
388
+ <wire x1="2.032" y1="1.016" x2="2.286" y2="0.762" width="0.1524" layer="21" curve="-90"/>
389
+ <wire x1="-2.286" y1="0.762" x2="-2.032" y2="1.016" width="0.1524" layer="21" curve="-90"/>
390
+ <wire x1="-2.286" y1="-0.762" x2="-2.032" y2="-1.016" width="0.1524" layer="21" curve="90"/>
391
+ <wire x1="2.032" y1="-1.016" x2="2.286" y2="-0.762" width="0.1524" layer="21" curve="90"/>
392
+ <wire x1="2.286" y1="-0.762" x2="2.286" y2="0.762" width="0.1524" layer="21"/>
393
+ <wire x1="-2.286" y1="0.762" x2="-2.286" y2="-0.762" width="0.1524" layer="21"/>
394
+ <wire x1="-2.032" y1="1.016" x2="2.032" y2="1.016" width="0.1524" layer="21"/>
395
+ <wire x1="-2.032" y1="-1.016" x2="2.032" y2="-1.016" width="0.1524" layer="21"/>
396
+ <pad name="C" x="-5.08" y="0" drill="0.8128" shape="long"/>
397
+ <pad name="A" x="5.08" y="0" drill="0.8128" shape="long"/>
398
+ <text x="-2.159" y="1.27" size="1.27" layer="25" ratio="10">&gt;NAME</text>
399
+ <text x="-2.159" y="-2.667" size="1.27" layer="27" ratio="10">&gt;VALUE</text>
400
+ <rectangle x1="-1.905" y1="-1.016" x2="-1.397" y2="1.016" layer="21"/>
401
+ <rectangle x1="2.286" y1="-0.254" x2="4.191" y2="0.254" layer="21"/>
402
+ <rectangle x1="-4.191" y1="-0.254" x2="-2.286" y2="0.254" layer="21"/>
403
+ </package>
404
+ </packages>
405
+ </library>
406
+ <library name="microchip">
407
+ <packages>
408
+ <package name="DIL18">
409
+ <description>&lt;B&gt;Dual In Line&lt;/B&gt;&lt;p&gt;
410
+ package type P</description>
411
+ <wire x1="-11.43" y1="-0.635" x2="-11.43" y2="-2.54" width="0.1524" layer="21"/>
412
+ <wire x1="-11.43" y1="-0.635" x2="-11.43" y2="0.635" width="0.1524" layer="21" curve="180"/>
413
+ <wire x1="11.43" y1="-2.54" x2="-11.43" y2="-2.54" width="0.1524" layer="21"/>
414
+ <wire x1="11.43" y1="-2.54" x2="11.43" y2="2.54" width="0.1524" layer="21"/>
415
+ <wire x1="-11.43" y1="2.54" x2="11.43" y2="2.54" width="0.1524" layer="21"/>
416
+ <wire x1="-11.43" y1="2.54" x2="-11.43" y2="0.635" width="0.1524" layer="21"/>
417
+ <pad name="1" x="-10.16" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
418
+ <pad name="2" x="-7.62" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
419
+ <pad name="3" x="-5.08" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
420
+ <pad name="4" x="-2.54" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
421
+ <pad name="5" x="0" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
422
+ <pad name="6" x="2.54" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
423
+ <pad name="7" x="5.08" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
424
+ <pad name="8" x="7.62" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
425
+ <pad name="9" x="10.16" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
426
+ <pad name="10" x="10.16" y="3.81" drill="0.8128" shape="long" rot="R90"/>
427
+ <pad name="11" x="7.62" y="3.81" drill="0.8128" shape="long" rot="R90"/>
428
+ <pad name="12" x="5.08" y="3.81" drill="0.8128" shape="long" rot="R90"/>
429
+ <pad name="13" x="2.54" y="3.81" drill="0.8128" shape="long" rot="R90"/>
430
+ <pad name="14" x="0" y="3.81" drill="0.8128" shape="long" rot="R90"/>
431
+ <pad name="15" x="-2.54" y="3.81" drill="0.8128" shape="long" rot="R90"/>
432
+ <pad name="16" x="-5.08" y="3.81" drill="0.8128" shape="long" rot="R90"/>
433
+ <pad name="17" x="-7.62" y="3.81" drill="0.8128" shape="long" rot="R90"/>
434
+ <pad name="18" x="-10.16" y="3.81" drill="0.8128" shape="long" rot="R90"/>
435
+ <text x="-11.8618" y="-2.54" size="1.778" layer="25" ratio="10" rot="R90">&gt;NAME</text>
436
+ <text x="-10.16" y="-0.889" size="1.778" layer="27" ratio="10">&gt;VALUE</text>
437
+ </package>
438
+ </packages>
439
+ </library>
440
+ <library name="linear">
441
+ <packages>
442
+ <package name="TO92">
443
+ <description>&lt;b&gt;TO-92&lt;/b&gt;</description>
444
+ <wire x1="-2.095" y1="-1.651" x2="-0.7869" y2="2.5484" width="0.1524" layer="21" curve="-111.097684" cap="flat"/>
445
+ <wire x1="0.7869" y1="2.5484" x2="2.095" y2="-1.651" width="0.1524" layer="21" curve="-111.097684" cap="flat"/>
446
+ <wire x1="-2.095" y1="-1.651" x2="2.095" y2="-1.651" width="0.1524" layer="21"/>
447
+ <wire x1="-2.254" y1="-0.254" x2="-0.286" y2="-0.254" width="0.1524" layer="51"/>
448
+ <wire x1="-2.655" y1="-0.254" x2="-2.254" y2="-0.254" width="0.1524" layer="21"/>
449
+ <wire x1="-0.286" y1="-0.254" x2="0.286" y2="-0.254" width="0.1524" layer="21"/>
450
+ <wire x1="2.254" y1="-0.254" x2="2.655" y2="-0.254" width="0.1524" layer="21"/>
451
+ <wire x1="0.286" y1="-0.254" x2="2.254" y2="-0.254" width="0.1524" layer="51"/>
452
+ <wire x1="-0.7864" y1="2.5484" x2="0.7864" y2="2.5484" width="0.1524" layer="51" curve="-34.298964" cap="flat"/>
453
+ <pad name="1" x="-1.27" y="0" drill="0.8128" shape="octagon"/>
454
+ <pad name="2" x="0" y="1.905" drill="0.8128" shape="octagon"/>
455
+ <pad name="3" x="1.27" y="0" drill="0.8128" shape="octagon"/>
456
+ <text x="2.413" y="1.651" size="1.27" layer="25" ratio="10">&gt;NAME</text>
457
+ <text x="2.921" y="-1.27" size="1.27" layer="27" ratio="10">&gt;VALUE</text>
458
+ </package>
459
+ </packages>
460
+ </library>
461
+ </libraries>
462
+ <attributes>
463
+ </attributes>
464
+ <variantdefs>
465
+ </variantdefs>
466
+ <classes>
467
+ <class number="0" name="default" width="0.3" drill="0.6">
468
+ <clearance class="0" value="0.2"/>
469
+ </class>
470
+ <class number="1" name="power" width="0.4" drill="0.6">
471
+ <clearance class="1" value="0.2"/>
472
+ </class>
473
+ </classes>
474
+ <designrules>
475
+ <description language="en">&lt;b&gt;EAGLE Design Rules&lt;/b&gt;
476
+ &lt;p&gt;
477
+ The default Design Rules have been set to cover
478
+ a wide range of applications. Your particular design
479
+ may have different requirements, so please make the
480
+ necessary adjustments and save your customized
481
+ design rules under a new name.</description>
482
+ <param name="layerSetup" value="(1*16)"/>
483
+ <param name="mtCopper" value="0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm"/>
484
+ <param name="mtIsolate" value="1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm 1.5mm"/>
485
+ <param name="mdWireWire" value="8mil"/>
486
+ <param name="mdWirePad" value="8mil"/>
487
+ <param name="mdWireVia" value="8mil"/>
488
+ <param name="mdPadPad" value="8mil"/>
489
+ <param name="mdPadVia" value="8mil"/>
490
+ <param name="mdViaVia" value="8mil"/>
491
+ <param name="mdSmdPad" value="8mil"/>
492
+ <param name="mdSmdVia" value="8mil"/>
493
+ <param name="mdSmdSmd" value="8mil"/>
494
+ <param name="mdViaViaSameLayer" value="8mil"/>
495
+ <param name="mnLayersViaInSmd" value="2"/>
496
+ <param name="mdCopperDimension" value="40mil"/>
497
+ <param name="mdDrill" value="8mil"/>
498
+ <param name="mdSmdStop" value="0mil"/>
499
+ <param name="msWidth" value="10mil"/>
500
+ <param name="msDrill" value="24mil"/>
501
+ <param name="msMicroVia" value="9.99mm"/>
502
+ <param name="msBlindViaRatio" value="0.5"/>
503
+ <param name="rvPadTop" value="0.25"/>
504
+ <param name="rvPadInner" value="0.25"/>
505
+ <param name="rvPadBottom" value="0.25"/>
506
+ <param name="rvViaOuter" value="0.25"/>
507
+ <param name="rvViaInner" value="0.25"/>
508
+ <param name="rvMicroViaOuter" value="0.25"/>
509
+ <param name="rvMicroViaInner" value="0.25"/>
510
+ <param name="rlMinPadTop" value="10mil"/>
511
+ <param name="rlMaxPadTop" value="20mil"/>
512
+ <param name="rlMinPadInner" value="10mil"/>
513
+ <param name="rlMaxPadInner" value="20mil"/>
514
+ <param name="rlMinPadBottom" value="10mil"/>
515
+ <param name="rlMaxPadBottom" value="20mil"/>
516
+ <param name="rlMinViaOuter" value="8mil"/>
517
+ <param name="rlMaxViaOuter" value="20mil"/>
518
+ <param name="rlMinViaInner" value="8mil"/>
519
+ <param name="rlMaxViaInner" value="20mil"/>
520
+ <param name="rlMinMicroViaOuter" value="4mil"/>
521
+ <param name="rlMaxMicroViaOuter" value="20mil"/>
522
+ <param name="rlMinMicroViaInner" value="4mil"/>
523
+ <param name="rlMaxMicroViaInner" value="20mil"/>
524
+ <param name="psTop" value="-1"/>
525
+ <param name="psBottom" value="-1"/>
526
+ <param name="psFirst" value="-1"/>
527
+ <param name="psElongationLong" value="100"/>
528
+ <param name="psElongationOffset" value="100"/>
529
+ <param name="mvStopFrame" value="1"/>
530
+ <param name="mvCreamFrame" value="0"/>
531
+ <param name="mlMinStopFrame" value="4mil"/>
532
+ <param name="mlMaxStopFrame" value="4mil"/>
533
+ <param name="mlMinCreamFrame" value="0mil"/>
534
+ <param name="mlMaxCreamFrame" value="0mil"/>
535
+ <param name="mlViaStopLimit" value="0mil"/>
536
+ <param name="srRoundness" value="0"/>
537
+ <param name="srMinRoundness" value="0mil"/>
538
+ <param name="srMaxRoundness" value="0mil"/>
539
+ <param name="slThermalIsolate" value="10mil"/>
540
+ <param name="slThermalsForVias" value="0"/>
541
+ <param name="dpMaxLengthDifference" value="10mm"/>
542
+ <param name="dpGapFactor" value="2.5"/>
543
+ <param name="checkGrid" value="0"/>
544
+ <param name="checkAngle" value="0"/>
545
+ <param name="checkFont" value="1"/>
546
+ <param name="checkRestrict" value="1"/>
547
+ <param name="useDiameter" value="13"/>
548
+ <param name="maxErrors" value="50"/>
549
+ </designrules>
550
+ <autorouter>
551
+ <pass name="Default">
552
+ <param name="RoutingGrid" value="50mil"/>
553
+ <param name="tpViaShape" value="round"/>
554
+ <param name="PrefDir.1" value="|"/>
555
+ <param name="PrefDir.2" value="0"/>
556
+ <param name="PrefDir.3" value="0"/>
557
+ <param name="PrefDir.4" value="0"/>
558
+ <param name="PrefDir.5" value="0"/>
559
+ <param name="PrefDir.6" value="0"/>
560
+ <param name="PrefDir.7" value="0"/>
561
+ <param name="PrefDir.8" value="0"/>
562
+ <param name="PrefDir.9" value="0"/>
563
+ <param name="PrefDir.10" value="0"/>
564
+ <param name="PrefDir.11" value="0"/>
565
+ <param name="PrefDir.12" value="0"/>
566
+ <param name="PrefDir.13" value="0"/>
567
+ <param name="PrefDir.14" value="0"/>
568
+ <param name="PrefDir.15" value="0"/>
569
+ <param name="PrefDir.16" value="-"/>
570
+ <param name="cfVia" value="8"/>
571
+ <param name="cfNonPref" value="5"/>
572
+ <param name="cfChangeDir" value="2"/>
573
+ <param name="cfOrthStep" value="2"/>
574
+ <param name="cfDiagStep" value="3"/>
575
+ <param name="cfExtdStep" value="0"/>
576
+ <param name="cfBonusStep" value="1"/>
577
+ <param name="cfMalusStep" value="1"/>
578
+ <param name="cfPadImpact" value="4"/>
579
+ <param name="cfSmdImpact" value="4"/>
580
+ <param name="cfBusImpact" value="0"/>
581
+ <param name="cfHugging" value="3"/>
582
+ <param name="cfAvoid" value="4"/>
583
+ <param name="cfPolygon" value="10"/>
584
+ <param name="cfBase.1" value="0"/>
585
+ <param name="cfBase.2" value="1"/>
586
+ <param name="cfBase.3" value="1"/>
587
+ <param name="cfBase.4" value="1"/>
588
+ <param name="cfBase.5" value="1"/>
589
+ <param name="cfBase.6" value="1"/>
590
+ <param name="cfBase.7" value="1"/>
591
+ <param name="cfBase.8" value="1"/>
592
+ <param name="cfBase.9" value="1"/>
593
+ <param name="cfBase.10" value="1"/>
594
+ <param name="cfBase.11" value="1"/>
595
+ <param name="cfBase.12" value="1"/>
596
+ <param name="cfBase.13" value="1"/>
597
+ <param name="cfBase.14" value="1"/>
598
+ <param name="cfBase.15" value="1"/>
599
+ <param name="cfBase.16" value="0"/>
600
+ <param name="mnVias" value="20"/>
601
+ <param name="mnSegments" value="9999"/>
602
+ <param name="mnExtdSteps" value="9999"/>
603
+ <param name="mnRipupLevel" value="10"/>
604
+ <param name="mnRipupSteps" value="100"/>
605
+ <param name="mnRipupTotal" value="100"/>
606
+ </pass>
607
+ <pass name="Follow-me" refer="Default" active="yes">
608
+ </pass>
609
+ <pass name="Busses" refer="Default" active="yes">
610
+ <param name="cfNonPref" value="4"/>
611
+ <param name="cfBusImpact" value="4"/>
612
+ <param name="cfHugging" value="0"/>
613
+ <param name="mnVias" value="0"/>
614
+ </pass>
615
+ <pass name="Route" refer="Default" active="yes">
616
+ </pass>
617
+ </autorouter>
618
+ <elements>
619
+ <element name="Q1" library="special" package="QS" value="" x="22.225" y="21.59" rot="R180"/>
620
+ <element name="C4" library="rcl" package="TAP5-45" value="47u/25V" x="4.445" y="6.985" smashed="yes" rot="R180">
621
+ <attribute name="NAME" x="7.366" y="8.001" size="1.27" layer="25" ratio="10"/>
622
+ <attribute name="VALUE" x="7.366" y="5.334" size="1.27" layer="27" ratio="10"/>
623
+ </element>
624
+ <element name="C5" library="rcl" package="TAP5-45" value="47u" x="4.445" y="18.415" smashed="yes" rot="R180">
625
+ <attribute name="NAME" x="6.731" y="19.431" size="1.27" layer="25" ratio="10"/>
626
+ <attribute name="VALUE" x="6.731" y="16.129" size="1.27" layer="27" ratio="10"/>
627
+ </element>
628
+ <element name="D1" library="diode" package="DO35-10" value="1N4148" x="27.305" y="6.35" smashed="yes">
629
+ <attribute name="NAME" x="34.036" y="6.985" size="1.27" layer="25" ratio="10"/>
630
+ <attribute name="VALUE" x="34.036" y="4.953" size="1.27" layer="27" ratio="10"/>
631
+ </element>
632
+ <element name="IC1" library="microchip" package="DIL18" value="PIC16F84AP" x="24.765" y="13.335"/>
633
+ <element name="JP1" library="PINHEAD" package="1X04" value="PROG" x="39.37" y="21.59" smashed="yes">
634
+ <attribute name="NAME" x="38.6588" y="18.3388" size="1.27" layer="25" ratio="10"/>
635
+ </element>
636
+ <element name="JP2" library="PINHEAD" package="1X17" value="APPL" x="22.225" y="2.54" smashed="yes" rot="R180">
637
+ <attribute name="NAME" x="43.8912" y="5.7912" size="1.27" layer="25" ratio="10" rot="R180"/>
638
+ </element>
639
+ <element name="R1" library="rcl" package="R1206" value="2,2k" x="38.735" y="12.065" smashed="yes" rot="R270">
640
+ <attribute name="NAME" x="36.068" y="13.462" size="1.27" layer="25" rot="R270"/>
641
+ <attribute name="VALUE" x="40.132" y="14.097" size="1.27" layer="27" rot="R270"/>
642
+ </element>
643
+ <element name="C1" library="rcl" package="C1206" value="30p" x="12.7" y="21.59" rot="R270"/>
644
+ <element name="C2" library="rcl" package="C1206" value="30p" x="31.115" y="21.59" rot="R270"/>
645
+ <element name="C3" library="rcl" package="C025-025X050" value="10n" x="3.175" y="22.86" smashed="yes" rot="R180">
646
+ <attribute name="NAME" x="6.604" y="23.114" size="1.27" layer="25" ratio="10"/>
647
+ <attribute name="VALUE" x="6.604" y="21.336" size="1.27" layer="27" ratio="10"/>
648
+ </element>
649
+ <element name="IC2" library="linear" package="TO92" value="78L05Z" x="3.81" y="12.7" smashed="yes" rot="R90">
650
+ <attribute name="NAME" x="7.239" y="11.303" size="1.27" layer="25" ratio="10" rot="R90"/>
651
+ </element>
652
+ </elements>
653
+ <signals>
654
+ <signal name="GND" class="1">
655
+ <contactref element="C5" pad="-"/>
656
+ <contactref element="IC2" pad="2"/>
657
+ <contactref element="C4" pad="-"/>
658
+ <contactref element="C3" pad="2"/>
659
+ <contactref element="JP2" pad="17"/>
660
+ <contactref element="IC1" pad="5"/>
661
+ <contactref element="C2" pad="1"/>
662
+ <contactref element="C1" pad="1"/>
663
+ <contactref element="JP1" pad="4"/>
664
+ <wire x1="1.905" y1="18.415" x2="1.905" y2="22.86" width="0.4064" layer="1"/>
665
+ <wire x1="1.905" y1="12.7" x2="1.905" y2="18.415" width="0.4064" layer="1"/>
666
+ <wire x1="1.905" y1="6.985" x2="1.905" y2="12.7" width="0.4064" layer="1"/>
667
+ <wire x1="1.905" y1="2.54" x2="1.905" y2="6.985" width="0.4064" layer="1"/>
668
+ <wire x1="15.24" y1="23.495" x2="27.94" y2="23.495" width="0.4064" layer="1"/>
669
+ <wire x1="27.94" y1="23.495" x2="30.48" y2="23.495" width="0.4064" layer="1"/>
670
+ <wire x1="43.18" y1="23.495" x2="43.18" y2="21.59" width="0.4064" layer="1"/>
671
+ <wire x1="42.545" y1="24.13" x2="43.18" y2="23.495" width="0.4064" layer="1"/>
672
+ <wire x1="34.29" y1="24.13" x2="42.545" y2="24.13" width="0.4064" layer="1"/>
673
+ <wire x1="33.02" y1="22.86" x2="34.29" y2="24.13" width="0.4064" layer="1"/>
674
+ <wire x1="31.115" y1="22.86" x2="31.115" y2="22.99" width="0.4064" layer="1"/>
675
+ <wire x1="31.115" y1="22.86" x2="33.02" y2="22.86" width="0.4064" layer="1"/>
676
+ <wire x1="27.94" y1="23.495" x2="30.48" y2="23.495" width="0.4064" layer="1"/>
677
+ <wire x1="27.94" y1="23.495" x2="27.94" y2="22.225" width="0.4064" layer="1"/>
678
+ <wire x1="27.94" y1="22.225" x2="26.035" y2="20.32" width="0.4064" layer="16"/>
679
+ <wire x1="26.035" y1="20.32" x2="26.035" y2="12.065" width="0.4064" layer="16"/>
680
+ <wire x1="26.035" y1="12.065" x2="24.765" y2="10.795" width="0.4064" layer="16"/>
681
+ <wire x1="24.765" y1="10.795" x2="24.765" y2="9.525" width="0.4064" layer="16"/>
682
+ <wire x1="9.525" y1="24.13" x2="10.665" y2="22.99" width="0.4064" layer="1"/>
683
+ <wire x1="2.54" y1="24.13" x2="9.525" y2="24.13" width="0.4064" layer="1"/>
684
+ <wire x1="1.905" y1="23.495" x2="2.54" y2="24.13" width="0.4064" layer="1"/>
685
+ <wire x1="1.905" y1="22.86" x2="1.905" y2="23.495" width="0.4064" layer="1"/>
686
+ <wire x1="31.115" y1="22.86" x2="31.115" y2="22.99" width="0.4064" layer="1"/>
687
+ <wire x1="30.48" y1="23.495" x2="31.115" y2="22.86" width="0.4064" layer="1"/>
688
+ <wire x1="12.7" y1="22.86" x2="12.7" y2="22.99" width="0.4064" layer="1"/>
689
+ <wire x1="13.335" y1="23.495" x2="15.24" y2="23.495" width="0.4064" layer="1"/>
690
+ <wire x1="12.7" y1="22.86" x2="13.335" y2="23.495" width="0.4064" layer="1"/>
691
+ <wire x1="12.7" y1="22.86" x2="12.7" y2="22.99" width="0.4064" layer="1"/>
692
+ <wire x1="10.665" y1="22.99" x2="12.57" y2="22.99" width="0.4064" layer="1"/>
693
+ <wire x1="12.57" y1="22.99" x2="12.7" y2="22.86" width="0.4064" layer="1"/>
694
+ <via x="27.94" y="22.225" extent="1-16" drill="0.8128"/>
695
+ </signal>
696
+ <signal name="N$1">
697
+ <contactref element="C4" pad="+"/>
698
+ <contactref element="C3" pad="1"/>
699
+ <contactref element="IC2" pad="1"/>
700
+ <wire x1="6.35" y1="22.86" x2="4.445" y2="22.86" width="0.3048" layer="1"/>
701
+ <wire x1="8.255" y1="20.955" x2="6.35" y2="22.86" width="0.3048" layer="1"/>
702
+ <wire x1="8.255" y1="8.255" x2="8.255" y2="20.955" width="0.3048" layer="1"/>
703
+ <wire x1="6.985" y1="6.985" x2="8.255" y2="8.255" width="0.3048" layer="1"/>
704
+ <wire x1="6.985" y1="6.985" x2="5.08" y2="8.89" width="0.3048" layer="16"/>
705
+ <wire x1="5.08" y1="8.89" x2="5.08" y2="10.16" width="0.3048" layer="16"/>
706
+ <wire x1="5.08" y1="10.16" x2="3.81" y2="11.43" width="0.3048" layer="16"/>
707
+ </signal>
708
+ <signal name="V+" class="1">
709
+ <contactref element="C5" pad="+"/>
710
+ <contactref element="IC2" pad="3"/>
711
+ <contactref element="JP2" pad="16"/>
712
+ <wire x1="6.985" y1="17.145" x2="6.985" y2="18.415" width="0.4064" layer="1"/>
713
+ <wire x1="3.81" y1="13.97" x2="6.985" y2="17.145" width="0.4064" layer="1"/>
714
+ <wire x1="4.445" y1="2.54" x2="4.445" y2="9.525" width="0.4064" layer="1"/>
715
+ <wire x1="4.445" y1="9.525" x2="5.715" y2="10.795" width="0.4064" layer="1"/>
716
+ <wire x1="5.715" y1="10.795" x2="5.715" y2="12.065" width="0.4064" layer="1"/>
717
+ <wire x1="5.715" y1="12.065" x2="3.81" y2="13.97" width="0.4064" layer="1"/>
718
+ </signal>
719
+ <signal name="N$2">
720
+ <contactref element="Q1" pad="2"/>
721
+ <contactref element="IC1" pad="16"/>
722
+ <contactref element="C1" pad="2"/>
723
+ <wire x1="12.7" y1="20.19" x2="12.83" y2="20.32" width="0.3048" layer="1"/>
724
+ <wire x1="12.83" y1="20.32" x2="16.51" y2="20.32" width="0.3048" layer="1"/>
725
+ <wire x1="16.51" y1="20.32" x2="17.78" y2="21.59" width="0.3048" layer="1"/>
726
+ <wire x1="17.78" y1="21.59" x2="19.685" y2="21.59" width="0.3048" layer="1"/>
727
+ <wire x1="19.685" y1="21.59" x2="19.685" y2="17.145" width="0.3048" layer="1"/>
728
+ </signal>
729
+ <signal name="N$3">
730
+ <contactref element="Q1" pad="1"/>
731
+ <contactref element="IC1" pad="15"/>
732
+ <contactref element="C2" pad="2"/>
733
+ <wire x1="22.225" y1="17.145" x2="22.225" y2="20.32" width="0.3048" layer="1"/>
734
+ <wire x1="22.225" y1="20.32" x2="23.495" y2="21.59" width="0.3048" layer="1"/>
735
+ <wire x1="23.495" y1="21.59" x2="24.765" y2="21.59" width="0.3048" layer="1"/>
736
+ <wire x1="24.765" y1="21.59" x2="26.035" y2="21.59" width="0.3048" layer="1"/>
737
+ <wire x1="31.115" y1="20.32" x2="31.115" y2="20.19" width="0.3048" layer="1"/>
738
+ <wire x1="26.035" y1="21.59" x2="27.305" y2="20.32" width="0.3048" layer="1"/>
739
+ <wire x1="27.305" y1="20.32" x2="31.115" y2="20.32" width="0.3048" layer="1"/>
740
+ </signal>
741
+ <signal name="MCLR/PGM">
742
+ <contactref element="D1" pad="C"/>
743
+ <contactref element="IC1" pad="4"/>
744
+ <contactref element="JP1" pad="3"/>
745
+ <contactref element="JP2" pad="1"/>
746
+ <wire x1="22.225" y1="6.35" x2="22.225" y2="9.525" width="0.3048" layer="1"/>
747
+ <wire x1="43.18" y1="18.415" x2="43.18" y2="4.445" width="0.3" layer="1"/>
748
+ <wire x1="40.64" y1="20.955" x2="43.18" y2="18.415" width="0.3" layer="1"/>
749
+ <wire x1="43.18" y1="4.445" x2="42.545" y2="3.81" width="0.3" layer="1"/>
750
+ <wire x1="42.545" y1="3.81" x2="42.545" y2="2.54" width="0.3" layer="1"/>
751
+ <wire x1="40.64" y1="21.59" x2="40.64" y2="20.955" width="0.3" layer="1"/>
752
+ <wire x1="24.765" y1="12.065" x2="40.64" y2="12.065" width="0.3" layer="1"/>
753
+ <wire x1="40.64" y1="12.065" x2="41.275" y2="11.43" width="0.3" layer="1"/>
754
+ <wire x1="41.275" y1="11.43" x2="41.275" y2="8.89" width="0.3" layer="1"/>
755
+ <wire x1="41.275" y1="8.89" x2="40.64" y2="8.255" width="0.3" layer="1"/>
756
+ <wire x1="40.64" y1="8.255" x2="39.37" y2="8.255" width="0.3" layer="1"/>
757
+ <wire x1="39.37" y1="8.255" x2="39.37" y2="20.955" width="0.3" layer="16"/>
758
+ <wire x1="39.37" y1="20.955" x2="40.005" y2="21.59" width="0.3" layer="16"/>
759
+ <wire x1="22.225" y1="9.525" x2="24.765" y2="12.065" width="0.3" layer="1"/>
760
+ <wire x1="40.005" y1="21.59" x2="40.64" y2="21.59" width="0.3" layer="16"/>
761
+ <via x="39.37" y="8.255" extent="1-16" drill="0.8"/>
762
+ </signal>
763
+ <signal name="RB0">
764
+ <contactref element="IC1" pad="6"/>
765
+ <contactref element="JP2" pad="9"/>
766
+ <wire x1="22.225" y1="2.54" x2="22.225" y2="4.445" width="0.3048" layer="1"/>
767
+ <wire x1="22.225" y1="4.445" x2="22.86" y2="5.08" width="0.3048" layer="1"/>
768
+ <wire x1="22.86" y1="5.08" x2="23.495" y2="5.08" width="0.3048" layer="1"/>
769
+ <wire x1="23.495" y1="5.08" x2="27.305" y2="8.89" width="0.3048" layer="1"/>
770
+ <wire x1="27.305" y1="8.89" x2="27.305" y2="9.525" width="0.3048" layer="1"/>
771
+ </signal>
772
+ <signal name="RB1">
773
+ <contactref element="IC1" pad="7"/>
774
+ <contactref element="JP2" pad="8"/>
775
+ <wire x1="24.765" y1="2.54" x2="24.765" y2="4.445" width="0.3048" layer="1"/>
776
+ <wire x1="24.765" y1="4.445" x2="29.845" y2="9.525" width="0.3048" layer="1"/>
777
+ </signal>
778
+ <signal name="RB2">
779
+ <contactref element="IC1" pad="8"/>
780
+ <contactref element="JP2" pad="7"/>
781
+ <wire x1="27.305" y1="2.54" x2="27.305" y2="4.445" width="0.3048" layer="1"/>
782
+ <wire x1="27.305" y1="4.445" x2="32.385" y2="9.525" width="0.3048" layer="1"/>
783
+ </signal>
784
+ <signal name="RB3">
785
+ <contactref element="IC1" pad="9"/>
786
+ <contactref element="JP2" pad="6"/>
787
+ <wire x1="29.845" y1="2.54" x2="29.845" y2="4.445" width="0.3048" layer="1"/>
788
+ <wire x1="29.845" y1="4.445" x2="30.48" y2="5.08" width="0.3048" layer="1"/>
789
+ <wire x1="30.48" y1="5.08" x2="34.29" y2="5.08" width="0.3048" layer="1"/>
790
+ <wire x1="34.29" y1="5.08" x2="34.925" y2="5.715" width="0.3048" layer="1"/>
791
+ <wire x1="34.925" y1="5.715" x2="34.925" y2="9.525" width="0.3048" layer="1"/>
792
+ </signal>
793
+ <signal name="RB4">
794
+ <contactref element="IC1" pad="10"/>
795
+ <contactref element="JP2" pad="5"/>
796
+ <wire x1="34.925" y1="15.24" x2="34.925" y2="17.145" width="0.3048" layer="16"/>
797
+ <wire x1="36.83" y1="13.335" x2="34.925" y2="15.24" width="0.3048" layer="16"/>
798
+ <wire x1="36.83" y1="6.985" x2="36.83" y2="13.335" width="0.3048" layer="16"/>
799
+ <wire x1="34.925" y1="5.08" x2="36.83" y2="6.985" width="0.3048" layer="16"/>
800
+ <wire x1="33.02" y1="5.08" x2="34.925" y2="5.08" width="0.3048" layer="16"/>
801
+ <wire x1="32.385" y1="4.445" x2="33.02" y2="5.08" width="0.3048" layer="16"/>
802
+ <wire x1="32.385" y1="2.54" x2="32.385" y2="4.445" width="0.3048" layer="16"/>
803
+ </signal>
804
+ <signal name="RB5">
805
+ <contactref element="IC1" pad="11"/>
806
+ <contactref element="JP2" pad="4"/>
807
+ <wire x1="34.925" y1="2.54" x2="34.925" y2="3.81" width="0.3048" layer="1"/>
808
+ <wire x1="34.925" y1="3.81" x2="38.1" y2="6.985" width="0.3048" layer="1"/>
809
+ <wire x1="38.1" y1="6.985" x2="38.1" y2="16.51" width="0.3048" layer="16"/>
810
+ <wire x1="38.1" y1="16.51" x2="35.56" y2="19.05" width="0.3048" layer="16"/>
811
+ <wire x1="35.56" y1="19.05" x2="33.02" y2="19.05" width="0.3048" layer="16"/>
812
+ <wire x1="33.02" y1="19.05" x2="32.385" y2="18.415" width="0.3048" layer="16"/>
813
+ <wire x1="32.385" y1="18.415" x2="32.385" y2="17.145" width="0.3048" layer="16"/>
814
+ <via x="38.1" y="6.985" extent="1-16" drill="0.8128"/>
815
+ </signal>
816
+ <signal name="RB6/CLK">
817
+ <contactref element="IC1" pad="12"/>
818
+ <contactref element="JP1" pad="1"/>
819
+ <contactref element="JP2" pad="3"/>
820
+ <wire x1="41.91" y1="13.97" x2="35.56" y2="20.32" width="0.3048" layer="1"/>
821
+ <wire x1="41.91" y1="8.255" x2="41.91" y2="13.97" width="0.3048" layer="1"/>
822
+ <wire x1="37.465" y1="3.81" x2="41.91" y2="8.255" width="0.3048" layer="1"/>
823
+ <wire x1="37.465" y1="2.54" x2="37.465" y2="3.81" width="0.3048" layer="1"/>
824
+ <wire x1="35.56" y1="20.32" x2="35.56" y2="21.59" width="0.3048" layer="1"/>
825
+ <wire x1="35.56" y1="20.32" x2="33.655" y2="18.415" width="0.3048" layer="1"/>
826
+ <wire x1="33.655" y1="18.415" x2="33.655" y2="15.24" width="0.3048" layer="1"/>
827
+ <wire x1="33.655" y1="15.24" x2="33.02" y2="14.605" width="0.3048" layer="1"/>
828
+ <wire x1="33.02" y1="14.605" x2="30.48" y2="14.605" width="0.3048" layer="1"/>
829
+ <wire x1="30.48" y1="14.605" x2="29.845" y2="15.24" width="0.3048" layer="1"/>
830
+ <wire x1="29.845" y1="15.24" x2="29.845" y2="17.145" width="0.3048" layer="1"/>
831
+ </signal>
832
+ <signal name="RB7/DATA">
833
+ <contactref element="IC1" pad="13"/>
834
+ <contactref element="JP1" pad="2"/>
835
+ <contactref element="JP2" pad="2"/>
836
+ <wire x1="38.1" y1="19.685" x2="38.1" y2="21.59" width="0.3048" layer="1"/>
837
+ <wire x1="42.545" y1="15.24" x2="38.1" y2="19.685" width="0.3048" layer="1"/>
838
+ <wire x1="42.545" y1="6.35" x2="42.545" y2="15.24" width="0.3048" layer="1"/>
839
+ <wire x1="40.005" y1="3.81" x2="42.545" y2="6.35" width="0.3048" layer="1"/>
840
+ <wire x1="40.005" y1="2.54" x2="40.005" y2="3.81" width="0.3048" layer="1"/>
841
+ <wire x1="27.305" y1="19.05" x2="27.305" y2="17.145" width="0.3048" layer="16"/>
842
+ <wire x1="27.94" y1="19.685" x2="27.305" y2="19.05" width="0.3048" layer="16"/>
843
+ <wire x1="37.465" y1="19.685" x2="27.94" y2="19.685" width="0.3048" layer="16"/>
844
+ <wire x1="38.1" y1="20.32" x2="37.465" y2="19.685" width="0.3048" layer="16"/>
845
+ <wire x1="38.1" y1="21.59" x2="38.1" y2="20.32" width="0.3048" layer="16"/>
846
+ </signal>
847
+ <signal name="RA4">
848
+ <contactref element="IC1" pad="3"/>
849
+ <contactref element="JP2" pad="10"/>
850
+ <wire x1="19.685" y1="2.54" x2="19.685" y2="9.525" width="0.3048" layer="1"/>
851
+ </signal>
852
+ <signal name="RA3">
853
+ <contactref element="IC1" pad="2"/>
854
+ <contactref element="JP2" pad="11"/>
855
+ <wire x1="17.145" y1="2.54" x2="17.145" y2="9.525" width="0.3048" layer="1"/>
856
+ </signal>
857
+ <signal name="RA2">
858
+ <contactref element="IC1" pad="1"/>
859
+ <contactref element="JP2" pad="12"/>
860
+ <wire x1="14.605" y1="2.54" x2="14.605" y2="9.525" width="0.3048" layer="1"/>
861
+ </signal>
862
+ <signal name="RA1">
863
+ <contactref element="IC1" pad="18"/>
864
+ <contactref element="JP2" pad="13"/>
865
+ <wire x1="14.605" y1="14.605" x2="14.605" y2="17.145" width="0.3048" layer="16"/>
866
+ <wire x1="12.7" y1="12.7" x2="14.605" y2="14.605" width="0.3048" layer="16"/>
867
+ <wire x1="12.7" y1="5.715" x2="12.7" y2="12.7" width="0.3048" layer="16"/>
868
+ <wire x1="12.065" y1="5.08" x2="12.7" y2="5.715" width="0.3048" layer="16"/>
869
+ <wire x1="12.065" y1="2.54" x2="12.065" y2="5.08" width="0.3048" layer="16"/>
870
+ </signal>
871
+ <signal name="RA0">
872
+ <contactref element="IC1" pad="17"/>
873
+ <contactref element="JP2" pad="14"/>
874
+ <wire x1="17.145" y1="18.415" x2="17.145" y2="17.145" width="0.3048" layer="16"/>
875
+ <wire x1="16.51" y1="19.05" x2="17.145" y2="18.415" width="0.3048" layer="16"/>
876
+ <wire x1="10.795" y1="19.05" x2="16.51" y2="19.05" width="0.3048" layer="16"/>
877
+ <wire x1="9.525" y1="17.78" x2="10.795" y2="19.05" width="0.3048" layer="16"/>
878
+ <wire x1="9.525" y1="2.54" x2="9.525" y2="17.78" width="0.3048" layer="16"/>
879
+ </signal>
880
+ <signal name="N$4">
881
+ <contactref element="D1" pad="A"/>
882
+ <contactref element="R1" pad="2"/>
883
+ <wire x1="33.655" y1="10.795" x2="34.29" y2="11.43" width="0.3048" layer="1"/>
884
+ <wire x1="33.655" y1="7.62" x2="33.655" y2="10.795" width="0.3048" layer="1"/>
885
+ <wire x1="32.385" y1="6.35" x2="33.655" y2="7.62" width="0.3048" layer="1"/>
886
+ <wire x1="34.29" y1="11.43" x2="35.56" y2="11.43" width="0.3048" layer="1"/>
887
+ <wire x1="38.735" y1="10.795" x2="38.735" y2="10.643" width="0.3048" layer="1"/>
888
+ <wire x1="35.56" y1="11.43" x2="36.195" y2="10.795" width="0.3048" layer="1"/>
889
+ <wire x1="36.195" y1="10.795" x2="38.735" y2="10.795" width="0.3048" layer="1"/>
890
+ </signal>
891
+ <signal name="+5V" class="1">
892
+ <contactref element="IC1" pad="14"/>
893
+ <contactref element="JP2" pad="15"/>
894
+ <contactref element="R1" pad="1"/>
895
+ <wire x1="23.495" y1="13.97" x2="24.765" y2="15.24" width="0.4064" layer="1"/>
896
+ <wire x1="10.16" y1="13.97" x2="23.495" y2="13.97" width="0.4064" layer="1"/>
897
+ <wire x1="9.525" y1="13.335" x2="10.16" y2="13.97" width="0.4064" layer="1"/>
898
+ <wire x1="9.525" y1="7.62" x2="9.525" y2="13.335" width="0.4064" layer="1"/>
899
+ <wire x1="6.985" y1="5.08" x2="9.525" y2="7.62" width="0.4064" layer="1"/>
900
+ <wire x1="6.985" y1="2.54" x2="6.985" y2="5.08" width="0.4064" layer="1"/>
901
+ <wire x1="24.765" y1="15.24" x2="24.765" y2="17.145" width="0.4064" layer="1"/>
902
+ <wire x1="24.765" y1="15.24" x2="26.035" y2="13.97" width="0.4064" layer="1"/>
903
+ <wire x1="26.035" y1="13.97" x2="37.465" y2="13.97" width="0.4064" layer="1"/>
904
+ <wire x1="38.735" y1="13.335" x2="38.735" y2="13.487" width="0.4064" layer="1"/>
905
+ <wire x1="37.465" y1="13.97" x2="38.1" y2="13.335" width="0.4064" layer="1"/>
906
+ <wire x1="38.1" y1="13.335" x2="38.735" y2="13.335" width="0.4064" layer="1"/>
907
+ </signal>
908
+ </signals>
909
+ </board>
910
+ </drawing>