diff options
author | David Barksdale <amatus@amatus.name> | 2015-11-02 22:56:32 -0600 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2015-11-02 22:56:32 -0600 |
commit | 9056f80fa40267f57373df36ab1e07ee892e531f (patch) | |
tree | 2cbde56cdf7988bfc5139c4401233f83ae8e847c | |
parent | 37d4afc8ce761a386c2b0216e268f5466f9b3a7d (diff) |
Wired up switches
-rw-r--r-- | eagle libraries/Switches.lbr | 139 | ||||
-rw-r--r-- | laser-tag badge/laser-tag.brd | 134 | ||||
-rw-r--r-- | laser-tag badge/laser-tag.sch | 130 |
3 files changed, 390 insertions, 13 deletions
diff --git a/eagle libraries/Switches.lbr b/eagle libraries/Switches.lbr new file mode 100644 index 0000000..c840d67 --- /dev/null +++ b/eagle libraries/Switches.lbr @@ -0,0 +1,139 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="6.6.0"> +<drawing> +<settings> +<setting alwaysvectorfont="no"/> +<setting verticaltext="up"/> +</settings> +<grid distance="0.1" unitdist="inch" unit="inch" style="lines" multiple="1" display="yes" altdistance="0.01" altunitdist="inch" altunit="inch"/> +<layers> +<layer number="1" name="Top" color="4" fill="1" visible="yes" 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="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="TPA511GLFS"> +<smd name="7" x="-5.75" y="1.7" dx="1" dy="1.4" layer="1"/> +<smd name="6" x="-5.75" y="0" dx="1" dy="1.4" layer="1"/> +<smd name="2" x="-5.75" y="-2.6" dx="1" dy="1.4" layer="1"/> +<smd name="1" x="-5.75" y="-4.3" dx="1" dy="1.4" layer="1"/> +<smd name="5" x="3.15" y="1.7" dx="1" dy="1.4" layer="1"/> +<smd name="3" x="3.15" y="-2.6" dx="1" dy="1.4" layer="1"/> +<smd name="4" x="3.15" y="-4.3" dx="1" dy="1.4" layer="1"/> +<wire x1="2.725" y1="2.7" x2="-5.325" y2="2.7" width="0.127" layer="21"/> +<wire x1="-5.325" y1="2.7" x2="-5.325" y2="-5.3" width="0.127" layer="21"/> +<wire x1="-5.325" y1="-5.3" x2="2.725" y2="-5.3" width="0.127" layer="21"/> +<wire x1="2.725" y1="-5.3" x2="2.725" y2="2.7" width="0.127" layer="21"/> +<circle x="0" y="0" radius="1" width="0.127" layer="21"/> +<text x="-5.25" y="3" size="1.27" layer="25">>NAME</text> +<text x="-5.25" y="-6.75" size="1.27" layer="27">>VALUE</text> +</package> +</packages> +<symbols> +<symbol name="TPA511GLFS"> +<pin name="1" x="-10.16" y="2.54" visible="off" length="middle"/> +<pin name="2" x="-10.16" y="-2.54" visible="off" length="middle"/> +<pin name="SELECT" x="12.7" y="5.08" visible="off" length="middle" rot="R180"/> +<pin name="LEFT" x="12.7" y="2.54" visible="off" length="middle" rot="R180"/> +<pin name="DOWN" x="12.7" y="0" visible="off" length="middle" rot="R180"/> +<pin name="RIGHT" x="12.7" y="-2.54" visible="off" length="middle" rot="R180"/> +<pin name="UP" x="12.7" y="-5.08" visible="off" length="middle" rot="R180"/> +<wire x1="-5.08" y1="5.08" x2="-5.08" y2="2.54" width="0.254" layer="94"/> +<wire x1="-5.08" y1="2.54" x2="-5.08" y2="0" width="0.254" layer="94"/> +<wire x1="-5.08" y1="0" x2="0" y2="0" width="0.254" layer="94"/> +<wire x1="-5.08" y1="2.54" x2="0" y2="2.54" width="0.254" layer="94"/> +<wire x1="-5.08" y1="5.08" x2="0" y2="5.08" width="0.254" layer="94"/> +<wire x1="7.62" y1="5.08" x2="2.54" y2="5.08" width="0.254" layer="94"/> +<wire x1="7.62" y1="2.54" x2="2.54" y2="2.54" width="0.254" layer="94"/> +<wire x1="7.62" y1="0" x2="2.54" y2="0" width="0.254" layer="94"/> +<wire x1="7.62" y1="-2.54" x2="2.54" y2="-2.54" width="0.254" layer="94"/> +<wire x1="7.62" y1="-5.08" x2="2.54" y2="-5.08" width="0.254" layer="94"/> +<wire x1="-5.08" y1="-2.54" x2="0" y2="-2.54" width="0.254" layer="94"/> +<wire x1="-5.08" y1="-2.54" x2="-5.08" y2="-5.08" width="0.254" layer="94"/> +<wire x1="-5.08" y1="-5.08" x2="0" y2="-5.08" width="0.254" layer="94"/> +<wire x1="0" y1="5.08" x2="2.54" y2="6.35" width="0.254" layer="94"/> +<wire x1="0" y1="2.54" x2="2.54" y2="3.81" width="0.254" layer="94"/> +<wire x1="0" y1="0" x2="2.54" y2="1.27" width="0.254" layer="94"/> +<wire x1="0" y1="-2.54" x2="2.54" y2="-1.27" width="0.254" layer="94"/> +<wire x1="0" y1="-5.08" x2="2.54" y2="-3.81" width="0.254" layer="94"/> +<text x="-7.62" y="3.048" size="1.27" layer="97">1</text> +<text x="-7.62" y="-2.032" size="1.27" layer="97">2</text> +<text x="5.08" y="5.588" size="1.27" layer="97">SELECT</text> +<text x="5.08" y="3.048" size="1.27" layer="97">LEFT</text> +<text x="5.08" y="0.508" size="1.27" layer="97">DOWN</text> +<text x="5.08" y="-2.032" size="1.27" layer="97">RIGHT</text> +<text x="5.08" y="-4.572" size="1.27" layer="97">UP</text> +<text x="-5.08" y="10.16" size="1.778" layer="95">>NAME</text> +<text x="-5.08" y="7.62" size="1.778" layer="96">>VALUE</text> +</symbol> +</symbols> +<devicesets> +<deviceset name="TPA511GLFS"> +<gates> +<gate name="G$1" symbol="TPA511GLFS" x="0" y="0"/> +</gates> +<devices> +<device name="" package="TPA511GLFS"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +<connect gate="G$1" pin="DOWN" pad="4"/> +<connect gate="G$1" pin="LEFT" pad="7"/> +<connect gate="G$1" pin="RIGHT" pad="6"/> +<connect gate="G$1" pin="SELECT" pad="5"/> +<connect gate="G$1" pin="UP" pad="3"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +</drawing> +</eagle> diff --git a/laser-tag badge/laser-tag.brd b/laser-tag badge/laser-tag.brd index eb89611..dad24e6 100644 --- a/laser-tag badge/laser-tag.brd +++ b/laser-tag badge/laser-tag.brd @@ -2229,6 +2229,26 @@ www.irf.com<p> </package> </packages> </library> +<library name="Switches"> +<packages> +<package name="TPA511GLFS"> +<smd name="7" x="-5.75" y="1.7" dx="1" dy="1.4" layer="1"/> +<smd name="6" x="-5.75" y="0" dx="1" dy="1.4" layer="1"/> +<smd name="2" x="-5.75" y="-2.6" dx="1" dy="1.4" layer="1"/> +<smd name="1" x="-5.75" y="-4.3" dx="1" dy="1.4" layer="1"/> +<smd name="5" x="3.15" y="1.7" dx="1" dy="1.4" layer="1"/> +<smd name="3" x="3.15" y="-2.6" dx="1" dy="1.4" layer="1"/> +<smd name="4" x="3.15" y="-4.3" dx="1" dy="1.4" layer="1"/> +<wire x1="2.725" y1="2.7" x2="-5.325" y2="2.7" width="0.127" layer="21"/> +<wire x1="-5.325" y1="2.7" x2="-5.325" y2="-5.3" width="0.127" layer="21"/> +<wire x1="-5.325" y1="-5.3" x2="2.725" y2="-5.3" width="0.127" layer="21"/> +<wire x1="2.725" y1="-5.3" x2="2.725" y2="2.7" width="0.127" layer="21"/> +<circle x="0" y="0" radius="1" width="0.127" layer="21"/> +<text x="-5.25" y="3" size="1.27" layer="25">>NAME</text> +<text x="-5.25" y="-6.75" size="1.27" layer="27">>VALUE</text> +</package> +</packages> +</library> </libraries> <attributes> </attributes> @@ -2442,8 +2462,8 @@ design rules under a new name.</description> <element name="USB" library="adafruit" package="USB-MINIB" value="" x="60.96" y="76.835" rot="MR180"/> <element name="R2" library="rcl" package="R0603" value="10" x="81.915" y="20.955" rot="MR270"/> <element name="C5" library="rcl" package="C0603K" value="10 uF" x="72.39" y="35.56" rot="R270"/> -<element name="S1" library="switch" package="SKHMPXE010" value="SKHMPSE010" x="59.055" y="13.97" rot="R90"/> -<element name="S2" library="switch" package="SKHMPXE010" value="SKHMPSE010" x="70.485" y="13.97" rot="R90"/> +<element name="S1" library="switch" package="SKHMPXE010" value="SKHMPSE010" x="62.23" y="8.255" rot="R90"/> +<element name="S2" library="switch" package="SKHMPXE010" value="SKHMPSE010" x="74.93" y="8.255" rot="R90"/> <element name="J1" library="Jumpers" package="JUMPER_SOLDER_1X2_CLOSED" value="JUMPER_SOLDER_1X2_CLOSED" x="71.755" y="55.88" rot="R90"/> <element name="J3" library="Jumpers" package="JUMPER_SOLDER_1X2_CLOSED" value="JUMPER_SOLDER_1X2_CLOSED" x="81.915" y="59.055" rot="R180"/> <element name="J2" library="Jumpers" package="JUMPER_SOLDER_1X2_OPEN" value="JUMPER_SOLDER_1X2_OPEN" x="70.485" y="35.56" rot="R270"/> @@ -2474,6 +2494,7 @@ design rules under a new name.</description> <element name="Q1" library="transistor-small-signal" package="SOT23" value="BSS123" x="17.145" y="56.515" rot="MR180"/> <element name="Q2" library="transistor-small-signal" package="SOT23" value="BSS123" x="13.335" y="56.515" rot="MR180"/> <element name="J4" library="Jumpers" package="JUMPER_SOLDER_1X2_CLOSED" value="JUMPER_SOLDER_1X2_CLOSED" x="31.115" y="8.89" rot="MR180"/> +<element name="S3" library="Switches" package="TPA511GLFS" value="TPA511GLFS" x="65.405" y="69.85" rot="R90"/> </elements> <signals> <signal name="GND"> @@ -2544,18 +2565,53 @@ design rules under a new name.</description> <wire x1="45.72" y1="8.89" x2="45.72" y2="5.08" width="0.254" layer="16"/> <wire x1="45.72" y1="5.08" x2="46.99" y2="3.81" width="0.254" layer="16"/> <wire x1="30.8356" y1="8.89" x2="30.48" y2="8.89" width="0.254" layer="16"/> +<contactref element="S3" pad="1"/> +<contactref element="S3" pad="2"/> +<wire x1="69.705" y1="64.1" x2="69.705" y2="63.355" width="0.254" layer="1"/> +<wire x1="69.705" y1="63.355" x2="69.215" y2="62.865" width="0.254" layer="1"/> +<via x="69.215" y="62.865" extent="1-16" drill="0.5"/> +<wire x1="68.005" y1="64.1" x2="68.005" y2="63.44" width="0.254" layer="1"/> +<wire x1="68.005" y1="63.44" x2="68.58" y2="62.865" width="0.254" layer="1"/> +<wire x1="68.58" y1="62.865" x2="69.215" y2="62.865" width="0.254" layer="1"/> +<wire x1="77.18" y1="4.055" x2="77.18" y2="8.2275" width="0.254" layer="1"/> +<wire x1="77.18" y1="8.2275" x2="77.1525" y2="8.255" width="0.254" layer="1"/> +<via x="77.1525" y="8.255" extent="1-16" drill="0.5"/> +<wire x1="77.18" y1="12.455" x2="77.18" y2="8.2825" width="0.254" layer="1"/> +<wire x1="77.18" y1="8.2825" x2="77.1525" y2="8.255" width="0.254" layer="1"/> +<wire x1="64.48" y1="12.455" x2="64.48" y2="8.2825" width="0.254" layer="1"/> +<wire x1="64.48" y1="8.2825" x2="64.4525" y2="8.255" width="0.254" layer="1"/> +<via x="64.4525" y="8.255" extent="1-16" drill="0.5"/> +<wire x1="64.4525" y1="8.255" x2="65.0875" y2="8.255" width="0" layer="19" extent="1-16"/> +<wire x1="64.48" y1="4.055" x2="64.48" y2="8.2275" width="0.254" layer="1"/> +<wire x1="64.48" y1="8.2275" x2="64.4525" y2="8.255" width="0.254" layer="1"/> <wire x1="87.757" y1="70.485" x2="87.757" y2="71.755" width="0" layer="19" extent="1-1"/> <wire x1="85.725" y1="71.755" x2="87.757" y2="71.755" width="0" layer="19" extent="1-16"/> -<wire x1="22.225" y1="51.675" x2="20.32" y2="51.675" width="0" layer="19" extent="16-16"/> -<wire x1="72.39" y1="34.685" x2="69.215" y2="33.431690625" width="0" layer="19" extent="1-16"/> -<wire x1="63.5" y1="41.515" x2="61.03441875" y2="38.96061875" width="0" layer="19" extent="1-16"/> -<wire x1="71.12" y1="41.515" x2="72.878478125" y2="38.253515625" width="0" layer="19" extent="1-16"/> +<wire x1="79.59" y1="59.055" x2="87.757" y2="70.485" width="0" layer="19" extent="1-16"/> +<wire x1="69.705" y1="63.355" x2="79.59" y2="59.055" width="0" layer="19" extent="1-16"/> +<wire x1="62.56" y1="72.771" x2="68.005" y2="64.1" width="0" layer="19" extent="1-16"/> +<wire x1="63.5" y1="52.07" x2="68.58" y2="62.865" width="0" layer="19" extent="1-16"/> +<wire x1="67.31" y1="42.94" x2="65.630621875" y2="46.91558125" width="0" layer="19" extent="1-16"/> +<wire x1="71.12" y1="41.515" x2="67.31" y2="42.94" width="0" layer="19" extent="1-1"/> +<wire x1="72.878478125" y1="38.253515625" x2="71.12" y2="41.515" width="0" layer="19" extent="1-16"/> +<wire x1="72.39" y1="34.685" x2="72.878478125" y2="38.253515625" width="0" layer="19" extent="1-16"/> +<wire x1="69.215" y1="33.431690625" x2="72.39" y2="34.685" width="0" layer="19" extent="1-16"/> <wire x1="67.31" y1="37.705" x2="68.635828125" y2="34.0108625" width="0" layer="19" extent="1-16"/> -<wire x1="67.31" y1="42.94" x2="63.5" y2="41.515" width="0" layer="19" extent="1-1"/> -<wire x1="61.305" y1="9.77" x2="52.705" y2="8.89" width="0" layer="19" extent="1-16"/> -<wire x1="61.305" y1="18.17" x2="61.305" y2="9.77" width="0" layer="19" extent="1-1"/> -<wire x1="72.735" y1="18.17" x2="81.915" y2="21.805" width="0" layer="19" extent="1-16"/> -<wire x1="72.735" y1="9.77" x2="72.735" y2="18.17" width="0" layer="19" extent="1-1"/> +<wire x1="63.5" y1="41.515" x2="67.31" y2="42.94" width="0" layer="19" extent="1-1"/> +<wire x1="61.03441875" y1="38.96061875" x2="63.5" y2="41.515" width="0" layer="19" extent="1-16"/> +<wire x1="31.15" y1="31.89" x2="29.845" y2="26.035" width="0" layer="19" extent="16-16"/> +<wire x1="27.94" y1="33.415" x2="31.15" y2="31.89" width="0" layer="19" extent="16-16"/> +<wire x1="21.2725" y1="58.6325" x2="29.21" y2="64.135" width="0" layer="19" extent="16-16"/> +<wire x1="18.095" y1="57.615" x2="21.2725" y2="58.6325" width="0" layer="19" extent="16-16"/> +<wire x1="14.285" y1="57.615" x2="18.095" y2="57.615" width="0" layer="19" extent="16-16"/> +<wire x1="20.32" y1="51.675" x2="18.095" y2="57.615" width="0" layer="19" extent="16-16"/> +<wire x1="22.225" y1="51.675" x2="20.32" y2="51.675" width="0" layer="19" extent="16-16"/> +<wire x1="24.13" y1="51.675" x2="22.225" y2="51.675" width="0" layer="19" extent="16-16"/> +<wire x1="26.035" y1="51.675" x2="24.13" y2="51.675" width="0" layer="19" extent="16-16"/> +<wire x1="27.94" y1="51.675" x2="26.035" y2="51.675" width="0" layer="19" extent="16-16"/> +<wire x1="31.15" y1="46.89" x2="27.94" y2="51.675" width="0" layer="19" extent="16-16"/> +<wire x1="64.4525" y1="8.255" x2="52.705" y2="8.89" width="0" layer="19" extent="1-16"/> +<wire x1="77.1525" y1="8.255" x2="65.0875" y2="8.255" width="0" layer="19" extent="16-16"/> +<wire x1="81.915" y1="21.805" x2="77.18" y2="12.455" width="0" layer="19" extent="1-16"/> </signal> <signal name="VCC"> <contactref element="DEBUG" pad="1"/> @@ -2877,8 +2933,10 @@ design rules under a new name.</description> <wire x1="52.07" y1="20.955" x2="29.845" y2="20.955" width="0.254" layer="16"/> <wire x1="29.845" y1="20.955" x2="21.59" y2="12.7" width="0.254" layer="16"/> <wire x1="21.59" y1="12.7" x2="21.59" y2="6.35" width="0.254" layer="16"/> -<wire x1="52.07" y1="20.955" x2="56.805" y2="18.17" width="0" layer="19" extent="1-16"/> -<wire x1="56.805" y1="9.77" x2="56.805" y2="18.17" width="0" layer="19" extent="1-1"/> +<wire x1="59.98" y1="4.055" x2="59.98" y2="12.455" width="0.254" layer="1"/> +<wire x1="59.98" y1="12.455" x2="22.615" y2="12.455" width="0.254" layer="1"/> +<wire x1="22.615" y1="12.455" x2="21.59" y2="11.43" width="0.254" layer="1"/> +<wire x1="21.59" y1="11.43" x2="21.59" y2="6.35" width="0.254" layer="1"/> </signal> <signal name="PTA2"> <contactref element="U1" pad="24"/> @@ -2890,6 +2948,15 @@ design rules under a new name.</description> <wire x1="52.07" y1="21.59" x2="29.845" y2="21.59" width="0.254" layer="16"/> <wire x1="29.845" y1="21.59" x2="20.32" y2="12.065" width="0.254" layer="16"/> <wire x1="20.32" y1="12.065" x2="20.32" y2="5.08" width="0.254" layer="16"/> +<contactref element="S2" pad="1"/> +<contactref element="S2" pad="2"/> +<wire x1="72.68" y1="4.055" x2="72.68" y2="12.455" width="0.254" layer="1"/> +<wire x1="72.68" y1="12.455" x2="67.555" y2="12.455" width="0.254" layer="1"/> +<wire x1="67.555" y1="12.455" x2="66.04" y2="13.97" width="0.254" layer="1"/> +<wire x1="66.04" y1="13.97" x2="22.225" y2="13.97" width="0.254" layer="1"/> +<wire x1="22.225" y1="13.97" x2="20.32" y2="12.065" width="0.254" layer="1"/> +<wire x1="20.32" y1="12.065" x2="20.32" y2="5.08" width="0.254" layer="1"/> +<wire x1="20.32" y1="5.08" x2="21.59" y2="3.81" width="0.254" layer="1"/> </signal> <signal name="PTA4"> <contactref element="U1" pad="26"/> @@ -2901,6 +2968,15 @@ design rules under a new name.</description> <wire x1="52.07" y1="22.86" x2="29.845" y2="22.86" width="0.254" layer="16"/> <wire x1="29.845" y1="22.86" x2="17.78" y2="10.795" width="0.254" layer="16"/> <wire x1="17.78" y1="10.795" x2="17.78" y2="5.08" width="0.254" layer="16"/> +<contactref element="S3" pad="6"/> +<wire x1="65.405" y1="64.1" x2="65.405" y2="62.865" width="0.254" layer="1"/> +<wire x1="65.405" y1="62.865" x2="64.77" y2="62.23" width="0.254" layer="1"/> +<wire x1="64.77" y1="62.23" x2="43.18" y2="62.23" width="0.254" layer="1"/> +<wire x1="43.18" y1="62.23" x2="40.005" y2="59.055" width="0.254" layer="1"/> +<wire x1="40.005" y1="59.055" x2="40.005" y2="33.02" width="0.254" layer="1"/> +<wire x1="40.005" y1="33.02" x2="17.78" y2="10.795" width="0.254" layer="1"/> +<wire x1="17.78" y1="10.795" x2="17.78" y2="5.08" width="0.254" layer="1"/> +<wire x1="17.78" y1="5.08" x2="19.05" y2="3.81" width="0.254" layer="1"/> </signal> <signal name="PTA5"> <contactref element="U1" pad="27"/> @@ -2911,6 +2987,12 @@ design rules under a new name.</description> <wire x1="52.07" y1="23.495" x2="29.845" y2="23.495" width="0.254" layer="16"/> <wire x1="29.845" y1="23.495" x2="16.51" y2="10.16" width="0.254" layer="16"/> <wire x1="16.51" y1="10.16" x2="16.51" y2="6.35" width="0.254" layer="16"/> +<contactref element="S3" pad="7"/> +<wire x1="63.705" y1="64.1" x2="44.415" y2="64.1" width="0.254" layer="1"/> +<wire x1="44.415" y1="64.1" x2="39.37" y2="59.055" width="0.254" layer="1"/> +<wire x1="39.37" y1="59.055" x2="39.37" y2="33.02" width="0.254" layer="1"/> +<wire x1="39.37" y1="33.02" x2="16.51" y2="10.16" width="0.254" layer="1"/> +<wire x1="16.51" y1="10.16" x2="16.51" y2="6.35" width="0.254" layer="1"/> </signal> <signal name="PTA12"> <contactref element="U1" pad="28"/> @@ -2922,6 +3004,15 @@ design rules under a new name.</description> <wire x1="52.07" y1="24.13" x2="29.845" y2="24.13" width="0.254" layer="16"/> <wire x1="29.845" y1="24.13" x2="15.24" y2="9.525" width="0.254" layer="16"/> <wire x1="15.24" y1="9.525" x2="15.24" y2="5.08" width="0.254" layer="16"/> +<contactref element="S3" pad="4"/> +<wire x1="69.705" y1="73" x2="69.705" y2="71.61" width="0.254" layer="1"/> +<wire x1="69.705" y1="71.61" x2="68.58" y2="70.485" width="0.254" layer="1"/> +<wire x1="68.58" y1="70.485" x2="50.165" y2="70.485" width="0.254" layer="1"/> +<wire x1="50.165" y1="70.485" x2="38.735" y2="59.055" width="0.254" layer="1"/> +<wire x1="38.735" y1="59.055" x2="38.735" y2="33.02" width="0.254" layer="1"/> +<wire x1="38.735" y1="33.02" x2="15.24" y2="9.525" width="0.254" layer="1"/> +<wire x1="15.24" y1="9.525" x2="15.24" y2="5.08" width="0.254" layer="1"/> +<wire x1="15.24" y1="5.08" x2="16.51" y2="3.81" width="0.254" layer="1"/> </signal> <signal name="PTA13"> <contactref element="U1" pad="29"/> @@ -2932,6 +3023,14 @@ design rules under a new name.</description> <wire x1="52.07" y1="24.765" x2="29.845" y2="24.765" width="0.254" layer="16"/> <wire x1="29.845" y1="24.765" x2="13.97" y2="8.89" width="0.254" layer="16"/> <wire x1="13.97" y1="8.89" x2="13.97" y2="6.35" width="0.254" layer="16"/> +<contactref element="S3" pad="3"/> +<wire x1="68.005" y1="73" x2="68.005" y2="71.815" width="0.254" layer="1"/> +<wire x1="68.005" y1="71.815" x2="67.31" y2="71.12" width="0.254" layer="1"/> +<wire x1="67.31" y1="71.12" x2="50.165" y2="71.12" width="0.254" layer="1"/> +<wire x1="50.165" y1="71.12" x2="38.1" y2="59.055" width="0.254" layer="1"/> +<wire x1="38.1" y1="59.055" x2="38.1" y2="33.02" width="0.254" layer="1"/> +<wire x1="38.1" y1="33.02" x2="13.97" y2="8.89" width="0.254" layer="1"/> +<wire x1="13.97" y1="8.89" x2="13.97" y2="6.35" width="0.254" layer="1"/> </signal> <signal name="PTA18"> <contactref element="U1" pad="32"/> @@ -2943,6 +3042,15 @@ design rules under a new name.</description> <wire x1="54.61" y1="29.21" x2="52.07" y2="26.67" width="0.254" layer="16"/> <wire x1="52.07" y1="26.67" x2="29.845" y2="26.67" width="0.254" layer="16"/> <wire x1="29.845" y1="26.67" x2="10.16" y2="6.985" width="0.254" layer="16"/> +<contactref element="S3" pad="5"/> +<wire x1="63.705" y1="73" x2="51.41" y2="73" width="0.254" layer="1"/> +<wire x1="51.41" y1="73" x2="37.465" y2="59.055" width="0.254" layer="1"/> +<wire x1="37.465" y1="59.055" x2="37.465" y2="33.02" width="0.254" layer="1"/> +<wire x1="37.465" y1="33.02" x2="31.115" y2="26.67" width="0.254" layer="1"/> +<wire x1="31.115" y1="26.67" x2="29.845" y2="26.67" width="0.254" layer="1"/> +<wire x1="29.845" y1="26.67" x2="10.16" y2="6.985" width="0.254" layer="1"/> +<wire x1="10.16" y1="6.985" x2="10.16" y2="5.08" width="0.254" layer="1"/> +<wire x1="10.16" y1="5.08" x2="11.43" y2="3.81" width="0.254" layer="1"/> </signal> <signal name="PTD7"> <contactref element="U1" pad="64"/> diff --git a/laser-tag badge/laser-tag.sch b/laser-tag badge/laser-tag.sch index 74a8518..680af7f 100644 --- a/laser-tag badge/laser-tag.sch +++ b/laser-tag badge/laser-tag.sch @@ -9584,6 +9584,87 @@ www.irf.com<p> </deviceset> </devicesets> </library> +<library name="Switches"> +<packages> +<package name="TPA511GLFS"> +<smd name="7" x="-5.75" y="1.7" dx="1" dy="1.4" layer="1"/> +<smd name="6" x="-5.75" y="0" dx="1" dy="1.4" layer="1"/> +<smd name="2" x="-5.75" y="-2.6" dx="1" dy="1.4" layer="1"/> +<smd name="1" x="-5.75" y="-4.3" dx="1" dy="1.4" layer="1"/> +<smd name="5" x="3.15" y="1.7" dx="1" dy="1.4" layer="1"/> +<smd name="3" x="3.15" y="-2.6" dx="1" dy="1.4" layer="1"/> +<smd name="4" x="3.15" y="-4.3" dx="1" dy="1.4" layer="1"/> +<wire x1="2.725" y1="2.7" x2="-5.325" y2="2.7" width="0.127" layer="21"/> +<wire x1="-5.325" y1="2.7" x2="-5.325" y2="-5.3" width="0.127" layer="21"/> +<wire x1="-5.325" y1="-5.3" x2="2.725" y2="-5.3" width="0.127" layer="21"/> +<wire x1="2.725" y1="-5.3" x2="2.725" y2="2.7" width="0.127" layer="21"/> +<circle x="0" y="0" radius="1" width="0.127" layer="21"/> +<text x="-5.25" y="3" size="1.27" layer="25">>NAME</text> +<text x="-5.25" y="-6.75" size="1.27" layer="27">>VALUE</text> +</package> +</packages> +<symbols> +<symbol name="TPA511GLFS"> +<pin name="1" x="-10.16" y="2.54" visible="off" length="middle"/> +<pin name="2" x="-10.16" y="-2.54" visible="off" length="middle"/> +<pin name="SELECT" x="12.7" y="5.08" visible="off" length="middle" rot="R180"/> +<pin name="LEFT" x="12.7" y="2.54" visible="off" length="middle" rot="R180"/> +<pin name="DOWN" x="12.7" y="0" visible="off" length="middle" rot="R180"/> +<pin name="RIGHT" x="12.7" y="-2.54" visible="off" length="middle" rot="R180"/> +<pin name="UP" x="12.7" y="-5.08" visible="off" length="middle" rot="R180"/> +<wire x1="-5.08" y1="5.08" x2="-5.08" y2="2.54" width="0.254" layer="94"/> +<wire x1="-5.08" y1="2.54" x2="-5.08" y2="0" width="0.254" layer="94"/> +<wire x1="-5.08" y1="0" x2="0" y2="0" width="0.254" layer="94"/> +<wire x1="-5.08" y1="2.54" x2="0" y2="2.54" width="0.254" layer="94"/> +<wire x1="-5.08" y1="5.08" x2="0" y2="5.08" width="0.254" layer="94"/> +<wire x1="7.62" y1="5.08" x2="2.54" y2="5.08" width="0.254" layer="94"/> +<wire x1="7.62" y1="2.54" x2="2.54" y2="2.54" width="0.254" layer="94"/> +<wire x1="7.62" y1="0" x2="2.54" y2="0" width="0.254" layer="94"/> +<wire x1="7.62" y1="-2.54" x2="2.54" y2="-2.54" width="0.254" layer="94"/> +<wire x1="7.62" y1="-5.08" x2="2.54" y2="-5.08" width="0.254" layer="94"/> +<wire x1="-5.08" y1="-2.54" x2="0" y2="-2.54" width="0.254" layer="94"/> +<wire x1="-5.08" y1="-2.54" x2="-5.08" y2="-5.08" width="0.254" layer="94"/> +<wire x1="-5.08" y1="-5.08" x2="0" y2="-5.08" width="0.254" layer="94"/> +<wire x1="0" y1="5.08" x2="2.54" y2="6.35" width="0.254" layer="94"/> +<wire x1="0" y1="2.54" x2="2.54" y2="3.81" width="0.254" layer="94"/> +<wire x1="0" y1="0" x2="2.54" y2="1.27" width="0.254" layer="94"/> +<wire x1="0" y1="-2.54" x2="2.54" y2="-1.27" width="0.254" layer="94"/> +<wire x1="0" y1="-5.08" x2="2.54" y2="-3.81" width="0.254" layer="94"/> +<text x="-7.62" y="3.048" size="1.27" layer="97">1</text> +<text x="-7.62" y="-2.032" size="1.27" layer="97">2</text> +<text x="5.08" y="5.588" size="1.27" layer="97">SELECT</text> +<text x="5.08" y="3.048" size="1.27" layer="97">LEFT</text> +<text x="5.08" y="0.508" size="1.27" layer="97">DOWN</text> +<text x="5.08" y="-2.032" size="1.27" layer="97">RIGHT</text> +<text x="5.08" y="-4.572" size="1.27" layer="97">UP</text> +<text x="-5.08" y="10.16" size="1.778" layer="95">>NAME</text> +<text x="-5.08" y="7.62" size="1.778" layer="96">>VALUE</text> +</symbol> +</symbols> +<devicesets> +<deviceset name="TPA511GLFS"> +<gates> +<gate name="G$1" symbol="TPA511GLFS" x="0" y="0"/> +</gates> +<devices> +<device name="" package="TPA511GLFS"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +<connect gate="G$1" pin="DOWN" pad="4"/> +<connect gate="G$1" pin="LEFT" pad="7"/> +<connect gate="G$1" pin="RIGHT" pad="6"/> +<connect gate="G$1" pin="SELECT" pad="5"/> +<connect gate="G$1" pin="UP" pad="3"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> </libraries> <attributes> </attributes> @@ -9650,6 +9731,7 @@ www.irf.com<p> <part name="Q1" library="transistor-small-signal" deviceset="BSS123" device=""/> <part name="Q2" library="transistor-small-signal" deviceset="BSS123" device=""/> <part name="J4" library="Jumpers" deviceset="JUMPER_SOLDER_1X2_CLOSED" device=""/> +<part name="S3" library="Switches" deviceset="TPA511GLFS" device=""/> </parts> <sheets> <sheet> @@ -9718,6 +9800,7 @@ support interrupts</text> <instance part="Q1" gate="G$1" x="-50.8" y="-101.6"/> <instance part="Q2" gate="G$1" x="-63.5" y="-101.6"/> <instance part="J4" gate="J" x="2.54" y="63.5"/> +<instance part="S3" gate="G$1" x="144.78" y="63.5" rot="R180"/> </instances> <busses> </busses> @@ -9831,6 +9914,14 @@ support interrupts</text> <pinref part="S1" gate="G$1" pin="2.1"/> <wire x1="154.94" y1="27.94" x2="157.48" y2="27.94" width="0.1524" layer="91"/> <junction x="157.48" y="27.94"/> +<wire x1="157.48" y1="43.18" x2="157.48" y2="60.96" width="0.1524" layer="91"/> +<junction x="157.48" y="43.18"/> +<pinref part="S3" gate="G$1" pin="1"/> +<wire x1="157.48" y1="60.96" x2="154.94" y2="60.96" width="0.1524" layer="91"/> +<pinref part="S3" gate="G$1" pin="2"/> +<wire x1="154.94" y1="66.04" x2="157.48" y2="66.04" width="0.1524" layer="91"/> +<wire x1="157.48" y1="66.04" x2="157.48" y2="60.96" width="0.1524" layer="91"/> +<junction x="157.48" y="60.96"/> </segment> <segment> <pinref part="P1" gate="G$1" pin="VSS"/> @@ -10259,67 +10350,106 @@ support interrupts</text> <segment> <pinref part="U1" gate="A" pin="PTA2"/> <wire x1="10.16" y1="40.64" x2="7.62" y2="40.64" width="0.1524" layer="91"/> +<junction x="7.62" y="40.64"/> </segment> <segment> <pinref part="BREAKOUT1" gate="A" pin="24"/> <wire x1="-104.14" y1="33.02" x2="-99.06" y2="33.02" width="0.1524" layer="91"/> <label x="-99.06" y="33.02" size="1.778" layer="95"/> </segment> +<segment> +<pinref part="S2" gate="G$1" pin="1.1"/> +<wire x1="142.24" y1="43.18" x2="139.7" y2="43.18" width="0.1524" layer="91"/> +<wire x1="139.7" y1="43.18" x2="139.7" y2="40.64" width="0.1524" layer="91"/> +<pinref part="S2" gate="G$1" pin="1.2"/> +<wire x1="139.7" y1="40.64" x2="142.24" y2="40.64" width="0.1524" layer="91"/> +<label x="139.7" y="40.64" size="1.778" layer="95" rot="R180"/> +</segment> </net> <net name="PTA4" class="0"> <segment> <pinref part="U1" gate="A" pin="PTA4"/> <wire x1="10.16" y1="35.56" x2="7.62" y2="35.56" width="0.1524" layer="91"/> +<junction x="7.62" y="35.56"/> </segment> <segment> <pinref part="BREAKOUT1" gate="A" pin="26"/> <wire x1="-104.14" y1="30.48" x2="-99.06" y2="30.48" width="0.1524" layer="91"/> <label x="-99.06" y="30.48" size="1.778" layer="95"/> </segment> +<segment> +<pinref part="S3" gate="G$1" pin="RIGHT"/> +<wire x1="132.08" y1="66.04" x2="129.54" y2="66.04" width="0.1524" layer="91"/> +<label x="129.54" y="66.04" size="1.778" layer="95" rot="R180"/> +</segment> </net> <net name="PTA5" class="0"> <segment> <pinref part="U1" gate="A" pin="PTA5"/> <wire x1="10.16" y1="33.02" x2="7.62" y2="33.02" width="0.1524" layer="91"/> +<junction x="7.62" y="33.02"/> </segment> <segment> <pinref part="BREAKOUT1" gate="A" pin="27"/> <wire x1="-111.76" y1="27.94" x2="-116.84" y2="27.94" width="0.1524" layer="91"/> <label x="-116.84" y="27.94" size="1.778" layer="95" rot="R180"/> </segment> +<segment> +<pinref part="S3" gate="G$1" pin="LEFT"/> +<wire x1="132.08" y1="60.96" x2="129.54" y2="60.96" width="0.1524" layer="91"/> +<label x="129.54" y="60.96" size="1.778" layer="95" rot="R180"/> +</segment> </net> <net name="PTA12" class="0"> <segment> <pinref part="U1" gate="A" pin="PTA12"/> <wire x1="10.16" y1="30.48" x2="7.62" y2="30.48" width="0.1524" layer="91"/> +<junction x="7.62" y="30.48"/> </segment> <segment> <pinref part="BREAKOUT1" gate="A" pin="28"/> <wire x1="-104.14" y1="27.94" x2="-99.06" y2="27.94" width="0.1524" layer="91"/> <label x="-99.06" y="27.94" size="1.778" layer="95"/> </segment> +<segment> +<pinref part="S3" gate="G$1" pin="DOWN"/> +<wire x1="132.08" y1="63.5" x2="129.54" y2="63.5" width="0.1524" layer="91"/> +<label x="129.54" y="63.5" size="1.778" layer="95" rot="R180"/> +</segment> </net> <net name="PTA13" class="0"> <segment> <pinref part="U1" gate="A" pin="PTA13"/> <wire x1="10.16" y1="27.94" x2="7.62" y2="27.94" width="0.1524" layer="91"/> +<junction x="7.62" y="27.94"/> </segment> <segment> <pinref part="BREAKOUT1" gate="A" pin="29"/> <wire x1="-111.76" y1="25.4" x2="-116.84" y2="25.4" width="0.1524" layer="91"/> <label x="-116.84" y="25.4" size="1.778" layer="95" rot="R180"/> </segment> +<segment> +<pinref part="S3" gate="G$1" pin="UP"/> +<wire x1="132.08" y1="68.58" x2="129.54" y2="68.58" width="0.1524" layer="91"/> +<label x="129.54" y="68.58" size="1.778" layer="95" rot="R180"/> +</segment> </net> <net name="PTA18" class="0"> <segment> <pinref part="U1" gate="A" pin="PTA18"/> <wire x1="10.16" y1="20.32" x2="7.62" y2="20.32" width="0.1524" layer="91"/> +<junction x="7.62" y="20.32"/> </segment> <segment> <pinref part="BREAKOUT1" gate="A" pin="32"/> <wire x1="-104.14" y1="22.86" x2="-99.06" y2="22.86" width="0.1524" layer="91"/> <label x="-99.06" y="22.86" size="1.778" layer="95"/> </segment> +<segment> +<pinref part="S3" gate="G$1" pin="SELECT"/> +<wire x1="132.08" y1="58.42" x2="129.54" y2="58.42" width="0.1524" layer="91"/> +<label x="129.54" y="58.42" size="1.778" layer="95" rot="R180"/> +</segment> </net> <net name="PTD7" class="0"> <segment> |