(export (version D)
  (design
    (source "D:\\Proyectos - Activos\\Koneko Soluciones en Tecnología - Microcontrollers\\Prorroga para paro de motor con Atmega328au\\Prorroga para paro de motor con Atmega328au.kicad\\Prorroga para paro de motor con Atmega328au.kicad.sch")
    (date "01/05/2021 03:04:35 a. m.")
    (tool "Eeschema (5.1.9)-1")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev)
        (date)
        (source "Prorroga para paro de motor con Atmega328au.kicad.sch")
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref J5)
      (value ISP_UART_Conn)
      (footprint Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_02x05_Odd_Even) (description "Generic connector, double row, 02x05, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606DA8B8))
    (comp (ref C12)
      (value 100nf)
      (footprint Capacitor_SMD:C_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606E7367))
    (comp (ref C3)
      (value 100nf)
      (footprint Capacitor_SMD:C_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606E7900))
    (comp (ref C4)
      (value 10nf)
      (footprint Capacitor_SMD:C_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606E9C24))
    (comp (ref R5)
      (value 10k)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6073AE84))
    (comp (ref Y1)
      (value Crystal)
      (footprint library:Crystal_SMD_HC49-US)
      (datasheet ~)
      (libsource (lib Device) (part Crystal) (description "Two pin crystal"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60759815))
    (comp (ref R2)
      (value 1M)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60759D82))
    (comp (ref C7)
      (value 22pf)
      (footprint Capacitor_SMD:C_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6075B233))
    (comp (ref U2)
      (value AMS1117-5.0)
      (footprint Package_TO_SOT_SMD:SOT-223-3_TabPin2)
      (datasheet http://www.advanced-monolithic.com/pdf/ds1117.pdf)
      (libsource (lib Regulator_Linear) (part AMS1117-5.0) (description "1A Low Dropout regulator, positive, 5.0V fixed output, SOT-223"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6079BA44))
    (comp (ref J1)
      (value 8-25VDC)
      (footprint TerminalBlock:TerminalBlock_bornier-2_P5.08mm)
      (datasheet ~)
      (libsource (lib Connector) (part Screw_Terminal_01x02) (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 607F7959))
    (comp (ref C1)
      (value 1000uf)
      (footprint Capacitor_SMD:CP_Elec_10x10.5)
      (datasheet ~)
      (libsource (lib Device) (part CP) (description "Polarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6083E648))
    (comp (ref C2)
      (value 220uf)
      (footprint Capacitor_SMD:CP_Elec_6.3x7.7)
      (datasheet ~)
      (libsource (lib Device) (part CP) (description "Polarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60881BD2))
    (comp (ref C5)
      (value 220uf)
      (footprint Capacitor_SMD:CP_Elec_6.3x7.7)
      (datasheet ~)
      (libsource (lib Device) (part CP) (description "Polarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6089471A))
    (comp (ref C10)
      (value 10uf)
      (footprint Capacitor_Tantalum_SMD:CP_EIA-3528-12_Kemet-T)
      (datasheet ~)
      (libsource (lib Device) (part CP) (description "Polarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6089E7F2))
    (comp (ref C11)
      (value 10nf)
      (footprint Capacitor_SMD:C_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6089FEE5))
    (comp (ref D2)
      (value 1N4001)
      (footprint Diode_SMD:D_2010_5025Metric)
      (datasheet ~)
      (libsource (lib Device) (part D) (description Diode))
      (sheetpath (names /) (tstamps /))
      (tstamp 608C374D))
    (comp (ref R1)
      (value 2.2R)
      (footprint Resistor_SMD:R_2512_6332Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608E4C6A))
    (comp (ref D3)
      (value 1N4148)
      (footprint Diode_SMD:D_2010_5025Metric)
      (datasheet ~)
      (libsource (lib Device) (part D_Small) (description "Diode, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6094E24E))
    (comp (ref R4)
      (value 1K)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6097CE3E))
    (comp (ref D4)
      (value led_on)
      (footprint LED_SMD:LED_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part LED_Small) (description "Light emitting diode, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60997449))
    (comp (ref C6)
      (value 100uf)
      (footprint Capacitor_Tantalum_SMD:CP_EIA-3528-12_Kemet-T)
      (datasheet ~)
      (libsource (lib Device) (part CP) (description "Polarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6089D053))
    (comp (ref U5)
      (value PC817)
      (footprint Package_DIP:DIP-4_W7.62mm)
      (datasheet http://www.soselectronic.cz/a_info/resource/d/pc817.pdf)
      (libsource (lib Isolator) (part PC817) (description "DC Optocoupler, Vce 35V, CTR 50-300%, DIP-4"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60A74945))
    (comp (ref R9)
      (value 330)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608A1F56))
    (comp (ref Q3)
      (value MMBT3904)
      (footprint Package_TO_SOT_SMD:SOT-23)
      (datasheet https://www.onsemi.com/pub/Collateral/2N3903-D.PDF)
      (libsource (lib Transistor_BJT) (part MMBT3904) (description "0.2A Ic, 40V Vce, Small Signal NPN Transistor, SOT-23"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608AB4FC))
    (comp (ref U6)
      (value PC817)
      (footprint Package_DIP:DIP-4_W7.62mm)
      (datasheet http://www.soselectronic.cz/a_info/resource/d/pc817.pdf)
      (libsource (lib Isolator) (part PC817) (description "DC Optocoupler, Vce 35V, CTR 50-300%, DIP-4"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608B526F))
    (comp (ref R10)
      (value 330)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608B5286))
    (comp (ref Q4)
      (value MMBT3904)
      (footprint Package_TO_SOT_SMD:SOT-23)
      (datasheet https://www.onsemi.com/pub/Collateral/2N3903-D.PDF)
      (libsource (lib Transistor_BJT) (part MMBT3904) (description "0.2A Ic, 40V Vce, Small Signal NPN Transistor, SOT-23"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608B528D))
    (comp (ref U3)
      (value PC817)
      (footprint Package_DIP:DIP-4_W7.62mm)
      (datasheet http://www.soselectronic.cz/a_info/resource/d/pc817.pdf)
      (libsource (lib Isolator) (part PC817) (description "DC Optocoupler, Vce 35V, CTR 50-300%, DIP-4"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608CB118))
    (comp (ref R7)
      (value 330)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608CB12F))
    (comp (ref Q1)
      (value MMBT3904)
      (footprint Package_TO_SOT_SMD:SOT-23)
      (datasheet https://www.onsemi.com/pub/Collateral/2N3903-D.PDF)
      (libsource (lib Transistor_BJT) (part MMBT3904) (description "0.2A Ic, 40V Vce, Small Signal NPN Transistor, SOT-23"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608CB136))
    (comp (ref U4)
      (value PC817)
      (footprint Package_DIP:DIP-4_W7.62mm)
      (datasheet http://www.soselectronic.cz/a_info/resource/d/pc817.pdf)
      (libsource (lib Isolator) (part PC817) (description "DC Optocoupler, Vce 35V, CTR 50-300%, DIP-4"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608DAA69))
    (comp (ref R8)
      (value 330)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608DAA80))
    (comp (ref Q2)
      (value MMBT3904)
      (footprint Package_TO_SOT_SMD:SOT-23)
      (datasheet https://www.onsemi.com/pub/Collateral/2N3903-D.PDF)
      (libsource (lib Transistor_BJT) (part MMBT3904) (description "0.2A Ic, 40V Vce, Small Signal NPN Transistor, SOT-23"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608DAA87))
    (comp (ref D7)
      (value 1N4001)
      (footprint Diode_SMD:D_2010_5025Metric)
      (datasheet http://www.vishay.com/docs/88503/1n4001.pdf)
      (libsource (lib Diode) (part 1N4001) (description "50V 1A General Purpose Rectifier Diode, DO-41"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60A2E51D))
    (comp (ref D8)
      (value 1N4001)
      (footprint Diode_SMD:D_2010_5025Metric)
      (datasheet http://www.vishay.com/docs/88503/1n4001.pdf)
      (libsource (lib Diode) (part 1N4001) (description "50V 1A General Purpose Rectifier Diode, DO-41"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60A2EBE2))
    (comp (ref D1)
      (value 1N4001)
      (footprint Diode_SMD:D_2010_5025Metric)
      (datasheet http://www.vishay.com/docs/88503/1n4001.pdf)
      (libsource (lib Diode) (part 1N4001) (description "50V 1A General Purpose Rectifier Diode, DO-41"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60B8DE84))
    (comp (ref C8)
      (value 22pf)
      (footprint Capacitor_SMD:C_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6075A6A4))
    (comp (ref R3)
      (value 4.7k)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60E17B27))
    (comp (ref R6)
      (value 4.7k)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60E1895F))
    (comp (ref JP4)
      (value SolderJumper_2_Bridged)
      (footprint Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
      (sheetpath (names /) (tstamps /))
      (tstamp 610DAB8C))
    (comp (ref JP3)
      (value SolderJumper_2_Bridged)
      (footprint Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
      (sheetpath (names /) (tstamps /))
      (tstamp 61128FE5))
    (comp (ref JP5)
      (value SolderJumper_2_Bridged)
      (footprint Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
      (sheetpath (names /) (tstamps /))
      (tstamp 61129F9A))
    (comp (ref JP6)
      (value SolderJumper_2_Bridged)
      (footprint Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Jumper) (part SolderJumper_2_Bridged) (description "Solder Jumper, 2-pole, closed/bridged"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6112A95E))
    (comp (ref JP1)
      (value SolderJumper_3_Bridged12)
      (footprint Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Jumper) (part SolderJumper_3_Bridged12) (description "3-pole Solder Jumper, pins 1+2 closed/bridged"))
      (sheetpath (names /) (tstamps /))
      (tstamp 612F8F3F))
    (comp (ref JP2)
      (value SolderJumper_3_Bridged12)
      (footprint Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Jumper) (part SolderJumper_3_Bridged12) (description "3-pole Solder Jumper, pins 1+2 closed/bridged"))
      (sheetpath (names /) (tstamps /))
      (tstamp 614300BF))
    (comp (ref D9)
      (value 1N4001)
      (footprint Diode_SMD:D_2010_5025Metric)
      (datasheet http://www.vishay.com/docs/88503/1n4001.pdf)
      (libsource (lib Diode) (part 1N4001) (description "50V 1A General Purpose Rectifier Diode, DO-41"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60A1A617))
    (comp (ref D10)
      (value 1N4001)
      (footprint Diode_SMD:D_2010_5025Metric)
      (datasheet http://www.vishay.com/docs/88503/1n4001.pdf)
      (libsource (lib Diode) (part 1N4001) (description "50V 1A General Purpose Rectifier Diode, DO-41"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60A1C846))
    (comp (ref R12)
      (value 10K)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60E7F719))
    (comp (ref R11)
      (value 10K)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60E800A4))
    (comp (ref R14)
      (value 10K)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60F646FF))
    (comp (ref R13)
      (value 10K)
      (footprint Resistor_SMD:R_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60F64709))
    (comp (ref C9)
      (value 100nf)
      (footprint Capacitor_SMD:C_0805_2012Metric)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6089DB5D))
    (comp (ref U1)
      (value ATmega328-AU)
      (footprint Package_QFP:TQFP-32_7x7mm_P0.8mm)
      (datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf)
      (libsource (lib MCU_Microchip_ATmega) (part ATmega328-AU) (description "20MHz, 32kB Flash, 2kB SRAM, 1kB EEPROM, TQFP-32"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606B90F2))
    (comp (ref J3)
      (value Conn_02x04_Removible)
      (footprint FaradayBits:Molex_5557-2x04x3.00mm_Straight)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_02x04_Odd_Even) (description "Generic connector, double row, 02x04, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60A08957))
    (comp (ref SW1)
      (value SW_Push)
      (footprint Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60FFDBB7))
    (comp (ref J2)
      (value Terminal_01)
      (footprint TerminalBlock:TerminalBlock_bornier-5_P5.08mm)
      (datasheet ~)
      (libsource (lib Connector) (part Screw_Terminal_01x05) (description "Generic screw terminal, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60C49237))
    (comp (ref J4)
      (value Terminal_02)
      (footprint TerminalBlock:TerminalBlock_bornier-5_P5.08mm)
      (datasheet ~)
      (libsource (lib Connector) (part Screw_Terminal_01x05) (description "Generic screw terminal, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60C4C84D)))
  (libparts
    (libpart (lib Connector) (part Screw_Terminal_01x02)
      (description "Generic screw terminal, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp TerminalBlock*:*))
      (fields
        (field (name Reference) J)
        (field (name Value) Screw_Terminal_01x02))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))))
    (libpart (lib Connector) (part Screw_Terminal_01x05)
      (description "Generic screw terminal, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp TerminalBlock*:*))
      (fields
        (field (name Reference) J)
        (field (name Value) Screw_Terminal_01x05))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))
        (pin (num 4) (name Pin_4) (type passive))
        (pin (num 5) (name Pin_5) (type passive))))
    (libpart (lib Connector_Generic) (part Conn_02x04_Odd_Even)
      (description "Generic connector, double row, 02x04, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_2x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_02x04_Odd_Even))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))
        (pin (num 4) (name Pin_4) (type passive))
        (pin (num 5) (name Pin_5) (type passive))
        (pin (num 6) (name Pin_6) (type passive))
        (pin (num 7) (name Pin_7) (type passive))
        (pin (num 8) (name Pin_8) (type passive))))
    (libpart (lib Connector_Generic) (part Conn_02x05_Odd_Even)
      (description "Generic connector, double row, 02x05, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_2x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_02x05_Odd_Even))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))
        (pin (num 4) (name Pin_4) (type passive))
        (pin (num 5) (name Pin_5) (type passive))
        (pin (num 6) (name Pin_6) (type passive))
        (pin (num 7) (name Pin_7) (type passive))
        (pin (num 8) (name Pin_8) (type passive))
        (pin (num 9) (name Pin_9) (type passive))
        (pin (num 10) (name Pin_10) (type passive))))
    (libpart (lib Device) (part CP)
      (description "Polarized capacitor")
      (docs ~)
      (footprints
        (fp CP_*))
      (fields
        (field (name Reference) C)
        (field (name Value) CP))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Device) (part C_Small)
      (description "Unpolarized capacitor, small symbol")
      (docs ~)
      (footprints
        (fp C_*))
      (fields
        (field (name Reference) C)
        (field (name Value) C_Small))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Device) (part Crystal)
      (description "Two pin crystal")
      (docs ~)
      (footprints
        (fp Crystal*))
      (fields
        (field (name Reference) Y)
        (field (name Value) Crystal))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib Device) (part D)
      (description Diode)
      (docs ~)
      (footprints
        (fp TO-???*)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (fields
        (field (name Reference) D)
        (field (name Value) D))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib Device) (part D_Small)
      (description "Diode, small symbol")
      (docs ~)
      (footprints
        (fp TO-???*)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (fields
        (field (name Reference) D)
        (field (name Value) D_Small))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib Device) (part LED_Small)
      (description "Light emitting diode, small symbol")
      (docs ~)
      (footprints
        (fp LED*)
        (fp LED_SMD:*)
        (fp LED_THT:*))
      (fields
        (field (name Reference) D)
        (field (name Value) LED_Small))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib Device) (part R_Small)
      (description "Resistor, small symbol")
      (docs ~)
      (footprints
        (fp R_*))
      (fields
        (field (name Reference) R)
        (field (name Value) R_Small))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Diode) (part 1N4001)
      (aliases
        (alias 1N4002)
        (alias 1N4003)
        (alias 1N4004)
        (alias 1N4005)
        (alias 1N4006)
        (alias 1N4007)
        (alias BA157)
        (alias BA158)
        (alias BA159))
      (description "50V 1A General Purpose Rectifier Diode, DO-41")
      (docs http://www.vishay.com/docs/88503/1n4001.pdf)
      (footprints
        (fp D*DO?41*))
      (fields
        (field (name Reference) D)
        (field (name Value) 1N4001)
        (field (name Footprint) Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib Isolator) (part PC817)
      (aliases
        (alias EL817))
      (description "DC Optocoupler, Vce 35V, CTR 50-300%, DIP-4")
      (docs http://www.soselectronic.cz/a_info/resource/d/pc817.pdf)
      (footprints
        (fp DIP*W7.62mm*))
      (fields
        (field (name Reference) U)
        (field (name Value) PC817)
        (field (name Footprint) Package_DIP:DIP-4_W7.62mm))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))
        (pin (num 3) (name ~) (type passive))
        (pin (num 4) (name ~) (type passive))))
    (libpart (lib Jumper) (part SolderJumper_2_Bridged)
      (description "Solder Jumper, 2-pole, closed/bridged")
      (docs ~)
      (footprints
        (fp SolderJumper*Bridged*))
      (fields
        (field (name Reference) JP)
        (field (name Value) SolderJumper_2_Bridged))
      (pins
        (pin (num 1) (name A) (type passive))
        (pin (num 2) (name B) (type passive))))
    (libpart (lib Jumper) (part SolderJumper_3_Bridged12)
      (description "3-pole Solder Jumper, pins 1+2 closed/bridged")
      (docs ~)
      (footprints
        (fp SolderJumper*Bridged12*))
      (fields
        (field (name Reference) JP)
        (field (name Value) SolderJumper_3_Bridged12))
      (pins
        (pin (num 1) (name A) (type passive))
        (pin (num 2) (name C) (type input))
        (pin (num 3) (name B) (type passive))))
    (libpart (lib MCU_Microchip_ATmega) (part ATmega48PV-10AU)
      (aliases
        (alias ATmega48P-20AU)
        (alias ATmega48A-AU)
        (alias ATmega48PA-AU)
        (alias ATmega88PV-10AU)
        (alias ATmega88P-20AU)
        (alias ATmega88A-AU)
        (alias ATmega88PA-AU)
        (alias ATmega168PV-10AU)
        (alias ATmega168P-20AU)
        (alias ATmega168A-AU)
        (alias ATmega168PA-AU)
        (alias ATmega328-AU)
        (alias ATmega328P-AU))
      (description "10MHz, 4kB Flash, 512B SRAM, 256B EEPROM, TQFP-32")
      (docs http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8025-8-bit-AVR-Microcontroller-ATmega48P-88P-168P_Datasheet.pdf)
      (footprints
        (fp TQFP*7x7mm*P0.8mm*))
      (fields
        (field (name Reference) U)
        (field (name Value) ATmega48PV-10AU)
        (field (name Footprint) Package_QFP:TQFP-32_7x7mm_P0.8mm))
      (pins
        (pin (num 1) (name PD3) (type BiDi))
        (pin (num 2) (name PD4) (type BiDi))
        (pin (num 3) (name GND) (type power_in))
        (pin (num 4) (name VCC) (type power_in))
        (pin (num 5) (name GND) (type passive))
        (pin (num 6) (name VCC) (type passive))
        (pin (num 7) (name XTAL1/PB6) (type BiDi))
        (pin (num 8) (name XTAL2/PB7) (type BiDi))
        (pin (num 9) (name PD5) (type BiDi))
        (pin (num 10) (name PD6) (type BiDi))
        (pin (num 11) (name PD7) (type BiDi))
        (pin (num 12) (name PB0) (type BiDi))
        (pin (num 13) (name PB1) (type BiDi))
        (pin (num 14) (name PB2) (type BiDi))
        (pin (num 15) (name PB3) (type BiDi))
        (pin (num 16) (name PB4) (type BiDi))
        (pin (num 17) (name PB5) (type BiDi))
        (pin (num 18) (name AVCC) (type power_in))
        (pin (num 19) (name ADC6) (type input))
        (pin (num 20) (name AREF) (type passive))
        (pin (num 21) (name GND) (type passive))
        (pin (num 22) (name ADC7) (type input))
        (pin (num 23) (name PC0) (type BiDi))
        (pin (num 24) (name PC1) (type BiDi))
        (pin (num 25) (name PC2) (type BiDi))
        (pin (num 26) (name PC3) (type BiDi))
        (pin (num 27) (name PC4) (type BiDi))
        (pin (num 28) (name PC5) (type BiDi))
        (pin (num 29) (name ~RESET~/PC6) (type BiDi))
        (pin (num 30) (name PD0) (type BiDi))
        (pin (num 31) (name PD1) (type BiDi))
        (pin (num 32) (name PD2) (type BiDi))))
    (libpart (lib Regulator_Linear) (part AP1117-15)
      (aliases
        (alias AP1117-18)
        (alias AP1117-25)
        (alias AP1117-33)
        (alias AP1117-50)
        (alias LD1117S33TR_SOT223)
        (alias LD1117S12TR_SOT223)
        (alias LD1117S18TR_SOT223)
        (alias LD1117S25TR_SOT223)
        (alias LD1117S50TR_SOT223)
        (alias NCP1117-12_SOT223)
        (alias NCP1117-1.5_SOT223)
        (alias NCP1117-1.8_SOT223)
        (alias NCP1117-2.0_SOT223)
        (alias NCP1117-2.5_SOT223)
        (alias NCP1117-2.85_SOT223)
        (alias NCP1117-3.3_SOT223)
        (alias NCP1117-5.0_SOT223)
        (alias AMS1117-1.5)
        (alias AMS1117-1.8)
        (alias AMS1117-2.5)
        (alias AMS1117-2.85)
        (alias AMS1117-3.3)
        (alias AMS1117-5.0))
      (description "1A Low Dropout regulator, positive, 1.5V fixed output, SOT-223")
      (docs http://www.diodes.com/datasheets/AP1117.pdf)
      (footprints
        (fp SOT?223*TabPin2*))
      (fields
        (field (name Reference) U)
        (field (name Value) AP1117-15)
        (field (name Footprint) Package_TO_SOT_SMD:SOT-223-3_TabPin2))
      (pins
        (pin (num 1) (name GND) (type power_in))
        (pin (num 2) (name VO) (type power_out))
        (pin (num 3) (name VI) (type power_in))))
    (libpart (lib Switch) (part SW_Push)
      (description "Push button switch, generic, two pins")
      (docs ~)
      (fields
        (field (name Reference) SW)
        (field (name Value) SW_Push))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib Transistor_BJT) (part BC817)
      (aliases
        (alias BC818)
        (alias BC846)
        (alias BC847)
        (alias BC848)
        (alias BC849)
        (alias BC850)
        (alias MMBT3904)
        (alias MMBT5550L)
        (alias MMBT5551L))
      (description "0.8A Ic, 45V Vce, NPN Transistor, SOT-23")
      (docs https://www.onsemi.com/pub/Collateral/BC818-D.pdf)
      (footprints
        (fp SOT?23*))
      (fields
        (field (name Reference) Q)
        (field (name Value) BC817)
        (field (name Footprint) Package_TO_SOT_SMD:SOT-23))
      (pins
        (pin (num 1) (name B) (type input))
        (pin (num 2) (name E) (type passive))
        (pin (num 3) (name C) (type passive)))))
  (libraries
    (library (logical Connector)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector.lib"))
    (library (logical Connector_Generic)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector_Generic.lib"))
    (library (logical Device)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Device.lib"))
    (library (logical Diode)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Diode.lib"))
    (library (logical Isolator)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Isolator.lib"))
    (library (logical Jumper)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Jumper.lib"))
    (library (logical MCU_Microchip_ATmega)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/MCU_Microchip_ATmega.lib"))
    (library (logical Regulator_Linear)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Regulator_Linear.lib"))
    (library (logical Switch)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Switch.lib"))
    (library (logical Transistor_BJT)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Transistor_BJT.lib")))
  (nets
    (net (code 1) (name TXD)
      (node (ref J5) (pin 4))
      (node (ref JP2) (pin 3))
      (node (ref U1) (pin 31)))
    (net (code 2) (name RXD)
      (node (ref J5) (pin 6))
      (node (ref U1) (pin 30))
      (node (ref JP1) (pin 3)))
    (net (code 3) (name D6-PWM)
      (node (ref R10) (pin 1))
      (node (ref JP6) (pin 1))
      (node (ref U1) (pin 10)))
    (net (code 4) (name TXD2-PWM)
      (node (ref U1) (pin 13))
      (node (ref JP2) (pin 2)))
    (net (code 5) (name Earth)
      (node (ref J1) (pin 2))
      (node (ref C11) (pin 2))
      (node (ref C10) (pin 2))
      (node (ref C2) (pin 2))
      (node (ref C5) (pin 2))
      (node (ref C1) (pin 2))
      (node (ref J5) (pin 10))
      (node (ref J5) (pin 8))
      (node (ref C3) (pin 1))
      (node (ref C4) (pin 1))
      (node (ref J2) (pin 1))
      (node (ref R13) (pin 1))
      (node (ref C9) (pin 2))
      (node (ref SW1) (pin 2))
      (node (ref J4) (pin 1))
      (node (ref U1) (pin 21))
      (node (ref C7) (pin 2))
      (node (ref U1) (pin 5))
      (node (ref U1) (pin 3))
      (node (ref U5) (pin 2))
      (node (ref C6) (pin 2))
      (node (ref D4) (pin 1))
      (node (ref D3) (pin 1))
      (node (ref U6) (pin 2))
      (node (ref Q3) (pin 2))
      (node (ref Q4) (pin 2))
      (node (ref U3) (pin 2))
      (node (ref U4) (pin 2))
      (node (ref Q1) (pin 2))
      (node (ref R11) (pin 1))
      (node (ref J3) (pin 3))
      (node (ref Q2) (pin 2))
      (node (ref C8) (pin 2)))
    (net (code 6) (name "Net-(D10-Pad2)")
      (node (ref U1) (pin 28))
      (node (ref D10) (pin 2)))
    (net (code 7) (name A3)
      (node (ref R11) (pin 2))
      (node (ref R12) (pin 1))
      (node (ref U1) (pin 26)))
    (net (code 8) (name "Net-(D3-Pad2)")
      (node (ref U2) (pin 1))
      (node (ref D3) (pin 2)))
    (net (code 9) (name D5-PWM)
      (node (ref R9) (pin 1))
      (node (ref JP5) (pin 1))
      (node (ref U1) (pin 9)))
    (net (code 10) (name "Net-(D9-Pad2)")
      (node (ref U1) (pin 27))
      (node (ref D9) (pin 2)))
    (net (code 11) (name RXD2)
      (node (ref U1) (pin 12))
      (node (ref JP1) (pin 2)))
    (net (code 12) (name "Net-(Q2-Pad1)")
      (node (ref U4) (pin 3))
      (node (ref Q2) (pin 1)))
    (net (code 13) (name +5V)
      (node (ref C11) (pin 1))
      (node (ref R3) (pin 1))
      (node (ref U6) (pin 4))
      (node (ref U1) (pin 4))
      (node (ref U2) (pin 2))
      (node (ref U1) (pin 6))
      (node (ref J5) (pin 2))
      (node (ref C3) (pin 2))
      (node (ref C4) (pin 2))
      (node (ref R5) (pin 2))
      (node (ref C5) (pin 1))
      (node (ref C10) (pin 1))
      (node (ref U1) (pin 18))
      (node (ref C6) (pin 1))
      (node (ref R4) (pin 1))
      (node (ref J3) (pin 7))
      (node (ref U5) (pin 4))
      (node (ref D2) (pin 2))
      (node (ref C9) (pin 1))
      (node (ref U3) (pin 4))
      (node (ref U4) (pin 4))
      (node (ref R6) (pin 1)))
    (net (code 14) (name "Net-(R8-Pad2)")
      (node (ref U4) (pin 1))
      (node (ref R8) (pin 2)))
    (net (code 15) (name SCK)
      (node (ref J5) (pin 7))
      (node (ref U1) (pin 17)))
    (net (code 16) (name PINT1-PWM)
      (node (ref JP4) (pin 2))
      (node (ref J3) (pin 6))
      (node (ref Q2) (pin 3)))
    (net (code 17) (name INT1-PWM)
      (node (ref JP4) (pin 1))
      (node (ref R8) (pin 1))
      (node (ref U1) (pin 1)))
    (net (code 18) (name PA3)
      (node (ref J3) (pin 1))
      (node (ref R12) (pin 2)))
    (net (code 19) (name PD5-PWM)
      (node (ref J3) (pin 8))
      (node (ref Q3) (pin 3))
      (node (ref JP5) (pin 2)))
    (net (code 20) (name SDA)
      (node (ref J3) (pin 2))
      (node (ref R3) (pin 2))
      (node (ref D9) (pin 1)))
    (net (code 21) (name SCL)
      (node (ref R6) (pin 2))
      (node (ref D10) (pin 1))
      (node (ref J3) (pin 4)))
    (net (code 22) (name VCC)
      (node (ref J3) (pin 5))
      (node (ref D1) (pin 2))
      (node (ref J2) (pin 5))
      (node (ref J1) (pin 1)))
    (net (code 23) (name SS-PWM)
      (node (ref R7) (pin 1))
      (node (ref U1) (pin 14))
      (node (ref JP3) (pin 1)))
    (net (code 24) (name PD6-PWM)
      (node (ref J4) (pin 2))
      (node (ref JP6) (pin 2))
      (node (ref Q4) (pin 3)))
    (net (code 25) (name "Net-(J4-Pad3)")
      (node (ref JP1) (pin 1))
      (node (ref J4) (pin 3)))
    (net (code 26) (name "Net-(J4-Pad4)")
      (node (ref J4) (pin 4))
      (node (ref JP2) (pin 1)))
    (net (code 27) (name A0)
      (node (ref U1) (pin 23))
      (node (ref D8) (pin 2)))
    (net (code 28) (name MOSI-PWM)
      (node (ref J5) (pin 9))
      (node (ref U1) (pin 15)))
    (net (code 29) (name PA2)
      (node (ref R14) (pin 2))
      (node (ref J2) (pin 4)))
    (net (code 30) (name A1)
      (node (ref D7) (pin 2))
      (node (ref U1) (pin 24)))
    (net (code 31) (name PA0)
      (node (ref D8) (pin 1))
      (node (ref J2) (pin 2)))
    (net (code 32) (name PA1)
      (node (ref J2) (pin 3))
      (node (ref D7) (pin 1)))
    (net (code 33) (name A2)
      (node (ref U1) (pin 25))
      (node (ref R14) (pin 1))
      (node (ref R13) (pin 2)))
    (net (code 34) (name "Net-(C8-Pad1)")
      (node (ref Y1) (pin 2))
      (node (ref R2) (pin 1))
      (node (ref U1) (pin 8))
      (node (ref C8) (pin 1)))
    (net (code 35) (name "Net-(U1-Pad32)")
      (node (ref U1) (pin 32)))
    (net (code 36) (name "Net-(U1-Pad2)")
      (node (ref U1) (pin 2)))
    (net (code 37) (name "Net-(U1-Pad19)")
      (node (ref U1) (pin 19)))
    (net (code 38) (name "Net-(U1-Pad11)")
      (node (ref U1) (pin 11)))
    (net (code 39) (name "Net-(U1-Pad20)")
      (node (ref U1) (pin 20)))
    (net (code 40) (name "Net-(U1-Pad22)")
      (node (ref U1) (pin 22)))
    (net (code 41) (name "Net-(C7-Pad1)")
      (node (ref Y1) (pin 1))
      (node (ref R2) (pin 2))
      (node (ref C7) (pin 1))
      (node (ref U1) (pin 7)))
    (net (code 42) (name RESET)
      (node (ref C12) (pin 2))
      (node (ref U1) (pin 29))
      (node (ref R5) (pin 1))
      (node (ref SW1) (pin 1)))
    (net (code 43) (name "Net-(C1-Pad1)")
      (node (ref C1) (pin 1))
      (node (ref R1) (pin 1))
      (node (ref D1) (pin 1)))
    (net (code 44) (name "Net-(J5-Pad3)")
      (node (ref J5) (pin 3)))
    (net (code 45) (name MISO)
      (node (ref J5) (pin 1))
      (node (ref U1) (pin 16)))
    (net (code 46) (name "Net-(C12-Pad1)")
      (node (ref C12) (pin 1))
      (node (ref J5) (pin 5)))
    (net (code 47) (name "Net-(R10-Pad2)")
      (node (ref U6) (pin 1))
      (node (ref R10) (pin 2)))
    (net (code 48) (name "Net-(Q4-Pad1)")
      (node (ref U6) (pin 3))
      (node (ref Q4) (pin 1)))
    (net (code 49) (name "Net-(Q3-Pad1)")
      (node (ref Q3) (pin 1))
      (node (ref U5) (pin 3)))
    (net (code 50) (name "Net-(R7-Pad2)")
      (node (ref R7) (pin 2))
      (node (ref U3) (pin 1)))
    (net (code 51) (name "Net-(Q1-Pad1)")
      (node (ref U3) (pin 3))
      (node (ref Q1) (pin 1)))
    (net (code 52) (name PSS-PWM)
      (node (ref Q1) (pin 3))
      (node (ref JP3) (pin 2))
      (node (ref J4) (pin 5)))
    (net (code 53) (name "Net-(D4-Pad2)")
      (node (ref D4) (pin 2))
      (node (ref R4) (pin 2)))
    (net (code 54) (name "Net-(C2-Pad1)")
      (node (ref R1) (pin 2))
      (node (ref C2) (pin 1))
      (node (ref D2) (pin 1))
      (node (ref U2) (pin 3)))
    (net (code 55) (name "Net-(R9-Pad2)")
      (node (ref R9) (pin 2))
      (node (ref U5) (pin 1)))))