Controller.sch 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE eagle SYSTEM "eagle.dtd">
  3. <eagle version="7.2.0">
  4. <drawing>
  5. <settings>
  6. <setting alwaysvectorfont="no"/>
  7. <setting verticaltext="up"/>
  8. </settings>
  9. <grid distance="50" unitdist="mil" unit="mil" style="lines" multiple="1" display="yes" altdistance="0.01" altunitdist="inch" altunit="inch"/>
  10. <layers>
  11. <layer number="1" name="Top" color="4" fill="1" visible="no" active="no"/>
  12. <layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/>
  13. <layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/>
  14. <layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/>
  15. <layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/>
  16. <layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/>
  17. <layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/>
  18. <layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/>
  19. <layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/>
  20. <layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/>
  21. <layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/>
  22. <layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/>
  23. <layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/>
  24. <layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/>
  25. <layer number="15" name="Route15" color="4" fill="6" visible="no" active="no"/>
  26. <layer number="16" name="Bottom" color="1" fill="1" visible="no" active="no"/>
  27. <layer number="17" name="Pads" color="2" fill="1" visible="no" active="no"/>
  28. <layer number="18" name="Vias" color="2" fill="1" visible="no" active="no"/>
  29. <layer number="19" name="Unrouted" color="6" fill="1" visible="no" active="no"/>
  30. <layer number="20" name="Dimension" color="15" fill="1" visible="no" active="no"/>
  31. <layer number="21" name="tPlace" color="7" fill="1" visible="no" active="no"/>
  32. <layer number="22" name="bPlace" color="7" fill="1" visible="no" active="no"/>
  33. <layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="no"/>
  34. <layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="no"/>
  35. <layer number="25" name="tNames" color="7" fill="1" visible="no" active="no"/>
  36. <layer number="26" name="bNames" color="7" fill="1" visible="no" active="no"/>
  37. <layer number="27" name="tValues" color="7" fill="1" visible="no" active="no"/>
  38. <layer number="28" name="bValues" color="7" fill="1" visible="no" active="no"/>
  39. <layer number="29" name="tStop" color="7" fill="3" visible="no" active="no"/>
  40. <layer number="30" name="bStop" color="7" fill="6" visible="no" active="no"/>
  41. <layer number="31" name="tCream" color="7" fill="4" visible="no" active="no"/>
  42. <layer number="32" name="bCream" color="7" fill="5" visible="no" active="no"/>
  43. <layer number="33" name="tFinish" color="6" fill="3" visible="no" active="no"/>
  44. <layer number="34" name="bFinish" color="6" fill="6" visible="no" active="no"/>
  45. <layer number="35" name="tGlue" color="7" fill="4" visible="no" active="no"/>
  46. <layer number="36" name="bGlue" color="7" fill="5" visible="no" active="no"/>
  47. <layer number="37" name="tTest" color="7" fill="1" visible="no" active="no"/>
  48. <layer number="38" name="bTest" color="7" fill="1" visible="no" active="no"/>
  49. <layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="no"/>
  50. <layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="no"/>
  51. <layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="no"/>
  52. <layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="no"/>
  53. <layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="no"/>
  54. <layer number="44" name="Drills" color="7" fill="1" visible="no" active="no"/>
  55. <layer number="45" name="Holes" color="7" fill="1" visible="no" active="no"/>
  56. <layer number="46" name="Milling" color="3" fill="1" visible="no" active="no"/>
  57. <layer number="47" name="Measures" color="7" fill="1" visible="no" active="no"/>
  58. <layer number="48" name="Document" color="7" fill="1" visible="no" active="no"/>
  59. <layer number="49" name="Reference" color="7" fill="1" visible="no" active="no"/>
  60. <layer number="51" name="tDocu" color="7" fill="1" visible="no" active="no"/>
  61. <layer number="52" name="bDocu" color="7" fill="1" visible="no" active="no"/>
  62. <layer number="90" name="Modules" color="5" fill="1" visible="yes" active="yes"/>
  63. <layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/>
  64. <layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/>
  65. <layer number="93" name="Pins" color="2" fill="1" visible="no" active="yes"/>
  66. <layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/>
  67. <layer number="95" name="Names" color="7" fill="1" visible="yes" active="yes"/>
  68. <layer number="96" name="Values" color="7" fill="1" visible="yes" active="yes"/>
  69. <layer number="97" name="Info" color="7" fill="1" visible="yes" active="yes"/>
  70. <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/>
  71. </layers>
  72. <schematic xreflabel="%F%N/%S.%C%R" xrefpart="/%S.%C%R">
  73. <libraries>
  74. <library name="stm8s103">
  75. <description>&lt;b&gt;STM8S103 in TSSOP-20, SO-20 and LQFP32&lt;/b&gt;
  76. &lt;br /&gt;
  77. Source:
  78. &lt;a href="http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00226640.pdf"&gt;STM8S103K3, STM8S103F3, STM8S103F2 Datasheet&lt;/a&gt;</description>
  79. <packages>
  80. <package name="TSSOP20">
  81. <description>&lt;b&gt;Thin Shrink Small Outline Plastic 20&lt;/b&gt;&lt;p&gt;
  82. MAX3223-MAX3243.pdf</description>
  83. <wire x1="-3.1646" y1="-2.2828" x2="3.1646" y2="-2.2828" width="0.1524" layer="21"/>
  84. <wire x1="3.1646" y1="2.2828" x2="3.1646" y2="-2.2828" width="0.1524" layer="21"/>
  85. <wire x1="3.1646" y1="2.2828" x2="-3.1646" y2="2.2828" width="0.1524" layer="21"/>
  86. <wire x1="-3.1646" y1="-2.2828" x2="-3.1646" y2="2.2828" width="0.1524" layer="21"/>
  87. <wire x1="-2.936" y1="-2.0542" x2="2.936" y2="-2.0542" width="0.0508" layer="21"/>
  88. <wire x1="2.936" y1="2.0542" x2="2.936" y2="-2.0542" width="0.0508" layer="21"/>
  89. <wire x1="2.936" y1="2.0542" x2="-2.936" y2="2.0542" width="0.0508" layer="21"/>
  90. <wire x1="-2.936" y1="-2.0542" x2="-2.936" y2="2.0542" width="0.0508" layer="21"/>
  91. <circle x="-2.2756" y="-1.2192" radius="0.4572" width="0.1524" layer="21"/>
  92. <smd name="1" x="-2.925" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  93. <smd name="2" x="-2.275" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  94. <smd name="3" x="-1.625" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  95. <smd name="4" x="-0.975" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  96. <smd name="5" x="-0.325" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  97. <smd name="6" x="0.325" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  98. <smd name="7" x="0.975" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  99. <smd name="8" x="1.625" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  100. <smd name="9" x="2.275" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  101. <smd name="10" x="2.925" y="-2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  102. <smd name="11" x="2.925" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  103. <smd name="12" x="2.275" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  104. <smd name="13" x="1.625" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  105. <smd name="14" x="0.975" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  106. <smd name="15" x="0.325" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  107. <smd name="16" x="-0.325" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  108. <smd name="17" x="-0.975" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  109. <smd name="18" x="-1.625" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  110. <smd name="19" x="-2.275" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  111. <smd name="20" x="-2.925" y="2.9178" dx="0.3048" dy="0.9906" layer="1"/>
  112. <text x="-3.5456" y="-2.0828" size="1.016" layer="25" ratio="10" rot="R90">&gt;NAME</text>
  113. <text x="4.5362" y="-2.0828" size="1.016" layer="27" ratio="10" rot="R90">&gt;VALUE</text>
  114. <rectangle x1="-3.0266" y1="-3.121" x2="-2.8234" y2="-2.2828" layer="51"/>
  115. <rectangle x1="-2.3766" y1="-3.121" x2="-2.1734" y2="-2.2828" layer="51"/>
  116. <rectangle x1="-1.7266" y1="-3.121" x2="-1.5234" y2="-2.2828" layer="51"/>
  117. <rectangle x1="-1.0766" y1="-3.121" x2="-0.8734" y2="-2.2828" layer="51"/>
  118. <rectangle x1="-0.4266" y1="-3.121" x2="-0.2234" y2="-2.2828" layer="51"/>
  119. <rectangle x1="0.2234" y1="-3.121" x2="0.4266" y2="-2.2828" layer="51"/>
  120. <rectangle x1="0.8734" y1="-3.121" x2="1.0766" y2="-2.2828" layer="51"/>
  121. <rectangle x1="1.5234" y1="-3.121" x2="1.7266" y2="-2.2828" layer="51"/>
  122. <rectangle x1="2.1734" y1="-3.121" x2="2.3766" y2="-2.2828" layer="51"/>
  123. <rectangle x1="2.8234" y1="-3.121" x2="3.0266" y2="-2.2828" layer="51"/>
  124. <rectangle x1="2.8234" y1="2.2828" x2="3.0266" y2="3.121" layer="51"/>
  125. <rectangle x1="2.1734" y1="2.2828" x2="2.3766" y2="3.121" layer="51"/>
  126. <rectangle x1="1.5234" y1="2.2828" x2="1.7266" y2="3.121" layer="51"/>
  127. <rectangle x1="0.8734" y1="2.2828" x2="1.0766" y2="3.121" layer="51"/>
  128. <rectangle x1="0.2234" y1="2.2828" x2="0.4266" y2="3.121" layer="51"/>
  129. <rectangle x1="-0.4266" y1="2.2828" x2="-0.2234" y2="3.121" layer="51"/>
  130. <rectangle x1="-1.0766" y1="2.2828" x2="-0.8734" y2="3.121" layer="51"/>
  131. <rectangle x1="-1.7266" y1="2.2828" x2="-1.5234" y2="3.121" layer="51"/>
  132. <rectangle x1="-2.3766" y1="2.2828" x2="-2.1734" y2="3.121" layer="51"/>
  133. <rectangle x1="-3.0266" y1="2.2828" x2="-2.8234" y2="3.121" layer="51"/>
  134. </package>
  135. <package name="SO20W">
  136. <description>&lt;b&gt;SMALL OUTLINE INTEGRATED CIRCUIT&lt;/b&gt;&lt;p&gt;
  137. wide body 7.5 mm/JEDEC MS-013AC</description>
  138. <wire x1="-6.895" y1="5.9" x2="6.895" y2="5.9" width="0.1998" layer="39"/>
  139. <wire x1="6.895" y1="-5.9" x2="-6.895" y2="-5.9" width="0.1998" layer="39"/>
  140. <wire x1="-6.895" y1="-5.9" x2="-6.895" y2="5.9" width="0.1998" layer="39"/>
  141. <wire x1="6.46" y1="-3.7" x2="-6.46" y2="-3.7" width="0.2032" layer="51"/>
  142. <wire x1="-6.46" y1="-3.7" x2="-6.46" y2="-3.2" width="0.2032" layer="51"/>
  143. <wire x1="-6.46" y1="-3.2" x2="-6.46" y2="3.7" width="0.2032" layer="51"/>
  144. <wire x1="-6.46" y1="3.7" x2="6.46" y2="3.7" width="0.2032" layer="51"/>
  145. <wire x1="6.46" y1="-3.2" x2="-6.46" y2="-3.2" width="0.2032" layer="51"/>
  146. <wire x1="6.46" y1="3.7" x2="6.46" y2="-3.2" width="0.2032" layer="51"/>
  147. <wire x1="6.46" y1="-3.2" x2="6.46" y2="-3.7" width="0.2032" layer="51"/>
  148. <wire x1="6.895" y1="5.9" x2="6.895" y2="-5.9" width="0.1998" layer="39"/>
  149. <smd name="2" x="-4.445" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
  150. <smd name="13" x="3.175" y="4.6" dx="0.6" dy="2.2" layer="1"/>
  151. <smd name="1" x="-5.715" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
  152. <smd name="3" x="-3.175" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
  153. <smd name="4" x="-1.905" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
  154. <smd name="14" x="1.905" y="4.6" dx="0.6" dy="2.2" layer="1"/>
  155. <smd name="12" x="4.445" y="4.6" dx="0.6" dy="2.2" layer="1"/>
  156. <smd name="11" x="5.715" y="4.6" dx="0.6" dy="2.2" layer="1"/>
  157. <smd name="6" x="0.635" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
  158. <smd name="9" x="4.445" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
  159. <smd name="5" x="-0.635" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
  160. <smd name="7" x="1.905" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
  161. <smd name="10" x="5.715" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
  162. <smd name="8" x="3.175" y="-4.6" dx="0.6" dy="2.2" layer="1"/>
  163. <smd name="15" x="0.635" y="4.6" dx="0.6" dy="2.2" layer="1"/>
  164. <smd name="16" x="-0.635" y="4.6" dx="0.6" dy="2.2" layer="1"/>
  165. <smd name="17" x="-1.905" y="4.6" dx="0.6" dy="2.2" layer="1"/>
  166. <smd name="18" x="-3.175" y="4.6" dx="0.6" dy="2.2" layer="1"/>
  167. <smd name="19" x="-4.445" y="4.6" dx="0.6" dy="2.2" layer="1"/>
  168. <smd name="20" x="-5.715" y="4.6" dx="0.6" dy="2.2" layer="1"/>
  169. <text x="-5.715" y="1.27" size="1.27" layer="25">&gt;NAME</text>
  170. <text x="-5.715" y="-2.54" size="1.27" layer="27">&gt;VALUE</text>
  171. <rectangle x1="-5.9601" y1="-5.32" x2="-5.4699" y2="-3.8001" layer="51"/>
  172. <rectangle x1="-4.6901" y1="-5.32" x2="-4.1999" y2="-3.8001" layer="51"/>
  173. <rectangle x1="-3.4201" y1="-5.32" x2="-2.9299" y2="-3.8001" layer="51"/>
  174. <rectangle x1="-2.1501" y1="-5.32" x2="-1.6599" y2="-3.8001" layer="51"/>
  175. <rectangle x1="-0.8801" y1="-5.32" x2="-0.3899" y2="-3.8001" layer="51"/>
  176. <rectangle x1="0.3899" y1="-5.32" x2="0.8801" y2="-3.8001" layer="51"/>
  177. <rectangle x1="1.6599" y1="-5.32" x2="2.1501" y2="-3.8001" layer="51"/>
  178. <rectangle x1="2.9299" y1="-5.32" x2="3.4201" y2="-3.8001" layer="51"/>
  179. <rectangle x1="4.1999" y1="-5.32" x2="4.6901" y2="-3.8001" layer="51"/>
  180. <rectangle x1="5.4699" y1="-5.32" x2="5.9601" y2="-3.8001" layer="51"/>
  181. <rectangle x1="5.4699" y1="3.8001" x2="5.9601" y2="5.32" layer="51"/>
  182. <rectangle x1="4.1999" y1="3.8001" x2="4.6901" y2="5.32" layer="51"/>
  183. <rectangle x1="2.9299" y1="3.8001" x2="3.4201" y2="5.32" layer="51"/>
  184. <rectangle x1="1.6599" y1="3.8001" x2="2.1501" y2="5.32" layer="51"/>
  185. <rectangle x1="0.3899" y1="3.8001" x2="0.8801" y2="5.32" layer="51"/>
  186. <rectangle x1="-0.8801" y1="3.8001" x2="-0.3899" y2="5.32" layer="51"/>
  187. <rectangle x1="-2.1501" y1="3.8001" x2="-1.6599" y2="5.32" layer="51"/>
  188. <rectangle x1="-3.4201" y1="3.8001" x2="-2.9299" y2="5.32" layer="51"/>
  189. <rectangle x1="-4.6901" y1="3.8001" x2="-4.1999" y2="5.32" layer="51"/>
  190. <rectangle x1="-5.9601" y1="3.8001" x2="-5.4699" y2="5.32" layer="51"/>
  191. </package>
  192. </packages>
  193. <symbols>
  194. <symbol name="STM8S103F">
  195. <wire x1="-33.02" y1="27.94" x2="35.56" y2="27.94" width="0.254" layer="94"/>
  196. <wire x1="35.56" y1="27.94" x2="35.56" y2="-30.48" width="0.254" layer="94"/>
  197. <wire x1="35.56" y1="-30.48" x2="-33.02" y2="-30.48" width="0.254" layer="94"/>
  198. <wire x1="-33.02" y1="-30.48" x2="-33.02" y2="27.94" width="0.254" layer="94"/>
  199. <pin name="NRST" x="-38.1" y="22.86" length="middle" function="dot"/>
  200. <pin name="VDDA" x="-38.1" y="17.78" length="middle" direction="pwr"/>
  201. <pin name="PA0/USART1_CTS/ADC_IN0" x="-38.1" y="15.24" length="middle"/>
  202. <pin name="PA1/USART1_RTS/ADC_IN1" x="-38.1" y="7.62" length="middle"/>
  203. <pin name="PA3/USART1_RX/ADC_IN3" x="-38.1" y="5.08" length="middle"/>
  204. <pin name="PA2/USART1_TX/ADC_IN2" x="-38.1" y="-2.54" length="middle"/>
  205. <pin name="PA10" x="40.64" y="25.4" length="middle" rot="R180"/>
  206. <pin name="PA13/SWDIO" x="40.64" y="22.86" length="middle" rot="R180"/>
  207. <pin name="PA14/SWD_CLK" x="40.64" y="20.32" length="middle" rot="R180"/>
  208. <pin name="BOOT0" x="40.64" y="17.78" length="middle" rot="R180"/>
  209. <pin name="PF0-OSC_IN" x="40.64" y="15.24" length="middle" function="clk" rot="R180"/>
  210. <pin name="PF1-OSC_OUT" x="40.64" y="12.7" length="middle" function="clk" rot="R180"/>
  211. <pin name="PA4/SPI1_NSS/ADC_IN4" x="40.64" y="5.08" length="middle" rot="R180"/>
  212. <pin name="PA6/SPI_MISO/ADC_IN6" x="40.64" y="-2.54" length="middle" rot="R180"/>
  213. <pin name="PA5/SPI1_SCK/ADC_IN5" x="40.64" y="-5.08" length="middle" rot="R180"/>
  214. <pin name="PA7/SPI_MOSI/ADC_IN7" x="40.64" y="-15.24" length="middle" rot="R180"/>
  215. <pin name="PB0/ADC_IN8" x="40.64" y="-17.78" length="middle" rot="R180"/>
  216. <pin name="VSS" x="40.64" y="-20.32" length="middle" direction="pwr" rot="R180"/>
  217. <pin name="VDD" x="40.64" y="-22.86" length="middle" direction="pwr" rot="R180"/>
  218. <pin name="PA9" x="40.64" y="-25.4" length="middle" rot="R180"/>
  219. <text x="-33.02" y="27.94" size="1.27" layer="96">&gt;VALUE</text>
  220. <text x="-33.02" y="30.48" size="1.27" layer="95">&gt;NAME</text>
  221. </symbol>
  222. </symbols>
  223. <devicesets>
  224. <deviceset name="STM8S103F*" prefix="IC">
  225. <description>STM8S103F*</description>
  226. <gates>
  227. <gate name="G$1" symbol="STM8S103F" x="0" y="0"/>
  228. </gates>
  229. <devices>
  230. <device name="P" package="TSSOP20">
  231. <connects>
  232. <connect gate="G$1" pin="BOOT0" pad="1"/>
  233. <connect gate="G$1" pin="NRST" pad="4"/>
  234. <connect gate="G$1" pin="PA0/USART1_CTS/ADC_IN0" pad="6"/>
  235. <connect gate="G$1" pin="PA1/USART1_RTS/ADC_IN1" pad="7"/>
  236. <connect gate="G$1" pin="PA10" pad="18"/>
  237. <connect gate="G$1" pin="PA13/SWDIO" pad="19"/>
  238. <connect gate="G$1" pin="PA14/SWD_CLK" pad="20"/>
  239. <connect gate="G$1" pin="PA2/USART1_TX/ADC_IN2" pad="8"/>
  240. <connect gate="G$1" pin="PA3/USART1_RX/ADC_IN3" pad="9"/>
  241. <connect gate="G$1" pin="PA4/SPI1_NSS/ADC_IN4" pad="10"/>
  242. <connect gate="G$1" pin="PA5/SPI1_SCK/ADC_IN5" pad="11"/>
  243. <connect gate="G$1" pin="PA6/SPI_MISO/ADC_IN6" pad="12"/>
  244. <connect gate="G$1" pin="PA7/SPI_MOSI/ADC_IN7" pad="13"/>
  245. <connect gate="G$1" pin="PA9" pad="17"/>
  246. <connect gate="G$1" pin="PB0/ADC_IN8" pad="14"/>
  247. <connect gate="G$1" pin="PF0-OSC_IN" pad="2"/>
  248. <connect gate="G$1" pin="PF1-OSC_OUT" pad="3"/>
  249. <connect gate="G$1" pin="VDD" pad="16"/>
  250. <connect gate="G$1" pin="VDDA" pad="5"/>
  251. <connect gate="G$1" pin="VSS" pad="15"/>
  252. </connects>
  253. <technologies>
  254. <technology name=""/>
  255. </technologies>
  256. </device>
  257. <device name="M" package="SO20W">
  258. <connects>
  259. <connect gate="G$1" pin="BOOT0" pad="1"/>
  260. <connect gate="G$1" pin="NRST" pad="4"/>
  261. <connect gate="G$1" pin="PA0/USART1_CTS/ADC_IN0" pad="6"/>
  262. <connect gate="G$1" pin="PA1/USART1_RTS/ADC_IN1" pad="7"/>
  263. <connect gate="G$1" pin="PA10" pad="18"/>
  264. <connect gate="G$1" pin="PA13/SWDIO" pad="19"/>
  265. <connect gate="G$1" pin="PA14/SWD_CLK" pad="20"/>
  266. <connect gate="G$1" pin="PA2/USART1_TX/ADC_IN2" pad="8"/>
  267. <connect gate="G$1" pin="PA3/USART1_RX/ADC_IN3" pad="9"/>
  268. <connect gate="G$1" pin="PA4/SPI1_NSS/ADC_IN4" pad="10"/>
  269. <connect gate="G$1" pin="PA5/SPI1_SCK/ADC_IN5" pad="11"/>
  270. <connect gate="G$1" pin="PA6/SPI_MISO/ADC_IN6" pad="12"/>
  271. <connect gate="G$1" pin="PA7/SPI_MOSI/ADC_IN7" pad="13"/>
  272. <connect gate="G$1" pin="PA9" pad="17"/>
  273. <connect gate="G$1" pin="PB0/ADC_IN8" pad="14"/>
  274. <connect gate="G$1" pin="PF0-OSC_IN" pad="2"/>
  275. <connect gate="G$1" pin="PF1-OSC_OUT" pad="3"/>
  276. <connect gate="G$1" pin="VDD" pad="16"/>
  277. <connect gate="G$1" pin="VDDA" pad="5"/>
  278. <connect gate="G$1" pin="VSS" pad="15"/>
  279. </connects>
  280. <technologies>
  281. <technology name=""/>
  282. </technologies>
  283. </device>
  284. </devices>
  285. </deviceset>
  286. </devicesets>
  287. </library>
  288. <library name="pinhead">
  289. <description>&lt;b&gt;Pin Header Connectors&lt;/b&gt;&lt;p&gt;
  290. &lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
  291. <packages>
  292. <package name="1X10">
  293. <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
  294. <wire x1="7.62" y1="0.635" x2="8.255" y2="1.27" width="0.1524" layer="21"/>
  295. <wire x1="8.255" y1="1.27" x2="9.525" y2="1.27" width="0.1524" layer="21"/>
  296. <wire x1="9.525" y1="1.27" x2="10.16" y2="0.635" width="0.1524" layer="21"/>
  297. <wire x1="10.16" y1="0.635" x2="10.16" y2="-0.635" width="0.1524" layer="21"/>
  298. <wire x1="10.16" y1="-0.635" x2="9.525" y2="-1.27" width="0.1524" layer="21"/>
  299. <wire x1="9.525" y1="-1.27" x2="8.255" y2="-1.27" width="0.1524" layer="21"/>
  300. <wire x1="8.255" y1="-1.27" x2="7.62" y2="-0.635" width="0.1524" layer="21"/>
  301. <wire x1="3.175" y1="1.27" x2="4.445" y2="1.27" width="0.1524" layer="21"/>
  302. <wire x1="4.445" y1="1.27" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
  303. <wire x1="5.08" y1="0.635" x2="5.08" y2="-0.635" width="0.1524" layer="21"/>
  304. <wire x1="5.08" y1="-0.635" x2="4.445" y2="-1.27" width="0.1524" layer="21"/>
  305. <wire x1="5.08" y1="0.635" x2="5.715" y2="1.27" width="0.1524" layer="21"/>
  306. <wire x1="5.715" y1="1.27" x2="6.985" y2="1.27" width="0.1524" layer="21"/>
  307. <wire x1="6.985" y1="1.27" x2="7.62" y2="0.635" width="0.1524" layer="21"/>
  308. <wire x1="7.62" y1="0.635" x2="7.62" y2="-0.635" width="0.1524" layer="21"/>
  309. <wire x1="7.62" y1="-0.635" x2="6.985" y2="-1.27" width="0.1524" layer="21"/>
  310. <wire x1="6.985" y1="-1.27" x2="5.715" y2="-1.27" width="0.1524" layer="21"/>
  311. <wire x1="5.715" y1="-1.27" x2="5.08" y2="-0.635" width="0.1524" layer="21"/>
  312. <wire x1="0" y1="0.635" x2="0.635" y2="1.27" width="0.1524" layer="21"/>
  313. <wire x1="0.635" y1="1.27" x2="1.905" y2="1.27" width="0.1524" layer="21"/>
  314. <wire x1="1.905" y1="1.27" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
  315. <wire x1="2.54" y1="0.635" x2="2.54" y2="-0.635" width="0.1524" layer="21"/>
  316. <wire x1="2.54" y1="-0.635" x2="1.905" y2="-1.27" width="0.1524" layer="21"/>
  317. <wire x1="1.905" y1="-1.27" x2="0.635" y2="-1.27" width="0.1524" layer="21"/>
  318. <wire x1="0.635" y1="-1.27" x2="0" y2="-0.635" width="0.1524" layer="21"/>
  319. <wire x1="3.175" y1="1.27" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
  320. <wire x1="2.54" y1="-0.635" x2="3.175" y2="-1.27" width="0.1524" layer="21"/>
  321. <wire x1="4.445" y1="-1.27" x2="3.175" y2="-1.27" width="0.1524" layer="21"/>
  322. <wire x1="-4.445" y1="1.27" x2="-3.175" y2="1.27" width="0.1524" layer="21"/>
  323. <wire x1="-3.175" y1="1.27" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
  324. <wire x1="-2.54" y1="0.635" x2="-2.54" y2="-0.635" width="0.1524" layer="21"/>
  325. <wire x1="-2.54" y1="-0.635" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/>
  326. <wire x1="-2.54" y1="0.635" x2="-1.905" y2="1.27" width="0.1524" layer="21"/>
  327. <wire x1="-1.905" y1="1.27" x2="-0.635" y2="1.27" width="0.1524" layer="21"/>
  328. <wire x1="-0.635" y1="1.27" x2="0" y2="0.635" width="0.1524" layer="21"/>
  329. <wire x1="0" y1="0.635" x2="0" y2="-0.635" width="0.1524" layer="21"/>
  330. <wire x1="0" y1="-0.635" x2="-0.635" y2="-1.27" width="0.1524" layer="21"/>
  331. <wire x1="-0.635" y1="-1.27" x2="-1.905" y2="-1.27" width="0.1524" layer="21"/>
  332. <wire x1="-1.905" y1="-1.27" x2="-2.54" y2="-0.635" width="0.1524" layer="21"/>
  333. <wire x1="-7.62" y1="0.635" x2="-6.985" y2="1.27" width="0.1524" layer="21"/>
  334. <wire x1="-6.985" y1="1.27" x2="-5.715" y2="1.27" width="0.1524" layer="21"/>
  335. <wire x1="-5.715" y1="1.27" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
  336. <wire x1="-5.08" y1="0.635" x2="-5.08" y2="-0.635" width="0.1524" layer="21"/>
  337. <wire x1="-5.08" y1="-0.635" x2="-5.715" y2="-1.27" width="0.1524" layer="21"/>
  338. <wire x1="-5.715" y1="-1.27" x2="-6.985" y2="-1.27" width="0.1524" layer="21"/>
  339. <wire x1="-6.985" y1="-1.27" x2="-7.62" y2="-0.635" width="0.1524" layer="21"/>
  340. <wire x1="-4.445" y1="1.27" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
  341. <wire x1="-5.08" y1="-0.635" x2="-4.445" y2="-1.27" width="0.1524" layer="21"/>
  342. <wire x1="-3.175" y1="-1.27" x2="-4.445" y2="-1.27" width="0.1524" layer="21"/>
  343. <wire x1="-12.065" y1="1.27" x2="-10.795" y2="1.27" width="0.1524" layer="21"/>
  344. <wire x1="-10.795" y1="1.27" x2="-10.16" y2="0.635" width="0.1524" layer="21"/>
  345. <wire x1="-10.16" y1="0.635" x2="-10.16" y2="-0.635" width="0.1524" layer="21"/>
  346. <wire x1="-10.16" y1="-0.635" x2="-10.795" y2="-1.27" width="0.1524" layer="21"/>
  347. <wire x1="-10.16" y1="0.635" x2="-9.525" y2="1.27" width="0.1524" layer="21"/>
  348. <wire x1="-9.525" y1="1.27" x2="-8.255" y2="1.27" width="0.1524" layer="21"/>
  349. <wire x1="-8.255" y1="1.27" x2="-7.62" y2="0.635" width="0.1524" layer="21"/>
  350. <wire x1="-7.62" y1="0.635" x2="-7.62" y2="-0.635" width="0.1524" layer="21"/>
  351. <wire x1="-7.62" y1="-0.635" x2="-8.255" y2="-1.27" width="0.1524" layer="21"/>
  352. <wire x1="-8.255" y1="-1.27" x2="-9.525" y2="-1.27" width="0.1524" layer="21"/>
  353. <wire x1="-9.525" y1="-1.27" x2="-10.16" y2="-0.635" width="0.1524" layer="21"/>
  354. <wire x1="-12.7" y1="0.635" x2="-12.7" y2="-0.635" width="0.1524" layer="21"/>
  355. <wire x1="-12.065" y1="1.27" x2="-12.7" y2="0.635" width="0.1524" layer="21"/>
  356. <wire x1="-12.7" y1="-0.635" x2="-12.065" y2="-1.27" width="0.1524" layer="21"/>
  357. <wire x1="-10.795" y1="-1.27" x2="-12.065" y2="-1.27" width="0.1524" layer="21"/>
  358. <wire x1="10.795" y1="1.27" x2="12.065" y2="1.27" width="0.1524" layer="21"/>
  359. <wire x1="12.065" y1="1.27" x2="12.7" y2="0.635" width="0.1524" layer="21"/>
  360. <wire x1="12.7" y1="0.635" x2="12.7" y2="-0.635" width="0.1524" layer="21"/>
  361. <wire x1="12.7" y1="-0.635" x2="12.065" y2="-1.27" width="0.1524" layer="21"/>
  362. <wire x1="10.795" y1="1.27" x2="10.16" y2="0.635" width="0.1524" layer="21"/>
  363. <wire x1="10.16" y1="-0.635" x2="10.795" y2="-1.27" width="0.1524" layer="21"/>
  364. <wire x1="12.065" y1="-1.27" x2="10.795" y2="-1.27" width="0.1524" layer="21"/>
  365. <pad name="1" x="-11.43" y="0" drill="1.016" shape="long" rot="R90"/>
  366. <pad name="2" x="-8.89" y="0" drill="1.016" shape="long" rot="R90"/>
  367. <pad name="3" x="-6.35" y="0" drill="1.016" shape="long" rot="R90"/>
  368. <pad name="4" x="-3.81" y="0" drill="1.016" shape="long" rot="R90"/>
  369. <pad name="5" x="-1.27" y="0" drill="1.016" shape="long" rot="R90"/>
  370. <pad name="6" x="1.27" y="0" drill="1.016" shape="long" rot="R90"/>
  371. <pad name="7" x="3.81" y="0" drill="1.016" shape="long" rot="R90"/>
  372. <pad name="8" x="6.35" y="0" drill="1.016" shape="long" rot="R90"/>
  373. <pad name="9" x="8.89" y="0" drill="1.016" shape="long" rot="R90"/>
  374. <pad name="10" x="11.43" y="0" drill="1.016" shape="long" rot="R90"/>
  375. <text x="-12.7762" y="1.8288" size="1.27" layer="25" ratio="10">&gt;NAME</text>
  376. <text x="-12.7" y="-3.175" size="1.27" layer="27">&gt;VALUE</text>
  377. <rectangle x1="8.636" y1="-0.254" x2="9.144" y2="0.254" layer="51"/>
  378. <rectangle x1="6.096" y1="-0.254" x2="6.604" y2="0.254" layer="51"/>
  379. <rectangle x1="3.556" y1="-0.254" x2="4.064" y2="0.254" layer="51"/>
  380. <rectangle x1="1.016" y1="-0.254" x2="1.524" y2="0.254" layer="51"/>
  381. <rectangle x1="-1.524" y1="-0.254" x2="-1.016" y2="0.254" layer="51"/>
  382. <rectangle x1="-4.064" y1="-0.254" x2="-3.556" y2="0.254" layer="51"/>
  383. <rectangle x1="-6.604" y1="-0.254" x2="-6.096" y2="0.254" layer="51"/>
  384. <rectangle x1="-9.144" y1="-0.254" x2="-8.636" y2="0.254" layer="51"/>
  385. <rectangle x1="-11.684" y1="-0.254" x2="-11.176" y2="0.254" layer="51"/>
  386. <rectangle x1="11.176" y1="-0.254" x2="11.684" y2="0.254" layer="51"/>
  387. </package>
  388. <package name="1X10/90">
  389. <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
  390. <wire x1="-12.7" y1="-1.905" x2="-10.16" y2="-1.905" width="0.1524" layer="21"/>
  391. <wire x1="-10.16" y1="-1.905" x2="-10.16" y2="0.635" width="0.1524" layer="21"/>
  392. <wire x1="-10.16" y1="0.635" x2="-12.7" y2="0.635" width="0.1524" layer="21"/>
  393. <wire x1="-12.7" y1="0.635" x2="-12.7" y2="-1.905" width="0.1524" layer="21"/>
  394. <wire x1="-11.43" y1="6.985" x2="-11.43" y2="1.27" width="0.762" layer="21"/>
  395. <wire x1="-10.16" y1="-1.905" x2="-7.62" y2="-1.905" width="0.1524" layer="21"/>
  396. <wire x1="-7.62" y1="-1.905" x2="-7.62" y2="0.635" width="0.1524" layer="21"/>
  397. <wire x1="-7.62" y1="0.635" x2="-10.16" y2="0.635" width="0.1524" layer="21"/>
  398. <wire x1="-8.89" y1="6.985" x2="-8.89" y2="1.27" width="0.762" layer="21"/>
  399. <wire x1="-7.62" y1="-1.905" x2="-5.08" y2="-1.905" width="0.1524" layer="21"/>
  400. <wire x1="-5.08" y1="-1.905" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
  401. <wire x1="-5.08" y1="0.635" x2="-7.62" y2="0.635" width="0.1524" layer="21"/>
  402. <wire x1="-6.35" y1="6.985" x2="-6.35" y2="1.27" width="0.762" layer="21"/>
  403. <wire x1="-5.08" y1="-1.905" x2="-2.54" y2="-1.905" width="0.1524" layer="21"/>
  404. <wire x1="-2.54" y1="-1.905" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
  405. <wire x1="-2.54" y1="0.635" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
  406. <wire x1="-3.81" y1="6.985" x2="-3.81" y2="1.27" width="0.762" layer="21"/>
  407. <wire x1="-2.54" y1="-1.905" x2="0" y2="-1.905" width="0.1524" layer="21"/>
  408. <wire x1="0" y1="-1.905" x2="0" y2="0.635" width="0.1524" layer="21"/>
  409. <wire x1="0" y1="0.635" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
  410. <wire x1="-1.27" y1="6.985" x2="-1.27" y2="1.27" width="0.762" layer="21"/>
  411. <wire x1="0" y1="-1.905" x2="2.54" y2="-1.905" width="0.1524" layer="21"/>
  412. <wire x1="2.54" y1="-1.905" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
  413. <wire x1="2.54" y1="0.635" x2="0" y2="0.635" width="0.1524" layer="21"/>
  414. <wire x1="1.27" y1="6.985" x2="1.27" y2="1.27" width="0.762" layer="21"/>
  415. <wire x1="2.54" y1="-1.905" x2="5.08" y2="-1.905" width="0.1524" layer="21"/>
  416. <wire x1="5.08" y1="-1.905" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
  417. <wire x1="5.08" y1="0.635" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
  418. <wire x1="3.81" y1="6.985" x2="3.81" y2="1.27" width="0.762" layer="21"/>
  419. <wire x1="5.08" y1="-1.905" x2="7.62" y2="-1.905" width="0.1524" layer="21"/>
  420. <wire x1="7.62" y1="-1.905" x2="7.62" y2="0.635" width="0.1524" layer="21"/>
  421. <wire x1="7.62" y1="0.635" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
  422. <wire x1="6.35" y1="6.985" x2="6.35" y2="1.27" width="0.762" layer="21"/>
  423. <wire x1="7.62" y1="-1.905" x2="10.16" y2="-1.905" width="0.1524" layer="21"/>
  424. <wire x1="10.16" y1="-1.905" x2="10.16" y2="0.635" width="0.1524" layer="21"/>
  425. <wire x1="10.16" y1="0.635" x2="7.62" y2="0.635" width="0.1524" layer="21"/>
  426. <wire x1="8.89" y1="6.985" x2="8.89" y2="1.27" width="0.762" layer="21"/>
  427. <wire x1="10.16" y1="-1.905" x2="12.7" y2="-1.905" width="0.1524" layer="21"/>
  428. <wire x1="12.7" y1="-1.905" x2="12.7" y2="0.635" width="0.1524" layer="21"/>
  429. <wire x1="12.7" y1="0.635" x2="10.16" y2="0.635" width="0.1524" layer="21"/>
  430. <wire x1="11.43" y1="6.985" x2="11.43" y2="1.27" width="0.762" layer="21"/>
  431. <pad name="1" x="-11.43" y="-3.81" drill="1.016" shape="long" rot="R90"/>
  432. <pad name="2" x="-8.89" y="-3.81" drill="1.016" shape="long" rot="R90"/>
  433. <pad name="3" x="-6.35" y="-3.81" drill="1.016" shape="long" rot="R90"/>
  434. <pad name="4" x="-3.81" y="-3.81" drill="1.016" shape="long" rot="R90"/>
  435. <pad name="5" x="-1.27" y="-3.81" drill="1.016" shape="long" rot="R90"/>
  436. <pad name="6" x="1.27" y="-3.81" drill="1.016" shape="long" rot="R90"/>
  437. <pad name="7" x="3.81" y="-3.81" drill="1.016" shape="long" rot="R90"/>
  438. <pad name="8" x="6.35" y="-3.81" drill="1.016" shape="long" rot="R90"/>
  439. <pad name="9" x="8.89" y="-3.81" drill="1.016" shape="long" rot="R90"/>
  440. <pad name="10" x="11.43" y="-3.81" drill="1.016" shape="long" rot="R90"/>
  441. <text x="-13.335" y="-3.81" size="1.27" layer="25" ratio="10" rot="R90">&gt;NAME</text>
  442. <text x="14.605" y="-4.445" size="1.27" layer="27" rot="R90">&gt;VALUE</text>
  443. <rectangle x1="-11.811" y1="0.635" x2="-11.049" y2="1.143" layer="21"/>
  444. <rectangle x1="-9.271" y1="0.635" x2="-8.509" y2="1.143" layer="21"/>
  445. <rectangle x1="-6.731" y1="0.635" x2="-5.969" y2="1.143" layer="21"/>
  446. <rectangle x1="-4.191" y1="0.635" x2="-3.429" y2="1.143" layer="21"/>
  447. <rectangle x1="-1.651" y1="0.635" x2="-0.889" y2="1.143" layer="21"/>
  448. <rectangle x1="0.889" y1="0.635" x2="1.651" y2="1.143" layer="21"/>
  449. <rectangle x1="3.429" y1="0.635" x2="4.191" y2="1.143" layer="21"/>
  450. <rectangle x1="5.969" y1="0.635" x2="6.731" y2="1.143" layer="21"/>
  451. <rectangle x1="8.509" y1="0.635" x2="9.271" y2="1.143" layer="21"/>
  452. <rectangle x1="11.049" y1="0.635" x2="11.811" y2="1.143" layer="21"/>
  453. <rectangle x1="-11.811" y1="-2.921" x2="-11.049" y2="-1.905" layer="21"/>
  454. <rectangle x1="-9.271" y1="-2.921" x2="-8.509" y2="-1.905" layer="21"/>
  455. <rectangle x1="-6.731" y1="-2.921" x2="-5.969" y2="-1.905" layer="21"/>
  456. <rectangle x1="-4.191" y1="-2.921" x2="-3.429" y2="-1.905" layer="21"/>
  457. <rectangle x1="-1.651" y1="-2.921" x2="-0.889" y2="-1.905" layer="21"/>
  458. <rectangle x1="0.889" y1="-2.921" x2="1.651" y2="-1.905" layer="21"/>
  459. <rectangle x1="3.429" y1="-2.921" x2="4.191" y2="-1.905" layer="21"/>
  460. <rectangle x1="5.969" y1="-2.921" x2="6.731" y2="-1.905" layer="21"/>
  461. <rectangle x1="8.509" y1="-2.921" x2="9.271" y2="-1.905" layer="21"/>
  462. <rectangle x1="11.049" y1="-2.921" x2="11.811" y2="-1.905" layer="21"/>
  463. </package>
  464. </packages>
  465. <symbols>
  466. <symbol name="PINHD10">
  467. <wire x1="-6.35" y1="-15.24" x2="1.27" y2="-15.24" width="0.4064" layer="94"/>
  468. <wire x1="1.27" y1="-15.24" x2="1.27" y2="12.7" width="0.4064" layer="94"/>
  469. <wire x1="1.27" y1="12.7" x2="-6.35" y2="12.7" width="0.4064" layer="94"/>
  470. <wire x1="-6.35" y1="12.7" x2="-6.35" y2="-15.24" width="0.4064" layer="94"/>
  471. <text x="-6.35" y="13.335" size="1.778" layer="95">&gt;NAME</text>
  472. <text x="-6.35" y="-17.78" size="1.778" layer="96">&gt;VALUE</text>
  473. <pin name="1" x="-2.54" y="10.16" visible="pad" length="short" direction="pas" function="dot"/>
  474. <pin name="2" x="-2.54" y="7.62" visible="pad" length="short" direction="pas" function="dot"/>
  475. <pin name="3" x="-2.54" y="5.08" visible="pad" length="short" direction="pas" function="dot"/>
  476. <pin name="4" x="-2.54" y="2.54" visible="pad" length="short" direction="pas" function="dot"/>
  477. <pin name="5" x="-2.54" y="0" visible="pad" length="short" direction="pas" function="dot"/>
  478. <pin name="6" x="-2.54" y="-2.54" visible="pad" length="short" direction="pas" function="dot"/>
  479. <pin name="7" x="-2.54" y="-5.08" visible="pad" length="short" direction="pas" function="dot"/>
  480. <pin name="8" x="-2.54" y="-7.62" visible="pad" length="short" direction="pas" function="dot"/>
  481. <pin name="9" x="-2.54" y="-10.16" visible="pad" length="short" direction="pas" function="dot"/>
  482. <pin name="10" x="-2.54" y="-12.7" visible="pad" length="short" direction="pas" function="dot"/>
  483. </symbol>
  484. </symbols>
  485. <devicesets>
  486. <deviceset name="PINHD-1X10" prefix="JP" uservalue="yes">
  487. <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
  488. <gates>
  489. <gate name="A" symbol="PINHD10" x="0" y="0"/>
  490. </gates>
  491. <devices>
  492. <device name="" package="1X10">
  493. <connects>
  494. <connect gate="A" pin="1" pad="1"/>
  495. <connect gate="A" pin="10" pad="10"/>
  496. <connect gate="A" pin="2" pad="2"/>
  497. <connect gate="A" pin="3" pad="3"/>
  498. <connect gate="A" pin="4" pad="4"/>
  499. <connect gate="A" pin="5" pad="5"/>
  500. <connect gate="A" pin="6" pad="6"/>
  501. <connect gate="A" pin="7" pad="7"/>
  502. <connect gate="A" pin="8" pad="8"/>
  503. <connect gate="A" pin="9" pad="9"/>
  504. </connects>
  505. <technologies>
  506. <technology name=""/>
  507. </technologies>
  508. </device>
  509. <device name="/90" package="1X10/90">
  510. <connects>
  511. <connect gate="A" pin="1" pad="1"/>
  512. <connect gate="A" pin="10" pad="10"/>
  513. <connect gate="A" pin="2" pad="2"/>
  514. <connect gate="A" pin="3" pad="3"/>
  515. <connect gate="A" pin="4" pad="4"/>
  516. <connect gate="A" pin="5" pad="5"/>
  517. <connect gate="A" pin="6" pad="6"/>
  518. <connect gate="A" pin="7" pad="7"/>
  519. <connect gate="A" pin="8" pad="8"/>
  520. <connect gate="A" pin="9" pad="9"/>
  521. </connects>
  522. <technologies>
  523. <technology name=""/>
  524. </technologies>
  525. </device>
  526. </devices>
  527. </deviceset>
  528. </devicesets>
  529. </library>
  530. <library name="crystal">
  531. <description>&lt;b&gt;Crystals and Crystal Resonators&lt;/b&gt;&lt;p&gt;
  532. &lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
  533. <packages>
  534. <package name="HC49U">
  535. <description>&lt;b&gt;Crystal Filter&lt;/b&gt;&lt;p&gt;
  536. Source: www.ilsiamerica.com .. C1 IXF Series.pdf</description>
  537. <wire x1="-2.921" y1="-2.286" x2="2.921" y2="-2.286" width="0.4064" layer="21"/>
  538. <wire x1="-2.921" y1="2.286" x2="2.921" y2="2.286" width="0.4064" layer="21"/>
  539. <wire x1="-2.921" y1="-1.778" x2="2.921" y2="-1.778" width="0.1524" layer="21"/>
  540. <wire x1="2.921" y1="1.778" x2="-2.921" y2="1.778" width="0.1524" layer="21"/>
  541. <wire x1="2.921" y1="1.778" x2="2.921" y2="-1.778" width="0.1524" layer="21" curve="-180"/>
  542. <wire x1="2.921" y1="2.286" x2="2.921" y2="-2.286" width="0.4064" layer="21" curve="-180"/>
  543. <wire x1="-2.921" y1="2.286" x2="-2.921" y2="-2.286" width="0.4064" layer="21" curve="180"/>
  544. <wire x1="-2.921" y1="1.778" x2="-2.921" y2="-1.778" width="0.1524" layer="21" curve="180"/>
  545. <wire x1="-0.25" y1="1" x2="0.25" y2="1" width="0.1524" layer="51"/>
  546. <wire x1="0.25" y1="1" x2="0.25" y2="-0.25" width="0.1524" layer="51"/>
  547. <wire x1="0.25" y1="-0.25" x2="-0.25" y2="-0.25" width="0.1524" layer="51"/>
  548. <wire x1="-0.25" y1="-0.25" x2="-0.25" y2="1" width="0.1524" layer="51"/>
  549. <wire x1="0.75" y1="1" x2="0.75" y2="0.25" width="0.1524" layer="51"/>
  550. <wire x1="0.75" y1="0.25" x2="0.75" y2="-0.5" width="0.1524" layer="51"/>
  551. <wire x1="-0.75" y1="1" x2="-0.75" y2="0.25" width="0.1524" layer="51"/>
  552. <wire x1="-0.75" y1="0.25" x2="-0.75" y2="-0.5" width="0.1524" layer="51"/>
  553. <wire x1="0.75" y1="0.25" x2="1.5" y2="0.25" width="0.1524" layer="51"/>
  554. <wire x1="-0.75" y1="0.25" x2="-1.5" y2="0.25" width="0.1524" layer="51"/>
  555. <wire x1="-0.75" y1="-0.5" x2="0.75" y2="-0.5" width="0.1524" layer="51"/>
  556. <wire x1="0" y1="-1.25" x2="0" y2="-0.625" width="0.1524" layer="51"/>
  557. <pad name="1" x="-2.413" y="0" drill="0.7" diameter="1.2"/>
  558. <pad name="2" x="-0.027" y="0" drill="0.7" diameter="1.2"/>
  559. <pad name="3" x="2.413" y="0" drill="0.7" diameter="1.2"/>
  560. <text x="-5.08" y="2.921" size="1.27" layer="25" ratio="10">&gt;NAME</text>
  561. <text x="-5.08" y="-4.191" size="1.27" layer="27" ratio="10">&gt;VALUE</text>
  562. </package>
  563. </packages>
  564. <symbols>
  565. <symbol name="CRYSTAL-FILTER-3-POL">
  566. <wire x1="1.016" y1="0" x2="2.54" y2="0" width="0.1524" layer="94"/>
  567. <wire x1="-2.54" y1="0" x2="-1.016" y2="0" width="0.1524" layer="94"/>
  568. <wire x1="-0.381" y1="1.524" x2="-0.381" y2="-1.524" width="0.254" layer="94"/>
  569. <wire x1="-0.381" y1="-1.524" x2="0.381" y2="-1.524" width="0.254" layer="94"/>
  570. <wire x1="0.381" y1="-1.524" x2="0.381" y2="1.524" width="0.254" layer="94"/>
  571. <wire x1="0.381" y1="1.524" x2="-0.381" y2="1.524" width="0.254" layer="94"/>
  572. <wire x1="1.016" y1="1.778" x2="1.016" y2="-1.778" width="0.254" layer="94"/>
  573. <wire x1="-1.016" y1="1.778" x2="-1.016" y2="-1.778" width="0.254" layer="94"/>
  574. <wire x1="-1.778" y1="1.905" x2="-1.778" y2="2.54" width="0.1524" layer="94"/>
  575. <wire x1="-1.778" y1="2.54" x2="1.778" y2="2.54" width="0.1524" layer="94"/>
  576. <wire x1="1.778" y1="2.54" x2="1.778" y2="1.905" width="0.1524" layer="94"/>
  577. <wire x1="1.778" y1="-1.905" x2="1.778" y2="-2.54" width="0.1524" layer="94"/>
  578. <wire x1="-1.778" y1="-2.54" x2="1.778" y2="-2.54" width="0.1524" layer="94"/>
  579. <wire x1="-1.778" y1="-2.54" x2="-1.778" y2="-1.905" width="0.1524" layer="94"/>
  580. <text x="2.54" y="1.016" size="1.778" layer="95">&gt;NAME</text>
  581. <text x="2.54" y="-2.54" size="1.778" layer="96">&gt;VALUE</text>
  582. <text x="-2.159" y="-1.143" size="0.8636" layer="93">1</text>
  583. <text x="-1.016" y="-3.683" size="0.8636" layer="93">2</text>
  584. <text x="1.524" y="-1.143" size="0.8636" layer="93">3</text>
  585. <pin name="3" x="2.54" y="0" visible="off" length="point" direction="pas" swaplevel="1" rot="R270"/>
  586. <pin name="1" x="-2.54" y="0" visible="off" length="point" direction="pas" swaplevel="1"/>
  587. <pin name="2" x="0" y="-5.08" visible="off" length="short" direction="pas" rot="R90"/>
  588. </symbol>
  589. </symbols>
  590. <devicesets>
  591. <deviceset name="10M*A" prefix="QF">
  592. <description>&lt;b&gt;Monolithic Crystal Filters&lt;/b&gt;&lt;p&gt;
  593. Source: www.vanlong.com</description>
  594. <gates>
  595. <gate name="G$1" symbol="CRYSTAL-FILTER-3-POL" x="0" y="0"/>
  596. </gates>
  597. <devices>
  598. <device name="HC49U" package="HC49U">
  599. <connects>
  600. <connect gate="G$1" pin="1" pad="1"/>
  601. <connect gate="G$1" pin="2" pad="2"/>
  602. <connect gate="G$1" pin="3" pad="3"/>
  603. </connects>
  604. <technologies>
  605. <technology name="10">
  606. <attribute name="MF" value="" constant="no"/>
  607. <attribute name="MPN" value="" constant="no"/>
  608. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  609. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  610. </technology>
  611. <technology name="15">
  612. <attribute name="MF" value="" constant="no"/>
  613. <attribute name="MPN" value="" constant="no"/>
  614. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  615. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  616. </technology>
  617. <technology name="20">
  618. <attribute name="MF" value="" constant="no"/>
  619. <attribute name="MPN" value="" constant="no"/>
  620. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  621. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  622. </technology>
  623. <technology name="30">
  624. <attribute name="MF" value="" constant="no"/>
  625. <attribute name="MPN" value="" constant="no"/>
  626. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  627. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  628. </technology>
  629. <technology name="7">
  630. <attribute name="MF" value="" constant="no"/>
  631. <attribute name="MPN" value="" constant="no"/>
  632. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  633. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  634. </technology>
  635. <technology name="8">
  636. <attribute name="MF" value="" constant="no"/>
  637. <attribute name="MPN" value="" constant="no"/>
  638. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  639. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  640. </technology>
  641. </technologies>
  642. </device>
  643. <device name="HC49T" package="HC49U">
  644. <connects>
  645. <connect gate="G$1" pin="1" pad="1"/>
  646. <connect gate="G$1" pin="2" pad="2"/>
  647. <connect gate="G$1" pin="3" pad="3"/>
  648. </connects>
  649. <technologies>
  650. <technology name="10">
  651. <attribute name="MF" value="" constant="no"/>
  652. <attribute name="MPN" value="" constant="no"/>
  653. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  654. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  655. </technology>
  656. <technology name="15">
  657. <attribute name="MF" value="" constant="no"/>
  658. <attribute name="MPN" value="" constant="no"/>
  659. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  660. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  661. </technology>
  662. <technology name="20">
  663. <attribute name="MF" value="" constant="no"/>
  664. <attribute name="MPN" value="" constant="no"/>
  665. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  666. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  667. </technology>
  668. <technology name="30">
  669. <attribute name="MF" value="" constant="no"/>
  670. <attribute name="MPN" value="" constant="no"/>
  671. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  672. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  673. </technology>
  674. <technology name="7">
  675. <attribute name="MF" value="" constant="no"/>
  676. <attribute name="MPN" value="" constant="no"/>
  677. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  678. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  679. </technology>
  680. <technology name="8">
  681. <attribute name="MF" value="" constant="no"/>
  682. <attribute name="MPN" value="" constant="no"/>
  683. <attribute name="OC_FARNELL" value="unknown" constant="no"/>
  684. <attribute name="OC_NEWARK" value="unknown" constant="no"/>
  685. </technology>
  686. </technologies>
  687. </device>
  688. </devices>
  689. </deviceset>
  690. </devicesets>
  691. </library>
  692. </libraries>
  693. <attributes>
  694. </attributes>
  695. <variantdefs>
  696. </variantdefs>
  697. <classes>
  698. <class number="0" name="default" width="0" drill="0">
  699. </class>
  700. </classes>
  701. <parts>
  702. <part name="IC1" library="stm8s103" deviceset="STM8S103F*" device="P"/>
  703. <part name="JP1" library="pinhead" deviceset="PINHD-1X10" device=""/>
  704. <part name="JP2" library="pinhead" deviceset="PINHD-1X10" device=""/>
  705. <part name="QF1" library="crystal" deviceset="10M*A" device="HC49T" technology="7"/>
  706. </parts>
  707. <sheets>
  708. <sheet>
  709. <plain>
  710. </plain>
  711. <instances>
  712. <instance part="IC1" gate="G$1" x="82.55" y="68.58"/>
  713. <instance part="JP1" gate="A" x="64.77" y="-19.05" rot="R270"/>
  714. <instance part="JP2" gate="A" x="109.22" y="-19.05" rot="R270"/>
  715. <instance part="QF1" gate="G$1" x="137.16" y="78.74" rot="R90"/>
  716. </instances>
  717. <busses>
  718. </busses>
  719. <nets>
  720. <net name="N$1" class="0">
  721. <segment>
  722. <pinref part="IC1" gate="G$1" pin="BOOT0"/>
  723. <wire x1="123.19" y1="86.36" x2="153.67" y2="86.36" width="0.1524" layer="91"/>
  724. <wire x1="153.67" y1="86.36" x2="153.67" y2="5.08" width="0.1524" layer="91"/>
  725. <wire x1="153.67" y1="5.08" x2="52.07" y2="5.08" width="0.1524" layer="91"/>
  726. <pinref part="JP1" gate="A" pin="10"/>
  727. <wire x1="52.07" y1="5.08" x2="52.07" y2="-16.51" width="0.1524" layer="91"/>
  728. </segment>
  729. </net>
  730. <net name="N$4" class="0">
  731. <segment>
  732. <pinref part="IC1" gate="G$1" pin="NRST"/>
  733. <wire x1="44.45" y1="91.44" x2="29.21" y2="91.44" width="0.1524" layer="91"/>
  734. <wire x1="29.21" y1="91.44" x2="29.21" y2="19.05" width="0.1524" layer="91"/>
  735. <wire x1="29.21" y1="19.05" x2="59.69" y2="19.05" width="0.1524" layer="91"/>
  736. <pinref part="JP1" gate="A" pin="7"/>
  737. <wire x1="59.69" y1="19.05" x2="59.69" y2="-16.51" width="0.1524" layer="91"/>
  738. </segment>
  739. </net>
  740. <net name="N$5" class="0">
  741. <segment>
  742. <pinref part="IC1" gate="G$1" pin="VDDA"/>
  743. <wire x1="44.45" y1="86.36" x2="31.75" y2="86.36" width="0.1524" layer="91"/>
  744. <wire x1="31.75" y1="86.36" x2="31.75" y2="21.59" width="0.1524" layer="91"/>
  745. <wire x1="31.75" y1="21.59" x2="62.23" y2="21.59" width="0.1524" layer="91"/>
  746. <pinref part="JP1" gate="A" pin="6"/>
  747. <wire x1="62.23" y1="21.59" x2="62.23" y2="-16.51" width="0.1524" layer="91"/>
  748. </segment>
  749. </net>
  750. <net name="N$6" class="0">
  751. <segment>
  752. <pinref part="IC1" gate="G$1" pin="PA0/USART1_CTS/ADC_IN0"/>
  753. <wire x1="44.45" y1="83.82" x2="34.29" y2="83.82" width="0.1524" layer="91"/>
  754. <wire x1="34.29" y1="83.82" x2="34.29" y2="24.13" width="0.1524" layer="91"/>
  755. <wire x1="34.29" y1="24.13" x2="64.77" y2="24.13" width="0.1524" layer="91"/>
  756. <pinref part="JP1" gate="A" pin="5"/>
  757. <wire x1="64.77" y1="24.13" x2="64.77" y2="-16.51" width="0.1524" layer="91"/>
  758. </segment>
  759. </net>
  760. <net name="N$7" class="0">
  761. <segment>
  762. <pinref part="IC1" gate="G$1" pin="PA1/USART1_RTS/ADC_IN1"/>
  763. <wire x1="44.45" y1="76.2" x2="36.83" y2="76.2" width="0.1524" layer="91"/>
  764. <wire x1="36.83" y1="76.2" x2="36.83" y2="26.67" width="0.1524" layer="91"/>
  765. <wire x1="36.83" y1="26.67" x2="67.31" y2="26.67" width="0.1524" layer="91"/>
  766. <pinref part="JP1" gate="A" pin="4"/>
  767. <wire x1="67.31" y1="26.67" x2="67.31" y2="-16.51" width="0.1524" layer="91"/>
  768. </segment>
  769. </net>
  770. <net name="N$9" class="0">
  771. <segment>
  772. <pinref part="IC1" gate="G$1" pin="PA3/USART1_RX/ADC_IN3"/>
  773. <wire x1="44.45" y1="73.66" x2="41.91" y2="73.66" width="0.1524" layer="91"/>
  774. <wire x1="41.91" y1="73.66" x2="41.91" y2="31.75" width="0.1524" layer="91"/>
  775. <wire x1="41.91" y1="31.75" x2="72.39" y2="31.75" width="0.1524" layer="91"/>
  776. <pinref part="JP1" gate="A" pin="2"/>
  777. <wire x1="72.39" y1="31.75" x2="72.39" y2="-16.51" width="0.1524" layer="91"/>
  778. </segment>
  779. </net>
  780. <net name="N$11" class="0">
  781. <segment>
  782. <pinref part="IC1" gate="G$1" pin="PA5/SPI1_SCK/ADC_IN5"/>
  783. <wire x1="123.19" y1="63.5" x2="148.59" y2="63.5" width="0.1524" layer="91"/>
  784. <wire x1="148.59" y1="63.5" x2="148.59" y2="15.24" width="0.1524" layer="91"/>
  785. <wire x1="148.59" y1="15.24" x2="96.52" y2="15.24" width="0.1524" layer="91"/>
  786. <pinref part="JP2" gate="A" pin="10"/>
  787. <wire x1="96.52" y1="15.24" x2="96.52" y2="-16.51" width="0.1524" layer="91"/>
  788. </segment>
  789. </net>
  790. <net name="N$12" class="0">
  791. <segment>
  792. <pinref part="IC1" gate="G$1" pin="PA6/SPI_MISO/ADC_IN6"/>
  793. <wire x1="123.19" y1="66.04" x2="146.05" y2="66.04" width="0.1524" layer="91"/>
  794. <wire x1="146.05" y1="66.04" x2="146.05" y2="17.78" width="0.1524" layer="91"/>
  795. <pinref part="JP2" gate="A" pin="9"/>
  796. <wire x1="146.05" y1="17.78" x2="99.06" y2="17.78" width="0.1524" layer="91"/>
  797. <wire x1="99.06" y1="17.78" x2="99.06" y2="-16.51" width="0.1524" layer="91"/>
  798. </segment>
  799. </net>
  800. <net name="N$13" class="0">
  801. <segment>
  802. <pinref part="IC1" gate="G$1" pin="PA7/SPI_MOSI/ADC_IN7"/>
  803. <wire x1="123.19" y1="53.34" x2="143.51" y2="53.34" width="0.1524" layer="91"/>
  804. <wire x1="143.51" y1="53.34" x2="143.51" y2="20.32" width="0.1524" layer="91"/>
  805. <pinref part="JP2" gate="A" pin="8"/>
  806. <wire x1="143.51" y1="20.32" x2="101.6" y2="20.32" width="0.1524" layer="91"/>
  807. <wire x1="101.6" y1="20.32" x2="101.6" y2="-16.51" width="0.1524" layer="91"/>
  808. </segment>
  809. </net>
  810. <net name="N$14" class="0">
  811. <segment>
  812. <pinref part="IC1" gate="G$1" pin="PB0/ADC_IN8"/>
  813. <wire x1="123.19" y1="50.8" x2="140.97" y2="50.8" width="0.1524" layer="91"/>
  814. <wire x1="140.97" y1="50.8" x2="140.97" y2="22.86" width="0.1524" layer="91"/>
  815. <pinref part="JP2" gate="A" pin="7"/>
  816. <wire x1="140.97" y1="22.86" x2="104.14" y2="22.86" width="0.1524" layer="91"/>
  817. <wire x1="104.14" y1="22.86" x2="104.14" y2="-16.51" width="0.1524" layer="91"/>
  818. </segment>
  819. </net>
  820. <net name="N$15" class="0">
  821. <segment>
  822. <pinref part="IC1" gate="G$1" pin="VSS"/>
  823. <wire x1="123.19" y1="48.26" x2="138.43" y2="48.26" width="0.1524" layer="91"/>
  824. <wire x1="138.43" y1="48.26" x2="138.43" y2="25.4" width="0.1524" layer="91"/>
  825. <pinref part="JP2" gate="A" pin="6"/>
  826. <wire x1="138.43" y1="25.4" x2="106.68" y2="25.4" width="0.1524" layer="91"/>
  827. <wire x1="106.68" y1="25.4" x2="106.68" y2="-16.51" width="0.1524" layer="91"/>
  828. </segment>
  829. </net>
  830. <net name="N$16" class="0">
  831. <segment>
  832. <pinref part="IC1" gate="G$1" pin="VDD"/>
  833. <wire x1="123.19" y1="45.72" x2="135.89" y2="45.72" width="0.1524" layer="91"/>
  834. <wire x1="135.89" y1="45.72" x2="135.89" y2="27.94" width="0.1524" layer="91"/>
  835. <pinref part="JP2" gate="A" pin="5"/>
  836. <wire x1="135.89" y1="27.94" x2="109.22" y2="27.94" width="0.1524" layer="91"/>
  837. <wire x1="109.22" y1="27.94" x2="109.22" y2="-16.51" width="0.1524" layer="91"/>
  838. </segment>
  839. </net>
  840. <net name="N$17" class="0">
  841. <segment>
  842. <pinref part="IC1" gate="G$1" pin="PA9"/>
  843. <wire x1="123.19" y1="43.18" x2="133.35" y2="43.18" width="0.1524" layer="91"/>
  844. <wire x1="133.35" y1="43.18" x2="133.35" y2="30.48" width="0.1524" layer="91"/>
  845. <pinref part="JP2" gate="A" pin="4"/>
  846. <wire x1="133.35" y1="30.48" x2="111.76" y2="30.48" width="0.1524" layer="91"/>
  847. <wire x1="111.76" y1="30.48" x2="111.76" y2="-16.51" width="0.1524" layer="91"/>
  848. </segment>
  849. </net>
  850. <net name="N$18" class="0">
  851. <segment>
  852. <pinref part="IC1" gate="G$1" pin="PA10"/>
  853. <wire x1="123.19" y1="93.98" x2="130.81" y2="93.98" width="0.1524" layer="91"/>
  854. <wire x1="130.81" y1="93.98" x2="130.81" y2="33.02" width="0.1524" layer="91"/>
  855. <pinref part="JP2" gate="A" pin="3"/>
  856. <wire x1="130.81" y1="33.02" x2="114.3" y2="33.02" width="0.1524" layer="91"/>
  857. <wire x1="114.3" y1="33.02" x2="114.3" y2="-16.51" width="0.1524" layer="91"/>
  858. </segment>
  859. </net>
  860. <net name="N$19" class="0">
  861. <segment>
  862. <pinref part="IC1" gate="G$1" pin="PA13/SWDIO"/>
  863. <wire x1="123.19" y1="91.44" x2="128.27" y2="91.44" width="0.1524" layer="91"/>
  864. <wire x1="128.27" y1="91.44" x2="128.27" y2="35.56" width="0.1524" layer="91"/>
  865. <pinref part="JP2" gate="A" pin="2"/>
  866. <wire x1="128.27" y1="35.56" x2="116.84" y2="35.56" width="0.1524" layer="91"/>
  867. <wire x1="116.84" y1="35.56" x2="116.84" y2="-16.51" width="0.1524" layer="91"/>
  868. </segment>
  869. </net>
  870. <net name="N$20" class="0">
  871. <segment>
  872. <pinref part="IC1" gate="G$1" pin="PA14/SWD_CLK"/>
  873. <wire x1="123.19" y1="88.9" x2="125.73" y2="88.9" width="0.1524" layer="91"/>
  874. <wire x1="125.73" y1="88.9" x2="125.73" y2="38.1" width="0.1524" layer="91"/>
  875. <pinref part="JP2" gate="A" pin="1"/>
  876. <wire x1="125.73" y1="38.1" x2="119.38" y2="38.1" width="0.1524" layer="91"/>
  877. <wire x1="119.38" y1="38.1" x2="119.38" y2="-16.51" width="0.1524" layer="91"/>
  878. </segment>
  879. </net>
  880. <net name="N$2" class="0">
  881. <segment>
  882. <pinref part="IC1" gate="G$1" pin="PF0-OSC_IN"/>
  883. <pinref part="QF1" gate="G$1" pin="3"/>
  884. <wire x1="123.19" y1="83.82" x2="137.16" y2="83.82" width="0.1524" layer="91"/>
  885. <wire x1="137.16" y1="83.82" x2="137.16" y2="81.28" width="0.1524" layer="91"/>
  886. </segment>
  887. </net>
  888. <net name="N$3" class="0">
  889. <segment>
  890. <pinref part="IC1" gate="G$1" pin="PF1-OSC_OUT"/>
  891. <wire x1="123.19" y1="81.28" x2="123.19" y2="76.2" width="0.1524" layer="91"/>
  892. <pinref part="QF1" gate="G$1" pin="1"/>
  893. <wire x1="123.19" y1="76.2" x2="137.16" y2="76.2" width="0.1524" layer="91"/>
  894. </segment>
  895. </net>
  896. <net name="N$10" class="0">
  897. <segment>
  898. <pinref part="IC1" gate="G$1" pin="PA4/SPI1_NSS/ADC_IN4"/>
  899. <wire x1="123.19" y1="73.66" x2="151.13" y2="73.66" width="0.1524" layer="91"/>
  900. <wire x1="151.13" y1="73.66" x2="151.13" y2="12.7" width="0.1524" layer="91"/>
  901. <pinref part="JP1" gate="A" pin="1"/>
  902. <wire x1="151.13" y1="12.7" x2="74.93" y2="12.7" width="0.1524" layer="91"/>
  903. <wire x1="74.93" y1="12.7" x2="74.93" y2="-16.51" width="0.1524" layer="91"/>
  904. </segment>
  905. </net>
  906. <net name="N$8" class="0">
  907. <segment>
  908. <pinref part="IC1" gate="G$1" pin="PA2/USART1_TX/ADC_IN2"/>
  909. <wire x1="44.45" y1="66.04" x2="39.37" y2="66.04" width="0.1524" layer="91"/>
  910. <wire x1="39.37" y1="66.04" x2="39.37" y2="29.21" width="0.1524" layer="91"/>
  911. <pinref part="JP1" gate="A" pin="3"/>
  912. <wire x1="39.37" y1="29.21" x2="69.85" y2="29.21" width="0.1524" layer="91"/>
  913. <wire x1="69.85" y1="29.21" x2="69.85" y2="-16.51" width="0.1524" layer="91"/>
  914. </segment>
  915. </net>
  916. </nets>
  917. </sheet>
  918. </sheets>
  919. </schematic>
  920. </drawing>
  921. </eagle>