Skip to content

Commit

Permalink
PCB: added 3.3V<->5V levelshifter for servo PWM, update exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Weber committed Feb 12, 2024
1 parent da383e5 commit 2b78544
Show file tree
Hide file tree
Showing 4 changed files with 2,902 additions and 291 deletions.
122 changes: 109 additions & 13 deletions electronics/PCB/S77_Eggbot.brd
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<setting alwaysvectorfont="no"/>
<setting verticaltext="up"/>
</settings>
<grid distance="0.05" unitdist="mm" unit="mm" style="lines" multiple="1" display="yes" altdistance="0.025" altunitdist="inch" altunit="inch"/>
<grid distance="0.5" unitdist="mm" unit="mm" style="lines" multiple="1" display="yes" altdistance="0.025" altunitdist="inch" altunit="inch"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="no" active="yes"/>
<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="no"/>
<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/>
<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/>
Expand All @@ -18,11 +18,11 @@
<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="no" 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="no" 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="no" 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"/>
Expand Down Expand Up @@ -155,7 +155,7 @@
<wire x1="70" y1="0" x2="70" y2="70" width="0" layer="20"/>
<wire x1="70" y1="70" x2="0" y2="70" width="0" layer="20"/>
<wire x1="0" y1="70" x2="0" y2="0" width="0" layer="20"/>
<text x="53.715" y="5.285" size="1.4224" layer="21" font="vector" rot="R180" align="center-left">PWM
<text x="54.215" y="5.485" size="1.4224" layer="21" font="vector" rot="R180" align="center-left">PWM
+5V
GND</text>
<text x="15.04" y="1.27" size="0.8128" layer="25" font="vector" rot="R90" align="center">3V3</text>
Expand All @@ -182,7 +182,7 @@ GND</text>
<text x="39.5" y="46" size="0.8128" layer="26" font="vector" rot="MR180" align="center">MS3</text>
<text x="26.73" y="40.98" size="2.54" layer="26" font="vector" rot="MR180" align="center">eggbot77
section77.de
09.02.2024</text>
12.02.2024</text>
<text x="39.215" y="41.285" size="1.4224" layer="21" font="vector" rot="R180" align="center-left">ATTENTION:
Trim output to
5V before installing
Expand Down Expand Up @@ -1787,6 +1787,22 @@ grid 3.5 mm, diameter 8 mm</description>
<text x="-2.286" y="-3.048" size="1.27" layer="27" ratio="10">&gt;VALUE</text>
<rectangle x1="0.254" y1="-1.27" x2="0.762" y2="1.27" layer="51"/>
</package>
<package name="R1206">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;</description>
<wire x1="0.9525" y1="-0.8128" x2="-0.9652" y2="-0.8128" width="0.1524" layer="51"/>
<wire x1="0.9525" y1="0.8128" x2="-0.9652" y2="0.8128" width="0.1524" layer="51"/>
<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/>
<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/>
<smd name="2" x="1.422" y="0" dx="1.6" dy="1.803" layer="1"/>
<smd name="1" x="-1.422" y="0" dx="1.6" dy="1.803" layer="1"/>
<text x="-1.27" y="1.27" size="1.27" layer="25">&gt;NAME</text>
<text x="-1.27" y="-2.54" size="1.27" layer="27">&gt;VALUE</text>
<rectangle x1="-1.6891" y1="-0.8763" x2="-0.9525" y2="0.8763" layer="51"/>
<rectangle x1="0.9525" y1="-0.8763" x2="1.6891" y2="0.8763" layer="51"/>
<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/>
</package>
</packages>
</library>
<library name="pinhead">
Expand Down Expand Up @@ -2010,6 +2026,36 @@ grid 3.5 mm, diameter 8 mm</description>
</package>
</packages>
</library>
<library name="bss138_10">
<description>&lt;b&gt;Fairchild BSS138 Field Effect Transistor&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
Version 1.0&lt;br&gt;
&amp;copy; 2015 Samuel Lourenço</description>
<packages>
<package name="SOT23">
<description>&lt;b&gt;SOT-23 Plastic Small Outline&lt;/b&gt;</description>
<wire x1="1.45" y1="0.65" x2="1.45" y2="-0.37" width="0.1524" layer="21"/>
<wire x1="1.45" y1="-0.37" x2="1.45" y2="-0.65" width="0.1524" layer="51"/>
<wire x1="-0.37" y1="-0.65" x2="0.37" y2="-0.65" width="0.1524" layer="21"/>
<wire x1="-1.45" y1="-0.65" x2="-1.45" y2="-0.37" width="0.1524" layer="51"/>
<wire x1="-1.45" y1="-0.37" x2="-1.45" y2="0.65" width="0.1524" layer="21"/>
<wire x1="-1.45" y1="0.65" x2="-0.58" y2="0.65" width="0.1524" layer="21"/>
<wire x1="0.58" y1="0.65" x2="1.45" y2="0.65" width="0.1524" layer="21"/>
<smd name="1" x="-0.95" y="-1" dx="0.8" dy="0.9" layer="1"/>
<smd name="2" x="0.95" y="-1" dx="0.8" dy="0.9" layer="1"/>
<smd name="3" x="0" y="1" dx="0.8" dy="0.9" layer="1"/>
<text x="-1.85" y="-0.6" size="1.27" layer="25" rot="R90">&gt;NAME</text>
<text x="3.15" y="-0.6" size="1.27" layer="27" rot="R90">&gt;VALUE</text>
<rectangle x1="-1.15" y1="-1.2" x2="-0.75" y2="-0.65" layer="51"/>
<rectangle x1="-0.2" y1="0.65" x2="0.2" y2="1.2" layer="51"/>
<rectangle x1="0.75" y1="-1.2" x2="1.15" y2="-0.65" layer="51"/>
<wire x1="-1.45" y1="-0.65" x2="-0.37" y2="-0.65" width="0.1524" layer="51"/>
<wire x1="0.37" y1="-0.65" x2="1.45" y2="-0.65" width="0.1524" layer="51"/>
<wire x1="-0.58" y1="0.65" x2="0.58" y2="0.65" width="0.1524" layer="51"/>
<rectangle x1="-0.6" y1="-0.4" x2="0.6" y2="0.4" layer="35"/>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
Expand Down Expand Up @@ -2259,6 +2305,25 @@ grid 3.5 mm, diameter 8 mm</description>
<attribute name="NAME" x="13.6838" y="6.3288" size="1.27" layer="25" font="vector" ratio="10"/>
<attribute name="VALUE" x="13.76" y="1.325" size="1.27" layer="27"/>
</element>
<element name="Q1" library="bss138_10" package="SOT23" value="BSS138" x="29.5" y="20" smashed="yes" rot="R180">
<attribute name="OC_FARNELL" value="9845330" x="29.5" y="20" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="MPN" value="BSS138" x="29.5" y="20" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="OC_NEWARK" value="67R2009" x="29.5" y="20" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="MF" value="Fairchild" x="29.5" y="20" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="NAME" x="31.4" y="19.35" size="1.27" layer="25"/>
</element>
<element name="R1" library="rcl" package="R1206" value="4k7" x="47.5" y="7" smashed="yes" rot="R270">
<attribute name="NAME" x="47.5" y="4" size="1.27" layer="25" rot="R270" align="center-left"/>
<attribute name="VALUE" x="44.96" y="8.27" size="1.27" layer="27" rot="R270"/>
</element>
<element name="SJ7" library="jumper" package="SJ" value="n.o." x="24.5" y="23" smashed="yes" rot="R270">
<attribute name="NAME" x="24.5" y="25.5" size="1.27" layer="25" ratio="10" align="bottom-center"/>
<attribute name="VALUE" x="24.5" y="22.5999" size="0.02" layer="27" rot="R270"/>
</element>
<element name="R2" library="rcl" package="R1206" value="4k7" x="29.7" y="25.75" smashed="yes">
<attribute name="NAME" x="28.43" y="27.02" size="1.27" layer="25"/>
<attribute name="VALUE" x="28.43" y="23.21" size="1.27" layer="27"/>
</element>
</elements>
<signals>
<signal name="VMOT">
Expand Down Expand Up @@ -2392,6 +2457,9 @@ grid 3.5 mm, diameter 8 mm</description>
<wire x1="12.5" y1="1.5" x2="51" y2="1.5" width="1.27" layer="16"/>
<wire x1="51" y1="1.5" x2="55" y2="5.5" width="1.27" layer="16"/>
<wire x1="55" y1="5.5" x2="56.5" y2="5.5" width="1.27" layer="16"/>
<contactref element="R1" pad="2"/>
<wire x1="47.5" y1="5.578" x2="47.578" y2="5.5" width="0.6096" layer="1"/>
<wire x1="47.578" y1="5.5" x2="56.5" y2="5.5" width="0.6096" layer="1"/>
</signal>
<signal name="GND1">
</signal>
Expand Down Expand Up @@ -2507,7 +2575,8 @@ grid 3.5 mm, diameter 8 mm</description>
<wire x1="58.85" y1="14.92" x2="54.08" y2="14.92" width="1.27" layer="16"/>
<wire x1="54.08" y1="14.92" x2="51.5" y2="17.5" width="1.27" layer="16"/>
<wire x1="51.5" y1="17.5" x2="51.5" y2="20" width="1.27" layer="16"/>
<wire x1="51.5" y1="20" x2="51.5" y2="42.5" width="1.27" layer="16"/>
<wire x1="51.5" y1="20" x2="51.5" y2="33.5" width="1.27" layer="16"/>
<wire x1="51.5" y1="33.5" x2="51.5" y2="42.5" width="1.27" layer="16"/>
<wire x1="51.5" y1="42.5" x2="51.5" y2="57.5" width="1.27" layer="16"/>
<wire x1="51.5" y1="57.5" x2="49" y2="60" width="1.27" layer="16"/>
<wire x1="38.27" y1="64" x2="38.27" y2="60.73" width="1.27" layer="16"/>
Expand All @@ -2527,6 +2596,14 @@ grid 3.5 mm, diameter 8 mm</description>
<wire x1="12.7" y1="15.24" x2="6.35" y2="21.59" width="0.4064" layer="16"/>
<wire x1="8.89" y1="33.73" x2="6.35" y2="31.19" width="0.4064" layer="16"/>
<wire x1="6.35" y1="31.19" x2="6.35" y2="21.59" width="0.4064" layer="16"/>
<contactref element="R2" pad="2"/>
<contactref element="Q1" pad="1"/>
<wire x1="30.45" y1="21" x2="31.122" y2="21.672" width="0.6096" layer="1"/>
<wire x1="31.122" y1="21.672" x2="31.122" y2="25.75" width="0.6096" layer="1"/>
<wire x1="31.122" y1="25.75" x2="32.25" y2="25.75" width="0.6096" layer="1"/>
<wire x1="32.25" y1="25.75" x2="40" y2="33.5" width="0.6096" layer="1"/>
<wire x1="40" y1="33.5" x2="51.5" y2="33.5" width="0.6096" layer="1"/>
<via x="51.5" y="33.5" extent="1-16" drill="0.8" diameter="1.27" shape="octagon"/>
</signal>
<signal name="N$11">
<contactref element="SJ1" pad="2"/>
Expand Down Expand Up @@ -2610,11 +2687,15 @@ grid 3.5 mm, diameter 8 mm</description>
</signal>
<signal name="SERVO_PWM">
<contactref element="U2" pad="20"/>
<contactref element="SERVO" pad="3"/>
<wire x1="19.05" y1="31.19" x2="19.05" y2="30.6" width="0.6096" layer="16"/>
<wire x1="19.05" y1="30.6" x2="39.65" y2="10" width="0.6096" layer="16"/>
<wire x1="39.65" y1="10" x2="54.54" y2="10" width="0.6096" layer="16"/>
<wire x1="56.5" y1="8.04" x2="54.54" y2="10" width="0.6096" layer="16"/>
<contactref element="Q1" pad="2"/>
<contactref element="R2" pad="1"/>
<contactref element="SJ7" pad="1"/>
<wire x1="28.55" y1="21" x2="28.278" y2="21.272" width="0.6096" layer="1"/>
<wire x1="28.278" y1="21.272" x2="28.278" y2="25.75" width="0.6096" layer="1"/>
<wire x1="28.278" y1="25.75" x2="26.488" y2="25.75" width="0.6096" layer="1"/>
<wire x1="26.488" y1="25.75" x2="24.5" y2="23.762" width="0.6096" layer="1"/>
<wire x1="19.05" y1="31.19" x2="19.05" y2="29.212" width="0.6096" layer="1"/>
<wire x1="19.05" y1="29.212" x2="24.5" y2="23.762" width="0.6096" layer="1"/>
</signal>
<signal name="N$20">
<contactref element="U2" pad="4"/>
Expand Down Expand Up @@ -2712,6 +2793,21 @@ grid 3.5 mm, diameter 8 mm</description>
<wire x1="34.29" y1="8.89" x2="26.11" y2="8.89" width="0.4064" layer="16"/>
<wire x1="26.11" y1="8.89" x2="24.13" y2="10.87" width="0.4064" layer="16"/>
</signal>
<signal name="N$1">
<contactref element="Q1" pad="3"/>
<contactref element="R1" pad="1"/>
<contactref element="SERVO" pad="3"/>
<contactref element="SJ7" pad="2"/>
<wire x1="29.5" y1="19" x2="31" y2="17.5" width="0.6096" layer="1"/>
<wire x1="31" y1="17.5" x2="33" y2="17.5" width="0.6096" layer="1"/>
<wire x1="33" y1="17.5" x2="42.078" y2="8.422" width="0.6096" layer="1"/>
<wire x1="42.078" y1="8.422" x2="47.5" y2="8.422" width="0.6096" layer="1"/>
<wire x1="56.5" y1="8.04" x2="56.118" y2="8.422" width="0.6096" layer="1"/>
<wire x1="56.118" y1="8.422" x2="47.5" y2="8.422" width="0.6096" layer="1"/>
<wire x1="29.5" y1="19" x2="25" y2="19" width="0.6096" layer="1"/>
<wire x1="25" y1="19" x2="24.5" y2="19.5" width="0.6096" layer="1"/>
<wire x1="24.5" y1="19.5" x2="24.5" y2="22.238" width="0.6096" layer="1"/>
</signal>
</signals>
</board>
</drawing>
Expand Down
Loading

0 comments on commit 2b78544

Please sign in to comment.