<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="6.5.0">
<drawing>
<board>
<plain>
<wire x1="0" y1="0" x2="25.4" y2="0" width="0" layer="20"/>
<wire x1="25.4" y1="0" x2="25.4" y2="17.78" width="0" layer="20"/>
<wire x1="25.4" y1="17.78" x2="0" y2="17.78" width="0" layer="20"/>
<wire x1="0" y1="17.78" x2="0" y2="0" width="0" layer="20"/>
<text>5V</text>
<text>3V3</text>
<text>SWIM GND  !RST</text>
<text>STM8 uP
(C) 2017
K. C. Lee
CC BY 2.0</text>
<text>3V3</text>
<text>5V</text>
</plain>
<libraries>
<library name="ipc-7351-resistor">
<description>&lt;b&gt;IPC-7351 compliant SMT resistors&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
Symbols copied from CadSoft rcl.lbr.&lt;br&gt;
Packages generated using genpkg_chp.ulp.&lt;br&gt;
Devices are Panasonic ERJ series types.&lt;br&gt;
&lt;br&gt;
Weartronics 2006&lt;br&gt;
http://www.weartronics.com/</description>
<packages>
<package name="RESC1608X55N">
</package>
</packages>
</library>
<library name="ipc-7351-capacitor">
<description>&lt;b&gt;IPC-7351 compliant SMT capacitors&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
Symbols copied from CadSoft rcl.lbr&lt;br&gt;
Packages generated using genpkg_chp.ulp, genpkg_cae.ulp and genpkg_mld.ulp&lt;br&gt;
Devices are Vishay chip types, generic AEC types and Kemet T491 series molded body types.&lt;br&gt;
&lt;br&gt;
Weartronics 2006&lt;br&gt;
http://www.weartronics.com/</description>
<packages>
<package name="CAPC1608X92N">
</package>
</packages>
</library>
<library name="Misc Peripherals">
<packages>
<package name="SSOP28DB">
<description>&lt;b&gt;Small Shrink Outline Package&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="crystal">
<description>&lt;b&gt;Crystals and Crystal Resonators&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="HC49U-V">
<description>&lt;b&gt;CRYSTAL&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="Misc Processor">
<packages>
<package name="TSSOP20">
<description>&lt;b&gt;Small Shrink Outline Package&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="Misc Conn">
<packages>
<package name="USB-AB-MICRO-SMD_V03_SF">
</package>
<package name="1X10">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X07">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt; - 2.54</description>
</package>
<package name="1X03">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="Misc Memory">
<packages>
<package name="TSSOP8">
<description>&lt;b&gt;Thin Shrink Small Outline Package&lt;/b&gt;&lt;p&gt;
package type ST</description>
</package>
</packages>
</library>
<library name="testpad">
<description>&lt;b&gt;Test Pins/Pads&lt;/b&gt;&lt;p&gt;
Cream on SMD OFF.&lt;br&gt;
new: Attribute TP_SIGNAL_NAME&lt;br&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="TP09SQ">
<description>&lt;b&gt;TEST PAD&lt;/b&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="R3" library="ipc-7351-resistor" package="RESC1608X55N" value="22R">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R2" library="ipc-7351-resistor" package="RESC1608X55N" value="22R">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C6" library="ipc-7351-capacitor" package="CAPC1608X92N" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C7" library="ipc-7351-capacitor" package="CAPC1608X92N" value="0u1">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C5" library="ipc-7351-capacitor" package="CAPC1608X92N" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R1" library="ipc-7351-resistor" package="RESC1608X55N" value="1K5">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U1" library="Misc Peripherals" package="SSOP28DB" value="PL2303HXASSOP">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="X1" library="crystal" package="HC49U-V" value="12MHz">
<attribute name="OC_NEWARK" value="unknown"/>
<attribute name="MPN" value=""/>
<attribute name="MF" value=""/>
<attribute name="OC_FARNELL" value="1666969"/>
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C2" library="ipc-7351-capacitor" package="CAPC1608X92N" value="22pF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C3" library="ipc-7351-capacitor" package="CAPC1608X92N" value="22pF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U3" library="Misc Processor" package="TSSOP20" value="STM8F003F3">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C10" library="ipc-7351-capacitor" package="CAPC1608X92N" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C8" library="ipc-7351-capacitor" package="CAPC1608X92N" value="0.1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="J1" library="Misc Conn" package="USB-AB-MICRO-SMD_V03_SF" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C1" library="ipc-7351-capacitor" package="CAPC1608X92N" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="JP4" library="Misc Conn" package="1X10" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="JP3" library="Misc Conn" package="1X07" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="JP2" library="Misc Conn" package="1X03" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="JP1" library="Misc Conn" package="1X03" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="U2" library="Misc Memory" package="TSSOP8" value="24ST">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C4" library="ipc-7351-capacitor" package="CAPC1608X92N" value="0u1">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R4" library="ipc-7351-resistor" package="RESC1608X55N" value="2K2">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R5" library="ipc-7351-resistor" package="RESC1608X55N" value="2K2">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="TP1" library="testpad" package="TP09SQ" value="TPSQTP09SQ">
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
<element name="TP2" library="testpad" package="TP09SQ" value="TPSQTP09SQ">
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
<element name="TP3" library="testpad" package="TP09SQ" value="TPSQTP09SQ">
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
</elements>
<signals>
<signal name="GND">
<contactref element="U1" pad="7"/>
<contactref element="U1" pad="26"/>
<contactref element="U1" pad="21"/>
<contactref element="U1" pad="25"/>
<contactref element="U1" pad="18"/>
<contactref element="J1" pad="GND"/>
<contactref element="J1" pad="S1"/>
<contactref element="J1" pad="S2"/>
<contactref element="J1" pad="S3"/>
<contactref element="J1" pad="S4"/>
<contactref element="C5" pad="1"/>
<contactref element="C6" pad="1"/>
<contactref element="C7" pad="1"/>
<contactref element="C2" pad="2"/>
<contactref element="C3" pad="2"/>
<contactref element="C10" pad="1"/>
<contactref element="C8" pad="1"/>
<contactref element="U3" pad="7"/>
<contactref element="C1" pad="1"/>
<contactref element="JP3" pad="6"/>
<contactref element="JP1" pad="2"/>
<contactref element="U2" pad="4"/>
<contactref element="U2" pad="4"/>
<contactref element="U2" pad="1"/>
<contactref element="U2" pad="3"/>
<contactref element="U2" pad="2"/>
<contactref element="U2" pad="7"/>
<contactref element="C4" pad="1"/>
</signal>
<signal name="VCC">
<contactref element="C5" pad="2"/>
<contactref element="U1" pad="20"/>
<contactref element="J1" pad="VBUS1"/>
<contactref element="C1" pad="2"/>
<contactref element="JP2" pad="1"/>
<contactref element="TP1" pad="TP"/>
</signal>
<signal name="N$4">
<contactref element="R3" pad="2"/>
<contactref element="U1" pad="15"/>
</signal>
<signal name="N$5">
<contactref element="R3" pad="1"/>
<contactref element="R1" pad="2"/>
<contactref element="J1" pad="D+"/>
</signal>
<signal name="N$6">
<contactref element="R2" pad="1"/>
<contactref element="J1" pad="D-"/>
</signal>
<signal name="N$7">
<contactref element="R2" pad="2"/>
<contactref element="U1" pad="16"/>
</signal>
<signal name="+3.3V">
<contactref element="R1" pad="1"/>
<contactref element="C7" pad="2"/>
<contactref element="U1" pad="17"/>
<contactref element="JP2" pad="3"/>
<contactref element="U2" pad="8"/>
<contactref element="C4" pad="2"/>
<contactref element="R5" pad="1"/>
<contactref element="R4" pad="1"/>
<contactref element="TP2" pad="TP"/>
<contactref element="TP3" pad="TP"/>
</signal>
<signal name="!SHTD">
<contactref element="U1" pad="12"/>
</signal>
<signal name="!RXD">
<contactref element="U1" pad="1"/>
<contactref element="U3" pad="3"/>
</signal>
<signal name="!TXD">
<contactref element="U1" pad="5"/>
<contactref element="U3" pad="2"/>
</signal>
<signal name="N$13">
<contactref element="U1" pad="27"/>
<contactref element="X1" pad="1"/>
<contactref element="C2" pad="1"/>
</signal>
<signal name="N$14">
<contactref element="U1" pad="28"/>
<contactref element="X1" pad="2"/>
<contactref element="C3" pad="1"/>
</signal>
<signal name="N$2">
<contactref element="U3" pad="8"/>
<contactref element="C10" pad="2"/>
</signal>
<signal name="!RST">
<contactref element="U3" pad="4"/>
<contactref element="C8" pad="2"/>
<contactref element="JP3" pad="5"/>
<contactref element="JP1" pad="3"/>
</signal>
<signal name="PD1/SWIM">
<contactref element="U3" pad="18"/>
<contactref element="JP4" pad="3"/>
<contactref element="JP1" pad="1"/>
</signal>
<signal name="VDD">
<contactref element="U3" pad="9"/>
<contactref element="C6" pad="2"/>
<contactref element="U1" pad="4"/>
<contactref element="JP3" pad="7"/>
<contactref element="JP2" pad="2"/>
<contactref element="U1" pad="9"/>
<contactref element="U1" pad="6"/>
<contactref element="U1" pad="10"/>
<contactref element="U1" pad="11"/>
</signal>
<signal name="PD4">
<contactref element="U3" pad="1"/>
<contactref element="JP3" pad="1"/>
</signal>
<signal name="PD3">
<contactref element="U3" pad="20"/>
<contactref element="JP4" pad="1"/>
</signal>
<signal name="PD2">
<contactref element="U3" pad="19"/>
<contactref element="JP4" pad="2"/>
</signal>
<signal name="PC7">
<contactref element="U3" pad="17"/>
<contactref element="JP4" pad="4"/>
</signal>
<signal name="PC6">
<contactref element="U3" pad="16"/>
<contactref element="JP4" pad="5"/>
</signal>
<signal name="PC5">
<contactref element="U3" pad="15"/>
<contactref element="JP4" pad="6"/>
</signal>
<signal name="PC4">
<contactref element="U3" pad="14"/>
<contactref element="JP4" pad="7"/>
</signal>
<signal name="PC3">
<contactref element="U3" pad="13"/>
<contactref element="JP4" pad="8"/>
</signal>
<signal name="PA3">
<contactref element="U3" pad="10"/>
<contactref element="JP3" pad="4"/>
</signal>
<signal name="PA1">
<contactref element="U3" pad="5"/>
<contactref element="JP3" pad="2"/>
</signal>
<signal name="PB4">
<contactref element="U3" pad="12"/>
<contactref element="JP4" pad="9"/>
<contactref element="R4" pad="2"/>
</signal>
<signal name="PB5">
<contactref element="U3" pad="11"/>
<contactref element="JP4" pad="10"/>
<contactref element="R5" pad="2"/>
</signal>
<signal name="PA2">
<contactref element="U3" pad="6"/>
<contactref element="JP3" pad="3"/>
</signal>
<signal name="N$8">
<contactref element="U1" pad="14"/>
<contactref element="U2" pad="5"/>
</signal>
<signal name="N$9">
<contactref element="U2" pad="6"/>
<contactref element="U1" pad="13"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
