diff --git a/HW/gate-servo-controller.brd b/HW/gate-servo-controller.brd index ba024a223f3042ccb20932224012b4f530401d9a..5fb11ff7d96678d87c60baa0658a7547e99bc319 100644 --- a/HW/gate-servo-controller.brd +++ b/HW/gate-servo-controller.brd @@ -1543,6 +1543,39 @@ You are welcome to use this library for commercial purposes. For attribution, we <text x="-1.27" y="-3.175" size="1.27" layer="27">>VALUE</text> <rectangle x1="-0.254" y1="-0.254" x2="0.254" y2="0.254" layer="51"/> </package> +<package name="1X03"> +<description><b>PIN HEADER</b></description> +<wire x1="-3.175" y1="1.27" x2="-1.905" y2="1.27" width="0.1524" layer="21"/> +<wire x1="-1.905" y1="1.27" x2="-1.27" y2="0.635" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="0.635" x2="-1.27" y2="-0.635" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="-0.635" x2="-1.905" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="0.635" x2="-0.635" y2="1.27" width="0.1524" layer="21"/> +<wire x1="-0.635" y1="1.27" x2="0.635" y2="1.27" width="0.1524" layer="21"/> +<wire x1="0.635" y1="1.27" x2="1.27" y2="0.635" width="0.1524" layer="21"/> +<wire x1="1.27" y1="0.635" x2="1.27" y2="-0.635" width="0.1524" layer="21"/> +<wire x1="1.27" y1="-0.635" x2="0.635" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="0.635" y1="-1.27" x2="-0.635" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="-0.635" y1="-1.27" x2="-1.27" y2="-0.635" width="0.1524" layer="21"/> +<wire x1="-3.81" y1="0.635" x2="-3.81" y2="-0.635" width="0.1524" layer="21"/> +<wire x1="-3.175" y1="1.27" x2="-3.81" y2="0.635" width="0.1524" layer="21"/> +<wire x1="-3.81" y1="-0.635" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="-1.905" y1="-1.27" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="1.27" y1="0.635" x2="1.905" y2="1.27" width="0.1524" layer="21"/> +<wire x1="1.905" y1="1.27" x2="3.175" y2="1.27" width="0.1524" layer="21"/> +<wire x1="3.175" y1="1.27" x2="3.81" y2="0.635" width="0.1524" layer="21"/> +<wire x1="3.81" y1="0.635" x2="3.81" y2="-0.635" width="0.1524" layer="21"/> +<wire x1="3.81" y1="-0.635" x2="3.175" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="3.175" y1="-1.27" x2="1.905" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="1.905" y1="-1.27" x2="1.27" y2="-0.635" width="0.1524" layer="21"/> +<pad name="1" x="-2.54" y="0" drill="1.016" shape="long" rot="R90"/> +<pad name="2" x="0" y="0" drill="1.016" shape="long" rot="R90"/> +<pad name="3" x="2.54" y="0" drill="1.016" shape="long" rot="R90"/> +<text x="-3.8862" y="1.8288" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="-3.81" y="-3.175" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-0.254" y1="-0.254" x2="0.254" y2="0.254" layer="51"/> +<rectangle x1="-2.794" y1="-0.254" x2="-2.286" y2="0.254" layer="51"/> +<rectangle x1="2.286" y1="-0.254" x2="2.794" y2="0.254" layer="51"/> +</package> </packages> </library> <library name="crystal"> @@ -1803,6 +1836,7 @@ design rules under a new name.</description> <element name="C5" library="rcl" package="C0805K" value="18p" x="-11.43" y="12.7"/> <element name="C6" library="rcl" package="C0805K" value="18p" x="-11.43" y="7.62"/> <element name="C7" library="rcl" package="C0805K" value="100n" x="-11.43" y="2.54"/> +<element name="JP5" library="pinhead" package="1X03" value="UART" x="-27.94" y="-3.81"/> </elements> <signals> <signal name="GND"> @@ -1824,23 +1858,25 @@ design rules under a new name.</description> <contactref element="ISP1" pad="GND@4"/> <contactref element="ISP1" pad="GND"/> <contactref element="ISP1" pad="GND@2"/> -<wire x1="-10.43" y1="7.62" x2="-10.43" y2="2.54" width="0" layer="19" extent="1-1"/> -<wire x1="-10.43" y1="12.7" x2="-10.43" y2="7.62" width="0" layer="19" extent="1-1"/> -<wire x1="-9.795" y1="27.305" x2="-10.43" y2="12.7" width="0" layer="19" extent="1-1"/> -<wire x1="-9.795" y1="32.385" x2="-9.795" y2="27.305" width="0" layer="19" extent="1-1"/> -<wire x1="-10.795" y1="38.735" x2="-9.795" y2="32.385" width="0" layer="19" extent="1-1"/> -<wire x1="-10.795" y1="43.815" x2="-10.795" y2="38.735" width="0" layer="19" extent="1-1"/> -<wire x1="-22.225" y1="60.96" x2="-10.795" y2="43.815" width="0" layer="19" extent="1-1"/> -<wire x1="-24.765" y1="76.2" x2="-22.225" y2="60.96" width="0" layer="19" extent="1-1"/> -<wire x1="-18.685" y1="76.2" x2="-24.765" y2="76.2" width="0" layer="19" extent="1-1"/> -<wire x1="-15.875" y1="85.09" x2="-18.685" y2="76.2" width="0" layer="19" extent="1-1"/> -<wire x1="-15.875" y1="87.63" x2="-15.875" y2="85.09" width="0" layer="19" extent="1-1"/> -<wire x1="-15.875" y1="90.17" x2="-15.875" y2="87.63" width="0" layer="19" extent="1-1"/> -<wire x1="-15.875" y1="92.71" x2="-15.875" y2="90.17" width="0" layer="19" extent="1-1"/> +<contactref element="JP5" pad="3"/> +<wire x1="-11.2776" y1="96.45" x2="-2.6924" y2="95.65" width="0" layer="19" extent="1-1"/> +<wire x1="-11.2776" y1="94.85" x2="-11.2776" y2="96.45" width="0" layer="19" extent="1-1"/> +<wire x1="-15.875" y1="92.71" x2="-11.2776" y2="94.85" width="0" layer="19" extent="1-1"/> <wire x1="-18.415" y1="92.71" x2="-15.875" y2="92.71" width="0" layer="19" extent="1-1"/> -<wire x1="-11.2776" y1="94.85" x2="-15.875" y2="92.71" width="0" layer="19" extent="1-1"/> -<wire x1="-11.2776" y1="96.45" x2="-11.2776" y2="94.85" width="0" layer="19" extent="1-1"/> -<wire x1="-2.6924" y1="95.65" x2="-11.2776" y2="94.85" width="0" layer="19" extent="1-1"/> +<wire x1="-15.875" y1="90.17" x2="-15.875" y2="92.71" width="0" layer="19" extent="1-1"/> +<wire x1="-15.875" y1="87.63" x2="-15.875" y2="90.17" width="0" layer="19" extent="1-1"/> +<wire x1="-15.875" y1="85.09" x2="-15.875" y2="87.63" width="0" layer="19" extent="1-1"/> +<wire x1="-18.685" y1="76.2" x2="-15.875" y2="85.09" width="0" layer="19" extent="1-1"/> +<wire x1="-24.765" y1="76.2" x2="-18.685" y2="76.2" width="0" layer="19" extent="1-1"/> +<wire x1="-22.225" y1="60.96" x2="-24.765" y2="76.2" width="0" layer="19" extent="1-1"/> +<wire x1="-10.795" y1="43.815" x2="-22.225" y2="60.96" width="0" layer="19" extent="1-1"/> +<wire x1="-10.795" y1="38.735" x2="-10.795" y2="43.815" width="0" layer="19" extent="1-1"/> +<wire x1="-9.795" y1="32.385" x2="-10.795" y2="38.735" width="0" layer="19" extent="1-1"/> +<wire x1="-9.795" y1="27.305" x2="-9.795" y2="32.385" width="0" layer="19" extent="1-1"/> +<wire x1="-10.43" y1="12.7" x2="-9.795" y2="27.305" width="0" layer="19" extent="1-1"/> +<wire x1="-10.43" y1="7.62" x2="-10.43" y2="12.7" width="0" layer="19" extent="1-1"/> +<wire x1="-10.43" y1="2.54" x2="-10.43" y2="7.62" width="0" layer="19" extent="1-1"/> +<wire x1="-25.4" y1="-3.81" x2="-10.43" y2="2.54" width="0" layer="19" extent="1-1"/> </signal> <signal name="AVCC"> <contactref element="C4" pad="1"/> @@ -1927,6 +1963,16 @@ design rules under a new name.</description> <contactref element="IC1" pad="15"/> <wire x1="-4.985" y1="90.9574" x2="-18.415" y2="95.25" width="0" layer="19" extent="1-1"/> </signal> +<signal name="RXD"> +<contactref element="IC1" pad="30"/> +<contactref element="JP5" pad="1"/> +<wire x1="-30.48" y1="-3.81" x2="-8.185" y2="99.5426" width="0" layer="19" extent="1-1"/> +</signal> +<signal name="TXD"> +<contactref element="IC1" pad="31"/> +<contactref element="JP5" pad="2"/> +<wire x1="-27.94" y1="-3.81" x2="-8.985" y2="99.5426" width="0" layer="19" extent="1-1"/> +</signal> </signals> </board> </drawing> diff --git a/HW/gate-servo-controller.sch b/HW/gate-servo-controller.sch index 80bf3f3681740122c653cf7dffe2b9a349e34565..0df0b4d96b09c6ab94cd5b38ea204a0f8ef69a84 100644 --- a/HW/gate-servo-controller.sch +++ b/HW/gate-servo-controller.sch @@ -14701,6 +14701,66 @@ Resettable Fuse. Spark Fun Electronics SKU : COM-08357</description> <text x="-1.27" y="-3.175" size="1.27" layer="27">>VALUE</text> <rectangle x1="-0.254" y1="-0.254" x2="0.254" y2="0.254" layer="51"/> </package> +<package name="1X03"> +<description><b>PIN HEADER</b></description> +<wire x1="-3.175" y1="1.27" x2="-1.905" y2="1.27" width="0.1524" layer="21"/> +<wire x1="-1.905" y1="1.27" x2="-1.27" y2="0.635" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="0.635" x2="-1.27" y2="-0.635" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="-0.635" x2="-1.905" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="0.635" x2="-0.635" y2="1.27" width="0.1524" layer="21"/> +<wire x1="-0.635" y1="1.27" x2="0.635" y2="1.27" width="0.1524" layer="21"/> +<wire x1="0.635" y1="1.27" x2="1.27" y2="0.635" width="0.1524" layer="21"/> +<wire x1="1.27" y1="0.635" x2="1.27" y2="-0.635" width="0.1524" layer="21"/> +<wire x1="1.27" y1="-0.635" x2="0.635" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="0.635" y1="-1.27" x2="-0.635" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="-0.635" y1="-1.27" x2="-1.27" y2="-0.635" width="0.1524" layer="21"/> +<wire x1="-3.81" y1="0.635" x2="-3.81" y2="-0.635" width="0.1524" layer="21"/> +<wire x1="-3.175" y1="1.27" x2="-3.81" y2="0.635" width="0.1524" layer="21"/> +<wire x1="-3.81" y1="-0.635" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="-1.905" y1="-1.27" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="1.27" y1="0.635" x2="1.905" y2="1.27" width="0.1524" layer="21"/> +<wire x1="1.905" y1="1.27" x2="3.175" y2="1.27" width="0.1524" layer="21"/> +<wire x1="3.175" y1="1.27" x2="3.81" y2="0.635" width="0.1524" layer="21"/> +<wire x1="3.81" y1="0.635" x2="3.81" y2="-0.635" width="0.1524" layer="21"/> +<wire x1="3.81" y1="-0.635" x2="3.175" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="3.175" y1="-1.27" x2="1.905" y2="-1.27" width="0.1524" layer="21"/> +<wire x1="1.905" y1="-1.27" x2="1.27" y2="-0.635" width="0.1524" layer="21"/> +<pad name="1" x="-2.54" y="0" drill="1.016" shape="long" rot="R90"/> +<pad name="2" x="0" y="0" drill="1.016" shape="long" rot="R90"/> +<pad name="3" x="2.54" y="0" drill="1.016" shape="long" rot="R90"/> +<text x="-3.8862" y="1.8288" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="-3.81" y="-3.175" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-0.254" y1="-0.254" x2="0.254" y2="0.254" layer="51"/> +<rectangle x1="-2.794" y1="-0.254" x2="-2.286" y2="0.254" layer="51"/> +<rectangle x1="2.286" y1="-0.254" x2="2.794" y2="0.254" layer="51"/> +</package> +<package name="1X03/90"> +<description><b>PIN HEADER</b></description> +<wire x1="-3.81" y1="-1.905" x2="-1.27" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="-1.905" x2="-1.27" y2="0.635" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="0.635" x2="-3.81" y2="0.635" width="0.1524" layer="21"/> +<wire x1="-3.81" y1="0.635" x2="-3.81" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="-2.54" y1="6.985" x2="-2.54" y2="1.27" width="0.762" layer="21"/> +<wire x1="-1.27" y1="-1.905" x2="1.27" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="1.27" y1="-1.905" x2="1.27" y2="0.635" width="0.1524" layer="21"/> +<wire x1="1.27" y1="0.635" x2="-1.27" y2="0.635" width="0.1524" layer="21"/> +<wire x1="0" y1="6.985" x2="0" y2="1.27" width="0.762" layer="21"/> +<wire x1="1.27" y1="-1.905" x2="3.81" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="3.81" y1="-1.905" x2="3.81" y2="0.635" width="0.1524" layer="21"/> +<wire x1="3.81" y1="0.635" x2="1.27" y2="0.635" width="0.1524" layer="21"/> +<wire x1="2.54" y1="6.985" x2="2.54" y2="1.27" width="0.762" layer="21"/> +<pad name="1" x="-2.54" y="-3.81" drill="1.016" shape="long" rot="R90"/> +<pad name="2" x="0" y="-3.81" drill="1.016" shape="long" rot="R90"/> +<pad name="3" x="2.54" y="-3.81" drill="1.016" shape="long" rot="R90"/> +<text x="-4.445" y="-3.81" size="1.27" layer="25" ratio="10" rot="R90">>NAME</text> +<text x="5.715" y="-3.81" size="1.27" layer="27" rot="R90">>VALUE</text> +<rectangle x1="-2.921" y1="0.635" x2="-2.159" y2="1.143" layer="21"/> +<rectangle x1="-0.381" y1="0.635" x2="0.381" y2="1.143" layer="21"/> +<rectangle x1="2.159" y1="0.635" x2="2.921" y2="1.143" layer="21"/> +<rectangle x1="-2.921" y1="-2.921" x2="-2.159" y2="-1.905" layer="21"/> +<rectangle x1="-0.381" y1="-2.921" x2="0.381" y2="-1.905" layer="21"/> +<rectangle x1="2.159" y1="-2.921" x2="2.921" y2="-1.905" layer="21"/> +</package> </packages> <symbols> <symbol name="PINHD1"> @@ -14712,6 +14772,17 @@ Resettable Fuse. Spark Fun Electronics SKU : COM-08357</description> <text x="-6.35" y="-5.08" size="1.778" layer="96">>VALUE</text> <pin name="1" x="-2.54" y="0" visible="pad" length="short" direction="pas" function="dot"/> </symbol> +<symbol name="PINHD3"> +<wire x1="-6.35" y1="-5.08" x2="1.27" y2="-5.08" width="0.4064" layer="94"/> +<wire x1="1.27" y1="-5.08" x2="1.27" y2="5.08" width="0.4064" layer="94"/> +<wire x1="1.27" y1="5.08" x2="-6.35" y2="5.08" width="0.4064" layer="94"/> +<wire x1="-6.35" y1="5.08" x2="-6.35" y2="-5.08" width="0.4064" layer="94"/> +<text x="-6.35" y="5.715" size="1.778" layer="95">>NAME</text> +<text x="-6.35" y="-7.62" size="1.778" layer="96">>VALUE</text> +<pin name="1" x="-2.54" y="2.54" visible="pad" length="short" direction="pas" function="dot"/> +<pin name="2" x="-2.54" y="0" visible="pad" length="short" direction="pas" function="dot"/> +<pin name="3" x="-2.54" y="-2.54" visible="pad" length="short" direction="pas" function="dot"/> +</symbol> </symbols> <devicesets> <deviceset name="PINHD-1X1" prefix="JP" uservalue="yes"> @@ -14730,6 +14801,34 @@ Resettable Fuse. Spark Fun Electronics SKU : COM-08357</description> </device> </devices> </deviceset> +<deviceset name="PINHD-1X3" prefix="JP" uservalue="yes"> +<description><b>PIN HEADER</b></description> +<gates> +<gate name="A" symbol="PINHD3" x="0" y="0"/> +</gates> +<devices> +<device name="" package="1X03"> +<connects> +<connect gate="A" pin="1" pad="1"/> +<connect gate="A" pin="2" pad="2"/> +<connect gate="A" pin="3" pad="3"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="/90" package="1X03/90"> +<connects> +<connect gate="A" pin="1" pad="1"/> +<connect gate="A" pin="2" pad="2"/> +<connect gate="A" pin="3" pad="3"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> </devicesets> </library> <library name="crystal"> @@ -15917,6 +16016,8 @@ Source: 008-0260-0_E.pdf</description> <part name="GND11" library="supply1" deviceset="GND" device=""/> <part name="P+7" library="supply1" deviceset="+5V" device=""/> <part name="GND12" library="supply1" deviceset="GND" device=""/> +<part name="JP5" library="pinhead" deviceset="PINHD-1X3" device="" value="UART"/> +<part name="GND13" library="supply1" deviceset="GND" device=""/> </parts> <sheets> <sheet> @@ -15983,6 +16084,8 @@ Source: 008-0260-0_E.pdf</description> <attribute name="VALUE" x="53.34" y="7.62" size="1.778" layer="96" rot="R180"/> </instance> <instance part="GND12" gate="1" x="50.8" y="-10.16"/> +<instance part="JP5" gate="A" x="88.9" y="0" rot="MR0"/> +<instance part="GND13" gate="1" x="99.06" y="-7.62"/> </instances> <busses> </busses> @@ -16108,6 +16211,12 @@ Source: 008-0260-0_E.pdf</description> <wire x1="53.34" y1="-5.08" x2="50.8" y2="-5.08" width="0.1524" layer="91"/> <wire x1="50.8" y1="-5.08" x2="50.8" y2="-7.62" width="0.1524" layer="91"/> </segment> +<segment> +<pinref part="JP5" gate="A" pin="3"/> +<pinref part="GND13" gate="1" pin="GND"/> +<wire x1="91.44" y1="-2.54" x2="99.06" y2="-2.54" width="0.1524" layer="91"/> +<wire x1="99.06" y1="-2.54" x2="99.06" y2="-5.08" width="0.1524" layer="91"/> +</segment> </net> <net name="N$2" class="0"> <segment> @@ -16230,6 +16339,30 @@ Source: 008-0260-0_E.pdf</description> <wire x1="78.74" y1="17.78" x2="71.12" y2="17.78" width="0.1524" layer="91"/> </segment> </net> +<net name="RXD" class="0"> +<segment> +<pinref part="IC1" gate="G$1" pin="PD0(RXD)"/> +<wire x1="71.12" y1="48.26" x2="73.66" y2="48.26" width="0.1524" layer="91"/> +<label x="73.66" y="48.26" size="1.27" layer="95" xref="yes"/> +</segment> +<segment> +<pinref part="JP5" gate="A" pin="1"/> +<wire x1="91.44" y1="2.54" x2="96.52" y2="2.54" width="0.1524" layer="91"/> +<label x="96.52" y="2.54" size="1.27" layer="95" xref="yes"/> +</segment> +</net> +<net name="TXD" class="0"> +<segment> +<pinref part="IC1" gate="G$1" pin="PD1(TXD)"/> +<wire x1="71.12" y1="45.72" x2="73.66" y2="45.72" width="0.1524" layer="91"/> +<label x="73.66" y="45.72" size="1.27" layer="95" xref="yes"/> +</segment> +<segment> +<pinref part="JP5" gate="A" pin="2"/> +<wire x1="91.44" y1="0" x2="96.52" y2="0" width="0.1524" layer="91"/> +<label x="96.52" y="0" size="1.27" layer="95" xref="yes"/> +</segment> +</net> </nets> </sheet> </sheets>