1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 10:24:26 +01:00

schematics: add door state jumper

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2018-09-08 23:02:09 +02:00
parent ce3d4911ec
commit e0fd93a700
2 changed files with 211 additions and 7 deletions

View File

@ -2184,6 +2184,43 @@ RJ45-8
</package3d> </package3d>
</packages3d> </packages3d>
</library> </library>
<library name="jumper" urn="urn:adsk.eagle:library:252">
<description>&lt;b&gt;Jumpers&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="SJ_2" urn="urn:adsk.eagle:footprint:15439/1" library_version="1">
<description>&lt;b&gt;Solder jumper&lt;/b&gt;</description>
<wire x1="2.159" y1="-1.016" x2="-2.159" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="2.159" y1="1.016" x2="2.413" y2="0.762" width="0.1524" layer="21" curve="-90"/>
<wire x1="-2.413" y1="0.762" x2="-2.159" y2="1.016" width="0.1524" layer="21" curve="-90"/>
<wire x1="-2.413" y1="-0.762" x2="-2.159" y2="-1.016" width="0.1524" layer="21" curve="90"/>
<wire x1="2.159" y1="-1.016" x2="2.413" y2="-0.762" width="0.1524" layer="21" curve="90"/>
<wire x1="2.413" y1="-0.762" x2="2.413" y2="0.762" width="0.1524" layer="21"/>
<wire x1="-2.413" y1="-0.762" x2="-2.413" y2="0.762" width="0.1524" layer="21"/>
<wire x1="-2.159" y1="1.016" x2="2.159" y2="1.016" width="0.1524" layer="21"/>
<wire x1="1.778" y1="0" x2="2.286" y2="0" width="0.1524" layer="51"/>
<wire x1="-1.778" y1="0" x2="-2.286" y2="0" width="0.1524" layer="51"/>
<wire x1="0" y1="0.762" x2="0" y2="1.016" width="0.1524" layer="51"/>
<wire x1="0" y1="-1.016" x2="0" y2="-0.762" width="0.1524" layer="51"/>
<wire x1="1.016" y1="0.127" x2="1.016" y2="-0.127" width="1.27" layer="51" curve="-180" cap="flat"/>
<wire x1="-1.016" y1="-0.127" x2="-1.016" y2="0.127" width="1.27" layer="51" curve="-180" cap="flat"/>
<smd name="1" x="-1.524" y="0" dx="1.1684" dy="1.6002" layer="1"/>
<smd name="2" x="0" y="0" dx="1.1684" dy="1.6002" layer="1"/>
<smd name="3" x="1.524" y="0" dx="1.1684" dy="1.6002" layer="1"/>
<text x="-2.413" y="1.27" size="1.27" layer="25" ratio="10">&gt;NAME</text>
<text x="-0.1001" y="0" size="0.02" layer="27">&gt;VALUE</text>
<rectangle x1="-0.508" y1="-0.762" x2="0.508" y2="0.762" layer="51"/>
</package>
</packages>
<packages3d>
<package3d name="SJ_2" urn="urn:adsk.eagle:package:15474/1" type="box" library_version="1">
<description>Solder jumper</description>
<packageinstances>
<packageinstance name="SJ_2"/>
</packageinstances>
</package3d>
</packages3d>
</library>
</libraries> </libraries>
<attributes> <attributes>
</attributes> </attributes>
@ -2451,6 +2488,7 @@ design rules under a new name.</description>
<element name="C6" library="rcl" package="C0805" value="100n" x="10.95375" y="45.4025" rot="MR90"/> <element name="C6" library="rcl" package="C0805" value="100n" x="10.95375" y="45.4025" rot="MR90"/>
<element name="R18" library="rcl" package="R0805" value="1k" x="13.335" y="39.37" rot="MR180"/> <element name="R18" library="rcl" package="R0805" value="1k" x="13.335" y="39.37" rot="MR180"/>
<element name="R19" library="rcl" package="R0805" value="1k" x="13.335" y="41.91" rot="MR180"/> <element name="R19" library="rcl" package="R0805" value="1k" x="13.335" y="41.91" rot="MR180"/>
<element name="SJ1" library="jumper" library_urn="urn:adsk.eagle:library:252" package="SJ_2" package3d_urn="urn:adsk.eagle:package:15474/1" value="" x="25.24125" y="45.87875"/>
</elements> </elements>
<signals> <signals>
<signal name="VCC"> <signal name="VCC">
@ -2973,11 +3011,7 @@ design rules under a new name.</description>
</signal> </signal>
<signal name="TUERSTATUS"> <signal name="TUERSTATUS">
<contactref element="R2" pad="1"/> <contactref element="R2" pad="1"/>
<contactref element="IC1" pad="14"/>
<via x="19.84375" y="41.275" extent="1-16" drill="0.35"/> <via x="19.84375" y="41.275" extent="1-16" drill="0.35"/>
<wire x1="45.72" y1="41.275" x2="48.26" y2="38.735" width="0.1524" layer="1"/>
<wire x1="48.26" y1="38.735" x2="48.26" y2="37.4142" width="0.1524" layer="1"/>
<wire x1="19.84375" y1="41.275" x2="45.72" y2="41.275" width="0.1524" layer="1"/>
<contactref element="R19" pad="2"/> <contactref element="R19" pad="2"/>
<contactref element="C5" pad="1"/> <contactref element="C5" pad="1"/>
<wire x1="14.285" y1="41.91" x2="15.39875" y2="41.91" width="0.1524" layer="16"/> <wire x1="14.285" y1="41.91" x2="15.39875" y2="41.91" width="0.1524" layer="16"/>
@ -2989,6 +3023,10 @@ design rules under a new name.</description>
<wire x1="14.76375" y1="45.4025" x2="15.71375" y2="44.4525" width="0.1524" layer="16"/> <wire x1="14.76375" y1="45.4025" x2="15.71375" y2="44.4525" width="0.1524" layer="16"/>
<wire x1="15.71625" y1="42.2275" x2="16.66875" y2="41.275" width="0.1524" layer="16"/> <wire x1="15.71625" y1="42.2275" x2="16.66875" y2="41.275" width="0.1524" layer="16"/>
<wire x1="16.66875" y1="41.275" x2="19.84375" y2="41.275" width="0.1524" layer="16"/> <wire x1="16.66875" y1="41.275" x2="19.84375" y2="41.275" width="0.1524" layer="16"/>
<contactref element="SJ1" pad="2"/>
<wire x1="19.84375" y1="41.275" x2="22.06625" y2="41.275" width="0.1524" layer="1"/>
<wire x1="22.06625" y1="41.275" x2="25.24125" y2="44.45" width="0.1524" layer="1"/>
<wire x1="25.24125" y1="44.45" x2="25.24125" y2="45.87875" width="0.1524" layer="1"/>
</signal> </signal>
<signal name="N$10"> <signal name="N$10">
<contactref element="R1" pad="1"/> <contactref element="R1" pad="1"/>
@ -3116,6 +3154,24 @@ design rules under a new name.</description>
<via x="10.795" y="41.91" extent="1-16" drill="0.35"/> <via x="10.795" y="41.91" extent="1-16" drill="0.35"/>
<wire x1="10.795" y1="41.91" x2="12.385" y2="41.91" width="0.1524" layer="16"/> <wire x1="10.795" y1="41.91" x2="12.385" y2="41.91" width="0.1524" layer="16"/>
</signal> </signal>
<signal name="TUERSTATUS_AVR">
<contactref element="SJ1" pad="3"/>
<contactref element="IC1" pad="14"/>
<wire x1="26.76525" y1="45.87875" x2="26.76525" y2="43.2435" width="0.1524" layer="1"/>
<wire x1="26.76525" y1="43.2435" x2="29.68625" y2="40.3225" width="0.1524" layer="1"/>
<wire x1="29.68625" y1="40.3225" x2="46.99" y2="40.3225" width="0.1524" layer="1"/>
<wire x1="46.99" y1="40.3225" x2="48.26" y2="39.0525" width="0.1524" layer="1"/>
<wire x1="48.26" y1="39.0525" x2="48.26" y2="37.4142" width="0.1524" layer="1"/>
</signal>
<signal name="TUERSTATUS_PI">
<contactref element="SJ1" pad="1"/>
<contactref element="X1" pad="15"/>
<wire x1="23.71725" y1="45.87875" x2="23.8125" y2="45.974" width="0.1524" layer="1"/>
<wire x1="23.8125" y1="45.974" x2="23.8125" y2="47.46625" width="0.1524" layer="1"/>
<via x="23.8125" y="47.46625" extent="1-16" drill="0.35"/>
<wire x1="23.8125" y1="47.46625" x2="26.15" y2="49.80375" width="0.1524" layer="16"/>
<wire x1="26.15" y1="49.80375" x2="26.15" y2="51.23" width="0.1524" layer="16"/>
</signal>
</signals> </signals>
<mfgpreviewcolors> <mfgpreviewcolors>
<mfgpreviewcolor name="soldermaskcolor" color="0xC8008000"/> <mfgpreviewcolor name="soldermaskcolor" color="0xC8008000"/>

View File

@ -20606,6 +20606,126 @@ Note, you may also be interested in the "MAGJACK" version of this. It is basical
</deviceset> </deviceset>
</devicesets> </devicesets>
</library> </library>
<library name="jumper" urn="urn:adsk.eagle:library:252">
<description>&lt;b&gt;Jumpers&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="SJ_2W" urn="urn:adsk.eagle:footprint:15438/1" library_version="1">
<description>&lt;b&gt;Solder jumper&lt;/b&gt;</description>
<wire x1="3.175" y1="-1.524" x2="-3.175" y2="-1.524" width="0.1524" layer="21"/>
<wire x1="3.175" y1="1.524" x2="3.429" y2="1.27" width="0.1524" layer="21" curve="-90"/>
<wire x1="-3.429" y1="1.27" x2="-3.175" y2="1.524" width="0.1524" layer="21" curve="-90"/>
<wire x1="-3.429" y1="-1.27" x2="-3.175" y2="-1.524" width="0.1524" layer="21" curve="90"/>
<wire x1="3.175" y1="-1.524" x2="3.429" y2="-1.27" width="0.1524" layer="21" curve="90"/>
<wire x1="3.429" y1="-1.27" x2="3.429" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-3.429" y1="-1.27" x2="-3.429" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-3.175" y1="1.524" x2="3.175" y2="1.524" width="0.1524" layer="21"/>
<wire x1="2.794" y1="0" x2="3.302" y2="0" width="0.1524" layer="51"/>
<wire x1="-2.794" y1="0" x2="-3.302" y2="0" width="0.1524" layer="51"/>
<wire x1="0" y1="0.762" x2="0" y2="1.397" width="0.1524" layer="51"/>
<wire x1="0" y1="-1.397" x2="0" y2="-0.762" width="0.1524" layer="51"/>
<wire x1="2.032" y1="0.127" x2="2.032" y2="-0.127" width="1.27" layer="51" curve="-180" cap="flat"/>
<wire x1="-2.032" y1="-0.127" x2="-2.032" y2="0.127" width="1.27" layer="51" curve="-180" cap="flat"/>
<smd name="1" x="-2.54" y="0" dx="1.27" dy="2.54" layer="1"/>
<smd name="2" x="0" y="0" dx="1.27" dy="2.54" layer="1"/>
<smd name="3" x="2.54" y="0" dx="1.27" dy="2.54" layer="1"/>
<text x="-3.429" y="1.778" size="1.27" layer="25" ratio="10">&gt;NAME</text>
<text x="-0.1001" y="0" size="0.02" layer="27">&gt;VALUE</text>
<rectangle x1="-0.508" y1="-0.762" x2="0.508" y2="0.762" layer="51"/>
</package>
<package name="SJ_2" urn="urn:adsk.eagle:footprint:15439/1" library_version="1">
<description>&lt;b&gt;Solder jumper&lt;/b&gt;</description>
<wire x1="2.159" y1="-1.016" x2="-2.159" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="2.159" y1="1.016" x2="2.413" y2="0.762" width="0.1524" layer="21" curve="-90"/>
<wire x1="-2.413" y1="0.762" x2="-2.159" y2="1.016" width="0.1524" layer="21" curve="-90"/>
<wire x1="-2.413" y1="-0.762" x2="-2.159" y2="-1.016" width="0.1524" layer="21" curve="90"/>
<wire x1="2.159" y1="-1.016" x2="2.413" y2="-0.762" width="0.1524" layer="21" curve="90"/>
<wire x1="2.413" y1="-0.762" x2="2.413" y2="0.762" width="0.1524" layer="21"/>
<wire x1="-2.413" y1="-0.762" x2="-2.413" y2="0.762" width="0.1524" layer="21"/>
<wire x1="-2.159" y1="1.016" x2="2.159" y2="1.016" width="0.1524" layer="21"/>
<wire x1="1.778" y1="0" x2="2.286" y2="0" width="0.1524" layer="51"/>
<wire x1="-1.778" y1="0" x2="-2.286" y2="0" width="0.1524" layer="51"/>
<wire x1="0" y1="0.762" x2="0" y2="1.016" width="0.1524" layer="51"/>
<wire x1="0" y1="-1.016" x2="0" y2="-0.762" width="0.1524" layer="51"/>
<wire x1="1.016" y1="0.127" x2="1.016" y2="-0.127" width="1.27" layer="51" curve="-180" cap="flat"/>
<wire x1="-1.016" y1="-0.127" x2="-1.016" y2="0.127" width="1.27" layer="51" curve="-180" cap="flat"/>
<smd name="1" x="-1.524" y="0" dx="1.1684" dy="1.6002" layer="1"/>
<smd name="2" x="0" y="0" dx="1.1684" dy="1.6002" layer="1"/>
<smd name="3" x="1.524" y="0" dx="1.1684" dy="1.6002" layer="1"/>
<text x="-2.413" y="1.27" size="1.27" layer="25" ratio="10">&gt;NAME</text>
<text x="-0.1001" y="0" size="0.02" layer="27">&gt;VALUE</text>
<rectangle x1="-0.508" y1="-0.762" x2="0.508" y2="0.762" layer="51"/>
</package>
</packages>
<packages3d>
<package3d name="SJ_2W" urn="urn:adsk.eagle:package:15476/1" type="box" library_version="1">
<description>Solder jumper</description>
<packageinstances>
<packageinstance name="SJ_2W"/>
</packageinstances>
</package3d>
<package3d name="SJ_2" urn="urn:adsk.eagle:package:15474/1" type="box" library_version="1">
<description>Solder jumper</description>
<packageinstances>
<packageinstance name="SJ_2"/>
</packageinstances>
</package3d>
</packages3d>
<symbols>
<symbol name="SJ_2" urn="urn:adsk.eagle:symbol:15437/1" library_version="1">
<wire x1="-0.635" y1="-1.397" x2="0.635" y2="-1.397" width="1.27" layer="94" curve="180" cap="flat"/>
<wire x1="-0.635" y1="1.397" x2="0.635" y2="1.397" width="1.27" layer="94" curve="-180" cap="flat"/>
<wire x1="1.27" y1="-0.635" x2="-1.27" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="-1.27" y1="-0.635" x2="-1.27" y2="0" width="0.1524" layer="94"/>
<wire x1="-1.27" y1="0" x2="-1.27" y2="0.635" width="0.1524" layer="94"/>
<wire x1="-1.27" y1="0.635" x2="1.27" y2="0.635" width="0.1524" layer="94"/>
<wire x1="1.27" y1="0.635" x2="1.27" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="-2.54" y1="0" x2="-1.27" y2="0" width="0.1524" layer="94"/>
<text x="2.54" y="0.381" size="1.778" layer="95">&gt;NAME</text>
<text x="2.54" y="-1.905" size="1.778" layer="96">&gt;VALUE</text>
<rectangle x1="-1.27" y1="-0.635" x2="1.27" y2="0.635" layer="94"/>
<pin name="3" x="0" y="-5.08" visible="pad" length="short" direction="pas" rot="R90"/>
<pin name="1" x="0" y="5.08" visible="pad" length="short" direction="pas" rot="R270"/>
<pin name="2" x="-5.08" y="0" visible="pad" length="short" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="SJ2W" urn="urn:adsk.eagle:component:15505/1" prefix="SJ" uservalue="yes" library_version="1">
<description>SMD solder &lt;b&gt;JUMPER&lt;/b&gt;</description>
<gates>
<gate name="G$1" symbol="SJ_2" x="0" y="0"/>
</gates>
<devices>
<device name="W" package="SJ_2W">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
<connect gate="G$1" pin="3" pad="3"/>
</connects>
<package3dinstances>
<package3dinstance package3d_urn="urn:adsk.eagle:package:15476/1"/>
</package3dinstances>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="" package="SJ_2">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
<connect gate="G$1" pin="3" pad="3"/>
</connects>
<package3dinstances>
<package3dinstance package3d_urn="urn:adsk.eagle:package:15474/1"/>
</package3dinstances>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries> </libraries>
<attributes> <attributes>
</attributes> </attributes>
@ -20680,6 +20800,7 @@ Note, you may also be interested in the "MAGJACK" version of this. It is basical
<part name="C6" library="rcl" deviceset="C-EU" device="C0805" value="100n"/> <part name="C6" library="rcl" deviceset="C-EU" device="C0805" value="100n"/>
<part name="R18" library="rcl" deviceset="R-EU_" device="R0805" value="1k"/> <part name="R18" library="rcl" deviceset="R-EU_" device="R0805" value="1k"/>
<part name="R19" library="rcl" deviceset="R-EU_" device="R0805" value="1k"/> <part name="R19" library="rcl" deviceset="R-EU_" device="R0805" value="1k"/>
<part name="SJ1" library="jumper" library_urn="urn:adsk.eagle:library:252" deviceset="SJ2W" device="" package3d_urn="urn:adsk.eagle:package:15474/1"/>
</parts> </parts>
<sheets> <sheets>
<sheet> <sheet>
@ -20762,6 +20883,7 @@ Note, you may also be interested in the "MAGJACK" version of this. It is basical
<instance part="C6" gate="G$1" x="101.6" y="60.96"/> <instance part="C6" gate="G$1" x="101.6" y="60.96"/>
<instance part="R18" gate="G$1" x="88.9" y="68.58"/> <instance part="R18" gate="G$1" x="88.9" y="68.58"/>
<instance part="R19" gate="G$1" x="88.9" y="83.82"/> <instance part="R19" gate="G$1" x="88.9" y="83.82"/>
<instance part="SJ1" gate="G$1" x="180.34" y="187.96"/>
</instances> </instances>
<busses> <busses>
</busses> </busses>
@ -21310,9 +21432,9 @@ Note, you may also be interested in the "MAGJACK" version of this. It is basical
<wire x1="96.52" y1="83.82" x2="96.52" y2="63.5" width="0.1524" layer="91"/> <wire x1="96.52" y1="83.82" x2="96.52" y2="63.5" width="0.1524" layer="91"/>
</segment> </segment>
<segment> <segment>
<pinref part="IC1" gate="G$1" pin="PB2"/> <wire x1="175.26" y1="187.96" x2="172.72" y2="187.96" width="0.1524" layer="91"/>
<wire x1="157.48" y1="152.4" x2="162.56" y2="152.4" width="0.1524" layer="91"/> <label x="172.72" y="187.96" size="1.4224" layer="95" font="fixed" rot="R180" xref="yes"/>
<label x="162.56" y="152.4" size="1.27" layer="95" font="fixed" xref="yes"/> <pinref part="SJ1" gate="G$1" pin="2"/>
</segment> </segment>
</net> </net>
<net name="N$10" class="0"> <net name="N$10" class="0">
@ -21440,6 +21562,32 @@ Note, you may also be interested in the "MAGJACK" version of this. It is basical
<wire x1="78.74" y1="83.82" x2="83.82" y2="83.82" width="0.1524" layer="91"/> <wire x1="78.74" y1="83.82" x2="83.82" y2="83.82" width="0.1524" layer="91"/>
</segment> </segment>
</net> </net>
<net name="TUERSTATUS_AVR" class="0">
<segment>
<pinref part="SJ1" gate="G$1" pin="3"/>
<wire x1="180.34" y1="182.88" x2="180.34" y2="180.34" width="0.1524" layer="91"/>
<wire x1="180.34" y1="180.34" x2="172.72" y2="180.34" width="0.1524" layer="91"/>
<label x="172.72" y="180.34" size="1.4224" layer="95" font="fixed" rot="R180" xref="yes"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="PB2"/>
<wire x1="157.48" y1="152.4" x2="162.56" y2="152.4" width="0.1524" layer="91"/>
<label x="162.56" y="152.4" size="1.4224" layer="95" font="fixed" xref="yes"/>
</segment>
</net>
<net name="TUERSTATUS_PI" class="0">
<segment>
<pinref part="SJ1" gate="G$1" pin="1"/>
<wire x1="180.34" y1="193.04" x2="180.34" y2="195.58" width="0.1524" layer="91"/>
<wire x1="180.34" y1="195.58" x2="172.72" y2="195.58" width="0.1524" layer="91"/>
<label x="172.72" y="195.58" size="1.4224" layer="95" font="fixed" rot="R180" xref="yes"/>
</segment>
<segment>
<pinref part="X1" gate="G$1" pin="GPIO22"/>
<wire x1="228.6" y1="182.88" x2="223.52" y2="182.88" width="0.1524" layer="91"/>
<label x="223.52" y="182.88" size="1.4224" layer="95" font="fixed" rot="R180" xref="yes"/>
</segment>
</net>
</nets> </nets>
</sheet> </sheet>
</sheets> </sheets>