<?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" x2="160" y2="0" width="0" layer="20"/>
<wire x1="160" y1="0" x2="160" y2="100" width="0" layer="20"/>
<wire x1="160" y1="100" x2="0" y2="100" width="0" layer="20"/>
<wire x1="0" y1="100" x2="0" y2="0" width="0" layer="20"/>
<text>J8 GND TEST
1 - 4 N/C
5 - GND_OUT</text>
<text>J9 A/C OUT
1 - LINE
2 - NEUTRAL
3 - GND</text>
<text>J5 - RESET BUTTON
J6 - GND TEST BUTTON
J7 - VOLT TEST BUTTON</text>
<text>J3 AC INPUT
1 - LINE
2 - NEUTRAL
3 - GND</text>
<text>PWR SWITCH</text>
<text>500 mA</text>
<text>500 mA</text>
<text>J1 - DC PSU INPUT
1 - V_IN
2 - INPUT_GND
3 - GND_IN</text>
<text>12V</text>
<text>GND</text>
</plain>
<libraries>
<library name="DaisyLibraryUpdated">
<packages>
<package name="CAP-CER-3MM">
</package>
<package name="TO-92">
</package>
<package name="LCD-CHAR-16X2">
</package>
<package name="PHX-TERM-1715022">
</package>
<package name="COSEL-TUHS25">
</package>
<package name="PHX-TERM-1881477">
</package>
<package name="PHX-TERM-1733583">
</package>
<package name="POT-CTS-262UR103B">
</package>
<package name="N_14_TEX">
</package>
</packages>
</library>
<library name="04023C471MAT2A">
<description>&lt;Multilayer Ceramic Capacitors MLCC - SMD/SMT 25V 470pF X7R 0402 20% Tol&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by SamacSys&lt;/author&gt;</description>
<packages>
<package name="CAPC1005X56N">
<description>&lt;b&gt;AVX0402(THICKNESS 0.56MM)&lt;/b&gt;&lt;br&gt;
</description>
</package>
</packages>
</library>
<library name="T498B225K025ATE3K0">
<packages>
<package name="CAPMP3.7X2.8_2.1N_KEM">
</package>
</packages>
</library>
<library name="Daisy_Library">
<description>Generated from &lt;b&gt;untitled.sch&lt;/b&gt;&lt;p&gt;
by exp-lbrs.ulp</description>
<packages>
<package name="0603">
</package>
<package name="2-SMD">
</package>
<package name="9MML-0.8MMD">
</package>
<package name="#6">
</package>
<package name="4-SMD">
</package>
</packages>
</library>
<library name="LTST-C191KRKT">
<packages>
<package name="0603">
</package>
</packages>
</library>
<library name="LTST-C191KGKT">
<packages>
<package name="0603">
</package>
</packages>
</library>
<library name="JST_Connectors">
<description>Generated from &lt;b&gt;untitled.sch&lt;/b&gt;&lt;p&gt;
by exp-lbrs.ulp</description>
<packages>
<package name="B8B-PHDSS">
</package>
</packages>
</library>
<library name="ERJ-3GEYJ103V">
<packages>
<package name="RESC1608X55N">
</package>
</packages>
</library>
<library name="ERJ-3EKF3300V">
<packages>
<package name="RESC1608X55N">
</package>
</packages>
</library>
<library name="MIC5205-5.0YM5-TR">
<packages>
<package name="SOT95P280X145-5N">
</package>
</packages>
</library>
<library name="IC">
<packages>
<package name="ATMEGA32U4">
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="C1" library="DaisyLibraryUpdated" package="CAP-CER-3MM" value="CAP">
<attribute name="NAME"/>
</element>
<element name="C2" library="DaisyLibraryUpdated" package="CAP-CER-3MM" value="CAP">
<attribute name="NAME"/>
</element>
<element name="C3" library="04023C471MAT2A" package="CAPC1005X56N" value="04023C471MAT2A">
<attribute name="DESCRIPTION" value="Multilayer Ceramic Capacitors MLCC - SMD/SMT 25V 470pF X7R 0402 20% Tol"/>
<attribute name="HEIGHT" value="0.56mm"/>
<attribute name="MANUFACTURER_NAME" value="AVX"/>
<attribute name="MANUFACTURER_PART_NUMBER" value="04023C471MAT2A"/>
<attribute name="MOUSER_PART_NUMBER" value="581-04023C471MAT2A"/>
<attribute name="MOUSER_PRICE-STOCK" value="https://www.mouser.co.uk/ProductDetail/AVX/04023C471MAT2A?qs=7eG98OfUnNHAvs9BMnuNzA%3D%3D"/>
<attribute name="NAME"/>
</element>
<element name="C4" library="T498B225K025ATE3K0" package="CAPMP3.7X2.8_2.1N_KEM" value="T498B225K025ATE3K0">
<attribute name="BUILT_BY" value="EMA_Frank"/>
<attribute name="MANUFACTURER_PART_NUMBER" value="T498B225K025ATE3K0"/>
<attribute name="NAME"/>
<attribute name="SOURCELIBRARY" value="Kemet_2020-03-25_3"/>
<attribute name="SOURCE_LIBRARY" value="Kemet_2020-03-25_3.xlr"/>
<attribute name="VENDOR" value="Kemet"/>
</element>
<element name="C5" library="Daisy_Library" package="0603" value="0.1uF">
<attribute name="NAME"/>
</element>
<element name="C6" library="Daisy_Library" package="0603" value="1uF">
<attribute name="NAME"/>
</element>
<element name="D1" library="LTST-C191KRKT" package="0603" value="LTST-C191KRKT">
<attribute name="DESCRIPTION" value=" Red 631nm LED Indication - Discrete 2V 0603 (1608 Metric) "/>
<attribute name="DIGI-KEY_PART_NUMBER" value="160-1447-1-ND"/>
<attribute name="DIGIKEY-PURCHASE-URL" value="https://snapeda.com/shop?store=DigiKey&amp;id=234319"/>
<attribute name="MF" value="Lite-On Inc."/>
<attribute name="MOUSER-PURCHASE-URL" value="https://snapeda.com/shop?store=Mouser&amp;id=234319"/>
<attribute name="MP" value="LTST-C191KRKT"/>
<attribute name="NAME"/>
<attribute name="PACKAGE" value="0603 Lite-On"/>
</element>
<element name="D2" library="LTST-C191KGKT" package="0603" value="LTST-C191KGKT">
<attribute name="DESCRIPTION" value=" Green 571nm LED Indication - Discrete 2V 0603 (1608 Metric) "/>
<attribute name="DIGI-KEY_PART_NUMBER" value="160-1446-1-ND"/>
<attribute name="DIGIKEY-PURCHASE-URL" value="https://snapeda.com/shop?store=DigiKey&amp;id=48565"/>
<attribute name="MF" value="Lite-On Inc."/>
<attribute name="MP" value="LTST-C191KGKT"/>
<attribute name="NAME"/>
<attribute name="PACKAGE" value="0603 Lite-On Inc."/>
</element>
<element name="F1" library="Daisy_Library" package="2-SMD" value="500mA">
<attribute name="NAME"/>
</element>
<element name="F2" library="Daisy_Library" package="2-SMD" value="500mA">
<attribute name="NAME"/>
</element>
<element name="J2" library="JST_Connectors" package="B8B-PHDSS" value="B8B-PHDSS">
<attribute name="NAME"/>
</element>
<element name="R1" library="Daisy_Library" package="9MML-0.8MMD" value="10K">
<attribute name="NAME"/>
</element>
<element name="R10" library="Daisy_Library" package="9MML-0.8MMD" value="1K">
<attribute name="NAME"/>
</element>
<element name="R11" library="Daisy_Library" package="9MML-0.8MMD" value="1K">
<attribute name="NAME"/>
</element>
<element name="R12" library="Daisy_Library" package="9MML-0.8MMD" value="1K">
<attribute name="NAME"/>
</element>
<element name="R13" library="ERJ-3GEYJ103V" package="RESC1608X55N" value="ERJ-3GEYJ103V">
<attribute name="ARROW_ELECTRONICS-PURCHASE-URL" value="https://snapeda.com/shop?store=Arrow+Electronics&amp;id=44612"/>
<attribute name="DESCRIPTION" value=" 10 kOhms ±5% 0.1W, 1/10W Chip Resistor 0603 (1608 Metric) Automotive AEC-Q200 Thick Film "/>
<attribute name="DIGI-KEY_PART_NUMBER" value="P10KGCT-ND"/>
<attribute name="DIGIKEY-PURCHASE-URL" value="https://snapeda.com/shop?store=DigiKey&amp;id=44612"/>
<attribute name="MF" value="Panasonic"/>
<attribute name="MOUSER-PURCHASE-URL" value="https://snapeda.com/shop?store=Mouser&amp;id=44612"/>
<attribute name="MP" value="ERJ-3GEYJ103V"/>
<attribute name="NAME"/>
<attribute name="PACKAGE" value="1608 Panasonic Electronic Components"/>
</element>
<element name="R15" library="ERJ-3EKF3300V" package="RESC1608X55N" value="ERJ-3EKF3300V">
<attribute name="ARROW_ELECTRONICS-PURCHASE-URL" value="https://snapeda.com/shop?store=Arrow+Electronics&amp;id=53091"/>
<attribute name="DESCRIPTION" value=" 330 Ohms ±1% 0.1W, 1/10W Chip Resistor 0603 (1608 Metric) Automotive AEC-Q200 Thick Film "/>
<attribute name="DIGI-KEY_PART_NUMBER" value="P330HCT-ND"/>
<attribute name="DIGIKEY-PURCHASE-URL" value="https://snapeda.com/shop?store=DigiKey&amp;id=53091"/>
<attribute name="MF" value="Panasonic"/>
<attribute name="MOUSER-PURCHASE-URL" value="https://snapeda.com/shop?store=Mouser&amp;id=53091"/>
<attribute name="MP" value="ERJ-3EKF3300V"/>
<attribute name="NAME"/>
<attribute name="PACKAGE" value="1608 Panasonic Electronic Components"/>
</element>
<element name="R2" library="Daisy_Library" package="9MML-0.8MMD" value="1K">
<attribute name="NAME"/>
</element>
<element name="R3" library="Daisy_Library" package="9MML-0.8MMD" value="10K">
<attribute name="NAME"/>
</element>
<element name="R4" library="Daisy_Library" package="9MML-0.8MMD" value="4.7K">
<attribute name="NAME"/>
</element>
<element name="R5" library="Daisy_Library" package="9MML-0.8MMD" value="3.9K">
<attribute name="NAME"/>
</element>
<element name="R6" library="Daisy_Library" package="9MML-0.8MMD" value="10K">
<attribute name="NAME"/>
</element>
<element name="R7" library="Daisy_Library" package="9MML-0.8MMD" value="4.7K">
<attribute name="NAME"/>
</element>
<element name="R8" library="Daisy_Library" package="9MML-0.8MMD" value="3.9K">
<attribute name="NAME"/>
</element>
<element name="R9" library="Daisy_Library" package="9MML-0.8MMD" value="10K">
<attribute name="NAME"/>
</element>
<element name="U$1" library="DaisyLibraryUpdated" package="TO-92" value="TRAN-BJT-PNP-TO92"/>
<element name="U$10" library="DaisyLibraryUpdated" package="LCD-CHAR-16X2" value="LCD-CHAR-16X2"/>
<element name="J4" library="DaisyLibraryUpdated" package="PHX-TERM-1715022" value="PHX-TERM-2-5MM-MKDS">
<attribute name="NAME"/>
</element>
<element name="U4" library="DaisyLibraryUpdated" package="COSEL-TUHS25" value="COSEL-TUHS25">
<attribute name="NAME"/>
<attribute name="SPICEPREFIX" value="U"/>
<attribute name="VALUE"/>
</element>
<element name="J9" library="DaisyLibraryUpdated" package="PHX-TERM-1881477" value="PHX-TERM-PLUGHDR-5-2.5MM-MC">
<attribute name="J9" value=""/>
</element>
<element name="J3" library="DaisyLibraryUpdated" package="PHX-TERM-1733583" value="PHX-TERM-3-5.08MM-SMKDSP">
<attribute name="NAME"/>
</element>
<element name="J1" library="DaisyLibraryUpdated" package="PHX-TERM-1733583" value="PHX-TERM-3-5.08MM-SMKDSP">
<attribute name="NAME"/>
</element>
<element name="J8" library="DaisyLibraryUpdated" package="PHX-TERM-1881477" value="PHX-TERM-PLUGHDR-5-2.5MM-MC">
<attribute name="J8" value=""/>
</element>
<element name="U$2" library="Daisy_Library" package="#6" value="MOUNTINGHOLES#6"/>
<element name="U$3" library="Daisy_Library" package="#6" value="MOUNTINGHOLES#6"/>
<element name="U$4" library="Daisy_Library" package="#6" value="MOUNTINGHOLES#6"/>
<element name="U$5" library="Daisy_Library" package="#6" value="MOUNTINGHOLES#6"/>
<element name="U6" library="DaisyLibraryUpdated" package="POT-CTS-262UR103B" value="RES-VAR-POT-0-10K"/>
<element name="J7" library="DaisyLibraryUpdated" package="PHX-TERM-1715022" value="PHX-TERM-2-5MM-MKDS">
<attribute name="NAME"/>
</element>
<element name="J6" library="DaisyLibraryUpdated" package="PHX-TERM-1715022" value="PHX-TERM-2-5MM-MKDS">
<attribute name="NAME"/>
</element>
<element name="J5" library="DaisyLibraryUpdated" package="PHX-TERM-1715022" value="PHX-TERM-2-5MM-MKDS">
<attribute name="NAME"/>
</element>
<element name="U1" library="DaisyLibraryUpdated" package="N_14_TEX" value="LT1014DN">
<attribute name="BUILT_BY" value="EMA_UL_Team"/>
<attribute name="COPYRIGHT" value="Copyright (C) 2018 Accelerated Designs. All rights reserved"/>
<attribute name="MANUFACTURER_PART_NUMBER" value="LT1014DN"/>
<attribute name="NAME"/>
<attribute name="SOURCELIBRARY" value="TI_2019-03-28"/>
<attribute name="VALUE"/>
<attribute name="VENDOR" value="Texas Instruments"/>
</element>
<element name="U2" library="MIC5205-5.0YM5-TR" package="SOT95P280X145-5N" value="MIC5205-5.0YM5-TR">
<attribute name="DESCRIPTION" value=" Linear Voltage Regulator IC 1 Output 150mA SOT-23-5 "/>
<attribute name="DIGI-KEY_PART_NUMBER" value="576-1261-1-ND"/>
<attribute name="DIGIKEY-PURCHASE-URL" value="https://snapeda.com/shop?store=DigiKey&amp;id=1215775"/>
<attribute name="MF" value="Microchip"/>
<attribute name="MOUSER-PURCHASE-URL" value="https://snapeda.com/shop?store=Mouser&amp;id=1215775"/>
<attribute name="MP" value="MIC5205-5.0YM5-TR"/>
<attribute name="NAME"/>
<attribute name="PACKAGE" value="SOT-23-5 Microchip"/>
</element>
<element name="U3" library="IC" package="ATMEGA32U4" value="ATMEGA32U4">
<attribute name="NAME"/>
</element>
<element name="Y1" library="Daisy_Library" package="4-SMD" value="ECS-3961">
<attribute name="NAME"/>
</element>
<element name="U$17" library="Daisy_Library" package="#6" value="MOUNTINGHOLES#6"/>
<element name="J10" library="DaisyLibraryUpdated" package="PHX-TERM-1733583" value="PHX-TERM-3-5.08MM-SMKDSP">
<attribute name="NAME"/>
</element>
<element name="J11" library="DaisyLibraryUpdated" package="PHX-TERM-1733583" value="PHX-TERM-3-5.08MM-SMKDSP">
<attribute name="NAME"/>
</element>
</elements>
<signals>
<signal name="V_IN">
<contactref element="U$1" pad="E"/>
<contactref element="R6" pad="P$2"/>
<contactref element="C1" pad="1"/>
<contactref element="J1" pad="1"/>
</signal>
<signal name="N$2">
<contactref element="U$1" pad="C"/>
<contactref element="R2" pad="P$1"/>
</signal>
<signal name="N$3">
<contactref element="R1" pad="P$2"/>
<contactref element="U$1" pad="B"/>
</signal>
<signal name="N$4">
<contactref element="R3" pad="P$2"/>
<contactref element="R2" pad="P$2"/>
<contactref element="U1" pad="3"/>
</signal>
<signal name="12V">
<contactref element="U1" pad="4"/>
<contactref element="U1" pad="2"/>
<contactref element="C2" pad="1"/>
<contactref element="F1" pad="P$1"/>
<contactref element="U4" pad="+V"/>
<contactref element="J10" pad="1"/>
<contactref element="J10" pad="2"/>
<contactref element="J10" pad="3"/>
</signal>
<signal name="GND">
<contactref element="C1" pad="2"/>
<contactref element="C2" pad="2"/>
<contactref element="U$2" pad="P$1"/>
<contactref element="U$5" pad="P$1"/>
<contactref element="U$4" pad="P$1"/>
<contactref element="U$3" pad="P$1"/>
<contactref element="U2" pad="2"/>
<contactref element="C4" pad="2"/>
<contactref element="R13" pad="1"/>
<contactref element="C3" pad="2"/>
<contactref element="Y1" pad="P$2"/>
<contactref element="C5" pad="P$1"/>
<contactref element="U3" pad="UGND"/>
<contactref element="C6" pad="P$1"/>
<contactref element="U3" pad="GND2"/>
<contactref element="U3" pad="GND1"/>
<contactref element="U3" pad="GND4"/>
<contactref element="U3" pad="GND3"/>
<contactref element="R15" pad="2"/>
<contactref element="J2" pad="P$6"/>
<contactref element="J2" pad="P$8"/>
<contactref element="R10" pad="P$2"/>
<contactref element="R11" pad="P$2"/>
<contactref element="R12" pad="P$2"/>
<contactref element="U6" pad="1"/>
<contactref element="U$10" pad="1"/>
<contactref element="U$10" pad="5"/>
<contactref element="U$10" pad="16"/>
<contactref element="U4" pad="-V"/>
<contactref element="J9" pad="3"/>
<contactref element="J3" pad="3"/>
<contactref element="U$17" pad="P$1"/>
<contactref element="J11" pad="1"/>
<contactref element="J11" pad="2"/>
<contactref element="J11" pad="3"/>
</signal>
<signal name="N$9">
<contactref element="U1" pad="1"/>
<contactref element="R4" pad="P$2"/>
</signal>
<signal name="V_DETECT">
<contactref element="R5" pad="P$2"/>
<contactref element="R4" pad="P$1"/>
<contactref element="U3" pad="PC6"/>
</signal>
<signal name="N$1">
<contactref element="U1" pad="13"/>
<contactref element="R6" pad="P$1"/>
</signal>
<signal name="N$5">
<contactref element="U1" pad="12"/>
<contactref element="R9" pad="P$2"/>
</signal>
<signal name="N$6">
<contactref element="U1" pad="14"/>
<contactref element="R7" pad="P$1"/>
</signal>
<signal name="NEG_DETECT">
<contactref element="R7" pad="P$2"/>
<contactref element="R8" pad="P$1"/>
<contactref element="U3" pad="PD4"/>
</signal>
<signal name="5V">
<contactref element="U2" pad="5"/>
<contactref element="C4" pad="1"/>
<contactref element="D1" pad="2"/>
<contactref element="Y1" pad="P$4"/>
<contactref element="C5" pad="P$2"/>
<contactref element="U3" pad="AVCC1"/>
<contactref element="U3" pad="VCC1"/>
<contactref element="U3" pad="VBUS"/>
<contactref element="U3" pad="UVCC"/>
<contactref element="U3" pad="AVCC2"/>
<contactref element="U3" pad="VCC2"/>
<contactref element="J2" pad="P$2"/>
<contactref element="J2" pad="P$7"/>
<contactref element="U$10" pad="2"/>
<contactref element="U$10" pad="15"/>
<contactref element="U6" pad="3"/>
</signal>
<signal name="N$7">
<contactref element="U2" pad="4"/>
<contactref element="C3" pad="1"/>
</signal>
<signal name="N$8">
<contactref element="F1" pad="P$2"/>
<contactref element="U2" pad="3"/>
<contactref element="U2" pad="1"/>
</signal>
<signal name="N$10">
<contactref element="D1" pad="1"/>
<contactref element="R13" pad="2"/>
</signal>
<signal name="N$11">
<contactref element="U3" pad="XTAL1"/>
<contactref element="Y1" pad="P$3"/>
</signal>
<signal name="SCK">
<contactref element="U3" pad="PB1"/>
<contactref element="D2" pad="2"/>
<contactref element="J2" pad="P$3"/>
</signal>
<signal name="MOSI">
<contactref element="U3" pad="PB2"/>
<contactref element="J2" pad="P$4"/>
</signal>
<signal name="MISO">
<contactref element="U3" pad="PB3"/>
<contactref element="J2" pad="P$1"/>
</signal>
<signal name="RESET">
<contactref element="U3" pad="RESET"/>
<contactref element="J2" pad="P$5"/>
<contactref element="J7" pad="1"/>
</signal>
<signal name="N$14">
<contactref element="U3" pad="UCAP"/>
<contactref element="C6" pad="P$2"/>
</signal>
<signal name="N$15">
<contactref element="D2" pad="1"/>
<contactref element="R15" pad="1"/>
</signal>
<signal name="N$16">
<contactref element="R10" pad="P$1"/>
<contactref element="J7" pad="2"/>
</signal>
<signal name="N$17">
<contactref element="R11" pad="P$1"/>
<contactref element="J6" pad="2"/>
</signal>
<signal name="N$18">
<contactref element="R12" pad="P$1"/>
<contactref element="J5" pad="2"/>
</signal>
<signal name="GND_TEST">
<contactref element="J6" pad="1"/>
<contactref element="U3" pad="PD1"/>
</signal>
<signal name="VOLT_TEST">
<contactref element="J5" pad="1"/>
<contactref element="U3" pad="PD0"/>
</signal>
<signal name="GND_OUT">
<contactref element="U3" pad="PD7"/>
<contactref element="J8" pad="5"/>
</signal>
<signal name="GND_IN">
<contactref element="U3" pad="PE6"/>
<contactref element="J1" pad="3"/>
</signal>
<signal name="N$12">
<contactref element="U6" pad="2"/>
<contactref element="U$10" pad="3"/>
</signal>
<signal name="RS">
<contactref element="U$10" pad="4"/>
<contactref element="U3" pad="PC7"/>
</signal>
<signal name="ENABLE">
<contactref element="U$10" pad="6"/>
<contactref element="U3" pad="PD6"/>
</signal>
<signal name="DB4">
<contactref element="U$10" pad="11"/>
<contactref element="U3" pad="PB7"/>
</signal>
<signal name="DB5">
<contactref element="U$10" pad="12"/>
<contactref element="U3" pad="PB6"/>
</signal>
<signal name="DB6">
<contactref element="U$10" pad="13"/>
<contactref element="U3" pad="PB5"/>
</signal>
<signal name="DB7">
<contactref element="U$10" pad="14"/>
<contactref element="U3" pad="PB4"/>
</signal>
<signal name="NEUTRAL">
<contactref element="U4" pad="AC2"/>
<contactref element="J9" pad="2"/>
<contactref element="J3" pad="2"/>
</signal>
<signal name="N$13">
<contactref element="U4" pad="AC1"/>
<contactref element="F2" pad="P$1"/>
</signal>
<signal name="LINE">
<contactref element="J3" pad="1"/>
<contactref element="J4" pad="1"/>
</signal>
<signal name="INPUT_GND">
<contactref element="J1" pad="2"/>
<contactref element="R5" pad="P$1"/>
<contactref element="R3" pad="P$1"/>
<contactref element="U1" pad="11"/>
<contactref element="R9" pad="P$1"/>
<contactref element="R8" pad="P$2"/>
<contactref element="R1" pad="P$1"/>
</signal>
<signal name="LINE_SW">
<contactref element="F2" pad="P$2"/>
<contactref element="J4" pad="2"/>
<contactref element="J9" pad="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
