├── .gitignore ├── schematic.jpeg ├── kicad_files ├── usb_d+_3 ├── usb_d-_2 ├── usb_vbus_1 ├── usb_gnd_4.png ├── usb-PCB.kicad_mod ├── usb_trace.pretty │ └── usb-PCB.kicad_mod ├── key-rescue.lib ├── key.pro ├── key-cache.lib ├── key.net ├── key.bak └── key.sch ├── .gitmodules ├── TODO ├── arduino_code └── tigerkey │ └── tigerkey.ino ├── Makefile └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | key_kicad_pro.tgz 2 | 3 | kicad_files/_autosave-key.kicad_pcb 4 | -------------------------------------------------------------------------------- /schematic.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosatolen/DIYkey/HEAD/schematic.jpeg -------------------------------------------------------------------------------- /kicad_files/usb_d+_3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosatolen/DIYkey/HEAD/kicad_files/usb_d+_3 -------------------------------------------------------------------------------- /kicad_files/usb_d-_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosatolen/DIYkey/HEAD/kicad_files/usb_d-_2 -------------------------------------------------------------------------------- /kicad_files/usb_vbus_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosatolen/DIYkey/HEAD/kicad_files/usb_vbus_1 -------------------------------------------------------------------------------- /kicad_files/usb_gnd_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rosatolen/DIYkey/HEAD/kicad_files/usb_gnd_4.png -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "micronucleus"] 2 | path = micronucleus 3 | url = https://github.com/rosatolen/micronucleus.git 4 | -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | Simplify the instructions to install software 2 | 3 | Tech Debt 4 | - We need better control of the compilation of the DigiKeyboard code (i.e. controlling how it sets the D+ and D- pins which is in 5 | /home//.arduino15/packages/digistump/hardware/avr/1.6.7/libraries/DigisparkKeyboard/usbconfig.h) 6 | -------------------------------------------------------------------------------- /arduino_code/tigerkey/tigerkey.ino: -------------------------------------------------------------------------------- 1 | #include "DigiKeyboard.h" 2 | int pb3 = 3; 3 | int pb4 = 4; 4 | 5 | void setup() { 6 | pinMode(pb3, INPUT); 7 | digitalWrite(pb3, HIGH); // set pull up circuit 8 | pinMode(pb4, OUTPUT); 9 | digitalWrite(pb4, HIGH); 10 | DigiKeyboard.sendKeyStroke(0); 11 | } 12 | 13 | void loop() { 14 | if (digitalRead(pb3) == LOW) { 15 | DigiKeyboard.println("Your Password Here"); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | deps: 2 | git submodule init && git submodule update 3 | 4 | packschematics: 5 | tar cvfz ./key_kicad_pro.tgz ./key/ 6 | 7 | pingdevice: 8 | sudo avrdude -c usbtiny -p attiny85 9 | 10 | bootflash: 11 | sudo avrdude -c usbtiny -p attiny85 -U lfuse:w:0xd1:m -U hfuse:w:0xdd:m -U efuse:w:0xfe:m -B 20 12 | sudo avrdude -c usbtiny -p attiny85 -U flash:w:micronucleus/firmware/main.hex 13 | 14 | programflash: 15 | ./micronucleus/commandline/micronucleus 16 | -------------------------------------------------------------------------------- /kicad_files/usb-PCB.kicad_mod: -------------------------------------------------------------------------------- 1 | (module connectors:usb-PCB (layer F.Cu) (tedit 542BB0AF) 2 | (attr virtual) 3 | (fp_text reference J2 (at 0.13 -7.85) (layer F.SilkS) hide 4 | (effects (font (size 1.5 1.5) (thickness 0.15))) 5 | ) 6 | (fp_text value USB_A_PLUG (at 0.29 -10.13) (layer F.SilkS) hide 7 | (effects (font (size 1.5 1.5) (thickness 0.15))) 8 | ) 9 | (fp_line (start 6.03 0) (end 6.03 -12) (layer Dwgs.User) (width 0.15)) 10 | (fp_line (start 6.03 0) (end -6.03 0) (layer Dwgs.User) (width 0.15)) 11 | (fp_line (start -6.03 0) (end -6.03 -12) (layer Dwgs.User) (width 0.15)) 12 | (pad 1 connect rect (at 3.81 -4.9) (size 1.9 8) (layers F.Cu F.Mask)) 13 | (pad 4 connect rect (at -3.81 -4.9) (size 1.9 8) (layers F.Cu F.Mask)) 14 | (pad 3 connect rect (at -1.3 -5.15) (size 2 7.5) (layers F.Cu F.Mask)) 15 | (pad 2 connect rect (at 1.3 -5.15) (size 2 7.5) (layers F.Cu F.Mask)) 16 | ) 17 | -------------------------------------------------------------------------------- /kicad_files/usb_trace.pretty/usb-PCB.kicad_mod: -------------------------------------------------------------------------------- 1 | (module connectors:usb-PCB (layer F.Cu) (tedit 542BB0AF) 2 | (attr virtual) 3 | (fp_text reference J2 (at 0.13 -7.85) (layer F.SilkS) hide 4 | (effects (font (size 1.5 1.5) (thickness 0.15))) 5 | ) 6 | (fp_text value USB_A_PLUG (at 0.29 -10.13) (layer F.SilkS) hide 7 | (effects (font (size 1.5 1.5) (thickness 0.15))) 8 | ) 9 | (fp_line (start 6.03 0) (end 6.03 -12) (layer Dwgs.User) (width 0.15)) 10 | (fp_line (start 6.03 0) (end -6.03 0) (layer Dwgs.User) (width 0.15)) 11 | (fp_line (start -6.03 0) (end -6.03 -12) (layer Dwgs.User) (width 0.15)) 12 | (pad 1 connect rect (at 3.81 -4.9) (size 1.9 8) (layers F.Cu F.Mask)) 13 | (pad 4 connect rect (at -3.81 -4.9) (size 1.9 8) (layers F.Cu F.Mask)) 14 | (pad 3 connect rect (at -1.3 -5.15) (size 2 7.5) (layers F.Cu F.Mask)) 15 | (pad 2 connect rect (at 1.3 -5.15) (size 2 7.5) (layers F.Cu F.Mask)) 16 | ) 17 | -------------------------------------------------------------------------------- /kicad_files/key-rescue.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # LED-RESCUE-key 5 | # 6 | DEF LED-RESCUE-key D 0 40 Y N 1 F N 7 | F0 "D" 0 100 50 H V C CNN 8 | F1 "LED-RESCUE-key" 0 -100 50 H V C CNN 9 | F2 "" 0 0 50 H V C CNN 10 | F3 "" 0 0 50 H V C CNN 11 | $FPLIST 12 | LED-3MM 13 | LED-5MM 14 | LED-10MM 15 | LED-0603 16 | LED-0805 17 | LED-1206 18 | LEDV 19 | $ENDFPLIST 20 | DRAW 21 | P 2 0 1 0 -50 50 -50 -50 N 22 | P 3 0 1 0 -80 -25 -125 -65 -120 -40 N 23 | P 3 0 1 0 -65 -40 -110 -80 -105 -55 N 24 | P 3 0 1 0 50 50 -50 0 50 -50 F 25 | X K 1 -200 0 150 R 40 40 1 1 P 26 | X A 2 200 0 150 L 40 40 1 1 P 27 | ENDDRAW 28 | ENDDEF 29 | # 30 | # USB_A-RESCUE-key 31 | # 32 | DEF USB_A-RESCUE-key P 0 40 Y Y 1 F N 33 | F0 "P" 200 -200 50 H V C CNN 34 | F1 "USB_A-RESCUE-key" -50 200 50 H V C CNN 35 | F2 "" -50 -100 50 V V C CNN 36 | F3 "" -50 -100 50 V V C CNN 37 | $FPLIST 38 | USB* 39 | $ENDFPLIST 40 | DRAW 41 | S -250 -150 150 150 0 1 0 N 42 | S -205 -150 -195 -120 0 1 0 N 43 | S -105 -150 -95 -120 0 1 0 N 44 | S -5 -150 5 -120 0 1 0 N 45 | S 95 -150 105 -120 0 1 0 N 46 | X VCC 1 -200 -300 150 U 50 50 1 1 W 47 | X D- 2 -100 -300 150 U 50 50 1 1 P 48 | X D+ 3 0 -300 150 U 50 50 1 1 P 49 | X GND 4 100 -300 150 U 50 50 1 1 W 50 | X shield 5 300 100 150 L 50 50 1 1 P 51 | ENDDRAW 52 | ENDDEF 53 | # 54 | #End Library 55 | -------------------------------------------------------------------------------- /kicad_files/key.pro: -------------------------------------------------------------------------------- 1 | update=Wed 19 Apr 2017 03:05:12 PM -05 2 | version=1 3 | last_client=kicad 4 | [pcbnew] 5 | version=1 6 | LastNetListRead= 7 | UseCmpFile=1 8 | PadDrill=0.600000000000 9 | PadDrillOvalY=0.600000000000 10 | PadSizeH=1.500000000000 11 | PadSizeV=1.500000000000 12 | PcbTextSizeV=1.500000000000 13 | PcbTextSizeH=1.500000000000 14 | PcbTextThickness=0.300000000000 15 | ModuleTextSizeV=1.000000000000 16 | ModuleTextSizeH=1.000000000000 17 | ModuleTextSizeThickness=0.150000000000 18 | SolderMaskClearance=0.000000000000 19 | SolderMaskMinWidth=0.000000000000 20 | DrawSegmentWidth=0.200000000000 21 | BoardOutlineThickness=0.100000000000 22 | ModuleOutlineThickness=0.150000000000 23 | [general] 24 | version=1 25 | [eeschema] 26 | version=1 27 | LibDir= 28 | [eeschema/libraries] 29 | LibName1=key-rescue 30 | LibName2=power 31 | LibName3=device 32 | LibName4=transistors 33 | LibName5=conn 34 | LibName6=linear 35 | LibName7=regul 36 | LibName8=74xx 37 | LibName9=cmos4000 38 | LibName10=adc-dac 39 | LibName11=memory 40 | LibName12=xilinx 41 | LibName13=microcontrollers 42 | LibName14=dsp 43 | LibName15=microchip 44 | LibName16=analog_switches 45 | LibName17=motorola 46 | LibName18=texas 47 | LibName19=intel 48 | LibName20=audio 49 | LibName21=interface 50 | LibName22=digital-audio 51 | LibName23=philips 52 | LibName24=display 53 | LibName25=cypress 54 | LibName26=siliconi 55 | LibName27=opto 56 | LibName28=atmel 57 | LibName29=contrib 58 | LibName30=valves 59 | [cvpcb] 60 | version=1 61 | NetIExt=net 62 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DIYkey 2 | 3 | The DIYkey a hardware token that stores one static password. This repo will 4 | contain all the information you need if you want to build your own token. 5 | 6 | # Hardware Setup Instructions 7 | 8 | ## Prerequisite Materials 9 | 10 | One of our goals is to keep the cost of materials low. Initially we created the 11 | first prototype with around 7 USD but the goal was to make large batch assembly 12 | cost as close to $1 as possible. 13 | 14 | You will need: 15 | 16 | 1. 1 Breadboard or a protoboard and a soldering station if you feel comfortable with the assembly: [Option 1](https://www.adafruit.com/category/124) or [Option 2](https://www.sparkfun.com/categories/149) 17 | 1. 1 [ATTiny85](https://www.sparkfun.com/products/9378) 18 | 1. 2 [Resistors 68 Ohms](https://www.radioshack.com/products/radioshack-68-ohm-1-2w-5-carbon-film-resistor-pk-5) 19 | 1. 1 [Resistor 1500 Ohms (1200 Ohms works)](https://www.digikey.com/product-detail/en/yageo/CFR-25JB-52-1K5/1.5KQBK-ND/132) 20 | 1. 1 [Resistor 330 Ohms](https://www.sparkfun.com/products/11507) 21 | 1. 2 [Zener Diodes](https://www.sparkfun.com/products/10301) 22 | 1. 1 [LED](https://www.radioshack.com/products/radioshack-5mm-green-led) 23 | 1. 1 [Male USB Type A connector](https://www.sparkfun.com/products/437) 24 | 1. Some Connecting Wire (if needed) 25 | 26 | ## Instructions 27 | 28 | ``` 29 | WARNING 30 | 31 | You should not solder the ATTiny85 to a permaproto board before programming it 32 | unless you have clips to easily help you install software once it has been 33 | placed. 34 | 35 | ``` 36 | 37 | Use the below image to connect the hardware materials. Double check that the diode polarity is correct. 38 | 39 | ![schematic](https://github.com/rosatolen/DIYkey/blob/master/schematic.jpeg) 40 | 41 | # Software Setup Instructions 42 | 43 | ## Prerequisite Materials 44 | 45 | 1. [Adafruit AVR Programmer](https://www.adafruit.com/product/46) or [Sparkfun AVR Programmer](https://www.sparkfun.com/products/11801) 46 | 47 | ## Instructions 48 | 49 | 1. Install the following dependencies: 50 | 1. Arduino with the DigisparkKeyboard libraries 51 | 1. avrdude 52 | 1. make autotools 53 | 1. Pull this repository 54 | 1. Run `make deps` 55 | 1. `cd micronucleus/firmware/` 56 | 1. `make` 57 | 1. Return to the main DIYkey directory 58 | 1. Connect your DIYkey to a Attiny85 programmer and run `make bootflash` 59 | 1. `cd micronucleus/commandline/` 60 | 1. `make` 61 | 1. Install avrdude for your operating system 62 | 1. Search through your system for the arduino DigisparkKeyboard directory 63 | ``` 64 | find / -name DigisparkKeyboard 2>/dev/null 65 | ``` 66 | 1. Open the usbconfig.h file in that directory 67 | 1. Change the usbconfig.h file in DigiKeyboard folder for Ardunio 68 | 1. Change the value for ATTiny85 USB\_CFG\_DMINUS\_BIT from 3 to 0 69 | 1. Change the value for ATTiny85 USB\_CFG\_DPLUS\_BIT from 4 to 1 70 | 1. Open the `arduino\_code/DIYkey/DIYkey program` in Arduino 71 | 1. Edit the preferences of Arduino to show verbose compilation output 72 | 1. Compile the program and record where the .hex file for this program is stored 73 | 1. Put the path to the .hex file in the main Makefile under the programflash command 74 | 1. Plug the DIYkey into one of your USB ports and run `make programflash` 75 | -------------------------------------------------------------------------------- /kicad_files/key-cache.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # +5V 5 | # 6 | DEF +5V #PWR 0 0 Y Y 1 F P 7 | F0 "#PWR" 0 -150 50 H I C CNN 8 | F1 "+5V" 0 140 50 H V C CNN 9 | F2 "" 0 0 50 H V C CNN 10 | F3 "" 0 0 50 H V C CNN 11 | DRAW 12 | P 2 0 1 0 -30 50 0 100 N 13 | P 2 0 1 0 0 0 0 100 N 14 | P 2 0 1 0 0 100 30 50 N 15 | X +5V 1 0 0 0 U 50 50 1 1 W N 16 | ENDDRAW 17 | ENDDEF 18 | # 19 | # ATTINY25-P 20 | # 21 | DEF ATTINY25-P IC 0 40 Y Y 1 F N 22 | F0 "IC" -1150 400 50 H V C CNN 23 | F1 "ATTINY25-P" 1000 -400 50 H V C CNN 24 | F2 "DIP8" 1000 0 50 H V C CIN 25 | F3 "" 0 0 50 H V C CNN 26 | ALIAS ATTINY45-P ATTINY85-P 27 | DRAW 28 | S -1200 350 1200 -350 0 1 10 f 29 | X PB5(~RESET~/dW/ADC0/PCINT5) 1 -1350 -250 150 R 40 40 1 1 B 30 | X PB3(XTAL1/CLKI/OC1B/ADC3/PCINT3) 2 -1350 -50 150 R 40 40 1 1 B 31 | X PB4(XTAL2/CLKO/OC1B/ADC2/PCINT4) 3 -1350 -150 150 R 40 40 1 1 B 32 | X GND 4 1350 -250 150 L 40 40 1 1 W 33 | X PB0(MOSI/DI/SDA/AIN0/OC0A/OC1A/AREF/PCINT0) 5 -1350 250 150 R 40 40 1 1 B 34 | X PB1(MISO/DO/AIN1/OC0B/OC1A/PCINT1) 6 -1350 150 150 R 40 40 1 1 B 35 | X PB2(SCK/USCK/SCL/T0/INT0/ADC1/PCINT2) 7 -1350 50 150 R 40 40 1 1 B 36 | X VCC 8 1350 250 150 L 40 40 1 1 W 37 | ENDDRAW 38 | ENDDEF 39 | # 40 | # GND 41 | # 42 | DEF GND #PWR 0 0 Y Y 1 F P 43 | F0 "#PWR" 0 -250 50 H I C CNN 44 | F1 "GND" 0 -150 50 H V C CNN 45 | F2 "" 0 0 50 H V C CNN 46 | F3 "" 0 0 50 H V C CNN 47 | DRAW 48 | P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N 49 | X GND 1 0 0 0 D 50 50 1 1 W N 50 | ENDDRAW 51 | ENDDEF 52 | # 53 | # LED 54 | # 55 | DEF LED D 0 40 Y N 1 F N 56 | F0 "D" 0 100 50 H V C CNN 57 | F1 "LED" 0 -100 50 H V C CNN 58 | F2 "" 0 0 50 H V C CNN 59 | F3 "" 0 0 50 H V C CNN 60 | $FPLIST 61 | LED* 62 | $ENDFPLIST 63 | DRAW 64 | P 2 0 1 8 -50 -50 -50 50 N 65 | P 2 0 1 0 -50 0 50 0 N 66 | P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N 67 | P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N 68 | P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N 69 | X K 1 -150 0 100 R 50 50 1 1 P 70 | X A 2 150 0 100 L 50 50 1 1 P 71 | ENDDRAW 72 | ENDDEF 73 | # 74 | # R 75 | # 76 | DEF R R 0 0 N Y 1 F N 77 | F0 "R" 80 0 50 V V C CNN 78 | F1 "R" 0 0 50 V V C CNN 79 | F2 "" -70 0 50 V V C CNN 80 | F3 "" 0 0 50 H V C CNN 81 | $FPLIST 82 | R_* 83 | Resistor_* 84 | $ENDFPLIST 85 | DRAW 86 | S -40 -100 40 100 0 1 10 N 87 | X ~ 1 0 150 50 D 50 50 1 1 P 88 | X ~ 2 0 -150 50 U 50 50 1 1 P 89 | ENDDRAW 90 | ENDDEF 91 | # 92 | # SW_PUSH 93 | # 94 | DEF SW_PUSH SW 0 40 N N 1 F N 95 | F0 "SW" 150 110 50 H V C CNN 96 | F1 "SW_PUSH" 0 -80 50 H V C CNN 97 | F2 "" 0 0 50 H V C CNN 98 | F3 "" 0 0 50 H V C CNN 99 | DRAW 100 | S -170 50 170 60 0 1 0 N 101 | P 4 0 1 0 -40 60 -30 90 30 90 40 60 N 102 | X 1 1 -300 0 200 R 50 50 0 1 P I 103 | X 2 2 300 0 200 L 50 50 0 1 P I 104 | ENDDRAW 105 | ENDDEF 106 | # 107 | # USB_A 108 | # 109 | DEF USB_A P 0 40 Y Y 1 F N 110 | F0 "P" 200 -200 50 H V C CNN 111 | F1 "USB_A" -50 200 50 H V C CNN 112 | F2 "" -50 -100 50 V V C CNN 113 | F3 "" -50 -100 50 V V C CNN 114 | $FPLIST 115 | USB* 116 | $ENDFPLIST 117 | DRAW 118 | S -250 -150 150 150 0 1 0 N 119 | S -205 -150 -195 -120 0 1 0 N 120 | S -105 -150 -95 -120 0 1 0 N 121 | S -5 -150 5 -120 0 1 0 N 122 | S 95 -150 105 -120 0 1 0 N 123 | X VBUS 1 -200 -300 150 U 50 50 1 1 W 124 | X D- 2 -100 -300 150 U 50 50 1 1 P 125 | X D+ 3 0 -300 150 U 50 50 1 1 P 126 | X GND 4 100 -300 150 U 50 50 1 1 W 127 | X shield 5 300 100 150 L 50 50 1 1 P 128 | ENDDRAW 129 | ENDDEF 130 | # 131 | #End Library 132 | -------------------------------------------------------------------------------- /kicad_files/key.net: -------------------------------------------------------------------------------- 1 | (export (version D) 2 | (design 3 | (source /home/rosatolen/tigerkey/kicad_files/key.sch) 4 | (date "Wed 28 Jun 2017 02:48:24 PM -05") 5 | (tool "Eeschema 4.0.5") 6 | (sheet (number 1) (name /) (tstamps /) 7 | (title_block 8 | (title) 9 | (company) 10 | (rev) 11 | (date) 12 | (source key.sch) 13 | (comment (number 1) (value "")) 14 | (comment (number 2) (value "")) 15 | (comment (number 3) (value "")) 16 | (comment (number 4) (value ""))))) 17 | (components 18 | (comp (ref IC1) 19 | (value ATTINY85-P) 20 | (footprint SOIC127P600X175-8N:SOIC127P600X175-8N) 21 | (libsource (lib atmel) (part ATTINY85-P)) 22 | (sheetpath (names /) (tstamps /)) 23 | (tstamp 58D8025F)) 24 | (comp (ref 1.5k1) 25 | (value R) 26 | (footprint Resistors_SMD:R_1206) 27 | (libsource (lib device) (part R)) 28 | (sheetpath (names /) (tstamps /)) 29 | (tstamp 58D80594)) 30 | (comp (ref R2) 31 | (value R) 32 | (footprint Resistors_SMD:R_1206) 33 | (libsource (lib device) (part R)) 34 | (sheetpath (names /) (tstamps /)) 35 | (tstamp 58D80E01)) 36 | (comp (ref SW1) 37 | (value SW_PUSH) 38 | (footprint Buttons_Switches_THT:SW_PUSH_SMALL) 39 | (libsource (lib key-cache) (part SW_PUSH)) 40 | (sheetpath (names /) (tstamps /)) 41 | (tstamp 58D81312)) 42 | (comp (ref R1) 43 | (value R) 44 | (footprint Resistors_SMD:R_1206) 45 | (libsource (lib device) (part R)) 46 | (sheetpath (names /) (tstamps /)) 47 | (tstamp 58D8152B)) 48 | (comp (ref 1.5k2) 49 | (value R) 50 | (footprint Resistors_SMD:R_1206) 51 | (libsource (lib device) (part R)) 52 | (sheetpath (names /) (tstamps /)) 53 | (tstamp 58D821C9)) 54 | (comp (ref D3) 55 | (value LED) 56 | (footprint LEDs:LED_0402) 57 | (libsource (lib device) (part LED)) 58 | (sheetpath (names /) (tstamps /)) 59 | (tstamp 58EA4021)) 60 | (comp (ref P1) 61 | (value USB_A) 62 | (footprint kicad_files:usb-PCB) 63 | (libsource (lib conn) (part USB_A)) 64 | (sheetpath (names /) (tstamps /)) 65 | (tstamp 58EA41E9))) 66 | (libparts 67 | (libpart (lib atmel) (part ATTINY25-P) 68 | (aliases 69 | (alias ATTINY45-P) 70 | (alias ATTINY85-P)) 71 | (description "PDIP8, 2k Flash, 128B SRAM, 128B EEPROM, Debug Wire") 72 | (docs http://www.atmel.com/images/atmel-2586-avr-8-bit-microcontroller-attiny25-attiny45-attiny85_datasheet.pdf) 73 | (fields 74 | (field (name Reference) IC) 75 | (field (name Value) ATTINY25-P) 76 | (field (name Footprint) DIP8)) 77 | (pins 78 | (pin (num 1) (name "PB5(~RESET~/dW/ADC0/PCINT5)") (type BiDi)) 79 | (pin (num 2) (name "PB3(XTAL1/CLKI/OC1B/ADC3/PCINT3)") (type BiDi)) 80 | (pin (num 3) (name "PB4(XTAL2/CLKO/OC1B/ADC2/PCINT4)") (type BiDi)) 81 | (pin (num 4) (name GND) (type power_in)) 82 | (pin (num 5) (name "PB0(MOSI/DI/SDA/AIN0/OC0A/OC1A/AREF/PCINT0)") (type BiDi)) 83 | (pin (num 6) (name "PB1(MISO/DO/AIN1/OC0B/OC1A/PCINT1)") (type BiDi)) 84 | (pin (num 7) (name "PB2(SCK/USCK/SCL/T0/INT0/ADC1/PCINT2)") (type BiDi)) 85 | (pin (num 8) (name VCC) (type power_in)))) 86 | (libpart (lib device) (part LED) 87 | (description "LED generic") 88 | (footprints 89 | (fp LED*)) 90 | (fields 91 | (field (name Reference) D) 92 | (field (name Value) LED)) 93 | (pins 94 | (pin (num 1) (name K) (type passive)) 95 | (pin (num 2) (name A) (type passive)))) 96 | (libpart (lib device) (part R) 97 | (description Resistor) 98 | (footprints 99 | (fp R_*) 100 | (fp Resistor_*)) 101 | (fields 102 | (field (name Reference) R) 103 | (field (name Value) R)) 104 | (pins 105 | (pin (num 1) (name ~) (type passive)) 106 | (pin (num 2) (name ~) (type passive)))) 107 | (libpart (lib key-cache) (part SW_PUSH) 108 | (fields 109 | (field (name Reference) SW) 110 | (field (name Value) SW_PUSH)) 111 | (pins 112 | (pin (num 1) (name 1) (type passive)) 113 | (pin (num 2) (name 2) (type passive)))) 114 | (libpart (lib conn) (part USB_A) 115 | (description "USB Type A connector") 116 | (footprints 117 | (fp USB*)) 118 | (fields 119 | (field (name Reference) P) 120 | (field (name Value) USB_A)) 121 | (pins 122 | (pin (num 1) (name VBUS) (type power_in)) 123 | (pin (num 2) (name D-) (type passive)) 124 | (pin (num 3) (name D+) (type passive)) 125 | (pin (num 4) (name GND) (type power_in)) 126 | (pin (num 5) (name shield) (type passive))))) 127 | (libraries 128 | (library (logical device) 129 | (uri /usr/share/kicad/library/device.lib)) 130 | (library (logical conn) 131 | (uri /usr/share/kicad/library/conn.lib)) 132 | (library (logical atmel) 133 | (uri /usr/share/kicad/library/atmel.lib)) 134 | (library (logical key-cache) 135 | (uri /home/rosatolen/tigerkey/kicad_files/key-cache.lib))) 136 | (nets 137 | (net (code 1) (name D+) 138 | (node (ref 1.5k1) (pin 1)) 139 | (node (ref R1) (pin 2)) 140 | (node (ref P1) (pin 2))) 141 | (net (code 2) (name D-) 142 | (node (ref P1) (pin 3)) 143 | (node (ref 1.5k2) (pin 1))) 144 | (net (code 3) (name "Net-(P1-Pad5)") 145 | (node (ref P1) (pin 5))) 146 | (net (code 4) (name B) 147 | (node (ref SW1) (pin 2)) 148 | (node (ref IC1) (pin 2))) 149 | (net (code 5) (name "Net-(IC1-Pad3)") 150 | (node (ref IC1) (pin 3)) 151 | (node (ref R2) (pin 2))) 152 | (net (code 6) (name "Net-(1.5k2-Pad2)") 153 | (node (ref 1.5k2) (pin 2)) 154 | (node (ref IC1) (pin 6))) 155 | (net (code 7) (name "Net-(1.5k1-Pad2)") 156 | (node (ref 1.5k1) (pin 2)) 157 | (node (ref IC1) (pin 5))) 158 | (net (code 8) (name "Net-(D3-Pad2)") 159 | (node (ref D3) (pin 2)) 160 | (node (ref R2) (pin 1))) 161 | (net (code 9) (name GND) 162 | (node (ref D3) (pin 1)) 163 | (node (ref IC1) (pin 4)) 164 | (node (ref SW1) (pin 1)) 165 | (node (ref P1) (pin 4))) 166 | (net (code 10) (name +5V) 167 | (node (ref IC1) (pin 8)) 168 | (node (ref P1) (pin 1)) 169 | (node (ref R1) (pin 1))) 170 | (net (code 11) (name "Net-(IC1-Pad7)") 171 | (node (ref IC1) (pin 7))) 172 | (net (code 13) (name "Net-(IC1-Pad1)") 173 | (node (ref IC1) (pin 1))))) -------------------------------------------------------------------------------- /kicad_files/key.bak: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 2 2 | LIBS:key-rescue 3 | LIBS:power 4 | LIBS:device 5 | LIBS:transistors 6 | LIBS:conn 7 | LIBS:linear 8 | LIBS:regul 9 | LIBS:74xx 10 | LIBS:cmos4000 11 | LIBS:adc-dac 12 | LIBS:memory 13 | LIBS:xilinx 14 | LIBS:microcontrollers 15 | LIBS:dsp 16 | LIBS:microchip 17 | LIBS:analog_switches 18 | LIBS:motorola 19 | LIBS:texas 20 | LIBS:intel 21 | LIBS:audio 22 | LIBS:interface 23 | LIBS:digital-audio 24 | LIBS:philips 25 | LIBS:display 26 | LIBS:cypress 27 | LIBS:siliconi 28 | LIBS:opto 29 | LIBS:atmel 30 | LIBS:contrib 31 | LIBS:valves 32 | LIBS:key-cache 33 | EELAYER 25 0 34 | EELAYER END 35 | $Descr A4 11693 8268 36 | encoding utf-8 37 | Sheet 1 1 38 | Title "" 39 | Date "" 40 | Rev "" 41 | Comp "" 42 | Comment1 "" 43 | Comment2 "" 44 | Comment3 "" 45 | Comment4 "" 46 | $EndDescr 47 | $Comp 48 | L ATTINY85-P IC1 49 | U 1 1 58D8025F 50 | P 5650 3450 51 | F 0 "IC1" H 4500 3850 50 0000 C CNN 52 | F 1 "ATTINY85-P" H 6650 3050 50 0000 C CNN 53 | F 2 "SOIC127P600X175-8N:SOIC127P600X175-8N" H 6650 3450 50 0000 C CIN 54 | F 3 "" H 5650 3450 50 0000 C CNN 55 | 1 5650 3450 56 | 1 0 0 -1 57 | $EndComp 58 | $Comp 59 | L R 1.5k1 60 | U 1 1 58D80594 61 | P 3650 3750 62 | F 0 "1.5k1" V 3730 3750 50 0000 C CNN 63 | F 1 "R" V 3650 3750 50 0000 C CNN 64 | F 2 "Resistors_SMD:R_1206" V 3580 3750 50 0001 C CNN 65 | F 3 "" H 3650 3750 50 0000 C CNN 66 | 1 3650 3750 67 | 0 -1 -1 0 68 | $EndComp 69 | $Comp 70 | L +5V #PWR01 71 | U 1 1 58D8077D 72 | P 7100 3050 73 | F 0 "#PWR01" H 7100 2900 50 0001 C CNN 74 | F 1 "+5V" H 7100 3190 50 0000 C CNN 75 | F 2 "" H 7100 3050 50 0000 C CNN 76 | F 3 "" H 7100 3050 50 0000 C CNN 77 | 1 7100 3050 78 | 1 0 0 -1 79 | $EndComp 80 | $Comp 81 | L GND #PWR02 82 | U 1 1 58D80827 83 | P 7100 3850 84 | F 0 "#PWR02" H 7100 3600 50 0001 C CNN 85 | F 1 "GND" H 7100 3700 50 0000 C CNN 86 | F 2 "" H 7100 3850 50 0000 C CNN 87 | F 3 "" H 7100 3850 50 0000 C CNN 88 | 1 7100 3850 89 | 1 0 0 -1 90 | $EndComp 91 | $Comp 92 | L R R2 93 | U 1 1 58D80E01 94 | P 3950 4200 95 | F 0 "R2" V 4030 4200 50 0000 C CNN 96 | F 1 "R" V 3950 4200 50 0000 C CNN 97 | F 2 "Resistors_SMD:R_1206" V 3880 4200 50 0001 C CNN 98 | F 3 "" H 3950 4200 50 0000 C CNN 99 | 1 3950 4200 100 | 0 -1 -1 0 101 | $EndComp 102 | $Comp 103 | L SW_PUSH SW1 104 | U 1 1 58D81312 105 | P 3600 2900 106 | F 0 "SW1" H 3750 3010 50 0000 C CNN 107 | F 1 "SW_PUSH" H 3600 2820 50 0000 C CNN 108 | F 2 "Buttons_Switches_THT:SW_PUSH_SMALL" H 3600 2900 50 0001 C CNN 109 | F 3 "" H 3600 2900 50 0000 C CNN 110 | 1 3600 2900 111 | 1 0 0 -1 112 | $EndComp 113 | $Comp 114 | L R R1 115 | U 1 1 58D8152B 116 | P 2450 4450 117 | F 0 "R1" V 2530 4450 50 0000 C CNN 118 | F 1 "R" V 2450 4450 50 0000 C CNN 119 | F 2 "Resistors_SMD:R_1206" V 2380 4450 50 0001 C CNN 120 | F 3 "" H 2450 4450 50 0000 C CNN 121 | 1 2450 4450 122 | 1 0 0 -1 123 | $EndComp 124 | $Comp 125 | L GND #PWR03 126 | U 1 1 58D81B63 127 | P 2700 2900 128 | F 0 "#PWR03" H 2700 2650 50 0001 C CNN 129 | F 1 "GND" H 2700 2750 50 0000 C CNN 130 | F 2 "" H 2700 2900 50 0000 C CNN 131 | F 3 "" H 2700 2900 50 0000 C CNN 132 | 1 2700 2900 133 | 0 1 1 0 134 | $EndComp 135 | $Comp 136 | L GND #PWR04 137 | U 1 1 58D81D88 138 | P 2000 2750 139 | F 0 "#PWR04" H 2000 2500 50 0001 C CNN 140 | F 1 "GND" H 2000 2600 50 0000 C CNN 141 | F 2 "" H 2000 2750 50 0000 C CNN 142 | F 3 "" H 2000 2750 50 0000 C CNN 143 | 1 2000 2750 144 | 1 0 0 -1 145 | $EndComp 146 | $Comp 147 | L +5V #PWR05 148 | U 1 1 58D81DC9 149 | P 1700 2750 150 | F 0 "#PWR05" H 1700 2600 50 0001 C CNN 151 | F 1 "+5V" H 1700 2890 50 0000 C CNN 152 | F 2 "" H 1700 2750 50 0000 C CNN 153 | F 3 "" H 1700 2750 50 0000 C CNN 154 | 1 1700 2750 155 | -1 0 0 1 156 | $EndComp 157 | $Comp 158 | L +5V #PWR06 159 | U 1 1 58D81E9E 160 | P 2450 4150 161 | F 0 "#PWR06" H 2450 4000 50 0001 C CNN 162 | F 1 "+5V" H 2450 4290 50 0000 C CNN 163 | F 2 "" H 2450 4150 50 0000 C CNN 164 | F 3 "" H 2450 4150 50 0000 C CNN 165 | 1 2450 4150 166 | 1 0 0 -1 167 | $EndComp 168 | Text GLabel 2100 4900 0 60 Input ~ 0 169 | D- 170 | Text GLabel 3300 4950 2 60 Input ~ 0 171 | D+ 172 | Text GLabel 1700 3350 3 60 Input ~ 0 173 | D+ 174 | Text GLabel 2000 3350 3 60 Input ~ 0 175 | D- 176 | $Comp 177 | L R 1.5k2 178 | U 1 1 58D821C9 179 | P 3650 3850 180 | F 0 "1.5k2" V 3730 3850 50 0000 C CNN 181 | F 1 "R" V 3650 3850 50 0000 C CNN 182 | F 2 "Resistors_SMD:R_1206" V 3580 3850 50 0001 C CNN 183 | F 3 "" H 3650 3850 50 0000 C CNN 184 | 1 3650 3850 185 | 0 -1 -1 0 186 | $EndComp 187 | NoConn ~ 4150 2500 188 | $Comp 189 | L GND #PWR07 190 | U 1 1 58E47062 191 | P 3250 4400 192 | F 0 "#PWR07" H 3250 4150 50 0001 C CNN 193 | F 1 "GND" H 3250 4250 50 0000 C CNN 194 | F 2 "" H 3250 4400 50 0000 C CNN 195 | F 3 "" H 3250 4400 50 0000 C CNN 196 | 1 3250 4400 197 | 1 0 0 -1 198 | $EndComp 199 | Text GLabel 4200 2900 2 60 Input ~ 0 200 | B 201 | $Comp 202 | L LED D3 203 | U 1 1 58EA4021 204 | P 3500 4200 205 | F 0 "D3" H 3500 4300 50 0000 C CNN 206 | F 1 "LED" H 3500 4100 50 0000 C CNN 207 | F 2 "LEDs:LED_0402" H 3500 4200 50 0001 C CNN 208 | F 3 "" H 3500 4200 50 0000 C CNN 209 | 1 3500 4200 210 | 1 0 0 -1 211 | $EndComp 212 | $Comp 213 | L USB_A P1 214 | U 1 1 58EA41E9 215 | P 1900 2150 216 | F 0 "P1" H 2100 1950 50 0000 C CNN 217 | F 1 "USB_A" H 1850 2350 50 0000 C CNN 218 | F 2 "kicad_files:usb-PCB" V 1850 2050 50 0001 C CNN 219 | F 3 "" V 1850 2050 50 0000 C CNN 220 | 1 1900 2150 221 | 1 0 0 -1 222 | $EndComp 223 | Wire Wire Line 224 | 2000 2450 2000 2750 225 | Wire Wire Line 226 | 1700 2750 1700 2450 227 | Wire Wire Line 228 | 2450 4600 2450 4900 229 | Connection ~ 2450 4900 230 | Wire Wire Line 231 | 2450 4150 2450 4300 232 | Wire Wire Line 233 | 2100 4900 2650 4900 234 | Wire Wire Line 235 | 1800 2450 1800 3150 236 | Wire Wire Line 237 | 1800 3150 1700 3150 238 | Wire Wire Line 239 | 1700 3150 1700 3350 240 | Wire Wire Line 241 | 1900 2450 1900 3150 242 | Wire Wire Line 243 | 1900 3150 2000 3150 244 | Wire Wire Line 245 | 2000 3150 2000 3350 246 | Wire Wire Line 247 | 3500 3850 2950 3850 248 | Wire Wire Line 249 | 2950 3850 2950 4950 250 | Wire Wire Line 251 | 2950 4950 3300 4950 252 | Connection ~ 2950 4950 253 | Wire Wire Line 254 | 3500 3750 2650 3750 255 | Wire Wire Line 256 | 2650 3750 2650 4900 257 | Wire Wire Line 258 | 4200 2900 3900 2900 259 | Wire Wire Line 260 | 7000 3200 7100 3200 261 | Wire Wire Line 262 | 7100 3200 7100 3050 263 | Wire Wire Line 264 | 7000 3700 7100 3700 265 | Wire Wire Line 266 | 7100 3700 7100 3850 267 | Wire Wire Line 268 | 3650 4200 3800 4200 269 | Wire Wire Line 270 | 2700 2900 3300 2900 271 | Wire Wire Line 272 | 3250 4200 3350 4200 273 | Wire Wire Line 274 | 3250 4200 3250 4400 275 | Text GLabel 4100 3750 3 60 Input ~ 0 276 | B 277 | Wire Wire Line 278 | 3800 3750 3850 3750 279 | Wire Wire Line 280 | 3850 3750 3850 3200 281 | Wire Wire Line 282 | 3850 3200 4300 3200 283 | Wire Wire Line 284 | 3800 3850 3950 3850 285 | Wire Wire Line 286 | 3950 3850 3950 3300 287 | Wire Wire Line 288 | 3950 3300 4300 3300 289 | Wire Wire Line 290 | 4100 4200 4250 4200 291 | Wire Wire Line 292 | 4250 4200 4250 3600 293 | Wire Wire Line 294 | 4250 3600 4300 3600 295 | Wire Wire Line 296 | 4300 3500 4100 3500 297 | Wire Wire Line 298 | 4100 3500 4100 3750 299 | $EndSCHEMATC 300 | -------------------------------------------------------------------------------- /kicad_files/key.sch: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 2 2 | LIBS:key-rescue 3 | LIBS:power 4 | LIBS:device 5 | LIBS:transistors 6 | LIBS:conn 7 | LIBS:linear 8 | LIBS:regul 9 | LIBS:74xx 10 | LIBS:cmos4000 11 | LIBS:adc-dac 12 | LIBS:memory 13 | LIBS:xilinx 14 | LIBS:microcontrollers 15 | LIBS:dsp 16 | LIBS:microchip 17 | LIBS:analog_switches 18 | LIBS:motorola 19 | LIBS:texas 20 | LIBS:intel 21 | LIBS:audio 22 | LIBS:interface 23 | LIBS:digital-audio 24 | LIBS:philips 25 | LIBS:display 26 | LIBS:cypress 27 | LIBS:siliconi 28 | LIBS:opto 29 | LIBS:atmel 30 | LIBS:contrib 31 | LIBS:valves 32 | LIBS:key-cache 33 | EELAYER 25 0 34 | EELAYER END 35 | $Descr A4 11693 8268 36 | encoding utf-8 37 | Sheet 1 1 38 | Title "" 39 | Date "" 40 | Rev "" 41 | Comp "" 42 | Comment1 "" 43 | Comment2 "" 44 | Comment3 "" 45 | Comment4 "" 46 | $EndDescr 47 | $Comp 48 | L ATTINY85-P IC1 49 | U 1 1 58D8025F 50 | P 5650 3450 51 | F 0 "IC1" H 4500 3850 50 0000 C CNN 52 | F 1 "ATTINY85-P" H 6650 3050 50 0000 C CNN 53 | F 2 "SOIC127P600X175-8N:SOIC127P600X175-8N" H 6650 3450 50 0000 C CIN 54 | F 3 "" H 5650 3450 50 0000 C CNN 55 | 1 5650 3450 56 | 1 0 0 -1 57 | $EndComp 58 | $Comp 59 | L R 1.5k1 60 | U 1 1 58D80594 61 | P 3650 3750 62 | F 0 "1.5k1" V 3730 3750 50 0000 C CNN 63 | F 1 "R" V 3650 3750 50 0000 C CNN 64 | F 2 "Resistors_SMD:R_1206" V 3580 3750 50 0001 C CNN 65 | F 3 "" H 3650 3750 50 0000 C CNN 66 | 1 3650 3750 67 | 0 -1 -1 0 68 | $EndComp 69 | $Comp 70 | L +5V #PWR01 71 | U 1 1 58D8077D 72 | P 7100 3050 73 | F 0 "#PWR01" H 7100 2900 50 0001 C CNN 74 | F 1 "+5V" H 7100 3190 50 0000 C CNN 75 | F 2 "" H 7100 3050 50 0000 C CNN 76 | F 3 "" H 7100 3050 50 0000 C CNN 77 | 1 7100 3050 78 | 1 0 0 -1 79 | $EndComp 80 | $Comp 81 | L GND #PWR02 82 | U 1 1 58D80827 83 | P 7100 3850 84 | F 0 "#PWR02" H 7100 3600 50 0001 C CNN 85 | F 1 "GND" H 7100 3700 50 0000 C CNN 86 | F 2 "" H 7100 3850 50 0000 C CNN 87 | F 3 "" H 7100 3850 50 0000 C CNN 88 | 1 7100 3850 89 | 1 0 0 -1 90 | $EndComp 91 | $Comp 92 | L R R2 93 | U 1 1 58D80E01 94 | P 3950 4200 95 | F 0 "R2" V 4030 4200 50 0000 C CNN 96 | F 1 "R" V 3950 4200 50 0000 C CNN 97 | F 2 "Resistors_SMD:R_1206" V 3880 4200 50 0001 C CNN 98 | F 3 "" H 3950 4200 50 0000 C CNN 99 | 1 3950 4200 100 | 0 -1 -1 0 101 | $EndComp 102 | $Comp 103 | L SW_PUSH SW1 104 | U 1 1 58D81312 105 | P 3600 2900 106 | F 0 "SW1" H 3750 3010 50 0000 C CNN 107 | F 1 "SW_PUSH" H 3600 2820 50 0000 C CNN 108 | F 2 "Buttons_Switches_THT:SW_PUSH_SMALL" H 3600 2900 50 0001 C CNN 109 | F 3 "" H 3600 2900 50 0000 C CNN 110 | 1 3600 2900 111 | 1 0 0 -1 112 | $EndComp 113 | $Comp 114 | L R R1 115 | U 1 1 58D8152B 116 | P 2450 4450 117 | F 0 "R1" V 2530 4450 50 0000 C CNN 118 | F 1 "R" V 2450 4450 50 0000 C CNN 119 | F 2 "Resistors_SMD:R_1206" V 2380 4450 50 0001 C CNN 120 | F 3 "" H 2450 4450 50 0000 C CNN 121 | 1 2450 4450 122 | 1 0 0 -1 123 | $EndComp 124 | $Comp 125 | L GND #PWR03 126 | U 1 1 58D81B63 127 | P 2700 2900 128 | F 0 "#PWR03" H 2700 2650 50 0001 C CNN 129 | F 1 "GND" H 2700 2750 50 0000 C CNN 130 | F 2 "" H 2700 2900 50 0000 C CNN 131 | F 3 "" H 2700 2900 50 0000 C CNN 132 | 1 2700 2900 133 | 0 1 1 0 134 | $EndComp 135 | $Comp 136 | L GND #PWR04 137 | U 1 1 58D81D88 138 | P 2000 2750 139 | F 0 "#PWR04" H 2000 2500 50 0001 C CNN 140 | F 1 "GND" H 2000 2600 50 0000 C CNN 141 | F 2 "" H 2000 2750 50 0000 C CNN 142 | F 3 "" H 2000 2750 50 0000 C CNN 143 | 1 2000 2750 144 | 1 0 0 -1 145 | $EndComp 146 | $Comp 147 | L +5V #PWR05 148 | U 1 1 58D81DC9 149 | P 1700 2750 150 | F 0 "#PWR05" H 1700 2600 50 0001 C CNN 151 | F 1 "+5V" H 1700 2890 50 0000 C CNN 152 | F 2 "" H 1700 2750 50 0000 C CNN 153 | F 3 "" H 1700 2750 50 0000 C CNN 154 | 1 1700 2750 155 | -1 0 0 1 156 | $EndComp 157 | $Comp 158 | L +5V #PWR06 159 | U 1 1 58D81E9E 160 | P 2450 4150 161 | F 0 "#PWR06" H 2450 4000 50 0001 C CNN 162 | F 1 "+5V" H 2450 4290 50 0000 C CNN 163 | F 2 "" H 2450 4150 50 0000 C CNN 164 | F 3 "" H 2450 4150 50 0000 C CNN 165 | 1 2450 4150 166 | 1 0 0 -1 167 | $EndComp 168 | Text GLabel 3300 4950 2 60 Input ~ 0 169 | D- 170 | Text GLabel 2100 4900 0 60 Input ~ 0 171 | D+ 172 | Text GLabel 1700 3350 3 60 Input ~ 0 173 | D+ 174 | Text GLabel 2000 3350 3 60 Input ~ 0 175 | D- 176 | $Comp 177 | L R 1.5k2 178 | U 1 1 58D821C9 179 | P 3650 3850 180 | F 0 "1.5k2" V 3730 3850 50 0000 C CNN 181 | F 1 "R" V 3650 3850 50 0000 C CNN 182 | F 2 "Resistors_SMD:R_1206" V 3580 3850 50 0001 C CNN 183 | F 3 "" H 3650 3850 50 0000 C CNN 184 | 1 3650 3850 185 | 0 -1 -1 0 186 | $EndComp 187 | NoConn ~ 4150 2500 188 | $Comp 189 | L GND #PWR07 190 | U 1 1 58E47062 191 | P 3250 4400 192 | F 0 "#PWR07" H 3250 4150 50 0001 C CNN 193 | F 1 "GND" H 3250 4250 50 0000 C CNN 194 | F 2 "" H 3250 4400 50 0000 C CNN 195 | F 3 "" H 3250 4400 50 0000 C CNN 196 | 1 3250 4400 197 | 1 0 0 -1 198 | $EndComp 199 | Text GLabel 4200 2900 2 60 Input ~ 0 200 | B 201 | $Comp 202 | L LED D3 203 | U 1 1 58EA4021 204 | P 3500 4200 205 | F 0 "D3" H 3500 4300 50 0000 C CNN 206 | F 1 "LED" H 3500 4100 50 0000 C CNN 207 | F 2 "LEDs:LED_0402" H 3500 4200 50 0001 C CNN 208 | F 3 "" H 3500 4200 50 0000 C CNN 209 | 1 3500 4200 210 | 1 0 0 -1 211 | $EndComp 212 | $Comp 213 | L USB_A P1 214 | U 1 1 58EA41E9 215 | P 1900 2150 216 | F 0 "P1" H 2100 1950 50 0000 C CNN 217 | F 1 "USB_A" H 1850 2350 50 0000 C CNN 218 | F 2 "kicad_files:usb-PCB" V 1850 2050 50 0001 C CNN 219 | F 3 "" V 1850 2050 50 0000 C CNN 220 | 1 1900 2150 221 | 1 0 0 -1 222 | $EndComp 223 | Wire Wire Line 224 | 2000 2450 2000 2750 225 | Wire Wire Line 226 | 1700 2750 1700 2450 227 | Wire Wire Line 228 | 2450 4600 2450 4900 229 | Connection ~ 2450 4900 230 | Wire Wire Line 231 | 2450 4150 2450 4300 232 | Wire Wire Line 233 | 2100 4900 2650 4900 234 | Wire Wire Line 235 | 1800 2450 1800 3150 236 | Wire Wire Line 237 | 1800 3150 1700 3150 238 | Wire Wire Line 239 | 1700 3150 1700 3350 240 | Wire Wire Line 241 | 1900 2450 1900 3150 242 | Wire Wire Line 243 | 1900 3150 2000 3150 244 | Wire Wire Line 245 | 2000 3150 2000 3350 246 | Wire Wire Line 247 | 3500 3850 2950 3850 248 | Wire Wire Line 249 | 2950 3850 2950 4950 250 | Wire Wire Line 251 | 2950 4950 3300 4950 252 | Connection ~ 2950 4950 253 | Wire Wire Line 254 | 3500 3750 2650 3750 255 | Wire Wire Line 256 | 2650 3750 2650 4900 257 | Wire Wire Line 258 | 4200 2900 3900 2900 259 | Wire Wire Line 260 | 7000 3200 7100 3200 261 | Wire Wire Line 262 | 7100 3200 7100 3050 263 | Wire Wire Line 264 | 7000 3700 7100 3700 265 | Wire Wire Line 266 | 7100 3700 7100 3850 267 | Wire Wire Line 268 | 3650 4200 3800 4200 269 | Wire Wire Line 270 | 2700 2900 3300 2900 271 | Wire Wire Line 272 | 3250 4200 3350 4200 273 | Wire Wire Line 274 | 3250 4200 3250 4400 275 | Text GLabel 4100 3750 3 60 Input ~ 0 276 | B 277 | Wire Wire Line 278 | 3800 3750 3850 3750 279 | Wire Wire Line 280 | 3850 3750 3850 3200 281 | Wire Wire Line 282 | 3850 3200 4300 3200 283 | Wire Wire Line 284 | 3800 3850 3950 3850 285 | Wire Wire Line 286 | 3950 3850 3950 3300 287 | Wire Wire Line 288 | 3950 3300 4300 3300 289 | Wire Wire Line 290 | 4100 4200 4250 4200 291 | Wire Wire Line 292 | 4250 4200 4250 3600 293 | Wire Wire Line 294 | 4250 3600 4300 3600 295 | Wire Wire Line 296 | 4300 3500 4100 3500 297 | Wire Wire Line 298 | 4100 3500 4100 3750 299 | $EndSCHEMATC 300 | --------------------------------------------------------------------------------