(export (version D) (design (source M:\Data_hot\PROJECTS\universal_MCU\universal_MCU.sch) (date "31/05/2019 21:14:52") (tool "Eeschema (5.0.2)-1") (sheet (number 1) (name /) (tstamps /) (title_block (title) (company) (rev) (date) (source universal_MCU.sch) (comment (number 1) (value "")) (comment (number 2) (value "")) (comment (number 3) (value "")) (comment (number 4) (value ""))))) (components (comp (ref U1) (value ATTINY816VQFN) (footprint Package_DFN_QFN:VQFN-20-1EP_3x3mm_P0.45mm_EP1.55x1.55mm) (datasheet http://www.mouser.com/ds/2/268/Atmel-42721-AVR-ATtiny417-814-816-817_Complete-1025976.pdf) (libsource (lib Custom_parts) (part ATTINY816VQFN) (description "8-bit Microcontrollers - MCU AVR 8-bit Microcontroller")) (sheetpath (names /) (tstamps /)) (tstamp 5C5789FB)) (comp (ref Q1) (value Q_NMOS_GSD) (footprint Package_TO_SOT_SMD:SOT-23) (datasheet ~) (libsource (lib Device) (part Q_NMOS_GSD) (description "N-MOSFET transistor, gate/source/drain")) (sheetpath (names /) (tstamps /)) (tstamp 5C57A7D0)) (comp (ref R14) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C57A814)) (comp (ref R15) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C57AB62)) (comp (ref Q3) (value Q_NMOS_GSD) (footprint Package_TO_SOT_SMD:SOT-23) (datasheet ~) (libsource (lib Device) (part Q_NMOS_GSD) (description "N-MOSFET transistor, gate/source/drain")) (sheetpath (names /) (tstamps /)) (tstamp 5C57B1BE)) (comp (ref R18) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C57B1C5)) (comp (ref R19) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C57B1CC)) (comp (ref Q2) (value Q_NMOS_GSD) (footprint Package_TO_SOT_SMD:SOT-23) (datasheet ~) (libsource (lib Device) (part Q_NMOS_GSD) (description "N-MOSFET transistor, gate/source/drain")) (sheetpath (names /) (tstamps /)) (tstamp 5C57B25F)) (comp (ref R16) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C57B266)) (comp (ref R17) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C57B26D)) (comp (ref Q4) (value Q_NMOS_GSD) (footprint Package_TO_SOT_SMD:SOT-23) (datasheet ~) (libsource (lib Device) (part Q_NMOS_GSD) (description "N-MOSFET transistor, gate/source/drain")) (sheetpath (names /) (tstamps /)) (tstamp 5C57B300)) (comp (ref R20) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C57B307)) (comp (ref R21) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C57B30E)) (comp (ref C1) (value 0.1uF) (footprint Capacitor_SMD:C_1206_3216Metric) (datasheet ~) (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C58DE2F)) (comp (ref C2) (value 2uF) (footprint Capacitor_SMD:C_1206_3216Metric) (datasheet ~) (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C5B5FE8)) (comp (ref U3) (value AP7381-50SA-7) (footprint Package_TO_SOT_SMD:SOT-23) (libsource (lib Custom_parts) (part AP7381-50SA-7) (description "5V LDO regulator")) (sheetpath (names /) (tstamps /)) (tstamp 5C5CF6C2)) (comp (ref C3) (value 1uF) (footprint Capacitor_SMD:C_1206_3216Metric) (datasheet ~) (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C5D43B1)) (comp (ref RV1) (value R_POT) (datasheet ~) (libsource (lib Device) (part R_POT) (description Potentiometer)) (sheetpath (names /) (tstamps /)) (tstamp 5C900F66)) (comp (ref spindle_enable1) (value Conn_01x01_Male) (footprint Custom_footprints:edge_pad) (datasheet ~) (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")) (sheetpath (names /) (tstamps /)) (tstamp 5C90714F)) (comp (ref spindle_step1) (value Conn_01x01_Male) (footprint Custom_footprints:edge_pad) (datasheet ~) (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")) (sheetpath (names /) (tstamps /)) (tstamp 5C907664)) (comp (ref spindle_dir1) (value Conn_01x01_Male) (footprint Custom_footprints:edge_pad) (datasheet ~) (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")) (sheetpath (names /) (tstamps /)) (tstamp 5C9076FA)) (comp (ref feed_dir1) (value Conn_01x01_Male) (footprint Custom_footprints:edge_pad) (datasheet ~) (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")) (sheetpath (names /) (tstamps /)) (tstamp 5C907BFA)) (comp (ref feed_step1) (value Conn_01x01_Male) (footprint Custom_footprints:edge_pad) (datasheet ~) (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")) (sheetpath (names /) (tstamps /)) (tstamp 5C907C90)) (comp (ref feed_enable1) (value Conn_01x01_Male) (footprint Custom_footprints:edge_pad) (datasheet ~) (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")) (sheetpath (names /) (tstamps /)) (tstamp 5C907D4E)) (comp (ref R2) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C909E4C)) (comp (ref R4) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C909F9C)) (comp (ref D1) (value D) (datasheet ~) (libsource (lib Device) (part D) (description Diode)) (sheetpath (names /) (tstamps /)) (tstamp 5C90A8BF)) (comp (ref D3) (value D) (datasheet ~) (libsource (lib Device) (part D) (description Diode)) (sheetpath (names /) (tstamps /)) (tstamp 5C90AAC1)) (comp (ref D2) (value D) (datasheet ~) (libsource (lib Device) (part D) (description Diode)) (sheetpath (names /) (tstamps /)) (tstamp 5C90F614)) (comp (ref D4) (value D) (datasheet ~) (libsource (lib Device) (part D) (description Diode)) (sheetpath (names /) (tstamps /)) (tstamp 5C911EE8)) (comp (ref R3) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C920682)) (comp (ref R1) (value 0) (footprint Resistor_SMD:R_0402_1005Metric) (datasheet ~) (libsource (lib Device) (part R_Small) (description "Resistor, small symbol")) (sheetpath (names /) (tstamps /)) (tstamp 5C92074F)) (comp (ref SW2) (value SW_SPDT_MSM) (libsource (lib Switch) (part SW_SPDT_MSM) (description "Switch, single pole double throw, center OFF position")) (sheetpath (names /) (tstamps /)) (tstamp 5C929342)) (comp (ref SW3) (value SW_SPDT_MSM) (libsource (lib Switch) (part SW_SPDT_MSM) (description "Switch, single pole double throw, center OFF position")) (sheetpath (names /) (tstamps /)) (tstamp 5C929588)) (comp (ref SW1) (value SW_Push_SPDT) (libsource (lib Switch) (part SW_Push_SPDT) (description "Momentary Switch, single pole double throw")) (sheetpath (names /) (tstamps /)) (tstamp 5C9274EE)) (comp (ref J2) (value Conn_01x15) (footprint Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_Vertical) (datasheet ~) (libsource (lib Connector_Generic) (part Conn_01x15) (description "Generic connector, single row, 01x15, script generated (kicad-library-utils/schlib/autogen/connector/)")) (sheetpath (names /) (tstamps /)) (tstamp 5CF280B5)) (comp (ref J1) (value Conn_01x15) (footprint Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_Vertical) (datasheet ~) (libsource (lib Connector_Generic) (part Conn_01x15) (description "Generic connector, single row, 01x15, script generated (kicad-library-utils/schlib/autogen/connector/)")) (sheetpath (names /) (tstamps /)) (tstamp 5CF283B3))) (libparts (libpart (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)") (docs ~) (footprints (fp Connector*:*)) (fields (field (name Reference) J) (field (name Value) Conn_01x01_Male)) (pins (pin (num 1) (name Pin_1) (type passive)))) (libpart (lib Connector_Generic) (part Conn_01x15) (description "Generic connector, single row, 01x15, script generated (kicad-library-utils/schlib/autogen/connector/)") (docs ~) (footprints (fp Connector*:*_1x??_*)) (fields (field (name Reference) J) (field (name Value) Conn_01x15)) (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)) (pin (num 11) (name Pin_11) (type passive)) (pin (num 12) (name Pin_12) (type passive)) (pin (num 13) (name Pin_13) (type passive)) (pin (num 14) (name Pin_14) (type passive)) (pin (num 15) (name Pin_15) (type passive)))) (libpart (lib Custom_parts) (part AP7381-50SA-7) (description "5V LDO regulator") (footprints (fp SOT-23-3)) (fields (field (name Reference) U) (field (name Value) AP7381-50SA-7)) (pins (pin (num 1) (name VIN) (type power_in)) (pin (num 2) (name VOUT) (type power_out)) (pin (num 3) (name GND) (type power_in)))) (libpart (lib Custom_parts) (part ATTINY816VQFN) (description "8-bit Microcontrollers - MCU AVR 8-bit Microcontroller") (docs http://www.mouser.com/ds/2/268/Atmel-42721-AVR-ATtiny417-814-816-817_Complete-1025976.pdf) (footprints (fp VQFN) (fp 20) (fp 0.45) (fp EP)) (fields (field (name Reference) U) (field (name Value) ATTINY816VQFN)) (pins (pin (num 1) (name "PA2_(AIN2/RX1/MISO0/SCL1)") (type BiDi)) (pin (num 2) (name "PA3_(CLKI/AIN3/CK1/SCK0)") (type BiDi)) (pin (num 3) (name GND) (type power_in)) (pin (num 4) (name VCC) (type power_in)) (pin (num 5) (name "PA4_(AIN4/DIR1/~SS0~)") (type BiDi)) (pin (num 6) (name "PA5_(AIN5/DAC0)") (type BiDi)) (pin (num 7) (name "PA6_(AIN6)") (type BiDi)) (pin (num 8) (name "PA7_(AIN7)") (type BiDi)) (pin (num 9) (name "PB5_(CLKOUT/AIN8)") (type BiDi)) (pin (num 10) (name "PB4_(AIN9)") (type BiDi)) (pin (num 11) (name "PB3_(TOSC1/RX0)") (type BiDi)) (pin (num 12) (name "PB2_(TOSC2/TX0)") (type BiDi)) (pin (num 13) (name "PB1_(AIN10/CK0/SDA0)") (type BiDi)) (pin (num 14) (name "PB0_(AIN11/DIR0/SCL0)") (type BiDi)) (pin (num 15) (name "PC0_(SCK1)") (type BiDi)) (pin (num 16) (name "PC1_(MISO1)") (type BiDi)) (pin (num 17) (name "PC2_(MOSI1)") (type BiDi)) (pin (num 18) (name "PC3_(~SS1~)") (type BiDi)) (pin (num 19) (name "PA0_(~RESET~/UPDI/AIN0)") (type BiDi)) (pin (num 20) (name "PA1_(AIN1/TX1/MOSI0/SDA1)") (type BiDi)) (pin (num 21) (name PAD) (type power_out)))) (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 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 Q_NMOS_GSD) (description "N-MOSFET transistor, gate/source/drain") (docs ~) (fields (field (name Reference) Q) (field (name Value) Q_NMOS_GSD)) (pins (pin (num 1) (name G) (type input)) (pin (num 2) (name S) (type passive)) (pin (num 3) (name D) (type passive)))) (libpart (lib Device) (part R_POT) (description Potentiometer) (docs ~) (footprints (fp Potentiometer*)) (fields (field (name Reference) RV) (field (name Value) R_POT)) (pins (pin (num 1) (name 1) (type passive)) (pin (num 2) (name 2) (type passive)) (pin (num 3) (name 3) (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 Switch) (part SW_Push_SPDT) (description "Momentary Switch, single pole double throw") (docs ~) (fields (field (name Reference) SW) (field (name Value) SW_Push_SPDT)) (pins (pin (num 1) (name A) (type passive)) (pin (num 2) (name B) (type passive)) (pin (num 3) (name C) (type passive)))) (libpart (lib Switch) (part SW_SPDT_MSM) (description "Switch, single pole double throw, center OFF position") (docs ~) (fields (field (name Reference) SW) (field (name Value) SW_SPDT_MSM)) (pins (pin (num 1) (name 1) (type passive)) (pin (num 2) (name 2) (type passive)) (pin (num 3) (name 3) (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 Custom_parts) (uri M:/Data_cold/Electronic_component_data_sheets/Custom_parts/Custom_parts.lib)) (library (logical Device) (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Device.lib")) (library (logical Switch) (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Switch.lib"))) (nets (net (code 1) (name "Net-(D3-Pad2)") (node (ref SW2) (pin 1)) (node (ref D3) (pin 2)) (node (ref R3) (pin 1))) (net (code 2) (name "Net-(D2-Pad2)") (node (ref D2) (pin 2)) (node (ref SW3) (pin 1)) (node (ref R1) (pin 1))) (net (code 3) (name GND) (node (ref U1) (pin 21)) (node (ref U1) (pin 3)) (node (ref C2) (pin 2)) (node (ref R17) (pin 2)) (node (ref R21) (pin 2)) (node (ref R19) (pin 2)) (node (ref J2) (pin 8)) (node (ref R15) (pin 2)) (node (ref C1) (pin 2)) (node (ref C3) (pin 2)) (node (ref RV1) (pin 3)) (node (ref U3) (pin 3)) (node (ref J2) (pin 1)) (node (ref R3) (pin 2)) (node (ref R1) (pin 2)) (node (ref R4) (pin 2)) (node (ref R2) (pin 2))) (net (code 4) (name "Net-(D2-Pad1)") (node (ref D2) (pin 1)) (node (ref D4) (pin 1)) (node (ref feed_enable1) (pin 1))) (net (code 5) (name /PC2) (node (ref J2) (pin 13)) (node (ref Q3) (pin 1)) (node (ref U1) (pin 17))) (net (code 6) (name /PC3_high) (node (ref R21) (pin 1)) (node (ref Q4) (pin 2)) (node (ref J2) (pin 12))) (net (code 7) (name /PC3_low) (node (ref Q4) (pin 3)) (node (ref R20) (pin 2)) (node (ref J2) (pin 11))) (net (code 8) (name /PC3) (node (ref U1) (pin 18)) (node (ref J2) (pin 10)) (node (ref Q4) (pin 1))) (net (code 9) (name "Net-(SW1-Pad2)") (node (ref SW1) (pin 2)) (node (ref SW3) (pin 2))) (net (code 10) (name "Net-(D4-Pad2)") (node (ref SW3) (pin 3)) (node (ref D4) (pin 2)) (node (ref feed_dir1) (pin 1)) (node (ref R4) (pin 1))) (net (code 11) (name "Net-(D1-Pad2)") (node (ref R2) (pin 1)) (node (ref D1) (pin 2)) (node (ref SW2) (pin 3)) (node (ref spindle_dir1) (pin 1))) (net (code 12) (name "Net-(feed_step1-Pad1)") (node (ref feed_step1) (pin 1))) (net (code 13) (name /PC2_low) (node (ref R18) (pin 2)) (node (ref Q3) (pin 3)) (node (ref J2) (pin 14))) (net (code 14) (name "Net-(D1-Pad1)") (node (ref SW1) (pin 1)) (node (ref D1) (pin 1)) (node (ref spindle_enable1) (pin 1)) (node (ref D3) (pin 1))) (net (code 15) (name +3V3) (node (ref J2) (pin 7)) (node (ref C1) (pin 1)) (node (ref U3) (pin 2)) (node (ref C2) (pin 1)) (node (ref U1) (pin 4))) (net (code 16) (name VPP) (node (ref SW2) (pin 2)) (node (ref U3) (pin 1)) (node (ref RV1) (pin 1)) (node (ref SW1) (pin 3)) (node (ref C3) (pin 1)) (node (ref R14) (pin 1)) (node (ref J1) (pin 1)) (node (ref R20) (pin 1)) (node (ref R18) (pin 1)) (node (ref R16) (pin 1))) (net (code 17) (name /PB5) (node (ref U1) (pin 9)) (node (ref J1) (pin 4))) (net (code 18) (name /PA7) (node (ref U1) (pin 8)) (node (ref J1) (pin 3))) (net (code 19) (name /PA6) (node (ref U1) (pin 7)) (node (ref J1) (pin 2))) (net (code 20) (name /PC1) (node (ref U1) (pin 16)) (node (ref Q2) (pin 1)) (node (ref J1) (pin 13))) (net (code 21) (name /PC0) (node (ref J1) (pin 10)) (node (ref Q1) (pin 1)) (node (ref U1) (pin 15))) (net (code 22) (name /PB4) (node (ref J1) (pin 5)) (node (ref U1) (pin 10))) (net (code 23) (name /UPDI) (node (ref J2) (pin 9)) (node (ref U1) (pin 19))) (net (code 24) (name /PA1) (node (ref J2) (pin 6)) (node (ref U1) (pin 20))) (net (code 25) (name /PA2) (node (ref U1) (pin 1)) (node (ref J2) (pin 5))) (net (code 26) (name /PA3) (node (ref J2) (pin 4)) (node (ref U1) (pin 2))) (net (code 27) (name /PA4) (node (ref J2) (pin 3)) (node (ref U1) (pin 5))) (net (code 28) (name /PA5) (node (ref U1) (pin 6)) (node (ref J2) (pin 2))) (net (code 29) (name /PC2_high) (node (ref J2) (pin 15)) (node (ref R19) (pin 1)) (node (ref Q3) (pin 2))) (net (code 30) (name "Net-(spindle_step1-Pad1)") (node (ref spindle_step1) (pin 1))) (net (code 31) (name /PB0) (node (ref U1) (pin 14)) (node (ref J1) (pin 9))) (net (code 32) (name /PB1) (node (ref U1) (pin 13)) (node (ref J1) (pin 8))) (net (code 33) (name /PB2) (node (ref U1) (pin 12)) (node (ref J1) (pin 7))) (net (code 34) (name /PB3) (node (ref J1) (pin 6)) (node (ref U1) (pin 11))) (net (code 35) (name /PC1_low) (node (ref R16) (pin 2)) (node (ref J1) (pin 15)) (node (ref Q2) (pin 3))) (net (code 36) (name /PC1_high) (node (ref Q2) (pin 2)) (node (ref J1) (pin 14)) (node (ref R17) (pin 1))) (net (code 37) (name /PC0_high) (node (ref Q1) (pin 2)) (node (ref R15) (pin 1)) (node (ref J1) (pin 11))) (net (code 38) (name PAD) (node (ref U1) (pin 21))) (net (code 39) (name /PC0_low) (node (ref R14) (pin 2)) (node (ref Q1) (pin 3)) (node (ref J1) (pin 12))) (net (code 40) (name "Net-(RV1-Pad2)") (node (ref RV1) (pin 2)))))