summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2019-11-03 05:19:01 +0100
committerLeonard Kugis <leonard@kug.is>2019-11-03 05:19:01 +0100
commit2212bbfbfcc84eb3b5b1a86dedc88ca3caa8a59d (patch)
tree1e4132fa67de41b28552db857a9c97c4550d96dd
parent2f5270820a83a9a7efcc1088ed4e1d09a6a64781 (diff)
Schematic
Added Power wirings and connectors. Added 7-segment display output components and wiring to schematic. Added shift registers for button inputs.
-rw-r--r--PinLock-cache.lib151
-rw-r--r--PinLock.sch685
-rw-r--r--PinLock.sch-bak173
3 files changed, 919 insertions, 90 deletions
diff --git a/PinLock-cache.lib b/PinLock-cache.lib
index 44c94e9..1698e50 100644
--- a/PinLock-cache.lib
+++ b/PinLock-cache.lib
@@ -1,6 +1,42 @@
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
+# 74xx_74HC595
+#
+DEF 74xx_74HC595 U 0 20 Y Y 1 F N
+F0 "U" -300 550 50 H V C CNN
+F1 "74xx_74HC595" -300 -650 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+ALIAS 74LS595 74HCT595
+$FPLIST
+ DIP*W7.62mm*
+ SOIC*3.9x9.9mm*P1.27mm*
+ TSSOP*4.4x5mm*P0.65mm*
+ SOIC*5.3x10.2mm*P1.27mm*
+ SOIC*7.5x10.3mm*P1.27mm*
+$ENDFPLIST
+DRAW
+S -300 500 300 -600 1 1 10 f
+X QB 1 400 300 100 L 50 50 1 0 T
+X ~SRCLR 10 -400 100 100 R 50 50 1 0 I
+X SRCLK 11 -400 200 100 R 50 50 1 0 I
+X RCLK 12 -400 -100 100 R 50 50 1 0 I
+X ~OE 13 -400 -200 100 R 50 50 1 0 I
+X SER 14 -400 400 100 R 50 50 1 0 I
+X QA 15 400 400 100 L 50 50 1 0 T
+X VCC 16 0 600 100 D 50 50 1 0 W
+X QC 2 400 200 100 L 50 50 1 0 T
+X QD 3 400 100 100 L 50 50 1 0 T
+X QE 4 400 0 100 L 50 50 1 0 T
+X QF 5 400 -100 100 L 50 50 1 0 T
+X QG 6 400 -200 100 L 50 50 1 0 T
+X QH 7 400 -300 100 L 50 50 1 0 T
+X GND 8 0 -700 100 U 50 50 1 0 W
+X QH' 9 400 -500 100 L 50 50 1 0 O
+ENDDRAW
+ENDDEF
+#
# 74xx_74LS48
#
DEF 74xx_74LS48 U 0 40 Y Y 1 L N
@@ -57,6 +93,44 @@ X MountPin MP 0 -300 120 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
+# Connector_Conn_01x08_Female
+#
+DEF Connector_Conn_01x08_Female J 0 40 Y N 1 F N
+F0 "J" 0 400 50 H V C CNN
+F1 "Connector_Conn_01x08_Female" 0 -500 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+$FPLIST
+ Connector*:*_1x??_*
+$ENDFPLIST
+DRAW
+A 0 -400 20 901 -901 1 1 6 N 0 -380 0 -420
+A 0 -300 20 901 -901 1 1 6 N 0 -280 0 -320
+A 0 -200 20 901 -901 1 1 6 N 0 -180 0 -220
+A 0 -100 20 901 -901 1 1 6 N 0 -80 0 -120
+A 0 0 20 901 -901 1 1 6 N 0 20 0 -20
+A 0 100 20 901 -901 1 1 6 N 0 120 0 80
+A 0 200 20 901 -901 1 1 6 N 0 220 0 180
+A 0 300 20 901 -901 1 1 6 N 0 320 0 280
+P 2 1 1 6 -50 -400 -20 -400 N
+P 2 1 1 6 -50 -300 -20 -300 N
+P 2 1 1 6 -50 -200 -20 -200 N
+P 2 1 1 6 -50 -100 -20 -100 N
+P 2 1 1 6 -50 0 -20 0 N
+P 2 1 1 6 -50 100 -20 100 N
+P 2 1 1 6 -50 200 -20 200 N
+P 2 1 1 6 -50 300 -20 300 N
+X Pin_1 1 -200 300 150 R 50 50 1 1 P
+X Pin_2 2 -200 200 150 R 50 50 1 1 P
+X Pin_3 3 -200 100 150 R 50 50 1 1 P
+X Pin_4 4 -200 0 150 R 50 50 1 1 P
+X Pin_5 5 -200 -100 150 R 50 50 1 1 P
+X Pin_6 6 -200 -200 150 R 50 50 1 1 P
+X Pin_7 7 -200 -300 150 R 50 50 1 1 P
+X Pin_8 8 -200 -400 150 R 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
# Connector_USB_B_Micro
#
DEF Connector_USB_B_Micro J 0 40 Y Y 1 F N
@@ -93,6 +167,66 @@ X Shield 6 -100 -400 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
+# Device_C
+#
+DEF Device_C C 0 10 N Y 1 F N
+F0 "C" 25 100 50 H V L CNN
+F1 "Device_C" 25 -100 50 H V L CNN
+F2 "" 38 -150 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+$FPLIST
+ C_*
+$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 50 50 1 1 P
+X ~ 2 0 -150 110 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# Display_Character_SA15-11GWA
+#
+DEF Display_Character_SA15-11GWA U 0 20 Y Y 1 F N
+F0 "U" 0 650 50 H V C CNN
+F1 "Display_Character_SA15-11GWA" 0 550 50 H V C CNN
+F2 "Display_7Segment:SA15-11xxx" 0 -50 50 H I C CNN
+F3 "" 0 -50 50 H I C CNN
+ALIAS SA15-11GWA SA15-11EWA
+$FPLIST
+ SA15?11*
+$ENDFPLIST
+DRAW
+T 0 10 270 20 0 1 0 A Normal 0 C C
+T 0 100 240 20 0 1 0 B Normal 0 C C
+T 0 90 120 20 0 1 0 C Normal 0 C C
+T 0 -10 90 20 0 1 0 D Normal 0 C C
+T 0 140 60 20 0 1 0 DP Normal 0 C C
+T 0 -100 120 20 0 1 0 E Normal 0 C C
+T 0 -90 240 20 0 1 0 F Normal 0 C C
+T 0 0 210 20 0 1 0 G Normal 0 C C
+S -200 500 200 -500 1 1 10 f
+P 2 1 1 20 -60 160 -70 80 N
+P 2 1 1 20 -50 60 30 60 N
+P 2 1 1 20 -50 280 -60 200 N
+P 2 1 1 20 -40 180 40 180 N
+P 2 1 1 20 -30 300 50 300 N
+P 2 1 1 20 60 160 50 80 N
+P 2 1 1 20 70 280 60 200 N
+P 2 1 1 20 100 60 100 60 N
+X CA 1 300 -400 100 L 50 50 1 1 I
+X G 10 -300 -300 100 R 50 50 1 1 I
+X E 2 -300 -100 100 R 50 50 1 1 I
+X D 3 -300 0 100 R 50 50 1 1 I
+X C 4 -300 100 100 R 50 50 1 1 I
+X CA 5 300 -300 100 L 50 50 1 1 I
+X B 6 -300 200 100 R 50 50 1 1 I
+X A 7 -300 300 100 R 50 50 1 1 I
+X DP 8 -300 -400 100 R 50 50 1 1 I
+X F 9 -300 -200 100 R 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
# MCU_Microchip_ATmega_ATmega16A-PU
#
DEF MCU_Microchip_ATmega_ATmega16A-PU U 0 20 Y Y 1 F N
@@ -168,6 +302,23 @@ X VI 3 -300 0 100 R 50 50 1 1 W
ENDDRAW
ENDDEF
#
+# Switch_SW_Push
+#
+DEF Switch_SW_Push SW 0 40 N N 1 F N
+F0 "SW" 50 100 50 H V L CNN
+F1 "Switch_SW_Push" 0 -60 50 H V C CNN
+F2 "" 0 200 50 H I C CNN
+F3 "" 0 200 50 H I C CNN
+DRAW
+C -80 0 20 0 1 0 N
+C 80 0 20 0 1 0 N
+P 2 0 1 0 0 50 0 120 N
+P 2 0 1 0 100 50 -100 50 N
+X 1 1 -200 0 100 R 50 50 0 1 P
+X 2 2 200 0 100 L 50 50 0 1 P
+ENDDRAW
+ENDDEF
+#
# power_GND
#
DEF power_GND #PWR 0 0 Y Y 1 F P
diff --git a/PinLock.sch b/PinLock.sch
index 675ba11..00a9108 100644
--- a/PinLock.sch
+++ b/PinLock.sch
@@ -16,136 +16,641 @@ Comment4 ""
$EndDescr
$Comp
L 74xx:74LS48 U?
-U 1 1 5DB8ABBB
-P 7650 1800
-F 0 "U?" H 7650 2581 50 0000 C CNN
-F 1 "74LS48" H 7650 2490 50 0000 C CNN
-F 2 "" H 7650 1800 50 0001 C CNN
-F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 7650 1800 50 0001 C CNN
- 1 7650 1800
- 1 0 0 -1
-$EndComp
-$Comp
-L 74xx:74LS48 U?
-U 1 1 5DB8F280
-P 9150 1800
-F 0 "U?" H 9150 2581 50 0000 C CNN
-F 1 "74LS48" H 9150 2490 50 0000 C CNN
-F 2 "" H 9150 1800 50 0001 C CNN
-F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 9150 1800 50 0001 C CNN
- 1 9150 1800
- 1 0 0 -1
-$EndComp
-$Comp
-L 74xx:74LS48 U?
U 1 1 5DB99928
-P 7650 3650
-F 0 "U?" H 7650 4431 50 0000 C CNN
-F 1 "74LS48" H 7650 4340 50 0000 C CNN
-F 2 "" H 7650 3650 50 0001 C CNN
-F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 7650 3650 50 0001 C CNN
- 1 7650 3650
- 1 0 0 -1
-$EndComp
-$Comp
-L 74xx:74LS48 U?
-U 1 1 5DB9A0A0
-P 9450 3650
-F 0 "U?" H 9450 4431 50 0000 C CNN
-F 1 "74LS48" H 9450 4340 50 0000 C CNN
-F 2 "" H 9450 3650 50 0001 C CNN
-F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 9450 3650 50 0001 C CNN
- 1 9450 3650
+P 10300 2550
+F 0 "U?" H 10550 3000 50 0000 C CNN
+F 1 "74LS48" H 10100 3000 50 0000 C CNN
+F 2 "" H 10300 2550 50 0001 C CNN
+F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 10300 2550 50 0001 C CNN
+ 1 10300 2550
1 0 0 -1
$EndComp
+Wire Wire Line
+ 5300 950 5400 950
+Connection ~ 5300 950
+Wire Wire Line
+ 5400 950 5400 1300
+Wire Wire Line
+ 5300 950 5300 1300
$Comp
L MCU_Microchip_ATmega:ATmega16A-PU U?
U 1 1 5DB85A9E
P 5300 3300
-F 0 "U?" H 5300 1211 50 0000 C CNN
-F 1 "ATmega16A-PU" H 5300 1120 50 0000 C CNN
+F 0 "U?" H 5750 1350 50 0000 C CNN
+F 1 "ATmega16A-PU" H 4900 1350 50 0000 C CNN
F 2 "Package_DIP:DIP-40_W15.24mm" H 5300 3300 50 0001 C CIN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8154-8-bit-AVR-ATmega16A_Datasheet.pdf" H 5300 3300 50 0001 C CNN
1 5300 3300
1 0 0 -1
$EndComp
$Comp
-L Connector:Barrel_Jack_MountingPin J?
-U 1 1 5DBB60C9
-P 2300 1050
-F 0 "J?" H 2357 1367 50 0000 C CNN
-F 1 "Barrel_Jack_MountingPin" H 2357 1276 50 0000 C CNN
-F 2 "" H 2350 1010 50 0001 C CNN
-F 3 "~" H 2350 1010 50 0001 C CNN
- 1 2300 1050
+L Switch:SW_Push SW?
+U 1 1 5DBE2224
+P 4250 1600
+F 0 "SW?" H 4250 1885 50 0000 C CNN
+F 1 "SW_Push" H 4250 1794 50 0000 C CNN
+F 2 "" H 4250 1800 50 0001 C CNN
+F 3 "~" H 4250 1800 50 0001 C CNN
+ 1 4250 1600
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4700 1600 4450 1600
+$Comp
+L power:GND #PWR?
+U 1 1 5DBD43C2
+P 2050 7100
+F 0 "#PWR?" H 2050 6850 50 0001 C CNN
+F 1 "GND" H 2055 6927 50 0000 C CNN
+F 2 "" H 2050 7100 50 0001 C CNN
+F 3 "" H 2050 7100 50 0001 C CNN
+ 1 2050 7100
1 0 0 -1
$EndComp
+NoConn ~ 1650 1350
$Comp
L Regulator_Linear:AMS1117-5.0 U?
U 1 1 5DBB71E9
-P 3500 950
-F 0 "U?" H 3500 1192 50 0000 C CNN
-F 1 "AMS1117-5.0" H 3500 1101 50 0000 C CNN
-F 2 "Package_TO_SOT_SMD:SOT-223-3_TabPin2" H 3500 1150 50 0001 C CNN
-F 3 "http://www.advanced-monolithic.com/pdf/ds1117.pdf" H 3600 700 50 0001 C CNN
- 1 3500 950
+P 3300 950
+F 0 "U?" H 3300 1192 50 0000 C CNN
+F 1 "AMS1117-5.0" H 3300 1101 50 0000 C CNN
+F 2 "Package_TO_SOT_SMD:SOT-223-3_TabPin2" H 3300 1150 50 0001 C CNN
+F 3 "http://www.advanced-monolithic.com/pdf/ds1117.pdf" H 3400 700 50 0001 C CNN
+ 1 3300 950
+ 1 0 0 -1
+$EndComp
+$Comp
+L Connector:Barrel_Jack_MountingPin J?
+U 1 1 5DBB60C9
+P 1650 1050
+F 0 "J?" H 1707 1367 50 0000 C CNN
+F 1 "Barrel_Jack_MountingPin" H 1707 1276 50 0000 C CNN
+F 2 "" H 1700 1010 50 0001 C CNN
+F 3 "~" H 1700 1010 50 0001 C CNN
+ 1 1650 1050
1 0 0 -1
$EndComp
+Wire Wire Line
+ 3600 950 3700 950
$Comp
L Connector:USB_B_Micro J?
U 1 1 5DBB7B46
-P 2250 2000
-F 0 "J?" H 2307 2467 50 0000 C CNN
-F 1 "USB_B_Micro" H 2307 2376 50 0000 C CNN
-F 2 "" H 2400 1950 50 0001 C CNN
-F 3 "~" H 2400 1950 50 0001 C CNN
- 1 2250 2000
+P 1650 1900
+F 0 "J?" H 1707 2367 50 0000 C CNN
+F 1 "USB_B_Micro" H 1707 2276 50 0000 C CNN
+F 2 "" H 1800 1850 50 0001 C CNN
+F 3 "~" H 1800 1850 50 0001 C CNN
+ 1 1650 1900
1 0 0 -1
$EndComp
-NoConn ~ 2550 2000
-NoConn ~ 2300 1350
-NoConn ~ 2550 2100
-NoConn ~ 2550 2200
-NoConn ~ 2150 2400
+$Comp
+L Device:C C?
+U 1 1 5DC7168B
+P 2300 1250
+F 0 "C?" V 2250 1150 50 0000 C CNN
+F 1 "C" V 2250 1350 50 0000 C CNN
+F 2 "" H 2338 1100 50 0001 C CNN
+F 3 "~" H 2300 1250 50 0001 C CNN
+ 1 2300 1250
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 1950 950 2050 950
+Wire Wire Line
+ 2050 950 2050 1250
+Wire Wire Line
+ 1950 1150 2150 1150
+Wire Wire Line
+ 2150 1150 2150 950
+Wire Wire Line
+ 2150 950 2550 950
Wire Wire Line
- 2600 1150 2900 1150
+ 2050 1250 2150 1250
+Connection ~ 2050 1250
Wire Wire Line
- 2900 1150 2900 950
+ 2050 1250 2050 1350
Wire Wire Line
- 2600 950 2750 950
+ 2450 1250 2550 1250
Wire Wire Line
- 2750 950 2750 2400
+ 2550 1250 2550 950
+Connection ~ 2550 950
Wire Wire Line
- 2250 2400 2750 2400
-Connection ~ 2750 2400
+ 2550 950 3000 950
Wire Wire Line
- 2750 2400 2750 5950
+ 3300 1250 3300 1350
+Wire Wire Line
+ 3300 1350 2050 1350
+Connection ~ 2050 1350
+Wire Wire Line
+ 2050 1350 2050 1600
+Wire Wire Line
+ 1950 1700 2250 1700
+Wire Wire Line
+ 3700 1700 3700 950
+Connection ~ 3700 950
+Wire Wire Line
+ 3700 950 5300 950
+Wire Wire Line
+ 1650 2300 1650 2400
+Wire Wire Line
+ 1650 2400 2050 2400
+Connection ~ 2050 2400
+Wire Wire Line
+ 2050 2400 2050 7000
$Comp
-L power:GND #PWR?
-U 1 1 5DBD43C2
-P 2750 5950
-F 0 "#PWR?" H 2750 5700 50 0001 C CNN
-F 1 "GND" H 2755 5777 50 0000 C CNN
-F 2 "" H 2750 5950 50 0001 C CNN
-F 3 "" H 2750 5950 50 0001 C CNN
- 1 2750 5950
+L Device:C C?
+U 1 1 5DC8ECAA
+P 2250 1950
+F 0 "C?" H 2365 1996 50 0000 L CNN
+F 1 "C" H 2365 1905 50 0000 L CNN
+F 2 "" H 2288 1800 50 0001 C CNN
+F 3 "~" H 2250 1950 50 0001 C CNN
+ 1 2250 1950
1 0 0 -1
$EndComp
Wire Wire Line
- 2900 950 3200 950
+ 2250 1700 2250 1800
+Connection ~ 2250 1700
Wire Wire Line
- 3500 1250 3500 2400
+ 2250 1700 3700 1700
Wire Wire Line
- 3500 2400 2750 2400
+ 2250 2100 2250 2400
Wire Wire Line
- 3800 950 4000 950
+ 2250 2400 2050 2400
Wire Wire Line
- 5300 950 5300 1300
+ 4050 1600 2050 1600
+Connection ~ 2050 1600
+Wire Wire Line
+ 2050 1600 2050 2400
+Wire Wire Line
+ 5300 5300 5300 6200
+Wire Wire Line
+ 5300 7000 2050 7000
+Connection ~ 2050 7000
+Wire Wire Line
+ 2050 7000 2050 7100
+$Comp
+L Display_Character:SA15-11GWA U?
+U 1 1 5DCC2268
+P 10650 5600
+F 0 "U?" H 10650 6267 50 0000 C CNN
+F 1 "SA15-11GWA" H 10650 6176 50 0000 C CNN
+F 2 "Display_7Segment:SA15-11xxx" H 10650 5550 50 0001 C CNN
+F 3 "http://www.kingbrightusa.com/images/catalog/SPEC/SA15-11GWA.pdf" H 10650 5550 50 0001 C CNN
+ 1 10650 5600
+ 1 0 0 -1
+$EndComp
+Text GLabel 10350 5900 0 50 Input ~ 0
+g4
+Text GLabel 10350 5800 0 50 Input ~ 0
+f4
+Text GLabel 10350 5700 0 50 Input ~ 0
+e4
+Text GLabel 10350 5600 0 50 Input ~ 0
+d4
+Text GLabel 10350 5500 0 50 Input ~ 0
+c4
+Text GLabel 10350 5400 0 50 Input ~ 0
+b4
+Text GLabel 10350 5300 0 50 Input ~ 0
+a4
+Text GLabel 9500 5900 0 50 Input ~ 0
+g3
+Text GLabel 9500 5800 0 50 Input ~ 0
+f3
+Text GLabel 9500 5700 0 50 Input ~ 0
+e3
+Text GLabel 9500 5600 0 50 Input ~ 0
+d3
+Text GLabel 9500 5500 0 50 Input ~ 0
+c3
+Text GLabel 9500 5400 0 50 Input ~ 0
+b3
+Text GLabel 9500 5300 0 50 Input ~ 0
+a3
+$Comp
+L Display_Character:SA15-11GWA U?
+U 1 1 5DCC1AA9
+P 9800 5600
+F 0 "U?" H 9800 6267 50 0000 C CNN
+F 1 "SA15-11GWA" H 9800 6176 50 0000 C CNN
+F 2 "Display_7Segment:SA15-11xxx" H 9800 5550 50 0001 C CNN
+F 3 "http://www.kingbrightusa.com/images/catalog/SPEC/SA15-11GWA.pdf" H 9800 5550 50 0001 C CNN
+ 1 9800 5600
+ 1 0 0 -1
+$EndComp
+Text GLabel 8650 5300 0 50 Input ~ 0
+a2
+Text GLabel 7800 5300 0 50 Input ~ 0
+a1
+Text GLabel 8650 5400 0 50 Input ~ 0
+b2
+Text GLabel 8650 5500 0 50 Input ~ 0
+c2
+Text GLabel 8650 5600 0 50 Input ~ 0
+d2
+Text GLabel 8650 5700 0 50 Input ~ 0
+e2
+Text GLabel 8650 5800 0 50 Input ~ 0
+f2
+Text GLabel 8650 5900 0 50 Input ~ 0
+g2
+Text GLabel 7800 5800 0 50 Input ~ 0
+f1
+Text GLabel 7800 5900 0 50 Input ~ 0
+g1
+Text GLabel 7800 5700 0 50 Input ~ 0
+e1
+Text GLabel 7800 5600 0 50 Input ~ 0
+d1
+Text GLabel 7800 5500 0 50 Input ~ 0
+c1
+Text GLabel 7800 5400 0 50 Input ~ 0
+b1
+$Comp
+L Display_Character:SA15-11GWA U?
+U 1 1 5DCC1083
+P 8950 5600
+F 0 "U?" H 8950 6267 50 0000 C CNN
+F 1 "SA15-11GWA" H 8950 6176 50 0000 C CNN
+F 2 "Display_7Segment:SA15-11xxx" H 8950 5550 50 0001 C CNN
+F 3 "http://www.kingbrightusa.com/images/catalog/SPEC/SA15-11GWA.pdf" H 8950 5550 50 0001 C CNN
+ 1 8950 5600
+ 1 0 0 -1
+$EndComp
+Text GLabel 9200 2850 2 50 Output ~ 0
+g1
+Text GLabel 9200 2750 2 50 Output ~ 0
+f1
+Text GLabel 9200 2650 2 50 Output ~ 0
+e1
+Text GLabel 9200 2550 2 50 Output ~ 0
+d1
+Text GLabel 9200 2450 2 50 Output ~ 0
+c1
+Text GLabel 9200 2350 2 50 Output ~ 0
+b1
+Text GLabel 9200 2250 2 50 Output ~ 0
+a1
+$Comp
+L Display_Character:SA15-11GWA U?
+U 1 1 5DC0704B
+P 8100 5600
+F 0 "U?" H 8100 6267 50 0000 C CNN
+F 1 "SA15-11GWA" H 8100 6176 50 0000 C CNN
+F 2 "Display_7Segment:SA15-11xxx" H 8100 5550 50 0001 C CNN
+F 3 "http://www.kingbrightusa.com/images/catalog/SPEC/SA15-11GWA.pdf" H 8100 5550 50 0001 C CNN
+ 1 8100 5600
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10950 5900 10950 6000
+Wire Wire Line
+ 10950 6200 10350 6200
+Connection ~ 10950 6000
+Wire Wire Line
+ 10950 6000 10950 6200
+Connection ~ 5300 6200
+Wire Wire Line
+ 5300 6200 5300 7000
+Wire Wire Line
+ 7800 6000 7800 6200
+Connection ~ 7800 6200
+Wire Wire Line
+ 7800 6200 7550 6200
+Wire Wire Line
+ 8400 5900 8400 6000
+Connection ~ 8400 6200
+Wire Wire Line
+ 8400 6200 7800 6200
+Connection ~ 8400 6000
+Wire Wire Line
+ 8400 6000 8400 6200
+Wire Wire Line
+ 8650 6000 8650 6200
+Connection ~ 8650 6200
+Wire Wire Line
+ 8650 6200 8400 6200
+Wire Wire Line
+ 9250 5900 9250 6000
+Connection ~ 9250 6200
Wire Wire Line
- 2550 1800 4000 1800
+ 9250 6200 8650 6200
+Connection ~ 9250 6000
Wire Wire Line
- 4000 1800 4000 950
-Connection ~ 4000 950
+ 9250 6000 9250 6200
Wire Wire Line
- 4000 950 5300 950
+ 9500 6000 9500 6200
+Connection ~ 9500 6200
+Wire Wire Line
+ 9500 6200 9250 6200
+Wire Wire Line
+ 10100 5900 10100 6000
+Connection ~ 10100 6200
+Wire Wire Line
+ 10100 6200 9500 6200
+Connection ~ 10100 6000
+Wire Wire Line
+ 10100 6000 10100 6200
+Wire Wire Line
+ 10350 6000 10350 6200
+Connection ~ 10350 6200
+Wire Wire Line
+ 10350 6200 10100 6200
+Text GLabel 8200 2250 0 50 Input ~ 0
+CHAR0_0
+Text GLabel 8200 2350 0 50 Input ~ 0
+CHAR0_1
+Text GLabel 8200 2450 0 50 Input ~ 0
+CHAR0_2
+Text GLabel 8200 2550 0 50 Input ~ 0
+CHAR0_3
+Text GLabel 10800 2250 2 50 Output ~ 0
+a2
+Text GLabel 10800 2350 2 50 Output ~ 0
+b2
+Text GLabel 10800 2450 2 50 Output ~ 0
+c2
+Text GLabel 10800 2550 2 50 Output ~ 0
+d2
+Text GLabel 10800 2650 2 50 Output ~ 0
+e2
+Text GLabel 10800 2750 2 50 Output ~ 0
+f2
+Text GLabel 10800 2850 2 50 Output ~ 0
+g2
+Text GLabel 9800 2250 0 50 Input ~ 0
+CHAR1_0
+Text GLabel 9800 2350 0 50 Input ~ 0
+CHAR1_1
+Text GLabel 9800 2450 0 50 Input ~ 0
+CHAR1_2
+Text GLabel 9800 2550 0 50 Input ~ 0
+CHAR1_3
+$Comp
+L 74xx:74LS48 U?
+U 1 1 5DB9A0A0
+P 8700 4050
+F 0 "U?" H 8950 4500 50 0000 C CNN
+F 1 "74LS48" H 8500 4500 50 0000 C CNN
+F 2 "" H 8700 4050 50 0001 C CNN
+F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 8700 4050 50 0001 C CNN
+ 1 8700 4050
+ 1 0 0 -1
+$EndComp
+Text GLabel 8200 4050 0 50 Input ~ 0
+CHAR2_3
+Text GLabel 8200 3950 0 50 Input ~ 0
+CHAR2_2
+Text GLabel 8200 3850 0 50 Input ~ 0
+CHAR2_1
+Text GLabel 8200 3750 0 50 Input ~ 0
+CHAR2_0
+Text GLabel 9200 4350 2 50 Output ~ 0
+g3
+Text GLabel 9200 4250 2 50 Output ~ 0
+f3
+Text GLabel 9200 4150 2 50 Output ~ 0
+e3
+Text GLabel 9200 4050 2 50 Output ~ 0
+d3
+Text GLabel 9200 3950 2 50 Output ~ 0
+c3
+Text GLabel 9200 3850 2 50 Output ~ 0
+b3
+Text GLabel 9200 3750 2 50 Output ~ 0
+a3
+$Comp
+L 74xx:74LS48 U?
+U 1 1 5DB8F280
+P 10300 4050
+F 0 "U?" H 10550 4500 50 0000 C CNN
+F 1 "74LS48" H 10100 4500 50 0000 C CNN
+F 2 "" H 10300 4050 50 0001 C CNN
+F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 10300 4050 50 0001 C CNN
+ 1 10300 4050
+ 1 0 0 -1
+$EndComp
+Text GLabel 10800 3750 2 50 Output ~ 0
+a4
+Text GLabel 10800 3850 2 50 Output ~ 0
+b4
+Text GLabel 10800 3950 2 50 Output ~ 0
+c4
+Text GLabel 10800 4050 2 50 Output ~ 0
+d4
+Text GLabel 10800 4150 2 50 Output ~ 0
+e4
+Text GLabel 10800 4250 2 50 Output ~ 0
+f4
+Text GLabel 10800 4350 2 50 Output ~ 0
+g4
+Text GLabel 9800 3750 0 50 Input ~ 0
+CHAR3_0
+Text GLabel 9800 3850 0 50 Input ~ 0
+CHAR3_1
+Text GLabel 9800 3950 0 50 Input ~ 0
+CHAR3_2
+Text GLabel 9800 4050 0 50 Input ~ 0
+CHAR3_0
+$Comp
+L 74xx:74LS48 U?
+U 1 1 5DB8ABBB
+P 8700 2550
+F 0 "U?" H 8950 3000 50 0000 C CNN
+F 1 "74LS48" H 8500 3000 50 0000 C CNN
+F 2 "" H 8700 2550 50 0001 C CNN
+F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 8700 2550 50 0001 C CNN
+ 1 8700 2550
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 10300 950 10300 1950
+Connection ~ 5400 950
+Wire Wire Line
+ 8700 1950 8700 950
+Connection ~ 8700 950
+Wire Wire Line
+ 8700 950 10300 950
+Wire Wire Line
+ 7700 3450 8700 3450
+Connection ~ 7700 950
+Wire Wire Line
+ 7700 950 8700 950
+Wire Wire Line
+ 8700 3450 10300 3450
+Connection ~ 8700 3450
+Wire Wire Line
+ 7550 6200 7550 4750
+Wire Wire Line
+ 7550 4750 8700 4750
+Connection ~ 7550 6200
+Wire Wire Line
+ 8700 4750 10300 4750
+Connection ~ 8700 4750
+Wire Wire Line
+ 7550 3250 8700 3250
+Connection ~ 7550 4750
+Wire Wire Line
+ 8700 3250 10300 3250
+Connection ~ 8700 3250
+Text GLabel 5900 1600 2 50 Output ~ 0
+CHAR0_0
+Text GLabel 5900 1700 2 50 Output ~ 0
+CHAR0_1
+Text GLabel 5900 1800 2 50 Output ~ 0
+CHAR0_2
+Text GLabel 5900 1900 2 50 Output ~ 0
+CHAR0_3
+Text GLabel 5900 2000 2 50 Output ~ 0
+CHAR1_0
+Text GLabel 5900 2100 2 50 Output ~ 0
+CHAR1_1
+Text GLabel 5900 2200 2 50 Output ~ 0
+CHAR1_2
+Text GLabel 5900 2300 2 50 Output ~ 0
+CHAR1_3
+Text GLabel 5900 2500 2 50 Output ~ 0
+CHAR2_0
+Text GLabel 5900 2600 2 50 Output ~ 0
+CHAR2_1
+Text GLabel 5900 2700 2 50 Output ~ 0
+CHAR2_2
+Text GLabel 5900 2800 2 50 Output ~ 0
+CHAR2_3
+Text GLabel 5900 2900 2 50 Output ~ 0
+CHAR3_0
+Text GLabel 5900 3000 2 50 Output ~ 0
+CHAR3_1
+Text GLabel 5900 3100 2 50 Output ~ 0
+CHAR3_2
+Text GLabel 5900 3200 2 50 Output ~ 0
+CHAR3_3
+$Comp
+L 74xx:74HC595 U?
+U 1 1 5DF193C5
+P 6900 1800
+F 0 "U?" H 7150 2350 50 0000 C CNN
+F 1 "74HC595" H 6650 2350 50 0000 C CNN
+F 2 "" H 6900 1800 50 0001 C CNN
+F 3 "http://www.ti.com/lit/ds/symlink/sn74hc595.pdf" H 6900 1800 50 0001 C CNN
+ 1 6900 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L 74xx:74HC595 U?
+U 1 1 5DF1A8BC
+P 6900 3400
+F 0 "U?" H 7150 3950 50 0000 C CNN
+F 1 "74HC595" H 6650 3950 50 0000 C CNN
+F 2 "" H 6900 3400 50 0001 C CNN
+F 3 "http://www.ti.com/lit/ds/symlink/sn74hc595.pdf" H 6900 3400 50 0001 C CNN
+ 1 6900 3400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6900 2700 6900 2800
+$Comp
+L Connector:Conn_01x08_Female J?
+U 1 1 5DF3E392
+P 7500 1700
+F 0 "J?" H 7450 2150 50 0000 L CNN
+F 1 "Conn_01x08_Female" V 7550 1300 50 0000 L CNN
+F 2 "" H 7500 1700 50 0001 C CNN
+F 3 "~" H 7500 1700 50 0001 C CNN
+ 1 7500 1700
+ 1 0 0 -1
+$EndComp
+$Comp
+L Connector:Conn_01x08_Female J?
+U 1 1 5DF3F721
+P 7500 3300
+F 0 "J?" H 7450 3750 50 0000 L CNN
+F 1 "Conn_01x08_Female" V 7600 2900 50 0000 L CNN
+F 2 "" H 7500 3300 50 0001 C CNN
+F 3 "~" H 7500 3300 50 0001 C CNN
+ 1 7500 3300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7550 3250 7550 4100
+Wire Wire Line
+ 5300 6200 7550 6200
+Wire Wire Line
+ 6500 1400 6300 1400
+Wire Wire Line
+ 6300 1400 6300 3400
+Wire Wire Line
+ 6300 3400 5900 3400
+Wire Wire Line
+ 5900 3500 6350 3500
+Wire Wire Line
+ 6350 3500 6350 3000
+Wire Wire Line
+ 6350 3000 6500 3000
+Wire Wire Line
+ 5900 3600 6400 3600
+Wire Wire Line
+ 6400 3600 6400 3200
+Wire Wire Line
+ 6400 3200 6500 3200
+Wire Wire Line
+ 6400 3200 6400 1600
+Wire Wire Line
+ 6400 1600 6500 1600
+Connection ~ 6400 3200
+Wire Wire Line
+ 5400 950 6450 950
+Wire Wire Line
+ 6500 1700 6450 1700
+Wire Wire Line
+ 6450 1700 6450 950
+Connection ~ 6450 950
+Wire Wire Line
+ 6450 950 7700 950
+Wire Wire Line
+ 6500 2000 6500 2500
+Wire Wire Line
+ 6500 2500 6900 2500
+Wire Wire Line
+ 6500 3600 6500 4100
+Wire Wire Line
+ 6500 4100 6900 4100
+Wire Wire Line
+ 6900 2700 7700 2700
+Wire Wire Line
+ 7700 950 7700 2700
+Connection ~ 7700 2700
+Wire Wire Line
+ 7700 2700 7700 3450
+Wire Wire Line
+ 6900 2500 7550 2500
+Wire Wire Line
+ 7550 2500 7550 3250
+Connection ~ 6900 2500
+Connection ~ 7550 3250
+Wire Wire Line
+ 6900 4100 7550 4100
+Connection ~ 6900 4100
+Connection ~ 7550 4100
+Wire Wire Line
+ 7550 4100 7550 4750
+Wire Wire Line
+ 6500 3300 6450 3300
+Wire Wire Line
+ 6450 3300 6450 2700
+Wire Wire Line
+ 6450 2700 6900 2700
+Connection ~ 6900 2700
+$Comp
+L 74xx:74HC595 U?
+U 1 1 5DF9E02D
+P 6900 4900
+F 0 "U?" H 7150 5450 50 0000 C CNN
+F 1 "74HC595" H 6650 5450 50 0000 C CNN
+F 2 "" H 6900 4900 50 0001 C CNN
+F 3 "http://www.ti.com/lit/ds/symlink/sn74hc595.pdf" H 6900 4900 50 0001 C CNN
+ 1 6900 4900
+ 1 0 0 -1
+$EndComp
$EndSCHEMATC
diff --git a/PinLock.sch-bak b/PinLock.sch-bak
index 3e98ded..820c49a 100644
--- a/PinLock.sch-bak
+++ b/PinLock.sch-bak
@@ -1,4 +1,5 @@
EESchema Schematic File Version 4
+LIBS:PinLock-cache
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
@@ -13,4 +14,176 @@ Comment2 "WiSe 2019/2020"
Comment3 ""
Comment4 ""
$EndDescr
+$Comp
+L 74xx:74LS48 U?
+U 1 1 5DB8ABBB
+P 7050 1900
+F 0 "U?" H 7050 2681 50 0000 C CNN
+F 1 "74LS48" H 7050 2590 50 0000 C CNN
+F 2 "" H 7050 1900 50 0001 C CNN
+F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 7050 1900 50 0001 C CNN
+ 1 7050 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L 74xx:74LS48 U?
+U 1 1 5DB8F280
+P 9150 1800
+F 0 "U?" H 9150 2581 50 0000 C CNN
+F 1 "74LS48" H 9150 2490 50 0000 C CNN
+F 2 "" H 9150 1800 50 0001 C CNN
+F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 9150 1800 50 0001 C CNN
+ 1 9150 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L 74xx:74LS48 U?
+U 1 1 5DB99928
+P 7650 3650
+F 0 "U?" H 7650 4431 50 0000 C CNN
+F 1 "74LS48" H 7650 4340 50 0000 C CNN
+F 2 "" H 7650 3650 50 0001 C CNN
+F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 7650 3650 50 0001 C CNN
+ 1 7650 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L 74xx:74LS48 U?
+U 1 1 5DB9A0A0
+P 9450 3650
+F 0 "U?" H 9450 4431 50 0000 C CNN
+F 1 "74LS48" H 9450 4340 50 0000 C CNN
+F 2 "" H 9450 3650 50 0001 C CNN
+F 3 "http://www.ti.com/lit/gpn/sn74LS48" H 9450 3650 50 0001 C CNN
+ 1 9450 3650
+ 1 0 0 -1
+$EndComp
+$Comp
+L Connector:Barrel_Jack_MountingPin J?
+U 1 1 5DBB60C9
+P 2300 1050
+F 0 "J?" H 2357 1367 50 0000 C CNN
+F 1 "Barrel_Jack_MountingPin" H 2357 1276 50 0000 C CNN
+F 2 "" H 2350 1010 50 0001 C CNN
+F 3 "~" H 2350 1010 50 0001 C CNN
+ 1 2300 1050
+ 1 0 0 -1
+$EndComp
+$Comp
+L Regulator_Linear:AMS1117-5.0 U?
+U 1 1 5DBB71E9
+P 3300 950
+F 0 "U?" H 3300 1192 50 0000 C CNN
+F 1 "AMS1117-5.0" H 3300 1101 50 0000 C CNN
+F 2 "Package_TO_SOT_SMD:SOT-223-3_TabPin2" H 3300 1150 50 0001 C CNN
+F 3 "http://www.advanced-monolithic.com/pdf/ds1117.pdf" H 3400 700 50 0001 C CNN
+ 1 3300 950
+ 1 0 0 -1
+$EndComp
+$Comp
+L Connector:USB_B_Micro J?
+U 1 1 5DBB7B46
+P 2250 2000
+F 0 "J?" H 2307 2467 50 0000 C CNN
+F 1 "USB_B_Micro" H 2307 2376 50 0000 C CNN
+F 2 "" H 2400 1950 50 0001 C CNN
+F 3 "~" H 2400 1950 50 0001 C CNN
+ 1 2250 2000
+ 1 0 0 -1
+$EndComp
+NoConn ~ 2550 2000
+NoConn ~ 2300 1350
+NoConn ~ 2550 2100
+NoConn ~ 2550 2200
+NoConn ~ 2150 2400
+Wire Wire Line
+ 2600 1150 2900 1150
+Wire Wire Line
+ 2900 1150 2900 950
+Wire Wire Line
+ 2600 950 2750 950
+Wire Wire Line
+ 2750 950 2750 1600
+Wire Wire Line
+ 2250 2400 2750 2400
+Connection ~ 2750 2400
+$Comp
+L power:GND #PWR?
+U 1 1 5DBD43C2
+P 2750 7100
+F 0 "#PWR?" H 2750 6850 50 0001 C CNN
+F 1 "GND" H 2755 6927 50 0000 C CNN
+F 2 "" H 2750 7100 50 0001 C CNN
+F 3 "" H 2750 7100 50 0001 C CNN
+ 1 2750 7100
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2900 950 3000 950
+Wire Wire Line
+ 3600 950 3700 950
+Wire Wire Line
+ 2550 1800 3700 1800
+Wire Wire Line
+ 3700 1800 3700 950
+Connection ~ 3700 950
+Wire Wire Line
+ 3700 950 5300 950
+Wire Wire Line
+ 5300 950 5400 950
+Connection ~ 5300 950
+Wire Wire Line
+ 5400 950 5400 1300
+Wire Wire Line
+ 5300 950 5300 1300
+$Comp
+L MCU_Microchip_ATmega:ATmega16A-PU U?
+U 1 1 5DB85A9E
+P 5300 3300
+F 0 "U?" H 5750 1350 50 0000 C CNN
+F 1 "ATmega16A-PU" H 4900 1350 50 0000 C CNN
+F 2 "Package_DIP:DIP-40_W15.24mm" H 5300 3300 50 0001 C CIN
+F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8154-8-bit-AVR-ATmega16A_Datasheet.pdf" H 5300 3300 50 0001 C CNN
+ 1 5300 3300
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2750 2400 2750 6000
+Wire Wire Line
+ 5300 5300 5300 6000
+Wire Wire Line
+ 5300 6000 2750 6000
+Connection ~ 2750 6000
+Wire Wire Line
+ 2750 6000 2750 7100
+$Comp
+L Switch:SW_Push SW?
+U 1 1 5DBE2224
+P 4250 1600
+F 0 "SW?" H 4250 1885 50 0000 C CNN
+F 1 "SW_Push" H 4250 1794 50 0000 C CNN
+F 2 "" H 4250 1800 50 0001 C CNN
+F 3 "~" H 4250 1800 50 0001 C CNN
+ 1 4250 1600
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 2750 2400 3300 2400
+Wire Wire Line
+ 3300 2400 3300 1250
+Wire Wire Line
+ 4700 1600 4450 1600
+Wire Wire Line
+ 4050 1600 2750 1600
+Connection ~ 2750 1600
+Wire Wire Line
+ 2750 1600 2750 2400
+Wire Wire Line
+ 5900 1600 6550 1600
+Wire Wire Line
+ 5900 1700 6550 1700
+Wire Wire Line
+ 5900 1800 6550 1800
+Wire Wire Line
+ 5900 1900 6550 1900
$EndSCHEMATC