Skip to content

Commit

Permalink
Add AC3 button cell shroud, fix name of WS2812S part (was WS2811)
Browse files Browse the repository at this point in the history
  • Loading branch information
cibomahto committed Jan 16, 2015
1 parent 4e2fbd4 commit c62b371
Showing 1 changed file with 230 additions and 4 deletions.
234 changes: 230 additions & 4 deletions blinkinlabs.lbr
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ will be further integrated into the Sparkfun Library for other footprints. It c
<smd name="P$2" x="0" y="0" dx="1.66" dy="3.6" layer="1" thermals="no" cream="no"/>
<smd name="P$3" x="5.08" y="0" dx="6.5" dy="3.6" layer="1" thermals="no" cream="no"/>
</package>
<package name="WS2811_LED">
<package name="WS2812S_LED">
<wire x1="-2.5" y1="-2.5" x2="-2.5" y2="2.5" width="0.127" layer="51"/>
<wire x1="-2.5" y1="2.5" x2="2.5" y2="2.5" width="0.127" layer="51"/>
<wire x1="2.5" y1="2.5" x2="2.5" y2="-2.5" width="0.127" layer="51"/>
Expand Down Expand Up @@ -1821,6 +1821,89 @@ grid 5.08 mm</description>
<pad name="P$3" x="1.27" y="0" drill="1" diameter="1.9304"/>
<pad name="P$4" x="3.81" y="0" drill="1" diameter="1.9304"/>
</package>
<package name="BATTERY_COVER_AG3">
<description>Metal battery shroud for AG3 coin cell battery.

Sample part here:
http://item.taobao.com/item.htm?spm=a230r.1.14.130.LurJbZ&amp;id=16889806763&amp;ns=1&amp;abbucket=12#detail</description>
<wire x1="5" y1="3" x2="5" y2="-3" width="0.127" layer="21"/>
<wire x1="5" y1="-3" x2="3" y2="-5" width="0.127" layer="21" curve="-90"/>
<wire x1="3" y1="-5" x2="-3" y2="-5" width="0.127" layer="21"/>
<wire x1="-3" y1="-5" x2="-5" y2="-3" width="0.127" layer="21" curve="-90"/>
<wire x1="-5" y1="-3" x2="-5" y2="3" width="0.127" layer="21"/>
<wire x1="-5" y1="3" x2="-3" y2="5" width="0.127" layer="21" curve="-90"/>
<wire x1="-3" y1="5" x2="3" y2="5" width="0.127" layer="21"/>
<wire x1="3" y1="5" x2="5" y2="3" width="0.127" layer="21" curve="-90"/>
<smd name="+2" x="4.5" y="0" dx="4" dy="1.5" layer="1" roundness="50" rot="R90" cream="no"/>
<smd name="+1" x="-4.5" y="0" dx="4" dy="1.5" layer="1" roundness="50" rot="R90" cream="no"/>
<smd name="+3" x="-4.5" y="0" dx="4" dy="1.5" layer="16" roundness="50" rot="R270" cream="no"/>
<smd name="+4" x="4.5" y="0" dx="4" dy="1.5" layer="16" roundness="50" rot="R270" cream="no"/>
<smd name="-" x="0" y="0" dx="3" dy="3" layer="1" roundness="100"/>
<wire x1="-4.5" y1="-0.75" x2="-4.3" y2="-0.55" width="0.127" layer="46" curve="90"/>
<wire x1="-4.3" y1="-0.55" x2="-4.3" y2="0.55" width="0.127" layer="46"/>
<wire x1="-4.3" y1="0.55" x2="-4.5" y2="0.75" width="0.127" layer="46" curve="90"/>
<wire x1="-4.5" y1="0.75" x2="-4.7" y2="0.55" width="0.127" layer="46" curve="90"/>
<wire x1="-4.7" y1="0.55" x2="-4.7" y2="-0.55" width="0.127" layer="46"/>
<wire x1="-4.7" y1="-0.55" x2="-4.5" y2="-0.75" width="0.127" layer="46" curve="90"/>
<wire x1="4.7" y1="-0.55" x2="4.7" y2="0.55" width="0.127" layer="46"/>
<wire x1="4.7" y1="0.55" x2="4.5" y2="0.75" width="0.127" layer="46" curve="90"/>
<wire x1="4.5" y1="0.75" x2="4.3" y2="0.55" width="0.127" layer="46" curve="90"/>
<wire x1="4.3" y1="0.55" x2="4.3" y2="-0.55" width="0.127" layer="46"/>
<wire x1="4.3" y1="-0.55" x2="4.5" y2="-0.75" width="0.127" layer="46" curve="90"/>
<wire x1="4.5" y1="-0.75" x2="4.7" y2="-0.55" width="0.127" layer="46" curve="90"/>
</package>
<package name="LED-RGB-THRU">
<wire x1="2.5" y1="-1" x2="2.5" y2="1" width="0.127" layer="21"/>
<wire x1="2.5" y1="-1" x2="2.5" y2="1" width="0.127" layer="21" curve="-316.397181"/>
<pad name="2" x="0.635" y="0" drill="0.762" diameter="0.889" shape="long" rot="R90"/>
<pad name="1" x="1.905" y="0" drill="0.762" diameter="0.889" shape="long" rot="R90"/>
<pad name="3" x="-0.635" y="0" drill="0.762" diameter="0.889" shape="long" rot="R90"/>
<pad name="4" x="-1.905" y="0" drill="0.762" diameter="0.889" shape="long" rot="R90"/>
</package>
<package name="BATTERY_COVER_AG3_REVERSABLE">
<description>Metal battery shroud for AG3 coin cell battery. Reversable version for mouting connector on either side of PCB.

Sample part here:
http://item.taobao.com/item.htm?spm=a230r.1.14.130.LurJbZ&amp;id=16889806763&amp;ns=1&amp;abbucket=12#detail</description>
<wire x1="5" y1="3" x2="5" y2="-3" width="0.127" layer="21"/>
<wire x1="5" y1="-3" x2="3" y2="-5" width="0.127" layer="21" curve="-90"/>
<wire x1="3" y1="-5" x2="-3" y2="-5" width="0.127" layer="21"/>
<wire x1="-3" y1="-5" x2="-5" y2="-3" width="0.127" layer="21" curve="-90"/>
<wire x1="-5" y1="-3" x2="-5" y2="3" width="0.127" layer="21"/>
<wire x1="-5" y1="3" x2="-3" y2="5" width="0.127" layer="21" curve="-90"/>
<wire x1="-3" y1="5" x2="3" y2="5" width="0.127" layer="21"/>
<wire x1="3" y1="5" x2="5" y2="3" width="0.127" layer="21" curve="-90"/>
<smd name="+2" x="4.5" y="0" dx="4" dy="1.5" layer="1" roundness="50" rot="R90" cream="no"/>
<smd name="+1" x="-4.5" y="0" dx="4" dy="1.5" layer="1" roundness="50" rot="R90" cream="no"/>
<smd name="+3" x="-4.5" y="0" dx="4" dy="1.5" layer="16" roundness="50" rot="R270" cream="no"/>
<smd name="+4" x="4.5" y="0" dx="4" dy="1.5" layer="16" roundness="50" rot="R270" cream="no"/>
<smd name="-2" x="0" y="0" dx="3" dy="3" layer="1" roundness="100"/>
<wire x1="-4.5" y1="-0.75" x2="-4.3" y2="-0.55" width="0.127" layer="46" curve="90"/>
<wire x1="-4.3" y1="-0.55" x2="-4.3" y2="0.55" width="0.127" layer="46"/>
<wire x1="-4.3" y1="0.55" x2="-4.5" y2="0.75" width="0.127" layer="46" curve="90"/>
<wire x1="-4.5" y1="0.75" x2="-4.7" y2="0.55" width="0.127" layer="46" curve="90"/>
<wire x1="-4.7" y1="0.55" x2="-4.7" y2="-0.55" width="0.127" layer="46"/>
<wire x1="-4.7" y1="-0.55" x2="-4.5" y2="-0.75" width="0.127" layer="46" curve="90"/>
<wire x1="4.7" y1="-0.55" x2="4.7" y2="0.55" width="0.127" layer="46"/>
<wire x1="4.7" y1="0.55" x2="4.5" y2="0.75" width="0.127" layer="46" curve="90"/>
<wire x1="4.5" y1="0.75" x2="4.3" y2="0.55" width="0.127" layer="46" curve="90"/>
<wire x1="4.3" y1="0.55" x2="4.3" y2="-0.55" width="0.127" layer="46"/>
<wire x1="4.3" y1="-0.55" x2="4.5" y2="-0.75" width="0.127" layer="46" curve="90"/>
<wire x1="4.5" y1="-0.75" x2="4.7" y2="-0.55" width="0.127" layer="46" curve="90"/>
<smd name="-1" x="0" y="0" dx="3" dy="3" layer="16" roundness="100" rot="R90"/>
</package>
<package name="TSOP321">
<wire x1="-3" y1="1.5" x2="3" y2="1.5" width="0.127" layer="21"/>
<wire x1="3" y1="1.5" x2="3" y2="-2.5" width="0.127" layer="21"/>
<wire x1="3" y1="-2.5" x2="2" y2="-2.5" width="0.127" layer="21"/>
<wire x1="2" y1="-2.5" x2="-2" y2="-2.5" width="0.127" layer="21"/>
<wire x1="-2" y1="-2.5" x2="-3" y2="-2.5" width="0.127" layer="21"/>
<wire x1="-3" y1="-2.5" x2="-3" y2="1.5" width="0.127" layer="21"/>
<wire x1="2" y1="-2.5" x2="-2" y2="-2.5" width="0.127" layer="21" curve="-153.434949"/>
<pad name="P$2" x="0" y="0" drill="0.8"/>
<pad name="P$3" x="2" y="0" drill="0.8"/>
<pad name="P$1" x="-2" y="0" drill="0.8"/>
</package>
</packages>
<symbols>
<symbol name="ARDUINO_LEONARDO-REV3B_SMARTPRJ_ATMEGA32U4">
Expand Down Expand Up @@ -5685,7 +5768,7 @@ grid 5.08 mm</description>
<pin name="SHIELD" x="7.62" y="-7.62" length="middle" rot="R180"/>
<wire x1="2.54" y1="-7.62" x2="2.54" y2="-5.08" width="0.254" layer="94" style="shortdash"/>
</symbol>
<symbol name="WS2811_LED">
<symbol name="WS2812S_LED">
<wire x1="2.54" y1="5.08" x2="2.54" y2="-5.08" width="0.254" layer="94"/>
<wire x1="2.54" y1="-5.08" x2="-12.7" y2="-5.08" width="0.254" layer="94"/>
<wire x1="-12.7" y1="-5.08" x2="-12.7" y2="5.08" width="0.254" layer="94"/>
Expand Down Expand Up @@ -5992,6 +6075,70 @@ grid 5.08 mm</description>
<text x="-1.27" y="-10.16" size="1.778" layer="96">&gt;VALUE</text>
<text x="-1.27" y="5.842" size="1.778" layer="95">&gt;NAME</text>
</symbol>
<symbol name="BATTERY">
<pin name="+" x="0" y="10.16" visible="off" length="middle" direction="pwr" rot="R270"/>
<pin name="-" x="0" y="-7.62" visible="off" length="middle" direction="pwr" rot="R90"/>
<wire x1="-5.08" y1="5.08" x2="5.08" y2="5.08" width="0.254" layer="94"/>
<wire x1="-2.54" y1="2.54" x2="2.54" y2="2.54" width="0.254" layer="94"/>
<wire x1="-5.08" y1="0" x2="5.08" y2="0" width="0.254" layer="94"/>
<wire x1="-2.54" y1="-2.54" x2="2.54" y2="-2.54" width="0.254" layer="94"/>
<wire x1="2.54" y1="8.89" x2="5.08" y2="8.89" width="0.254" layer="94"/>
<wire x1="3.81" y1="10.16" x2="3.81" y2="7.62" width="0.254" layer="94"/>
<wire x1="2.54" y1="-6.35" x2="5.08" y2="-6.35" width="0.254" layer="94"/>
</symbol>
<symbol name="LED-RGB-CA">
<pin name="RED_CATHODE" x="-5.08" y="5.08" visible="off" length="middle"/>
<pin name="GREEN_CATHODE" x="-5.08" y="0" visible="off" length="middle"/>
<pin name="BLUE_CATHODE" x="-5.08" y="-5.08" visible="off" length="middle"/>
<pin name="ANODE" x="10.16" y="0" visible="off" length="middle" rot="R180"/>
<wire x1="2.54" y1="3.556" x2="2.54" y2="5.08" width="0.254" layer="94"/>
<wire x1="2.54" y1="5.08" x2="2.54" y2="6.604" width="0.254" layer="94"/>
<wire x1="2.54" y1="6.604" x2="0" y2="5.08" width="0.254" layer="94"/>
<wire x1="0" y1="5.08" x2="2.54" y2="3.556" width="0.254" layer="94"/>
<wire x1="0" y1="3.556" x2="0" y2="6.604" width="0.254" layer="94"/>
<wire x1="2.54" y1="-1.524" x2="2.54" y2="0" width="0.254" layer="94"/>
<wire x1="2.54" y1="0" x2="2.54" y2="1.524" width="0.254" layer="94"/>
<wire x1="2.54" y1="1.524" x2="0" y2="0" width="0.254" layer="94"/>
<wire x1="0" y1="0" x2="2.54" y2="-1.524" width="0.254" layer="94"/>
<wire x1="0" y1="-1.524" x2="0" y2="1.524" width="0.254" layer="94"/>
<wire x1="2.54" y1="-6.604" x2="2.54" y2="-5.08" width="0.254" layer="94"/>
<wire x1="2.54" y1="-5.08" x2="2.54" y2="-3.556" width="0.254" layer="94"/>
<wire x1="2.54" y1="-3.556" x2="0" y2="-5.08" width="0.254" layer="94"/>
<wire x1="0" y1="-5.08" x2="2.54" y2="-6.604" width="0.254" layer="94"/>
<wire x1="0" y1="-6.604" x2="0" y2="-3.556" width="0.254" layer="94"/>
<wire x1="2.54" y1="-5.08" x2="5.08" y2="-5.08" width="0.1524" layer="94"/>
<wire x1="5.08" y1="-5.08" x2="5.08" y2="0" width="0.1524" layer="94"/>
<wire x1="5.08" y1="0" x2="5.08" y2="5.08" width="0.1524" layer="94"/>
<wire x1="5.08" y1="5.08" x2="2.54" y2="5.08" width="0.1524" layer="94"/>
<wire x1="5.08" y1="0" x2="2.54" y2="0" width="0.1524" layer="94"/>
<text x="0.254" y="7.112" size="0.8128" layer="94">RED</text>
<text x="0.254" y="2.032" size="0.8128" layer="94">GREEN</text>
<text x="0.254" y="-3.048" size="0.8128" layer="94">BLUE</text>
<text x="5.842" y="1.524" size="1.27" layer="95">&gt;NAME</text>
</symbol>
<symbol name="TSOP321">
<pin name="VS" x="-5.08" y="2.54" length="middle"/>
<pin name="OUT" x="-5.08" y="0" length="middle"/>
<pin name="GND" x="-5.08" y="-2.54" length="middle"/>
<wire x1="0" y1="5.08" x2="7.62" y2="5.08" width="0.254" layer="94"/>
<wire x1="7.62" y1="5.08" x2="7.62" y2="-5.08" width="0.254" layer="94"/>
<wire x1="7.62" y1="-5.08" x2="0" y2="-5.08" width="0.254" layer="94"/>
<wire x1="0" y1="-5.08" x2="0" y2="5.08" width="0.254" layer="94"/>
</symbol>
<symbol name="WS2811">
<pin name="ADR0" x="-12.7" y="2.54" length="middle"/>
<pin name="ROUT" x="-12.7" y="0" length="middle"/>
<pin name="GOUT" x="-12.7" y="-2.54" length="middle"/>
<pin name="BOUT" x="-12.7" y="-5.08" length="middle"/>
<pin name="GND" x="15.24" y="-5.08" length="middle" rot="R180"/>
<pin name="DAI" x="15.24" y="-2.54" length="middle" rot="R180"/>
<pin name="ADRI" x="15.24" y="0" length="middle" rot="R180"/>
<pin name="VCC" x="15.24" y="2.54" length="middle" rot="R180"/>
<wire x1="-7.62" y1="-7.62" x2="-7.62" y2="5.08" width="0.254" layer="94"/>
<wire x1="-7.62" y1="5.08" x2="10.16" y2="5.08" width="0.254" layer="94"/>
<wire x1="10.16" y1="5.08" x2="10.16" y2="-7.62" width="0.254" layer="94"/>
<wire x1="10.16" y1="-7.62" x2="-7.62" y2="-7.62" width="0.254" layer="94"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="ARDUINO_LEONARDO-REV3B_SMARTPRJ_ATMEGA32U4-XU">
Expand Down Expand Up @@ -6521,10 +6668,10 @@ grid 5.08 mm</description>
</deviceset>
<deviceset name="WS2811_LED">
<gates>
<gate name="G$1" symbol="WS2811_LED" x="5.08" y="0"/>
<gate name="G$1" symbol="WS2812S_LED" x="5.08" y="0"/>
</gates>
<devices>
<device name="" package="WS2811_LED">
<device name="" package="WS2812S_LED">
<connects>
<connect gate="G$1" pin="DI" pad="DI"/>
<connect gate="G$1" pin="DO" pad="DO"/>
Expand Down Expand Up @@ -6998,6 +7145,85 @@ Big Oval pads</description>
</device>
</devices>
</deviceset>
<deviceset name="BATTERY_BUTTON_CELL">
<gates>
<gate name="G$1" symbol="BATTERY" x="0" y="-2.54"/>
</gates>
<devices>
<device name="AG3" package="BATTERY_COVER_AG3">
<connects>
<connect gate="G$1" pin="+" pad="+1 +2 +3 +4"/>
<connect gate="G$1" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="AG3-REVERSABLE" package="BATTERY_COVER_AG3_REVERSABLE">
<connects>
<connect gate="G$1" pin="+" pad="+1 +2 +3 +4"/>
<connect gate="G$1" pin="-" pad="-1 -2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="LED-RGB-CA-THRU" prefix="D">
<description>RGB Through-hole common anode&lt;br&gt;
SparkFun store front&lt;br&gt;
COM-10821 (diffuse)&lt;br&gt;
COM-10820 (clear)&lt;br&gt;</description>
<gates>
<gate name="G$1" symbol="LED-RGB-CA" x="0" y="0"/>
</gates>
<devices>
<device name="DIFFUSE" package="LED-RGB-THRU">
<connects>
<connect gate="G$1" pin="ANODE" pad="2"/>
<connect gate="G$1" pin="BLUE_CATHODE" pad="4"/>
<connect gate="G$1" pin="GREEN_CATHODE" pad="3"/>
<connect gate="G$1" pin="RED_CATHODE" pad="1"/>
</connects>
<technologies>
<technology name="">
<attribute name="PROD_ID" value="DIO-10632"/>
</technology>
</technologies>
</device>
<device name="CLEAR" package="LED-RGB-THRU">
<connects>
<connect gate="G$1" pin="ANODE" pad="2"/>
<connect gate="G$1" pin="BLUE_CATHODE" pad="4"/>
<connect gate="G$1" pin="GREEN_CATHODE" pad="3"/>
<connect gate="G$1" pin="RED_CATHODE" pad="1"/>
</connects>
<technologies>
<technology name="">
<attribute name="PROD_ID" value="DIO-10631"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="TSOP321">
<gates>
<gate name="G$1" symbol="TSOP321" x="0" y="0"/>
</gates>
<devices>
<device name="" package="TSOP321">
<connects>
<connect gate="G$1" pin="GND" pad="P$3"/>
<connect gate="G$1" pin="OUT" pad="P$1"/>
<connect gate="G$1" pin="VS" pad="P$2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</drawing>
Expand Down

0 comments on commit c62b371

Please sign in to comment.