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