<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.1">
<drawing>
<board>
<plain>
<wire x1="0" y1="0.4" x2="24.745" y2="0.4" width="0" layer="20"/>
<wire x1="24.745" y1="0.4" x2="24.745" y2="12.37" width="0" layer="20"/>
<wire x1="24.745" y1="12.37" x2="0" y2="12.37" width="0" layer="20"/>
<wire x1="0" y1="12.37" x2="0" y2="0.4" width="0" layer="20"/>
<text>STM8TILink
Designed in Thailand
By TinLethax</text>
<text>rev0</text>
<text>ring</text>
<text>tip</text>
<text>GND</text>
</plain>
<libraries>
<library name="adafruit">
<packages>
<package name="C0603">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;&lt;p&gt;
chip</description>
</package>
<package name="1X03">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="R0603">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;&lt;p&gt;
chip</description>
</package>
</packages>
</library>
<library name="diode">
<packages>
<package name="SOD-123_MINI-SMA">
<description>&lt;b&gt;Molded plasitc,JEDEC SOD-123/Mini SMA&lt;/b&gt;&lt;p&gt;
Source: Comchip CGRM4001-G.pdf</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="TP20SQ">
<description>&lt;b&gt;TEST PAD&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="stm8s001j3">
<packages>
<package name="SOP8">
<description>&lt;b&gt;SOP8&lt;/b&gt;&lt;p&gt;
Source: http://www.rohm.com/products/databook/motor/pdf/bd623x_series-e.pdf</description>
</package>
</packages>
</library>
<library name="CH330">
<packages>
<package name="SOIC127P600X150-8N">
<description>8-SOIC, 1.27 mm pitch, 6.00 mm span, 4.95 X 3.95 X 1.50 mm body
&lt;p&gt;8-pin SOIC package with 1.27 mm pitch, 6.00 mm span with body size 4.95 X 3.95 X 1.50 mm&lt;/p&gt;</description>
</package>
</packages>
</library>
<library name="USB">
<description>Generated from &lt;b&gt;HaxDuino_rev0_reupload_board.sch&lt;/b&gt;&lt;p&gt;
by exp-lbrs.ulp</description>
<packages>
<package name="USB_USB-A-PCB">
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="C1" library="adafruit" package="C0603" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C2" library="adafruit" package="C0603" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C3" library="adafruit" package="C0603" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="C4" library="adafruit" package="C0603" value="1uF">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="D1" library="diode" package="SOD-123_MINI-SMA" value="BAT43W">
<attribute name="NAME"/>
<attribute name="POPULARITY" value=""/>
<attribute name="VALUE"/>
</element>
<element name="JP1" library="adafruit" package="1X03" value="">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="PRGM" library="testpad" package="TP20SQ" value="TPSQTP20SQ">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="0"/>
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
<element name="R1" library="adafruit" package="R0603" value="10K">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="SWIM" library="testpad" package="TP20SQ" value="TPSQTP20SQ">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="0"/>
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
<element name="TPGND" library="testpad" package="TP20SQ" value="TPSQTP20SQ">
<attribute name="NAME"/>
<attribute name="POPULARITY" value="0"/>
<attribute name="TP_SIGNAL_NAME" value=""/>
<attribute name="VALUE"/>
</element>
<element name="IC1" library="stm8s001j3" package="SOP8" value="STM8S001J3">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="IC2" library="CH330" package="SOIC127P600X150-8N" value="CH330">
<attribute name="DESCRIPTION" value="CH330 Super small Serial to USB chip  "/>
<attribute name="NAME"/>
<attribute name="PACKAGE" value="SOP8"/>
<attribute name="PARTNO" value="CH330"/>
<attribute name="VALUE"/>
</element>
<element name="X1" library="USB" package="USB_USB-A-PCB" value="USB_USBPCB">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
</elements>
<signals>
<signal name="N$1">
<contactref element="IC1" pad="3"/>
<contactref element="C1" pad="1"/>
</signal>
<signal name="GND">
<contactref element="IC1" pad="2"/>
<contactref element="C1" pad="2"/>
<contactref element="C2" pad="2"/>
<contactref element="C3" pad="2"/>
<contactref element="C4" pad="2"/>
<contactref element="IC2" pad="3"/>
<contactref element="X1" pad="GND"/>
<contactref element="TPGND" pad="TP"/>
<contactref element="JP1" pad="1"/>
</signal>
<signal name="VCC">
<contactref element="IC1" pad="4"/>
<contactref element="C2" pad="1"/>
<contactref element="R1" pad="2"/>
<contactref element="IC2" pad="5"/>
<contactref element="C4" pad="1"/>
<contactref element="X1" pad="5V"/>
</signal>
<signal name="N$2">
<contactref element="D1" pad="A"/>
<contactref element="IC2" pad="7"/>
<contactref element="IC1" pad="5"/>
<contactref element="R1" pad="1"/>
</signal>
<signal name="N$4">
<contactref element="IC2" pad="6"/>
<contactref element="D1" pad="C"/>
</signal>
<signal name="N$3">
<contactref element="C3" pad="1"/>
<contactref element="IC2" pad="8"/>
</signal>
<signal name="N$5">
<contactref element="IC1" pad="8"/>
<contactref element="SWIM" pad="TP"/>
<contactref element="JP1" pad="2"/>
</signal>
<signal name="N$6">
<contactref element="IC1" pad="7"/>
<contactref element="JP1" pad="3"/>
</signal>
<signal name="N$7">
<contactref element="PRGM" pad="TP"/>
<contactref element="IC1" pad="6"/>
</signal>
<signal name="N$8">
<contactref element="X1" pad="USB_P"/>
<contactref element="IC2" pad="1"/>
</signal>
<signal name="N$9">
<contactref element="X1" pad="USB_M"/>
<contactref element="IC2" pad="2"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
