123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760 |
- <?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE eagle SYSTEM "eagle.dtd">
- <eagle version="7.2.0">
- <drawing>
- <settings>
- <setting alwaysvectorfont="no"/>
- <setting verticaltext="up"/>
- </settings>
- <grid distance="50" unitdist="mil" unit="mil" style="lines" multiple="1" display="yes" altdistance="0.01" altunitdist="inch" altunit="inch"/>
- <layers>
- <layer number="1" name="Top" color="4" fill="1" visible="no" active="no"/>
- <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="4" name="Route4" color="1" fill="4" visible="no" active="no"/>
- <layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/>
- <layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/>
- <layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/>
- <layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/>
- <layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/>
- <layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/>
- <layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/>
- <layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/>
- <layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/>
- <layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/>
- <layer number="15" name="Route15" color="4" fill="6" visible="no" active="no"/>
- <layer number="16" name="Bottom" color="1" fill="1" visible="no" active="no"/>
- <layer number="17" name="Pads" color="2" fill="1" visible="no" active="no"/>
- <layer number="18" name="Vias" color="2" fill="1" visible="no" active="no"/>
- <layer number="19" name="Unrouted" color="6" fill="1" visible="no" active="no"/>
- <layer number="20" name="Dimension" color="15" fill="1" visible="no" active="no"/>
- <layer number="21" name="tPlace" color="7" fill="1" visible="no" active="no"/>
- <layer number="22" name="bPlace" color="7" fill="1" visible="no" active="no"/>
- <layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="no"/>
- <layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="no"/>
- <layer number="25" name="tNames" color="7" fill="1" visible="no" active="no"/>
- <layer number="26" name="bNames" color="7" fill="1" visible="no" active="no"/>
- <layer number="27" name="tValues" color="7" fill="1" visible="no" active="no"/>
- <layer number="28" name="bValues" color="7" fill="1" visible="no" active="no"/>
- <layer number="29" name="tStop" color="7" fill="3" visible="no" active="no"/>
- <layer number="30" name="bStop" color="7" fill="6" visible="no" active="no"/>
- <layer number="31" name="tCream" color="7" fill="4" visible="no" active="no"/>
- <layer number="32" name="bCream" color="7" fill="5" visible="no" active="no"/>
- <layer number="33" name="tFinish" color="6" fill="3" visible="no" active="no"/>
- <layer number="34" name="bFinish" color="6" fill="6" visible="no" active="no"/>
- <layer number="35" name="tGlue" color="7" fill="4" visible="no" active="no"/>
- <layer number="36" name="bGlue" color="7" fill="5" visible="no" active="no"/>
- <layer number="37" name="tTest" color="7" fill="1" visible="no" active="no"/>
- <layer number="38" name="bTest" color="7" fill="1" visible="no" active="no"/>
- <layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="no"/>
- <layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="no"/>
- <layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="no"/>
- <layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="no"/>
- <layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="no"/>
- <layer number="44" name="Drills" color="7" fill="1" visible="no" active="no"/>
- <layer number="45" name="Holes" color="7" fill="1" visible="no" active="no"/>
- <layer number="46" name="Milling" color="3" fill="1" visible="no" active="no"/>
- <layer number="47" name="Measures" color="7" fill="1" visible="no" active="no"/>
- <layer number="48" name="Document" color="7" fill="1" visible="no" active="no"/>
- <layer number="49" name="Reference" color="7" fill="1" visible="no" active="no"/>
- <layer number="51" name="tDocu" color="7" fill="1" visible="no" active="no"/>
- <layer number="52" name="bDocu" color="7" fill="1" visible="no" active="no"/>
- <layer number="90" name="Modules" color="5" 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="no" 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>
- <schematic xreflabel="%F%N/%S.%C%R" xrefpart="/%S.%C%R">
- <libraries>
- <library name="stm8s103">
- <description><b>STM8S103 in TSSOP-20, SO-20 and LQFP32</b>
- <br />
- Source:
- <a href="http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00226640.pdf">STM8S103K3, STM8S103F3, STM8S103F2 Datasheet</a></description>
- <packages>
- <package name="TSSOP20">
- <description><b>Thin Shrink Small Outline Plastic 20</b><p>
- MAX3223-MAX3243.pdf</description>
- <wire x1="-3.1646" y1="-2.2828" x2="3.1646" y2="-2.2828" width="0.1524" layer="21"/>
- <wire x1="3.1646" y1="2.2828" x2="3.1646" y2="-2.2828" width="0.1524" layer="21"/>
- <wire x1="3.1646" y1="2.2828" x2="-3.1646" y2="2.2828" width="0.1524" layer="21"/>
- <wire x1="-3.1646" y1="-2.2828" x2="-3.1646" y2="2.2828" width="0.1524" layer="21"/>
- <wire x1="-2.936" y1="-2.0542" x2="2.936" y2="-2.0542" width="0.0508" layer="21"/>
- <wire x1="2.936" y1="2.0542" x2="2.936" y2="-2.0542" width="0.0508" layer="21"/>
- <wire x1="2.936" y1="2.0542" x2="-2.936" y2="2.0542" width="0.0508" layer="21"/>
- <wire x1="-2.936" y1="-2.0542" x2="-2.936" y2="2.0542" width="0.0508" layer="21"/>
- <circle x="-2.2756" y="-1.2192" radius="0.4572" width="0.1524" layer="21"/>
- <smd name="1" x="-2.925" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="2" x="-2.275" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="3" x="-1.625" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="4" x="-0.975" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="5" x="-0.325" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="6" x="0.325" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="7" x="0.975" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="8" x="1.625" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="9" x="2.275" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="10" x="2.925" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="11" x="2.925" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="12" x="2.275" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="13" x="1.625" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="14" x="0.975" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="15" x="0.325" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="16" x="-0.325" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="17" x="-0.975" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="18" x="-1.625" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="19" x="-2.275" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <smd name="20" x="-2.925" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
- <text x="-3.5456" y="-2.0828" size="1.016" layer="25" ratio="10" rot="R90">>NAME</text>
- <text x="4.5362" y="-2.0828" size="1.016" layer="27" ratio="10" rot="R90">>VALUE</text>
- <rectangle x1="-3.0266" y1="-3.121" x2="-2.8234" y2="-2.2828" layer="51"/>
- <rectangle x1="-2.3766" y1="-3.121" x2="-2.1734" y2="-2.2828" layer="51"/>
- <rectangle x1="-1.7266" y1="-3.121" x2="-1.5234" y2="-2.2828" layer="51"/>
- <rectangle x1="-1.0766" y1="-3.121" x2="-0.8734" y2="-2.2828" layer="51"/>
- <rectangle x1="-0.4266" y1="-3.121" x2="-0.2234" y2="-2.2828" layer="51"/>
- <rectangle x1="0.2234" y1="-3.121" x2="0.4266" y2="-2.2828" layer="51"/>
- <rectangle x1="0.8734" y1="-3.121" x2="1.0766" y2="-2.2828" layer="51"/>
- <rectangle x1="1.5234" y1="-3.121" x2="1.7266" y2="-2.2828" layer="51"/>
- <rectangle x1="2.1734" y1="-3.121" x2="2.3766" y2="-2.2828" layer="51"/>
- <rectangle x1="2.8234" y1="-3.121" x2="3.0266" y2="-2.2828" layer="51"/>
- <rectangle x1="2.8234" y1="2.2828" x2="3.0266" y2="3.121" layer="51"/>
- <rectangle x1="2.1734" y1="2.2828" x2="2.3766" y2="3.121" layer="51"/>
- <rectangle x1="1.5234" y1="2.2828" x2="1.7266" y2="3.121" layer="51"/>
- <rectangle x1="0.8734" y1="2.2828" x2="1.0766" y2="3.121" layer="51"/>
- <rectangle x1="0.2234" y1="2.2828" x2="0.4266" y2="3.121" layer="51"/>
- <rectangle x1="-0.4266" y1="2.2828" x2="-0.2234" y2="3.121" layer="51"/>
- <rectangle x1="-1.0766" y1="2.2828" x2="-0.8734" y2="3.121" layer="51"/>
- <rectangle x1="-1.7266" y1="2.2828" x2="-1.5234" y2="3.121" layer="51"/>
- <rectangle x1="-2.3766" y1="2.2828" x2="-2.1734" y2="3.121" layer="51"/>
- <rectangle x1="-3.0266" y1="2.2828" x2="-2.8234" y2="3.121" layer="51"/>
- </package>
- <package name="SO20W">
- <description><b>SMALL OUTLINE INTEGRATED CIRCUIT</b><p>
- wide body 7.5 mm/JEDEC MS-013AC</description>
- <wire x1="-6.895" y1="5.9" x2="6.895" y2="5.9" width="0.1998" layer="39"/>
- <wire x1="6.895" y1="-5.9" x2="-6.895" y2="-5.9" width="0.1998" layer="39"/>
- <wire x1="-6.895" y1="-5.9" x2="-6.895" y2="5.9" width="0.1998" layer="39"/>
- <wire x1="6.46" y1="-3.7" x2="-6.46" y2="-3.7" width="0.2032" layer="51"/>
- <wire x1="-6.46" y1="-3.7" x2="-6.46" y2="-3.2" width="0.2032" layer="51"/>
- <wire x1="-6.46" y1="-3.2" x2="-6.46" y2="3.7" width="0.2032" layer="51"/>
- <wire x1="-6.46" y1="3.7" x2="6.46" y2="3.7" width="0.2032" layer="51"/>
- <wire x1="6.46" y1="-3.2" x2="-6.46" y2="-3.2" width="0.2032" layer="51"/>
- <wire x1="6.46" y1="3.7" x2="6.46" y2="-3.2" width="0.2032" layer="51"/>
- <wire x1="6.46" y1="-3.2" x2="6.46" y2="-3.7" width="0.2032" layer="51"/>
- <wire x1="6.895" y1="5.9" x2="6.895" y2="-5.9" width="0.1998" layer="39"/>
- <smd name="2" x="-4.445" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="13" x="3.175" y="4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="1" x="-5.715" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="3" x="-3.175" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="4" x="-1.905" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="14" x="1.905" y="4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="12" x="4.445" y="4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="11" x="5.715" y="4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="6" x="0.635" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="9" x="4.445" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="5" x="-0.635" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="7" x="1.905" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="10" x="5.715" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="8" x="3.175" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="15" x="0.635" y="4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="16" x="-0.635" y="4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="17" x="-1.905" y="4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="18" x="-3.175" y="4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="19" x="-4.445" y="4.6" dx="0.6" dy="2.2" layer="1"/>
- <smd name="20" x="-5.715" y="4.6" dx="0.6" dy="2.2" layer="1"/>
- <text x="-5.715" y="1.27" size="1.27" layer="25">>NAME</text>
- <text x="-5.715" y="-2.54" size="1.27" layer="27">>VALUE</text>
- <rectangle x1="-5.9601" y1="-5.32" x2="-5.4699" y2="-3.8001" layer="51"/>
- <rectangle x1="-4.6901" y1="-5.32" x2="-4.1999" y2="-3.8001" layer="51"/>
- <rectangle x1="-3.4201" y1="-5.32" x2="-2.9299" y2="-3.8001" layer="51"/>
- <rectangle x1="-2.1501" y1="-5.32" x2="-1.6599" y2="-3.8001" layer="51"/>
- <rectangle x1="-0.8801" y1="-5.32" x2="-0.3899" y2="-3.8001" layer="51"/>
- <rectangle x1="0.3899" y1="-5.32" x2="0.8801" y2="-3.8001" layer="51"/>
- <rectangle x1="1.6599" y1="-5.32" x2="2.1501" y2="-3.8001" layer="51"/>
- <rectangle x1="2.9299" y1="-5.32" x2="3.4201" y2="-3.8001" layer="51"/>
- <rectangle x1="4.1999" y1="-5.32" x2="4.6901" y2="-3.8001" layer="51"/>
- <rectangle x1="5.4699" y1="-5.32" x2="5.9601" y2="-3.8001" layer="51"/>
- <rectangle x1="5.4699" y1="3.8001" x2="5.9601" y2="5.32" layer="51"/>
- <rectangle x1="4.1999" y1="3.8001" x2="4.6901" y2="5.32" layer="51"/>
- <rectangle x1="2.9299" y1="3.8001" x2="3.4201" y2="5.32" layer="51"/>
- <rectangle x1="1.6599" y1="3.8001" x2="2.1501" y2="5.32" layer="51"/>
- <rectangle x1="0.3899" y1="3.8001" x2="0.8801" y2="5.32" layer="51"/>
- <rectangle x1="-0.8801" y1="3.8001" x2="-0.3899" y2="5.32" layer="51"/>
- <rectangle x1="-2.1501" y1="3.8001" x2="-1.6599" y2="5.32" layer="51"/>
- <rectangle x1="-3.4201" y1="3.8001" x2="-2.9299" y2="5.32" layer="51"/>
- <rectangle x1="-4.6901" y1="3.8001" x2="-4.1999" y2="5.32" layer="51"/>
- <rectangle x1="-5.9601" y1="3.8001" x2="-5.4699" y2="5.32" layer="51"/>
- </package>
- </packages>
- <symbols>
- <symbol name="STM8S103F">
- <wire x1="-33.02" y1="27.94" x2="35.56" y2="27.94" width="0.254" layer="94"/>
- <wire x1="35.56" y1="27.94" x2="35.56" y2="-30.48" width="0.254" layer="94"/>
- <wire x1="35.56" y1="-30.48" x2="-33.02" y2="-30.48" width="0.254" layer="94"/>
- <wire x1="-33.02" y1="-30.48" x2="-33.02" y2="27.94" width="0.254" layer="94"/>
- <pin name="NRST" x="-38.1" y="22.86" length="middle" function="dot"/>
- <pin name="VDDA" x="-38.1" y="17.78" length="middle" direction="pwr"/>
- <pin name="PA0/USART1_CTS/ADC_IN0" x="-38.1" y="15.24" length="middle"/>
- <pin name="PA1/USART1_RTS/ADC_IN1" x="-38.1" y="7.62" length="middle"/>
- <pin name="PA3/USART1_RX/ADC_IN3" x="-38.1" y="5.08" length="middle"/>
- <pin name="PA2/USART1_TX/ADC_IN2" x="-38.1" y="-2.54" length="middle"/>
- <pin name="PA10" x="40.64" y="25.4" length="middle" rot="R180"/>
- <pin name="PA13/SWDIO" x="40.64" y="22.86" length="middle" rot="R180"/>
- <pin name="PA14/SWD_CLK" x="40.64" y="20.32" length="middle" rot="R180"/>
- <pin name="BOOT0" x="40.64" y="17.78" length="middle" rot="R180"/>
- <pin name="PF0-OSC_IN" x="40.64" y="15.24" length="middle" function="clk" rot="R180"/>
- <pin name="PF1-OSC_OUT" x="40.64" y="12.7" length="middle" function="clk" rot="R180"/>
- <pin name="PA4/SPI1_NSS/ADC_IN4" x="40.64" y="5.08" length="middle" rot="R180"/>
- <pin name="PA6/SPI_MISO/ADC_IN6" x="40.64" y="-2.54" length="middle" rot="R180"/>
- <pin name="PA5/SPI1_SCK/ADC_IN5" x="40.64" y="-5.08" length="middle" rot="R180"/>
- <pin name="PA7/SPI_MOSI/ADC_IN7" x="40.64" y="-15.24" length="middle" rot="R180"/>
- <pin name="PB0/ADC_IN8" x="40.64" y="-17.78" length="middle" rot="R180"/>
- <pin name="VSS" x="40.64" y="-20.32" length="middle" direction="pwr" rot="R180"/>
- <pin name="VDD" x="40.64" y="-22.86" length="middle" direction="pwr" rot="R180"/>
- <pin name="PA9" x="40.64" y="-25.4" length="middle" rot="R180"/>
- <text x="-33.02" y="27.94" size="1.27" layer="96">>VALUE</text>
- <text x="-33.02" y="30.48" size="1.27" layer="95">>NAME</text>
- </symbol>
- </symbols>
- <devicesets>
- <deviceset name="STM8S103F*" prefix="IC">
- <description>STM8S103F*</description>
- <gates>
- <gate name="G$1" symbol="STM8S103F" x="0" y="0"/>
- </gates>
- <devices>
- <device name="P" package="TSSOP20">
- <connects>
- <connect gate="G$1" pin="BOOT0" pad="1"/>
- <connect gate="G$1" pin="NRST" pad="4"/>
- <connect gate="G$1" pin="PA0/USART1_CTS/ADC_IN0" pad="6"/>
- <connect gate="G$1" pin="PA1/USART1_RTS/ADC_IN1" pad="7"/>
- <connect gate="G$1" pin="PA10" pad="18"/>
- <connect gate="G$1" pin="PA13/SWDIO" pad="19"/>
- <connect gate="G$1" pin="PA14/SWD_CLK" pad="20"/>
- <connect gate="G$1" pin="PA2/USART1_TX/ADC_IN2" pad="8"/>
- <connect gate="G$1" pin="PA3/USART1_RX/ADC_IN3" pad="9"/>
- <connect gate="G$1" pin="PA4/SPI1_NSS/ADC_IN4" pad="10"/>
- <connect gate="G$1" pin="PA5/SPI1_SCK/ADC_IN5" pad="11"/>
- <connect gate="G$1" pin="PA6/SPI_MISO/ADC_IN6" pad="12"/>
- <connect gate="G$1" pin="PA7/SPI_MOSI/ADC_IN7" pad="13"/>
- <connect gate="G$1" pin="PA9" pad="17"/>
- <connect gate="G$1" pin="PB0/ADC_IN8" pad="14"/>
- <connect gate="G$1" pin="PF0-OSC_IN" pad="2"/>
- <connect gate="G$1" pin="PF1-OSC_OUT" pad="3"/>
- <connect gate="G$1" pin="VDD" pad="16"/>
- <connect gate="G$1" pin="VDDA" pad="5"/>
- <connect gate="G$1" pin="VSS" pad="15"/>
- </connects>
- <technologies>
- <technology name=""/>
- </technologies>
- </device>
- <device name="M" package="SO20W">
- <connects>
- <connect gate="G$1" pin="BOOT0" pad="1"/>
- <connect gate="G$1" pin="NRST" pad="4"/>
- <connect gate="G$1" pin="PA0/USART1_CTS/ADC_IN0" pad="6"/>
- <connect gate="G$1" pin="PA1/USART1_RTS/ADC_IN1" pad="7"/>
- <connect gate="G$1" pin="PA10" pad="18"/>
- <connect gate="G$1" pin="PA13/SWDIO" pad="19"/>
- <connect gate="G$1" pin="PA14/SWD_CLK" pad="20"/>
- <connect gate="G$1" pin="PA2/USART1_TX/ADC_IN2" pad="8"/>
- <connect gate="G$1" pin="PA3/USART1_RX/ADC_IN3" pad="9"/>
- <connect gate="G$1" pin="PA4/SPI1_NSS/ADC_IN4" pad="10"/>
- <connect gate="G$1" pin="PA5/SPI1_SCK/ADC_IN5" pad="11"/>
- <connect gate="G$1" pin="PA6/SPI_MISO/ADC_IN6" pad="12"/>
- <connect gate="G$1" pin="PA7/SPI_MOSI/ADC_IN7" pad="13"/>
- <connect gate="G$1" pin="PA9" pad="17"/>
- <connect gate="G$1" pin="PB0/ADC_IN8" pad="14"/>
- <connect gate="G$1" pin="PF0-OSC_IN" pad="2"/>
- <connect gate="G$1" pin="PF1-OSC_OUT" pad="3"/>
- <connect gate="G$1" pin="VDD" pad="16"/>
- <connect gate="G$1" pin="VDDA" pad="5"/>
- <connect gate="G$1" pin="VSS" pad="15"/>
- </connects>
- <technologies>
- <technology name=""/>
- </technologies>
- </device>
- </devices>
- </deviceset>
- </devicesets>
- </library>
- <library name="pinhead">
- <description><b>Pin Header Connectors</b><p>
- <author>Created by librarian@cadsoft.de</author></description>
- <packages>
- <package name="1X10">
- <description><b>PIN HEADER</b></description>
- <wire x1="7.62" y1="0.635" x2="8.255" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="8.255" y1="1.27" x2="9.525" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="9.525" y1="1.27" x2="10.16" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="10.16" y1="0.635" x2="10.16" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="10.16" y1="-0.635" x2="9.525" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="9.525" y1="-1.27" x2="8.255" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="8.255" y1="-1.27" x2="7.62" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="3.175" y1="1.27" x2="4.445" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="4.445" y1="1.27" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="5.08" y1="0.635" x2="5.08" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="5.08" y1="-0.635" x2="4.445" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="5.08" y1="0.635" x2="5.715" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="5.715" y1="1.27" x2="6.985" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="6.985" y1="1.27" x2="7.62" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="7.62" y1="0.635" x2="7.62" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="7.62" y1="-0.635" x2="6.985" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="6.985" y1="-1.27" x2="5.715" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="5.715" y1="-1.27" x2="5.08" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="0" y1="0.635" x2="0.635" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="0.635" y1="1.27" x2="1.905" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="1.905" y1="1.27" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="2.54" y1="0.635" x2="2.54" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="2.54" y1="-0.635" x2="1.905" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="1.905" y1="-1.27" x2="0.635" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="0.635" y1="-1.27" x2="0" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="3.175" y1="1.27" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="2.54" y1="-0.635" x2="3.175" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="4.445" y1="-1.27" x2="3.175" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-4.445" y1="1.27" x2="-3.175" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="-3.175" y1="1.27" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-2.54" y1="0.635" x2="-2.54" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="-2.54" y1="-0.635" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-2.54" y1="0.635" x2="-1.905" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="-1.905" y1="1.27" x2="-0.635" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="-0.635" y1="1.27" x2="0" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="0" y1="0.635" x2="0" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="0" y1="-0.635" x2="-0.635" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-0.635" y1="-1.27" x2="-1.905" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-1.905" y1="-1.27" x2="-2.54" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="-7.62" y1="0.635" x2="-6.985" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="-6.985" y1="1.27" x2="-5.715" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="-5.715" y1="1.27" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-5.08" y1="0.635" x2="-5.08" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="-5.08" y1="-0.635" x2="-5.715" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-5.715" y1="-1.27" x2="-6.985" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-6.985" y1="-1.27" x2="-7.62" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="-4.445" y1="1.27" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-5.08" y1="-0.635" x2="-4.445" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-3.175" y1="-1.27" x2="-4.445" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-12.065" y1="1.27" x2="-10.795" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="-10.795" y1="1.27" x2="-10.16" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-10.16" y1="0.635" x2="-10.16" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="-10.16" y1="-0.635" x2="-10.795" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-10.16" y1="0.635" x2="-9.525" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="-9.525" y1="1.27" x2="-8.255" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="-8.255" y1="1.27" x2="-7.62" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-7.62" y1="0.635" x2="-7.62" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="-7.62" y1="-0.635" x2="-8.255" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-8.255" y1="-1.27" x2="-9.525" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-9.525" y1="-1.27" x2="-10.16" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="-12.7" y1="0.635" x2="-12.7" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="-12.065" y1="1.27" x2="-12.7" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-12.7" y1="-0.635" x2="-12.065" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="-10.795" y1="-1.27" x2="-12.065" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="10.795" y1="1.27" x2="12.065" y2="1.27" width="0.1524" layer="21"/>
- <wire x1="12.065" y1="1.27" x2="12.7" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="12.7" y1="0.635" x2="12.7" y2="-0.635" width="0.1524" layer="21"/>
- <wire x1="12.7" y1="-0.635" x2="12.065" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="10.795" y1="1.27" x2="10.16" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="10.16" y1="-0.635" x2="10.795" y2="-1.27" width="0.1524" layer="21"/>
- <wire x1="12.065" y1="-1.27" x2="10.795" y2="-1.27" width="0.1524" layer="21"/>
- <pad name="1" x="-11.43" y="0" drill="1.016" shape="long" rot="R90"/>
- <pad name="2" x="-8.89" y="0" drill="1.016" shape="long" rot="R90"/>
- <pad name="3" x="-6.35" y="0" drill="1.016" shape="long" rot="R90"/>
- <pad name="4" x="-3.81" y="0" drill="1.016" shape="long" rot="R90"/>
- <pad name="5" x="-1.27" y="0" drill="1.016" shape="long" rot="R90"/>
- <pad name="6" x="1.27" y="0" drill="1.016" shape="long" rot="R90"/>
- <pad name="7" x="3.81" y="0" drill="1.016" shape="long" rot="R90"/>
- <pad name="8" x="6.35" y="0" drill="1.016" shape="long" rot="R90"/>
- <pad name="9" x="8.89" y="0" drill="1.016" shape="long" rot="R90"/>
- <pad name="10" x="11.43" y="0" drill="1.016" shape="long" rot="R90"/>
- <text x="-12.7762" y="1.8288" size="1.27" layer="25" ratio="10">>NAME</text>
- <text x="-12.7" y="-3.175" size="1.27" layer="27">>VALUE</text>
- <rectangle x1="8.636" y1="-0.254" x2="9.144" y2="0.254" layer="51"/>
- <rectangle x1="6.096" y1="-0.254" x2="6.604" y2="0.254" layer="51"/>
- <rectangle x1="3.556" y1="-0.254" x2="4.064" y2="0.254" layer="51"/>
- <rectangle x1="1.016" y1="-0.254" x2="1.524" y2="0.254" layer="51"/>
- <rectangle x1="-1.524" y1="-0.254" x2="-1.016" y2="0.254" layer="51"/>
- <rectangle x1="-4.064" y1="-0.254" x2="-3.556" y2="0.254" layer="51"/>
- <rectangle x1="-6.604" y1="-0.254" x2="-6.096" y2="0.254" layer="51"/>
- <rectangle x1="-9.144" y1="-0.254" x2="-8.636" y2="0.254" layer="51"/>
- <rectangle x1="-11.684" y1="-0.254" x2="-11.176" y2="0.254" layer="51"/>
- <rectangle x1="11.176" y1="-0.254" x2="11.684" y2="0.254" layer="51"/>
- </package>
- <package name="1X10/90">
- <description><b>PIN HEADER</b></description>
- <wire x1="-12.7" y1="-1.905" x2="-10.16" y2="-1.905" width="0.1524" layer="21"/>
- <wire x1="-10.16" y1="-1.905" x2="-10.16" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-10.16" y1="0.635" x2="-12.7" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-12.7" y1="0.635" x2="-12.7" y2="-1.905" width="0.1524" layer="21"/>
- <wire x1="-11.43" y1="6.985" x2="-11.43" y2="1.27" width="0.762" layer="21"/>
- <wire x1="-10.16" y1="-1.905" x2="-7.62" y2="-1.905" width="0.1524" layer="21"/>
- <wire x1="-7.62" y1="-1.905" x2="-7.62" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-7.62" y1="0.635" x2="-10.16" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-8.89" y1="6.985" x2="-8.89" y2="1.27" width="0.762" layer="21"/>
- <wire x1="-7.62" y1="-1.905" x2="-5.08" y2="-1.905" width="0.1524" layer="21"/>
- <wire x1="-5.08" y1="-1.905" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-5.08" y1="0.635" x2="-7.62" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-6.35" y1="6.985" x2="-6.35" y2="1.27" width="0.762" layer="21"/>
- <wire x1="-5.08" y1="-1.905" x2="-2.54" y2="-1.905" width="0.1524" layer="21"/>
- <wire x1="-2.54" y1="-1.905" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-2.54" y1="0.635" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-3.81" y1="6.985" x2="-3.81" y2="1.27" width="0.762" layer="21"/>
- <wire x1="-2.54" y1="-1.905" x2="0" y2="-1.905" width="0.1524" layer="21"/>
- <wire x1="0" y1="-1.905" x2="0" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="0" y1="0.635" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="-1.27" y1="6.985" x2="-1.27" y2="1.27" width="0.762" layer="21"/>
- <wire x1="0" y1="-1.905" x2="2.54" y2="-1.905" width="0.1524" layer="21"/>
- <wire x1="2.54" y1="-1.905" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="2.54" y1="0.635" x2="0" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="1.27" y1="6.985" x2="1.27" y2="1.27" width="0.762" layer="21"/>
- <wire x1="2.54" y1="-1.905" x2="5.08" y2="-1.905" width="0.1524" layer="21"/>
- <wire x1="5.08" y1="-1.905" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="5.08" y1="0.635" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="3.81" y1="6.985" x2="3.81" y2="1.27" width="0.762" layer="21"/>
- <wire x1="5.08" y1="-1.905" x2="7.62" y2="-1.905" width="0.1524" layer="21"/>
- <wire x1="7.62" y1="-1.905" x2="7.62" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="7.62" y1="0.635" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="6.35" y1="6.985" x2="6.35" y2="1.27" width="0.762" layer="21"/>
- <wire x1="7.62" y1="-1.905" x2="10.16" y2="-1.905" width="0.1524" layer="21"/>
- <wire x1="10.16" y1="-1.905" x2="10.16" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="10.16" y1="0.635" x2="7.62" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="8.89" y1="6.985" x2="8.89" y2="1.27" width="0.762" layer="21"/>
- <wire x1="10.16" y1="-1.905" x2="12.7" y2="-1.905" width="0.1524" layer="21"/>
- <wire x1="12.7" y1="-1.905" x2="12.7" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="12.7" y1="0.635" x2="10.16" y2="0.635" width="0.1524" layer="21"/>
- <wire x1="11.43" y1="6.985" x2="11.43" y2="1.27" width="0.762" layer="21"/>
- <pad name="1" x="-11.43" y="-3.81" drill="1.016" shape="long" rot="R90"/>
- <pad name="2" x="-8.89" y="-3.81" drill="1.016" shape="long" rot="R90"/>
- <pad name="3" x="-6.35" y="-3.81" drill="1.016" shape="long" rot="R90"/>
- <pad name="4" x="-3.81" y="-3.81" drill="1.016" shape="long" rot="R90"/>
- <pad name="5" x="-1.27" y="-3.81" drill="1.016" shape="long" rot="R90"/>
- <pad name="6" x="1.27" y="-3.81" drill="1.016" shape="long" rot="R90"/>
- <pad name="7" x="3.81" y="-3.81" drill="1.016" shape="long" rot="R90"/>
- <pad name="8" x="6.35" y="-3.81" drill="1.016" shape="long" rot="R90"/>
- <pad name="9" x="8.89" y="-3.81" drill="1.016" shape="long" rot="R90"/>
- <pad name="10" x="11.43" y="-3.81" drill="1.016" shape="long" rot="R90"/>
- <text x="-13.335" y="-3.81" size="1.27" layer="25" ratio="10" rot="R90">>NAME</text>
- <text x="14.605" y="-4.445" size="1.27" layer="27" rot="R90">>VALUE</text>
- <rectangle x1="-11.811" y1="0.635" x2="-11.049" y2="1.143" layer="21"/>
- <rectangle x1="-9.271" y1="0.635" x2="-8.509" y2="1.143" layer="21"/>
- <rectangle x1="-6.731" y1="0.635" x2="-5.969" y2="1.143" layer="21"/>
- <rectangle x1="-4.191" y1="0.635" x2="-3.429" y2="1.143" layer="21"/>
- <rectangle x1="-1.651" y1="0.635" x2="-0.889" y2="1.143" layer="21"/>
- <rectangle x1="0.889" y1="0.635" x2="1.651" y2="1.143" layer="21"/>
- <rectangle x1="3.429" y1="0.635" x2="4.191" y2="1.143" layer="21"/>
- <rectangle x1="5.969" y1="0.635" x2="6.731" y2="1.143" layer="21"/>
- <rectangle x1="8.509" y1="0.635" x2="9.271" y2="1.143" layer="21"/>
- <rectangle x1="11.049" y1="0.635" x2="11.811" y2="1.143" layer="21"/>
- <rectangle x1="-11.811" y1="-2.921" x2="-11.049" y2="-1.905" layer="21"/>
- <rectangle x1="-9.271" y1="-2.921" x2="-8.509" y2="-1.905" layer="21"/>
- <rectangle x1="-6.731" y1="-2.921" x2="-5.969" y2="-1.905" layer="21"/>
- <rectangle x1="-4.191" y1="-2.921" x2="-3.429" y2="-1.905" layer="21"/>
- <rectangle x1="-1.651" y1="-2.921" x2="-0.889" y2="-1.905" layer="21"/>
- <rectangle x1="0.889" y1="-2.921" x2="1.651" y2="-1.905" layer="21"/>
- <rectangle x1="3.429" y1="-2.921" x2="4.191" y2="-1.905" layer="21"/>
- <rectangle x1="5.969" y1="-2.921" x2="6.731" y2="-1.905" layer="21"/>
- <rectangle x1="8.509" y1="-2.921" x2="9.271" y2="-1.905" layer="21"/>
- <rectangle x1="11.049" y1="-2.921" x2="11.811" y2="-1.905" layer="21"/>
- </package>
- </packages>
- <symbols>
- <symbol name="PINHD10">
- <wire x1="-6.35" y1="-15.24" x2="1.27" y2="-15.24" width="0.4064" layer="94"/>
- <wire x1="1.27" y1="-15.24" x2="1.27" y2="12.7" width="0.4064" layer="94"/>
- <wire x1="1.27" y1="12.7" x2="-6.35" y2="12.7" width="0.4064" layer="94"/>
- <wire x1="-6.35" y1="12.7" x2="-6.35" y2="-15.24" width="0.4064" layer="94"/>
- <text x="-6.35" y="13.335" size="1.778" layer="95">>NAME</text>
- <text x="-6.35" y="-17.78" size="1.778" layer="96">>VALUE</text>
- <pin name="1" x="-2.54" y="10.16" visible="pad" length="short" direction="pas" function="dot"/>
- <pin name="2" x="-2.54" y="7.62" visible="pad" length="short" direction="pas" function="dot"/>
- <pin name="3" x="-2.54" y="5.08" visible="pad" length="short" direction="pas" function="dot"/>
- <pin name="4" x="-2.54" y="2.54" visible="pad" length="short" direction="pas" function="dot"/>
- <pin name="5" x="-2.54" y="0" visible="pad" length="short" direction="pas" function="dot"/>
- <pin name="6" x="-2.54" y="-2.54" visible="pad" length="short" direction="pas" function="dot"/>
- <pin name="7" x="-2.54" y="-5.08" visible="pad" length="short" direction="pas" function="dot"/>
- <pin name="8" x="-2.54" y="-7.62" visible="pad" length="short" direction="pas" function="dot"/>
- <pin name="9" x="-2.54" y="-10.16" visible="pad" length="short" direction="pas" function="dot"/>
- <pin name="10" x="-2.54" y="-12.7" visible="pad" length="short" direction="pas" function="dot"/>
- </symbol>
- </symbols>
- <devicesets>
- <deviceset name="PINHD-1X10" prefix="JP" uservalue="yes">
- <description><b>PIN HEADER</b></description>
- <gates>
- <gate name="A" symbol="PINHD10" x="0" y="0"/>
- </gates>
- <devices>
- <device name="" package="1X10">
- <connects>
- <connect gate="A" pin="1" pad="1"/>
- <connect gate="A" pin="10" pad="10"/>
- <connect gate="A" pin="2" pad="2"/>
- <connect gate="A" pin="3" pad="3"/>
- <connect gate="A" pin="4" pad="4"/>
- <connect gate="A" pin="5" pad="5"/>
- <connect gate="A" pin="6" pad="6"/>
- <connect gate="A" pin="7" pad="7"/>
- <connect gate="A" pin="8" pad="8"/>
- <connect gate="A" pin="9" pad="9"/>
- </connects>
- <technologies>
- <technology name=""/>
- </technologies>
- </device>
- <device name="/90" package="1X10/90">
- <connects>
- <connect gate="A" pin="1" pad="1"/>
- <connect gate="A" pin="10" pad="10"/>
- <connect gate="A" pin="2" pad="2"/>
- <connect gate="A" pin="3" pad="3"/>
- <connect gate="A" pin="4" pad="4"/>
- <connect gate="A" pin="5" pad="5"/>
- <connect gate="A" pin="6" pad="6"/>
- <connect gate="A" pin="7" pad="7"/>
- <connect gate="A" pin="8" pad="8"/>
- <connect gate="A" pin="9" pad="9"/>
- </connects>
- <technologies>
- <technology name=""/>
- </technologies>
- </device>
- </devices>
- </deviceset>
- </devicesets>
- </library>
- </libraries>
- <attributes>
- </attributes>
- <variantdefs>
- </variantdefs>
- <classes>
- <class number="0" name="default" width="0" drill="0">
- </class>
- </classes>
- <parts>
- <part name="IC1" library="stm8s103" deviceset="STM8S103F*" device="P"/>
- <part name="JP1" library="pinhead" deviceset="PINHD-1X10" device=""/>
- <part name="JP2" library="pinhead" deviceset="PINHD-1X10" device=""/>
- </parts>
- <sheets>
- <sheet>
- <plain>
- </plain>
- <instances>
- <instance part="IC1" gate="G$1" x="82.55" y="68.58"/>
- <instance part="JP1" gate="A" x="64.77" y="-19.05" rot="R270"/>
- <instance part="JP2" gate="A" x="109.22" y="-19.05" rot="R270"/>
- </instances>
- <busses>
- </busses>
- <nets>
- <net name="N$1" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="BOOT0"/>
- <wire x1="123.19" y1="86.36" x2="165.1" y2="86.36" width="0.1524" layer="91"/>
- <wire x1="165.1" y1="86.36" x2="165.1" y2="5.08" width="0.1524" layer="91"/>
- <wire x1="165.1" y1="5.08" x2="52.07" y2="5.08" width="0.1524" layer="91"/>
- <pinref part="JP1" gate="A" pin="10"/>
- <wire x1="52.07" y1="5.08" x2="52.07" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$2" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PF0-OSC_IN"/>
- <wire x1="123.19" y1="83.82" x2="162.56" y2="83.82" width="0.1524" layer="91"/>
- <wire x1="162.56" y1="83.82" x2="162.56" y2="7.62" width="0.1524" layer="91"/>
- <wire x1="162.56" y1="7.62" x2="54.61" y2="7.62" width="0.1524" layer="91"/>
- <pinref part="JP1" gate="A" pin="9"/>
- <wire x1="54.61" y1="7.62" x2="54.61" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$3" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PF1-OSC_OUT"/>
- <wire x1="123.19" y1="81.28" x2="160.02" y2="81.28" width="0.1524" layer="91"/>
- <wire x1="160.02" y1="81.28" x2="160.02" y2="10.16" width="0.1524" layer="91"/>
- <wire x1="160.02" y1="10.16" x2="57.15" y2="10.16" width="0.1524" layer="91"/>
- <pinref part="JP1" gate="A" pin="8"/>
- <wire x1="57.15" y1="10.16" x2="57.15" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$4" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="NRST"/>
- <wire x1="44.45" y1="91.44" x2="13.97" y2="91.44" width="0.1524" layer="91"/>
- <wire x1="13.97" y1="91.44" x2="13.97" y2="19.05" width="0.1524" layer="91"/>
- <wire x1="13.97" y1="19.05" x2="59.69" y2="19.05" width="0.1524" layer="91"/>
- <pinref part="JP1" gate="A" pin="7"/>
- <wire x1="59.69" y1="19.05" x2="59.69" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$5" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="VDDA"/>
- <wire x1="44.45" y1="86.36" x2="16.51" y2="86.36" width="0.1524" layer="91"/>
- <wire x1="16.51" y1="86.36" x2="16.51" y2="21.59" width="0.1524" layer="91"/>
- <wire x1="16.51" y1="21.59" x2="62.23" y2="21.59" width="0.1524" layer="91"/>
- <pinref part="JP1" gate="A" pin="6"/>
- <wire x1="62.23" y1="21.59" x2="62.23" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$6" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PA0/USART1_CTS/ADC_IN0"/>
- <wire x1="44.45" y1="83.82" x2="19.05" y2="83.82" width="0.1524" layer="91"/>
- <wire x1="19.05" y1="83.82" x2="19.05" y2="24.13" width="0.1524" layer="91"/>
- <wire x1="19.05" y1="24.13" x2="64.77" y2="24.13" width="0.1524" layer="91"/>
- <pinref part="JP1" gate="A" pin="5"/>
- <wire x1="64.77" y1="24.13" x2="64.77" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$7" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PA1/USART1_RTS/ADC_IN1"/>
- <wire x1="44.45" y1="76.2" x2="21.59" y2="76.2" width="0.1524" layer="91"/>
- <wire x1="21.59" y1="76.2" x2="21.59" y2="26.67" width="0.1524" layer="91"/>
- <wire x1="21.59" y1="26.67" x2="67.31" y2="26.67" width="0.1524" layer="91"/>
- <pinref part="JP1" gate="A" pin="4"/>
- <wire x1="67.31" y1="26.67" x2="67.31" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$8" class="0">
- <segment>
- <wire x1="45.72" y1="66.04" x2="24.13" y2="66.04" width="0.1524" layer="91"/>
- <wire x1="24.13" y1="66.04" x2="24.13" y2="29.21" width="0.1524" layer="91"/>
- <wire x1="24.13" y1="29.21" x2="69.85" y2="29.21" width="0.1524" layer="91"/>
- <wire x1="69.85" y1="29.21" x2="69.85" y2="-16.51" width="0.1524" layer="91"/>
- <wire x1="69.85" y1="-17.78" x2="69.85" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$9" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PA3/USART1_RX/ADC_IN3"/>
- <wire x1="44.45" y1="73.66" x2="26.67" y2="73.66" width="0.1524" layer="91"/>
- <wire x1="26.67" y1="73.66" x2="26.67" y2="31.75" width="0.1524" layer="91"/>
- <wire x1="26.67" y1="31.75" x2="72.39" y2="31.75" width="0.1524" layer="91"/>
- <pinref part="JP1" gate="A" pin="2"/>
- <wire x1="72.39" y1="31.75" x2="72.39" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$10" class="0">
- <segment>
- <wire x1="121.92" y1="73.66" x2="157.48" y2="73.66" width="0.1524" layer="91"/>
- <wire x1="157.48" y1="73.66" x2="157.48" y2="12.7" width="0.1524" layer="91"/>
- <wire x1="157.48" y1="12.7" x2="74.93" y2="12.7" width="0.1524" layer="91"/>
- <pinref part="JP1" gate="A" pin="1"/>
- <wire x1="74.93" y1="12.7" x2="74.93" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$11" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PA5/SPI1_SCK/ADC_IN5"/>
- <wire x1="123.19" y1="63.5" x2="154.94" y2="63.5" width="0.1524" layer="91"/>
- <wire x1="154.94" y1="63.5" x2="154.94" y2="15.24" width="0.1524" layer="91"/>
- <wire x1="154.94" y1="15.24" x2="96.52" y2="15.24" width="0.1524" layer="91"/>
- <pinref part="JP2" gate="A" pin="10"/>
- <wire x1="96.52" y1="15.24" x2="96.52" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$12" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PA6/SPI_MISO/ADC_IN6"/>
- <wire x1="123.19" y1="66.04" x2="152.4" y2="66.04" width="0.1524" layer="91"/>
- <wire x1="152.4" y1="66.04" x2="152.4" y2="17.78" width="0.1524" layer="91"/>
- <pinref part="JP2" gate="A" pin="9"/>
- <wire x1="152.4" y1="17.78" x2="99.06" y2="17.78" width="0.1524" layer="91"/>
- <wire x1="99.06" y1="17.78" x2="99.06" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$13" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PA7/SPI_MOSI/ADC_IN7"/>
- <wire x1="123.19" y1="53.34" x2="149.86" y2="53.34" width="0.1524" layer="91"/>
- <wire x1="149.86" y1="53.34" x2="149.86" y2="20.32" width="0.1524" layer="91"/>
- <pinref part="JP2" gate="A" pin="8"/>
- <wire x1="149.86" y1="20.32" x2="101.6" y2="20.32" width="0.1524" layer="91"/>
- <wire x1="101.6" y1="20.32" x2="101.6" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$14" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PB0/ADC_IN8"/>
- <wire x1="123.19" y1="50.8" x2="147.32" y2="50.8" width="0.1524" layer="91"/>
- <wire x1="147.32" y1="50.8" x2="147.32" y2="22.86" width="0.1524" layer="91"/>
- <pinref part="JP2" gate="A" pin="7"/>
- <wire x1="147.32" y1="22.86" x2="104.14" y2="22.86" width="0.1524" layer="91"/>
- <wire x1="104.14" y1="22.86" x2="104.14" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$15" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="VSS"/>
- <wire x1="123.19" y1="48.26" x2="144.78" y2="48.26" width="0.1524" layer="91"/>
- <wire x1="144.78" y1="48.26" x2="144.78" y2="25.4" width="0.1524" layer="91"/>
- <pinref part="JP2" gate="A" pin="6"/>
- <wire x1="144.78" y1="25.4" x2="106.68" y2="25.4" width="0.1524" layer="91"/>
- <wire x1="106.68" y1="25.4" x2="106.68" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$16" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="VDD"/>
- <wire x1="123.19" y1="45.72" x2="142.24" y2="45.72" width="0.1524" layer="91"/>
- <wire x1="142.24" y1="45.72" x2="142.24" y2="27.94" width="0.1524" layer="91"/>
- <pinref part="JP2" gate="A" pin="5"/>
- <wire x1="142.24" y1="27.94" x2="109.22" y2="27.94" width="0.1524" layer="91"/>
- <wire x1="109.22" y1="27.94" x2="109.22" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$17" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PA9"/>
- <wire x1="123.19" 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="30.48" width="0.1524" layer="91"/>
- <pinref part="JP2" gate="A" pin="4"/>
- <wire x1="139.7" y1="30.48" x2="111.76" y2="30.48" width="0.1524" layer="91"/>
- <wire x1="111.76" y1="30.48" x2="111.76" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$18" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PA10"/>
- <wire x1="123.19" y1="93.98" x2="137.16" y2="93.98" width="0.1524" layer="91"/>
- <wire x1="137.16" y1="93.98" x2="137.16" y2="33.02" width="0.1524" layer="91"/>
- <pinref part="JP2" gate="A" pin="3"/>
- <wire x1="137.16" y1="33.02" x2="114.3" y2="33.02" width="0.1524" layer="91"/>
- <wire x1="114.3" y1="33.02" x2="114.3" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$19" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PA13/SWDIO"/>
- <wire x1="123.19" y1="91.44" x2="134.62" y2="91.44" width="0.1524" layer="91"/>
- <wire x1="134.62" y1="91.44" x2="134.62" y2="35.56" width="0.1524" layer="91"/>
- <pinref part="JP2" gate="A" pin="2"/>
- <wire x1="134.62" y1="35.56" x2="116.84" y2="35.56" width="0.1524" layer="91"/>
- <wire x1="116.84" y1="35.56" x2="116.84" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- <net name="N$20" class="0">
- <segment>
- <pinref part="IC1" gate="G$1" pin="PA14/SWD_CLK"/>
- <wire x1="123.19" y1="88.9" x2="132.08" y2="88.9" width="0.1524" layer="91"/>
- <wire x1="132.08" y1="88.9" x2="132.08" y2="38.1" width="0.1524" layer="91"/>
- <pinref part="JP2" gate="A" pin="1"/>
- <wire x1="132.08" y1="38.1" x2="119.38" y2="38.1" width="0.1524" layer="91"/>
- <wire x1="119.38" y1="38.1" x2="119.38" y2="-16.51" width="0.1524" layer="91"/>
- </segment>
- </net>
- </nets>
- </sheet>
- </sheets>
- </schematic>
- </drawing>
- </eagle>
|