forked from SolarNinjaTurtle/eagle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MCP23008.lbr
163 lines (163 loc) · 9.34 KB
/
MCP23008.lbr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.2.0">
<drawing>
<settings>
<setting alwaysvectorfont="no"/>
<setting verticaltext="up"/>
</settings>
<grid distance="0.1" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.01" altunitdist="inch" altunit="inch"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="2" name="Route2" color="1" fill="3" visible="no" active="yes"/>
<layer number="3" name="Route3" color="4" fill="3" visible="no" active="yes"/>
<layer number="4" name="Route4" color="1" fill="4" visible="no" active="yes"/>
<layer number="5" name="Route5" color="4" fill="4" visible="no" active="yes"/>
<layer number="6" name="Route6" color="1" fill="8" visible="no" active="yes"/>
<layer number="7" name="Route7" color="4" fill="8" visible="no" active="yes"/>
<layer number="8" name="Route8" color="1" fill="2" visible="no" active="yes"/>
<layer number="9" name="Route9" color="4" fill="2" visible="no" active="yes"/>
<layer number="10" name="Route10" color="1" fill="7" visible="no" active="yes"/>
<layer number="11" name="Route11" color="4" fill="7" visible="no" active="yes"/>
<layer number="12" name="Route12" color="1" fill="5" visible="no" active="yes"/>
<layer number="13" name="Route13" color="4" fill="5" visible="no" active="yes"/>
<layer number="14" name="Route14" color="1" fill="6" visible="no" active="yes"/>
<layer number="15" name="Route15" color="4" fill="6" visible="no" active="yes"/>
<layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="yes"/>
<layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/>
<layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/>
<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/>
<layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="yes"/>
<layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="25" name="tNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="26" name="bNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="27" name="tValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="28" name="bValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/>
<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/>
<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/>
<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/>
<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/>
<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/>
<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/>
<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/>
<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="39" name="tKeepout" color="4" fill="11" visible="yes" active="yes"/>
<layer number="40" name="bKeepout" color="1" fill="11" visible="yes" active="yes"/>
<layer number="41" name="tRestrict" color="4" fill="10" visible="yes" active="yes"/>
<layer number="42" name="bRestrict" color="1" fill="10" visible="yes" active="yes"/>
<layer number="43" name="vRestrict" color="2" fill="10" visible="yes" active="yes"/>
<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/>
<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/>
<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/>
<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/>
<layer number="48" name="Document" color="7" fill="1" visible="yes" active="yes"/>
<layer number="49" name="Reference" color="7" fill="1" visible="yes" active="yes"/>
<layer number="51" name="tDocu" color="7" fill="1" visible="yes" active="yes"/>
<layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="yes"/>
<layer number="90" name="Modules" color="5" fill="1" visible="yes" active="yes"/>
<layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/>
<layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/>
<layer number="93" name="Pins" color="2" fill="1" visible="yes" active="yes"/>
<layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/>
<layer number="95" name="Names" color="7" fill="1" visible="yes" active="yes"/>
<layer number="96" name="Values" color="7" fill="1" visible="yes" active="yes"/>
<layer number="97" name="Info" color="7" fill="1" visible="yes" active="yes"/>
<layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/>
</layers>
<library>
<packages>
<package name="SOIC18">
<smd name="1" x="-5.08" y="-4.7" dx="0.6" dy="2" layer="1"/>
<smd name="2" x="-3.81" y="-4.7" dx="0.6" dy="2" layer="1"/>
<smd name="3" x="-2.54" y="-4.7" dx="0.6" dy="2" layer="1"/>
<smd name="4" x="-1.27" y="-4.7" dx="0.6" dy="2" layer="1"/>
<smd name="5" x="0" y="-4.7" dx="0.6" dy="2" layer="1"/>
<smd name="6" x="1.27" y="-4.7" dx="0.6" dy="2" layer="1"/>
<smd name="7" x="2.54" y="-4.7" dx="0.6" dy="2" layer="1"/>
<smd name="8" x="3.81" y="-4.7" dx="0.6" dy="2" layer="1"/>
<smd name="9" x="5.08" y="-4.7" dx="0.6" dy="2" layer="1"/>
<smd name="10" x="5.08" y="4.7" dx="0.6" dy="2" layer="1"/>
<smd name="11" x="3.81" y="4.7" dx="0.6" dy="2" layer="1"/>
<smd name="12" x="2.54" y="4.7" dx="0.6" dy="2" layer="1"/>
<smd name="13" x="1.27" y="4.7" dx="0.6" dy="2" layer="1"/>
<smd name="14" x="0" y="4.7" dx="0.6" dy="2" layer="1"/>
<smd name="15" x="-1.27" y="4.7" dx="0.6" dy="2" layer="1"/>
<smd name="16" x="-2.54" y="4.7" dx="0.6" dy="2" layer="1"/>
<smd name="17" x="-3.81" y="4.7" dx="0.6" dy="2" layer="1"/>
<smd name="18" x="-5.08" y="4.7" dx="0.6" dy="2" layer="1"/>
<wire x1="-5.715" y1="3.175" x2="5.715" y2="3.175" width="0.127" layer="21"/>
<wire x1="5.715" y1="3.175" x2="5.715" y2="-3.175" width="0.127" layer="21"/>
<wire x1="5.715" y1="-3.175" x2="-5.715" y2="-3.175" width="0.127" layer="21"/>
<wire x1="-5.715" y1="-3.175" x2="-5.715" y2="3.175" width="0.127" layer="21"/>
<circle x="-4.7625" y="-2.2225" radius="0.3175" width="0.127" layer="21"/>
<text x="-4.445" y="-0.3175" size="1.27" layer="25">MCP23008</text>
</package>
</packages>
<symbols>
<symbol name="MCP23008">
<pin name="GP0" x="17.78" y="10.16" visible="pin" length="middle" rot="R180"/>
<pin name="GP1" x="17.78" y="7.62" visible="pin" length="middle" rot="R180"/>
<pin name="GP2" x="17.78" y="5.08" visible="pin" length="middle" rot="R180"/>
<pin name="GP3" x="17.78" y="2.54" visible="pin" length="middle" rot="R180"/>
<pin name="GP4" x="17.78" y="0" visible="pin" length="middle" rot="R180"/>
<pin name="GP5" x="17.78" y="-2.54" visible="pin" length="middle" rot="R180"/>
<pin name="GP6" x="17.78" y="-5.08" visible="pin" length="middle" rot="R180"/>
<pin name="GP7" x="17.78" y="-7.62" visible="pin" length="middle" rot="R180"/>
<pin name="VCC" x="-10.16" y="10.16" visible="pin" length="middle"/>
<pin name="GND" x="-10.16" y="-15.24" visible="pin" length="middle"/>
<pin name="A0" x="-10.16" y="5.08" visible="pin" length="middle"/>
<pin name="A1" x="-10.16" y="2.54" visible="pin" length="middle"/>
<pin name="A2" x="-10.16" y="0" visible="pin" length="middle"/>
<pin name="RESET" x="-10.16" y="-12.7" visible="pin" length="middle"/>
<pin name="INT" x="-10.16" y="-10.16" visible="pin" length="middle"/>
<pin name="SDA" x="17.78" y="-12.7" visible="pin" length="middle" rot="R180"/>
<pin name="SCL" x="17.78" y="-15.24" visible="pin" length="middle" rot="R180"/>
<wire x1="-7.62" y1="12.7" x2="15.24" y2="12.7" width="0.254" layer="97"/>
<wire x1="15.24" y1="12.7" x2="15.24" y2="-17.78" width="0.254" layer="97"/>
<wire x1="15.24" y1="-17.78" x2="-7.62" y2="-17.78" width="0.254" layer="97"/>
<wire x1="-7.62" y1="-17.78" x2="-7.62" y2="12.7" width="0.254" layer="97"/>
<text x="-5.08" y="13.97" size="2.54" layer="97">MCP23008</text>
</symbol>
</symbols>
<devicesets>
<deviceset name="MCP23008">
<description>MSP23008 I2C Port Expander 8 Pin</description>
<gates>
<gate name="G$1" symbol="MCP23008" x="7.62" y="17.78"/>
</gates>
<devices>
<device name="" package="SOIC18">
<connects>
<connect gate="G$1" pin="A0" pad="5"/>
<connect gate="G$1" pin="A1" pad="4"/>
<connect gate="G$1" pin="A2" pad="3"/>
<connect gate="G$1" pin="GND" pad="9"/>
<connect gate="G$1" pin="GP0" pad="10"/>
<connect gate="G$1" pin="GP1" pad="11"/>
<connect gate="G$1" pin="GP2" pad="12"/>
<connect gate="G$1" pin="GP3" pad="13"/>
<connect gate="G$1" pin="GP4" pad="14"/>
<connect gate="G$1" pin="GP5" pad="15"/>
<connect gate="G$1" pin="GP6" pad="16"/>
<connect gate="G$1" pin="GP7" pad="17"/>
<connect gate="G$1" pin="INT" pad="8"/>
<connect gate="G$1" pin="RESET" pad="6"/>
<connect gate="G$1" pin="SCL" pad="1"/>
<connect gate="G$1" pin="SDA" pad="2"/>
<connect gate="G$1" pin="VCC" pad="18"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</drawing>
</eagle>