<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.2">
<drawing>
<board>
<plain>
<wire x1="-0.4" 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.4" y2="12.37" width="0" layer="20"/>
<wire x1="-0.4" y1="12.37" x2="-0.4" y2="0.4" width="0" layer="20"/>
<text>STM8TILink
Designed in Thailand
By TinLethax</text>
<text>rev1</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="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>
<library name="SN74LVC1G3157">
<description>SN74LVC1G3157
This single channel single-pole double-throw (SPDT)
analog switch is designed for 1.65-V to 5.5-V VCC
operation.
The SN74LVC1G3157 device can handle both analog
and digital signals. The SN74LVC1G3157 device
permits signals with amplitudes of up to VCC (peak) to
be transmitted in either direction.
Applications include signal gating, chopping,
modulation or demodulation (modem), and signal
multiplexing for analog-to-digital and digital-to-analog
conversion systems.</description>
<packages>
<package name="SOT95P280X145-6N">
<description>6-SOT23, 0.95 mm pitch, 2.80 mm span, 2.90 X 1.60 X 1.45 mm body
&lt;p&gt;6-pin SOT23 package with 0.95 mm pitch, 2.80 mm span with body size 2.90 X 1.60 X 1.45 mm&lt;/p&gt;</description>
</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="R1" library="adafruit" package="R0603" value="10K">
<attribute name="NAME"/>
<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>
<element name="IC3" library="SN74LVC1G3157" package="SOT95P280X145-6N" value="SN74LVC1G3157">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R2" library="adafruit" package="R0603" value="10K">
<attribute name="NAME"/>
<attribute name="VALUE"/>
</element>
<element name="R3" library="adafruit" package="R0603" value="10K">
<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="JP1" pad="1"/>
<contactref element="X1" pad="GND"/>
<contactref element="IC3" pad="2"/>
</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"/>
<contactref element="R2" pad="1"/>
<contactref element="IC3" pad="5"/>
<contactref element="R3" pad="2"/>
</signal>
<signal name="UART">
<contactref element="IC1" pad="5"/>
<contactref element="R1" pad="1"/>
<contactref element="D1" pad="A"/>
<contactref element="IC3" pad="3"/>
</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="TIP">
<contactref element="JP1" pad="3"/>
<contactref element="IC1" pad="7"/>
</signal>
<signal name="RING">
<contactref element="JP1" pad="2"/>
<contactref element="IC1" pad="8"/>
</signal>
<signal name="DP">
<contactref element="X1" pad="USB_P"/>
<contactref element="IC2" pad="1"/>
</signal>
<signal name="DM">
<contactref element="IC2" pad="2"/>
<contactref element="X1" pad="USB_M"/>
</signal>
<signal name="CH330_RX">
<contactref element="IC3" pad="4"/>
<contactref element="IC2" pad="7"/>
</signal>
<signal name="N$2">
<contactref element="IC3" pad="1"/>
<contactref element="R2" pad="2"/>
</signal>
<signal name="RX_LOCK">
<contactref element="IC3" pad="6"/>
<contactref element="IC1" pad="6"/>
<contactref element="R3" pad="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
