kopia lustrzana https://github.com/conorpp/u2f-zero
added button
rodzic
5364260a34
commit
3cc707edab
|
@ -1,4 +1,203 @@
|
|||
EESchema-LIBRARY Version 2.3
|
||||
#encoding utf-8
|
||||
#
|
||||
# +5V
|
||||
#
|
||||
DEF +5V #PWR 0 0 Y Y 1 F P
|
||||
F0 "#PWR" 0 -150 50 H I C CNN
|
||||
F1 "+5V" 0 140 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
DRAW
|
||||
P 2 0 1 0 -30 50 0 100 N
|
||||
P 2 0 1 0 0 0 0 100 N
|
||||
P 2 0 1 0 0 100 30 50 N
|
||||
X +5V 1 0 0 0 U 50 50 1 1 W N
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# ATECC508A
|
||||
#
|
||||
DEF ATECC508A A 0 40 Y Y 1 F N
|
||||
F0 "A" 300 300 60 H V C CNN
|
||||
F1 "ATECC508A" -100 300 60 H V C CNN
|
||||
F2 "" -400 250 60 H V C CNN
|
||||
F3 "" -400 250 60 H V C CNN
|
||||
DRAW
|
||||
S -350 250 350 -250 1 1 4 N
|
||||
X NC 1 -600 150 276 R 39 39 1 1 P
|
||||
X NC 2 -600 50 276 R 39 39 1 1 P
|
||||
X NC 3 -600 -50 276 R 39 39 1 1 P
|
||||
X GND 4 -600 -150 276 R 39 39 1 1 P
|
||||
X SDA 5 600 -150 276 L 39 39 1 1 P
|
||||
X SCL 6 600 -50 276 L 39 39 1 1 P
|
||||
X NC 7 600 50 276 L 39 39 1 1 P
|
||||
X VCC 8 600 150 276 L 39 39 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# C
|
||||
#
|
||||
DEF C C 0 10 N Y 1 F N
|
||||
F0 "C" 25 100 50 H V L CNN
|
||||
F1 "C" 25 -100 50 H V L CNN
|
||||
F2 "" 38 -150 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
$FPLIST
|
||||
C?
|
||||
C_????_*
|
||||
C_????
|
||||
SMD*_c
|
||||
Capacitor*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
P 2 0 1 20 -80 -30 80 -30 N
|
||||
P 2 0 1 20 -80 30 80 30 N
|
||||
X ~ 1 0 150 110 D 40 40 1 1 P
|
||||
X ~ 2 0 -150 110 U 40 40 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# DF5A5.6JE
|
||||
#
|
||||
DEF DF5A5.6JE Z 0 40 Y Y 1 F N
|
||||
F0 "Z" -400 50 60 H V C CNN
|
||||
F1 "DF5A5.6JE" -550 150 60 H V C CNN
|
||||
F2 "" 0 0 60 H V C CNN
|
||||
F3 "" 0 0 60 H V C CNN
|
||||
DRAW
|
||||
S -300 200 300 -200 0 1 0 N
|
||||
X C1 1 -200 300 79 D 50 50 1 1 I
|
||||
X GND 2 0 300 79 D 50 50 1 1 I
|
||||
X C2 3 200 300 79 D 50 50 1 1 I
|
||||
X C3 4 -150 -300 79 U 50 50 1 1 I
|
||||
X C4 5 150 -300 79 U 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# EFM8UB1
|
||||
#
|
||||
DEF EFM8UB1 E 0 40 Y Y 1 F N
|
||||
F0 "E" -400 600 60 H V C CNN
|
||||
F1 "EFM8UB1" -550 700 60 H V C CNN
|
||||
F2 "" -500 500 60 H V C CNN
|
||||
F3 "" -500 500 60 H V C CNN
|
||||
DRAW
|
||||
C -300 250 71 0 1 4 N
|
||||
S -550 550 550 -500 0 1 4 N
|
||||
X P0.1 1 -850 350 276 R 39 39 1 1 P
|
||||
X P0.0 2 -850 200 276 R 39 39 1 1 P
|
||||
X GND 3 -850 50 276 R 39 39 1 1 P
|
||||
X D+ 4 -850 -100 276 R 39 39 1 1 P
|
||||
X D- 5 -850 -250 276 R 39 39 1 1 P
|
||||
X VDD 6 -450 -800 276 U 39 39 1 1 P
|
||||
X VREGIN 7 -300 -800 276 U 39 39 1 1 P
|
||||
X P3.1/VBUS 8 -150 -800 276 U 39 39 1 1 P
|
||||
X RSTb/C2CK 9 0 -800 276 U 39 39 1 1 P
|
||||
X P2.0/C2D 10 150 -800 276 U 39 39 1 1 P
|
||||
X P0.2 20 -250 800 276 D 39 39 1 1 P
|
||||
X P1.2/SCL 11 850 -350 276 L 39 39 1 1 P
|
||||
X GND 12 850 -200 276 L 39 39 1 1 P
|
||||
X P1.1/SDA 13 850 -50 276 L 39 39 1 1 P
|
||||
X P1.0 14 850 100 276 L 39 39 1 1 P
|
||||
X P0.7 15 850 250 276 L 39 39 1 1 P
|
||||
X P0.6 16 350 800 276 D 39 39 1 1 P
|
||||
X P0.5 17 200 800 276 D 39 39 1 1 P
|
||||
X P0.4 18 50 800 276 D 39 39 1 1 P
|
||||
X P0.3 19 -100 800 276 D 39 39 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# GNDREF
|
||||
#
|
||||
DEF GNDREF #PWR 0 0 Y Y 1 F P
|
||||
F0 "#PWR" 0 -250 50 H I C CNN
|
||||
F1 "GNDREF" 0 -150 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
DRAW
|
||||
P 2 0 1 0 -25 -75 25 -75 N
|
||||
P 2 0 1 0 -5 -100 5 -100 N
|
||||
P 2 0 1 0 0 -50 0 0 N
|
||||
P 2 0 1 0 50 -50 -50 -50 N
|
||||
X GNDREF 1 0 0 0 D 50 50 1 1 W N
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# LED_RGB
|
||||
#
|
||||
DEF LED_RGB D 0 0 Y Y 1 F N
|
||||
F0 "D" 0 425 50 H V C CNN
|
||||
F1 "LED_RGB" 0 350 50 H V C CNN
|
||||
F2 "" 0 -50 50 H V C CNN
|
||||
F3 "" 0 -50 50 H V C CNN
|
||||
DRAW
|
||||
T 0 -75 -250 50 0 0 0 B Normal 0 C C
|
||||
T 0 -75 -50 50 0 0 0 G Normal 0 C C
|
||||
T 0 -75 150 50 0 0 0 R Normal 0 C C
|
||||
S 50 -50 50 50 0 1 0 N
|
||||
S 50 50 50 50 0 1 0 N
|
||||
S 50 150 50 250 0 1 0 N
|
||||
S 50 250 50 250 0 1 0 N
|
||||
S 100 300 -100 -300 0 1 0 f
|
||||
P 2 0 1 0 -50 -200 -100 -200 N
|
||||
P 2 0 1 0 -50 -150 -50 -250 N
|
||||
P 2 0 1 0 -50 0 -100 0 N
|
||||
P 2 0 1 0 -50 200 -100 200 N
|
||||
P 2 0 1 0 50 -200 100 -200 N
|
||||
P 2 0 1 0 50 0 100 0 N
|
||||
P 2 0 1 0 50 200 100 200 N
|
||||
P 3 0 1 0 -50 50 -50 -50 -50 -50 N
|
||||
P 3 0 1 0 -50 250 -50 150 -50 150 N
|
||||
P 4 0 1 0 -53 -116 -73 -116 -53 -126 -53 -126 N
|
||||
P 4 0 1 0 -40 80 -60 80 -40 70 -40 70 N
|
||||
P 4 0 1 0 -40 280 -60 280 -40 270 -40 270 N
|
||||
P 5 0 1 0 20 -150 -30 -140 -20 -130 -60 -120 -60 -120 N
|
||||
P 5 0 1 0 50 -150 50 -250 -50 -200 50 -150 50 -150 F
|
||||
P 6 0 1 0 20 50 -30 60 -20 70 -60 80 -60 80 -60 80 N
|
||||
P 6 0 1 0 20 250 -30 260 -20 270 -60 280 -60 280 -60 280 N
|
||||
P 6 0 1 0 50 50 50 -50 -50 0 50 50 50 50 50 50 F
|
||||
P 6 0 1 0 50 250 50 150 -50 200 50 250 50 250 50 250 F
|
||||
X RC 1 -200 200 100 R 50 50 1 1 P
|
||||
X GC 2 -200 0 100 R 50 50 1 1 P
|
||||
X BC 3 -200 -200 100 R 50 50 1 1 P
|
||||
X BA 4 200 -200 100 L 50 50 1 1 P
|
||||
X GA 5 200 0 100 L 50 50 1 1 P
|
||||
X RA 6 200 200 100 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# R
|
||||
#
|
||||
DEF R R 0 0 N Y 1 F N
|
||||
F0 "R" 80 0 50 V V C CNN
|
||||
F1 "R" 0 0 50 V V C CNN
|
||||
F2 "" -70 0 50 V V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
$FPLIST
|
||||
R_*
|
||||
Resistor_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -40 -100 40 100 0 1 10 N
|
||||
X ~ 1 0 150 50 D 50 50 1 1 P
|
||||
X ~ 2 0 -150 50 U 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SW_PUSH
|
||||
#
|
||||
DEF SW_PUSH SW 0 40 N N 1 F N
|
||||
F0 "SW" 150 110 50 H V C CNN
|
||||
F1 "SW_PUSH" 0 -80 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
DRAW
|
||||
S -170 50 170 60 0 1 0 N
|
||||
P 4 0 1 0 -40 60 -30 90 30 90 40 60 N
|
||||
X 1 1 -300 0 200 R 50 50 0 1 P I
|
||||
X 2 2 300 0 200 L 50 50 0 1 P I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
#End Library
|
||||
|
|
119
u2f-zero.sch
119
u2f-zero.sch
|
@ -30,6 +30,7 @@ LIBS:contrib
|
|||
LIBS:valves
|
||||
LIBS:siliconlabs
|
||||
LIBS:atmel_cryptoauth
|
||||
LIBS:discrete
|
||||
LIBS:u2f-zero-cache
|
||||
EELAYER 25 0
|
||||
EELAYER END
|
||||
|
@ -80,19 +81,6 @@ F 3 "" H 6600 4950 60 0000 C CNN
|
|||
-1 0 0 1
|
||||
$EndComp
|
||||
NoConn ~ 7600 4750
|
||||
$Comp
|
||||
L GNDREF #PWR?
|
||||
U 1 1 568575A6
|
||||
P 6200 6050
|
||||
F 0 "#PWR?" H 6200 5800 50 0001 C CNN
|
||||
F 1 "GNDREF" H 6200 5900 50 0000 C CNN
|
||||
F 2 "" H 6200 6050 50 0000 C CNN
|
||||
F 3 "" H 6200 6050 50 0000 C CNN
|
||||
1 6200 6050
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Label 6200 5900 0 60 ~ 0
|
||||
GND
|
||||
Text Label 4350 4450 2 60 ~ 0
|
||||
GND
|
||||
NoConn ~ 7600 4850
|
||||
|
@ -105,8 +93,6 @@ Text Label 6400 5150 0 60 ~ 0
|
|||
GND
|
||||
Text Label 6050 4700 0 60 ~ 0
|
||||
GND
|
||||
Wire Wire Line
|
||||
6200 5600 6200 6050
|
||||
Wire Wire Line
|
||||
6050 4850 6300 4850
|
||||
Wire Wire Line
|
||||
|
@ -158,17 +144,6 @@ Wire Wire Line
|
|||
Wire Wire Line
|
||||
7350 3450 7350 3600
|
||||
$Comp
|
||||
L +5V #PWR?
|
||||
U 1 1 56857C3F
|
||||
P 4900 6050
|
||||
F 0 "#PWR?" H 4900 5900 50 0001 C CNN
|
||||
F 1 "+5V" H 4900 6190 50 0000 C CNN
|
||||
F 2 "" H 4900 6050 50 0000 C CNN
|
||||
F 3 "" H 4900 6050 50 0000 C CNN
|
||||
1 4900 6050
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L C C?
|
||||
U 1 1 56857DEB
|
||||
P 5350 5600
|
||||
|
@ -191,14 +166,12 @@ F 3 "" H 5350 5950 50 0000 C CNN
|
|||
0 1 1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
4900 5300 4900 6050
|
||||
4900 5300 4900 6150
|
||||
Wire Wire Line
|
||||
4900 5950 5200 5950
|
||||
Wire Wire Line
|
||||
4900 5600 5200 5600
|
||||
Connection ~ 4900 5950
|
||||
Wire Wire Line
|
||||
5500 5600 6200 5600
|
||||
Wire Wire Line
|
||||
5500 5950 5750 5950
|
||||
Wire Wire Line
|
||||
|
@ -243,14 +216,96 @@ Wire Wire Line
|
|||
Connection ~ 4050 5950
|
||||
Text Label 4050 6100 3 60 ~ 0
|
||||
GND
|
||||
Text Label 4900 5450 0 60 ~ 0
|
||||
+5V
|
||||
Text Label 4750 5450 2 60 ~ 0
|
||||
+3.3V
|
||||
Text Label 7350 3600 0 60 ~ 0
|
||||
+5V
|
||||
NoConn ~ 4950 3700
|
||||
NoConn ~ 5100 3700
|
||||
NoConn ~ 4350 4150
|
||||
NoConn ~ 4350 4300
|
||||
$Comp
|
||||
L DF5A5.6JE Z?
|
||||
U 1 1 56857EAF
|
||||
P 3700 5100
|
||||
F 0 "Z?" H 3300 5150 60 0000 C CNN
|
||||
F 1 "DF5A5.6JE" H 3150 5250 60 0000 C CNN
|
||||
F 2 "" H 3700 5100 60 0000 C CNN
|
||||
F 3 "" H 3700 5100 60 0000 C CNN
|
||||
1 3700 5100
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
3550 5400 3550 5650
|
||||
$Comp
|
||||
L GNDREF #PWR?
|
||||
U 1 1 568575A6
|
||||
P 6500 5850
|
||||
F 0 "#PWR?" H 6500 5600 50 0001 C CNN
|
||||
F 1 "GNDREF" H 6500 5700 50 0000 C CNN
|
||||
F 2 "" H 6500 5850 50 0000 C CNN
|
||||
F 3 "" H 6500 5850 50 0000 C CNN
|
||||
1 6500 5850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
6500 5650 6500 5850
|
||||
Text Label 6500 5650 0 60 ~ 0
|
||||
GND
|
||||
$Comp
|
||||
L +5V #PWR?
|
||||
U 1 1 56858241
|
||||
P 6850 5850
|
||||
F 0 "#PWR?" H 6850 5700 50 0001 C CNN
|
||||
F 1 "+5V" H 6850 5990 50 0000 C CNN
|
||||
F 2 "" H 6850 5850 50 0000 C CNN
|
||||
F 3 "" H 6850 5850 50 0000 C CNN
|
||||
1 6850 5850
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
6850 5850 6850 5650
|
||||
Text Label 6850 5650 0 60 ~ 0
|
||||
+5V
|
||||
Wire Wire Line
|
||||
5500 5600 5900 5600
|
||||
Text Label 5900 5600 0 60 ~ 0
|
||||
GND
|
||||
Text Label 4900 6150 0 60 ~ 0
|
||||
+5V
|
||||
Text Label 3550 5650 0 60 ~ 0
|
||||
+5V
|
||||
NoConn ~ 3850 5400
|
||||
Text Label 3700 4800 0 60 ~ 0
|
||||
GND
|
||||
Wire Wire Line
|
||||
3500 4400 3500 4800
|
||||
Wire Wire Line
|
||||
3500 4600 4350 4600
|
||||
Wire Wire Line
|
||||
3900 4400 3900 4800
|
||||
Wire Wire Line
|
||||
3900 4750 4350 4750
|
||||
Connection ~ 3500 4600
|
||||
Connection ~ 3900 4750
|
||||
Text Label 3500 4400 0 60 ~ 0
|
||||
HD+
|
||||
Text Label 3900 4400 0 60 ~ 0
|
||||
HD-
|
||||
$Comp
|
||||
L SW_PUSH SW?
|
||||
U 1 1 5685E9F9
|
||||
P 4800 3400
|
||||
F 0 "SW?" H 4950 3510 50 0000 C CNN
|
||||
F 1 "SW_PUSH" H 4800 3320 50 0000 C CNN
|
||||
F 2 "" H 4800 3400 50 0000 C CNN
|
||||
F 3 "" H 4800 3400 50 0000 C CNN
|
||||
1 4800 3400
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5100 3700 5100 3400
|
||||
Wire Wire Line
|
||||
4500 3400 4350 3400
|
||||
Text Label 4350 3400 2 60 ~ 0
|
||||
+3.3V
|
||||
$EndSCHEMATC
|
||||
|
|
Ładowanie…
Reference in New Issue