C:\Users\janka\Documents\KiCad\Keyboard Test 2\KT1.sch 4/6/2016 5:21:33 PM Eeschema 4.0.2-stable <company/> <rev/> <date/> <source>KT1.sch</source> <comment number="1" value=""/> <comment number="2" value=""/> <comment number="3" value=""/> <comment number="4" value=""/> </title_block> </sheet> </design> <components> <comp ref="SW1"> <value>SW_R1C1</value> <footprint>Keyboard:CHERRY_PCB_100H</footprint> <libsource lib="device" part="SW_PUSH"/> <sheetpath names="/" tstamps="/"/> <tstamp>57039F51</tstamp> </comp> <comp ref="D1"> <value>D</value> <footprint>Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10</footprint> <libsource lib="device" part="D"/> <sheetpath names="/" tstamps="/"/> <tstamp>57039FAC</tstamp> </comp> <comp ref="SW4"> <value>SW_R1C2</value> <footprint>Keyboard:CHERRY_PCB_100H</footprint> <libsource lib="device" part="SW_PUSH"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A08B</tstamp> </comp> <comp ref="D4"> <value>D</value> <footprint>Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10</footprint> <libsource lib="device" part="D"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A091</tstamp> </comp> <comp ref="SW7"> <value>SW_R1C3</value> <footprint>Keyboard:CHERRY_PCB_100H</footprint> <libsource lib="device" part="SW_PUSH"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A1E5</tstamp> </comp> <comp ref="D7"> <value>D</value> <footprint>Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10</footprint> <libsource lib="device" part="D"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A1EB</tstamp> </comp> <comp ref="SW2"> <value>SW_R2C1</value> <footprint>Keyboard:CHERRY_PCB_100H</footprint> <libsource lib="device" part="SW_PUSH"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A303</tstamp> </comp> <comp ref="D2"> <value>D</value> <footprint>Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10</footprint> <libsource lib="device" part="D"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A309</tstamp> </comp> <comp ref="SW5"> <value>SW_R2C2</value> <footprint>Keyboard:CHERRY_PCB_100H</footprint> <libsource lib="device" part="SW_PUSH"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A313</tstamp> </comp> <comp ref="D5"> <value>D</value> <footprint>Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10</footprint> <libsource lib="device" part="D"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A319</tstamp> </comp> <comp ref="SW8"> <value>SW_R2C3</value> <footprint>Keyboard:CHERRY_PCB_100H</footprint> <libsource lib="device" part="SW_PUSH"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A323</tstamp> </comp> <comp ref="D8"> <value>D</value> <footprint>Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10</footprint> <libsource lib="device" part="D"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A329</tstamp> </comp> <comp ref="SW3"> <value>SW_R3C1</value> <footprint>Keyboard:CHERRY_PCB_100H</footprint> <libsource lib="device" part="SW_PUSH"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A5A9</tstamp> </comp> <comp ref="D3"> <value>D</value> <footprint>Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10</footprint> <libsource lib="device" part="D"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A5AF</tstamp> </comp> <comp ref="SW6"> <value>SW_R3C2</value> <footprint>Keyboard:CHERRY_PCB_100H</footprint> <libsource lib="device" part="SW_PUSH"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A5B9</tstamp> </comp> <comp ref="D6"> <value>D</value> <footprint>Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10</footprint> <libsource lib="device" part="D"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A5BF</tstamp> </comp> <comp ref="SW9"> <value>SW_R3C3</value> <footprint>Keyboard:CHERRY_PCB_100H</footprint> <libsource lib="device" part="SW_PUSH"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A5C9</tstamp> </comp> <comp ref="D9"> <value>D</value> <footprint>Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10</footprint> <libsource lib="device" part="D"/> <sheetpath names="/" tstamps="/"/> <tstamp>5703A5CF</tstamp> </comp> <comp ref="U1"> <value>ATmega32U4</value> <footprint>Housings_QFP:TQFP-44_10x10mm_Pitch0.8mm</footprint> <libsource lib="atmel" part="ATmega32U4"/> <sheetpath names="/" tstamps="/"/> <tstamp>5704A83B</tstamp> </comp> <comp ref="P1"> <value>USB_OTG</value> <footprint>Connect:USB_Mini-B</footprint> <libsource lib="conn" part="USB_OTG"/> <sheetpath names="/" tstamps="/"/> <tstamp>5704B50F</tstamp> </comp> <comp ref="R2"> <value>22</value> <footprint>Resistors_SMD:R_0603_HandSoldering</footprint> <libsource lib="device" part="R"/> <sheetpath names="/" tstamps="/"/> <tstamp>5704BB7F</tstamp> </comp> <comp ref="R1"> <value>22</value> <footprint>Resistors_SMD:R_0603_HandSoldering</footprint> <libsource lib="device" part="R"/> <sheetpath names="/" tstamps="/"/> <tstamp>5704C2B3</tstamp> </comp> <comp ref="C1"> <value>10pF</value> <footprint>Capacitors_SMD:C_0603_HandSoldering</footprint> <libsource lib="device" part="C"/> <sheetpath names="/" tstamps="/"/> <tstamp>5704DC79</tstamp> </comp> <comp ref="C2"> <value>10pF</value> <footprint>Capacitors_SMD:C_0603_HandSoldering</footprint> <libsource lib="device" part="C"/> <sheetpath names="/" tstamps="/"/> <tstamp>5704DD33</tstamp> </comp> <comp ref="Y1"> <value>16MHz</value> <footprint>Keyboards:HC49SM</footprint> <libsource lib="device" part="Crystal"/> <sheetpath names="/" tstamps="/"/> <tstamp>5704DD87</tstamp> </comp> <comp ref="SW10"> <value>SW_RESET</value> <footprint>Buttons_Switches_SMD:SW_SPST_FSMSM</footprint> <libsource lib="device" part="SW_PUSH"/> <sheetpath names="/" tstamps="/"/> <tstamp>570516A9</tstamp> </comp> <comp ref="C3"> <value>1uF</value> <footprint>Capacitors_SMD:C_0603_HandSoldering</footprint> <libsource lib="device" part="C"/> <sheetpath names="/" tstamps="/"/> <tstamp>5705924F</tstamp> </comp> <comp ref="U2"> <value>ISP</value> <footprint>Connect:PINHEAD1-6</footprint> <libsource lib="components" part="ISP"/> <sheetpath names="/" tstamps="/"/> <tstamp>5705CF24</tstamp> </comp> </components> <libparts> <libpart lib="atmel" part="ATmega32U4"> <footprints> <fp>TQFP44</fp> <fp>QFN</fp> </footprints> <fields> <field name="Reference">U</field> <field name="Value">ATmega32U4</field> </fields> <pins> <pin num="1" name="(INT6/AIN0)PE6" type="input"/> <pin num="2" name="UVCC" type="input"/> <pin num="3" name="D-" type="input"/> <pin num="4" name="D+" type="input"/> <pin num="5" name="UGND" type="input"/> <pin num="6" name="UCAP" type="input"/> <pin num="7" name="VBUS" type="input"/> <pin num="8" name="(SS/PCINT0)PB0" type="input"/> <pin num="9" name="(SCLK/PCINT1)PB1" type="input"/> <pin num="10" name="(PDI/MOSI/PCINT2)PB2" type="input"/> <pin num="11" name="(PDO/MISO/PCINT3)PB3" type="input"/> <pin num="12" name="(OC0A/OC1C/~RTS~/PCINT7)PB7" type="input"/> <pin num="13" name="RESET" type="input"/> <pin num="14" name="VCC" type="input"/> <pin num="15" name="GND" type="input"/> <pin num="16" name="XTAL2" type="input"/> <pin num="17" name="XTAL1" type="input"/> <pin num="18" name="(OC0B/SCL/INT0)PD0" type="input"/> <pin num="19" name="(SDA/INT1)PD1" type="input"/> <pin num="20" name="(RXD/INT2)PD2" type="input"/> <pin num="21" name="(TXD/INT3)PD3" type="input"/> <pin num="22" name="(XCK1/~CTS~)PD5" type="input"/> <pin num="23" name="GND" type="input"/> <pin num="24" name="AVCC" type="input"/> <pin num="25" name="(ICP2/ADC8)PD4" type="input"/> <pin num="26" name="(T1/~OC4D~/ADC9)PD6" type="input"/> <pin num="27" name="(T0/OC4D/ADC10)PD7" type="input"/> <pin num="28" name="(ADC11/PCINT4)PB4" type="input"/> <pin num="29" name="(ADC12/OC1A/~OC4B~/PCINT12)PB5" type="input"/> <pin num="30" name="(ADC13/OC1B/OC4B/PCINT13)PB6" type="input"/> <pin num="31" name="(OC3A/~OC4A~)PC6" type="input"/> <pin num="32" name="(ICP3/CLK0/OC4A)PC7" type="input"/> <pin num="33" name="(~HWB~)PE2" type="input"/> <pin num="34" name="VCC" type="input"/> <pin num="35" name="GND" type="input"/> <pin num="36" name="(ADC7/TDI)PF7" type="input"/> <pin num="37" name="(ADC6/TDO)PF6" type="input"/> <pin num="38" name="(ADC5/TMS)PF5" type="input"/> <pin num="39" name="(ADC4/TCK)PF4" type="input"/> <pin num="40" name="(ADC1)PF1" type="input"/> <pin num="41" name="(ADC0)PF0" type="input"/> <pin num="42" name="AREF" type="input"/> <pin num="43" name="GND" type="input"/> <pin num="44" name="AVCC" type="input"/> </pins> </libpart> <libpart lib="device" part="C"> <description>Unpolarized capacitor</description> <footprints> <fp>C?</fp> <fp>C_????_*</fp> <fp>C_????</fp> <fp>SMD*_c</fp> <fp>Capacitor*</fp> </footprints> <fields> <field name="Reference">C</field> <field name="Value">C</field> </fields> <pins> <pin num="1" name="~" type="passive"/> <pin num="2" name="~" type="passive"/> </pins> </libpart> <libpart lib="device" part="Crystal"> <description>Two pin crystal</description> <footprints> <fp>Crystal_*</fp> </footprints> <fields> <field name="Reference">Y</field> <field name="Value">Crystal</field> </fields> <pins> <pin num="1" name="1" type="passive"/> <pin num="2" name="2" type="passive"/> </pins> </libpart> <libpart lib="device" part="D"> <description>Diode</description> <footprints> <fp>Diode_*</fp> <fp>D-Pak_TO252AA</fp> <fp>*SingleDiode</fp> <fp>*_Diode_*</fp> <fp>*SingleDiode*</fp> </footprints> <fields> <field name="Reference">D</field> <field name="Value">D</field> </fields> <pins> <pin num="1" name="K" type="passive"/> <pin num="2" name="A" type="passive"/> </pins> </libpart> <libpart lib="components" part="ISP"> <fields> <field name="Reference">U</field> <field name="Value">ISP</field> </fields> <pins> <pin num="1" name="MISO" type="input"/> <pin num="2" name="VCC" type="input"/> <pin num="3" name="SCK" type="input"/> <pin num="4" name="MOSI" type="input"/> <pin num="5" name="RST" type="input"/> <pin num="6" name="GND" type="input"/> </pins> </libpart> <libpart lib="device" part="R"> <description>Resistor</description> <footprints> <fp>R_*</fp> <fp>Resistor_*</fp> </footprints> <fields> <field name="Reference">R</field> <field name="Value">R</field> </fields> <pins> <pin num="1" name="~" type="passive"/> <pin num="2" name="~" type="passive"/> </pins> </libpart> <libpart lib="device" part="SW_PUSH"> <description>Button</description> <fields> <field name="Reference">SW</field> <field name="Value">SW_PUSH</field> </fields> <pins> <pin num="1" name="1" type="passive"/> <pin num="2" name="2" type="passive"/> </pins> </libpart> <libpart lib="conn" part="USB_OTG"> <description>micro/mini connector</description> <footprints> <fp>USB*</fp> </footprints> <fields> <field name="Reference">P</field> <field name="Value">USB_OTG</field> </fields> <pins> <pin num="1" name="VCC" type="power_out"/> <pin num="2" name="D-" type="passive"/> <pin num="3" name="D+" type="passive"/> <pin num="4" name="ID" type="power_in"/> <pin num="5" name="GND" type="power_in"/> <pin num="6" name="shield" type="passive"/> </pins> </libpart> </libparts> <libraries> <library logical="device"> <uri>C:\Program Files\KiCad\share\kicad\library\device.lib</uri> </library> <library logical="conn"> <uri>C:\Program Files\KiCad\share\kicad\library\conn.lib</uri> </library> <library logical="atmel"> <uri>C:\Program Files\KiCad\share\kicad\library\atmel.lib</uri> </library> <library logical="components"> <uri>C:\Users\janka\Documents\KiCad\KiCAD-Keyboard-Tutorial\components.lib</uri> </library> </libraries> <nets> <net code="1" name="Net-(R2-Pad1)"> <node ref="R2" pin="1"/> <node ref="U1" pin="4"/> </net> <net code="2" name="Net-(R1-Pad1)"> <node ref="R1" pin="1"/> <node ref="U1" pin="3"/> </net> <net code="3" name="Net-(P1-Pad2)"> <node ref="R1" pin="2"/> <node ref="P1" pin="2"/> </net> <net code="4" name="Net-(P1-Pad3)"> <node ref="R2" pin="2"/> <node ref="P1" pin="3"/> </net> <net code="5" name="Net-(D7-Pad2)"> <node ref="D7" pin="2"/> <node ref="SW7" pin="2"/> </net> <net code="6" name="Net-(D2-Pad2)"> <node ref="SW2" pin="2"/> <node ref="D2" pin="2"/> </net> <net code="7" name="Net-(D5-Pad2)"> <node ref="D5" pin="2"/> <node ref="SW5" pin="2"/> </net> <net code="8" name="Net-(D8-Pad2)"> <node ref="D8" pin="2"/> <node ref="SW8" pin="2"/> </net> <net code="9" name="Net-(D3-Pad2)"> <node ref="D3" pin="2"/> <node ref="SW3" pin="2"/> </net> <net code="10" name="Net-(D6-Pad2)"> <node ref="D6" pin="2"/> <node ref="SW6" pin="2"/> </net> <net code="11" name="Net-(D9-Pad2)"> <node ref="SW9" pin="2"/> <node ref="D9" pin="2"/> </net> <net code="12" name="Net-(U1-Pad9)"> <node ref="U2" pin="3"/> <node ref="U1" pin="9"/> </net> <net code="13" name="Net-(U1-Pad11)"> <node ref="U1" pin="11"/> <node ref="U2" pin="1"/> </net> <net code="14" name="Net-(U1-Pad10)"> <node ref="U2" pin="4"/> <node ref="U1" pin="10"/> </net> <net code="15" name="Net-(SW10-Pad2)"> <node ref="U2" pin="5"/> <node ref="SW10" pin="2"/> <node ref="U1" pin="13"/> </net> <net code="16" name="GND"> <node ref="P1" pin="5"/> <node ref="SW10" pin="1"/> <node ref="C1" pin="2"/> <node ref="C2" pin="2"/> <node ref="U1" pin="35"/> <node ref="C3" pin="2"/> <node ref="U1" pin="23"/> <node ref="U1" pin="33"/> <node ref="U1" pin="43"/> <node ref="U1" pin="5"/> <node ref="U1" pin="15"/> <node ref="U2" pin="6"/> </net> <net code="17" name="Net-(P1-Pad1)"> <node ref="P1" pin="1"/> <node ref="U1" pin="7"/> <node ref="U1" pin="2"/> <node ref="U1" pin="14"/> <node ref="U1" pin="24"/> <node ref="U1" pin="34"/> <node ref="U1" pin="44"/> <node ref="U2" pin="2"/> </net> <net code="18" name="Net-(C2-Pad1)"> <node ref="Y1" pin="2"/> <node ref="C2" pin="1"/> <node ref="U1" pin="16"/> </net> <net code="19" name="Net-(C1-Pad1)"> <node ref="U1" pin="17"/> <node ref="Y1" pin="1"/> <node ref="C1" pin="1"/> </net> <net code="20" name="/ROW1"> <node ref="SW4" pin="1"/> <node ref="SW7" pin="1"/> <node ref="SW1" pin="1"/> <node ref="U1" pin="41"/> </net> <net code="21" name="/ROW2"> <node ref="SW5" pin="1"/> <node ref="U1" pin="40"/> <node ref="SW8" pin="1"/> <node ref="SW2" pin="1"/> </net> <net code="22" name="/ROW3"> <node ref="SW9" pin="1"/> <node ref="SW6" pin="1"/> <node ref="SW3" pin="1"/> <node ref="U1" pin="39"/> </net> <net code="23" name="/COL3"> <node ref="U1" pin="36"/> <node ref="D9" pin="1"/> <node ref="D8" pin="1"/> <node ref="D7" pin="1"/> </net> <net code="24" name="Net-(U1-Pad1)"> <node ref="U1" pin="1"/> </net> <net code="25" name="Net-(C3-Pad1)"> <node ref="U1" pin="6"/> <node ref="C3" pin="1"/> </net> <net code="26" name="Net-(U1-Pad8)"> <node ref="U1" pin="8"/> </net> <net code="27" name="Net-(U1-Pad20)"> <node ref="U1" pin="20"/> </net> <net code="28" name="Net-(U1-Pad30)"> <node ref="U1" pin="30"/> </net> <net code="29" name="Net-(U1-Pad21)"> <node ref="U1" pin="21"/> </net> <net code="30" name="Net-(U1-Pad31)"> <node ref="U1" pin="31"/> </net> <net code="31" name="Net-(U1-Pad12)"> <node ref="U1" pin="12"/> </net> <net code="32" name="Net-(U1-Pad22)"> <node ref="U1" pin="22"/> </net> <net code="33" name="Net-(U1-Pad32)"> <node ref="U1" pin="32"/> </net> <net code="34" name="Net-(U1-Pad42)"> <node ref="U1" pin="42"/> </net> <net code="35" name="Net-(D1-Pad2)"> <node ref="D1" pin="2"/> <node ref="SW1" pin="2"/> </net> <net code="36" name="/COL1"> <node ref="D3" pin="1"/> <node ref="D2" pin="1"/> <node ref="U1" pin="38"/> <node ref="D1" pin="1"/> </net> <net code="37" name="Net-(D4-Pad2)"> <node ref="D4" pin="2"/> <node ref="SW4" pin="2"/> </net> <net code="38" name="/COL2"> <node ref="D6" pin="1"/> <node ref="D5" pin="1"/> <node ref="D4" pin="1"/> <node ref="U1" pin="37"/> </net> <net code="39" name="Net-(U1-Pad18)"> <node ref="U1" pin="18"/> </net> <net code="40" name="Net-(U1-Pad25)"> <node ref="U1" pin="25"/> </net> <net code="41" name="Net-(U1-Pad26)"> <node ref="U1" pin="26"/> </net> <net code="42" name="Net-(U1-Pad27)"> <node ref="U1" pin="27"/> </net> <net code="43" name="Net-(U1-Pad28)"> <node ref="U1" pin="28"/> </net> <net code="44" name="Net-(U1-Pad19)"> <node ref="U1" pin="19"/> </net> <net code="45" name="Net-(U1-Pad29)"> <node ref="U1" pin="29"/> </net> <net code="46" name="Net-(P1-Pad4)"> <node ref="P1" pin="4"/> </net> <net code="47" name="Net-(P1-Pad6)"> <node ref="P1" pin="6"/> </net> </nets> </export>