diff options
author | Leonard Kugis <leonard@kug.is> | 2019-11-13 11:31:21 +0100 |
---|---|---|
committer | Leonard Kugis <leonard@kug.is> | 2019-11-13 11:31:21 +0100 |
commit | d2eb2eb1aa37e6b7e83a3253d553459a9a81a5a6 (patch) | |
tree | 31aed8d84d89bbdfed6424bb8d89abf14ca09f42 /PinLock.sch-bak | |
parent | c62ca36449ef69334c74d4b66def3a0cb3163477 (diff) |
Schematic, main, general
Added pull resistors to all ports.
Added capacitors for all components to prevent high switching currents.
Reordered status LEDs and transistors.
Diffstat (limited to 'PinLock.sch-bak')
-rw-r--r-- | PinLock.sch-bak | 226 |
1 files changed, 183 insertions, 43 deletions
diff --git a/PinLock.sch-bak b/PinLock.sch-bak index dd76f30..a55010a 100644 --- a/PinLock.sch-bak +++ b/PinLock.sch-bak @@ -20,18 +20,7 @@ Connection ~ 5300 950 Wire Wire Line
5400 950 5400 1300
Wire Wire Line
- 5300 950 5300 1300
-$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
+ 5300 950 5300 1100
Wire Wire Line
4700 1600 4450 1600
$Comp
@@ -69,7 +58,7 @@ F 3 "~" H 1700 1010 50 0001 C CNN 1 0 0 -1
$EndComp
Wire Wire Line
- 3600 950 3700 950
+ 3600 950 3750 950
$Comp
L Connector:USB_B_Micro J?
U 1 1 5DBB7B46
@@ -123,11 +112,9 @@ Wire Wire Line 2050 1350 2050 1600
Wire Wire Line
1950 1700 2250 1700
+Connection ~ 3900 950
Wire Wire Line
- 3700 1700 3700 950
-Connection ~ 3700 950
-Wire Wire Line
- 3700 950 5300 950
+ 3900 950 4450 950
Wire Wire Line
1650 2300 1650 2400
Wire Wire Line
@@ -150,13 +137,11 @@ Wire Wire Line 2250 1700 2250 1800
Connection ~ 2250 1700
Wire Wire Line
- 2250 1700 3700 1700
+ 2250 1700 3900 1700
Wire Wire Line
2250 2100 2250 2400
Wire Wire Line
2250 2400 2050 2400
-Wire Wire Line
- 4050 1600 2050 1600
Connection ~ 2050 1600
Wire Wire Line
2050 1600 2050 2400
@@ -231,7 +216,7 @@ F3 "GND" B R 9900 1800 50 F4 "STATUS" I L 9350 1600 50
F5 "CLK" I L 9350 1700 50
$EndSheet
-Text GLabel 5900 4300 2 50 Output ~ 0
+Text GLabel 5900 4400 2 50 Output ~ 0
ROWS
$Comp
L MCU_Microchip_ATmega:ATmega16A-PU U?
@@ -244,9 +229,9 @@ F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8154-8-bit-AVR-ATmega 1 5300 3300
1 0 0 -1
$EndComp
-Text GLabel 5900 4400 2 50 Input ~ 0
+Text GLabel 5900 4500 2 50 Input ~ 0
COLUMNS
-Text GLabel 5900 4500 2 50 Output ~ 0
+Text GLabel 5900 4600 2 50 Output ~ 0
CLK_BUTTONS
Text GLabel 8000 1600 0 50 Input ~ 0
ROWS
@@ -254,9 +239,9 @@ Text GLabel 8000 1700 0 50 Output ~ 0 COLUMNS
Text GLabel 8000 1800 0 50 Input ~ 0
CLK_BUTTONS
-Text GLabel 5900 4600 2 50 Output ~ 0
-STATUS
Text GLabel 5900 4700 2 50 Output ~ 0
+STATUS
+Text GLabel 5900 4800 2 50 Output ~ 0
CLK_STATUS
Text GLabel 9350 1600 0 50 Input ~ 0
STATUS
@@ -269,7 +254,6 @@ Wire Wire Line Connection ~ 5300 5400
NoConn ~ 5900 4000
NoConn ~ 5900 4100
-NoConn ~ 5900 4800
NoConn ~ 5900 4900
NoConn ~ 5900 5000
Wire Wire Line
@@ -278,8 +262,6 @@ Wire Wire Line 4600 2200 4600 5400
Wire Wire Line
4600 5400 5300 5400
-NoConn ~ 4700 1800
-NoConn ~ 4700 2000
NoConn ~ 5900 3500
NoConn ~ 5900 3400
$Comp
@@ -294,17 +276,18 @@ F 3 " ~" H 6775 2400 50 0001 C CNN 1 0 0 -1
$EndComp
$Sheet
-S 8000 1450 550 550
+S 8000 1450 550 650
U 5DDEAC3F
F0 "Buttons" 50
F1 "buttons.sch" 50
F2 "VCC" B R 8550 1500 50
-F3 "GND" B R 8550 1900 50
+F3 "GND" B R 8550 2000 50
F4 "ROWS" I L 8000 1600 50
F5 "COLUMNS" O L 8000 1700 50
F6 "CLK" I L 8000 1800 50
+F7 "LOAD" I L 8000 1900 50
$EndSheet
-Text GLabel 4550 1600 3 50 Input ~ 0
+Text GLabel 4200 1600 1 50 Input ~ 0
NRST
Wire Wire Line
5400 950 7250 950
@@ -321,15 +304,9 @@ Wire Wire Line 7150 3300 7350 3300
Wire Wire Line
7250 950 8650 950
-Wire Wire Line
- 8650 950 8650 1500
-Wire Wire Line
- 8650 1500 8550 1500
Connection ~ 7250 950
Wire Wire Line
7350 5400 8750 5400
-Wire Wire Line
- 8750 1900 8550 1900
Connection ~ 7350 5400
Text GLabel 8550 2650 1 50 Output ~ 0
NRST
@@ -352,18 +329,12 @@ TDI Text GLabel 5900 3800 2 50 Output ~ 0
TDO
Wire Wire Line
- 8650 1500 8650 2350
-Wire Wire Line
8650 2350 8050 2350
-Connection ~ 8650 1500
Wire Wire Line
7950 2350 8050 2350
Connection ~ 8050 2350
Wire Wire Line
- 8750 1900 8750 3550
-Wire Wire Line
8050 3550 8750 3550
-Connection ~ 8750 3550
Wire Wire Line
8750 3550 8750 5400
Text GLabel 8550 3050 2 50 Input ~ 0
@@ -380,4 +351,173 @@ Text GLabel 5900 3700 2 50 Input ~ 0 TMS
Text GLabel 5900 3600 2 50 Input ~ 0
TCK
+Wire Wire Line
+ 8650 950 8650 1500
+Wire Wire Line
+ 8750 3550 8750 2000
+Wire Wire Line
+ 8750 2000 8550 2000
+Connection ~ 8750 3550
+Wire Wire Line
+ 8550 1500 8650 1500
+Connection ~ 8650 1500
+Wire Wire Line
+ 8650 1500 8650 2350
+Text GLabel 5900 4300 2 50 Output ~ 0
+LOAD
+Text GLabel 8000 1900 0 50 Input ~ 0
+LOAD
+$Comp
+L Device:R R?
+U 1 1 5DCAEAA9
+P 4450 1350
+F 0 "R?" H 4520 1396 50 0000 L CNN
+F 1 "R" H 4520 1305 50 0000 L CNN
+F 2 "" V 4380 1350 50 0001 C CNN
+F 3 "~" H 4450 1350 50 0001 C CNN
+ 1 4450 1350
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4450 1600 4450 1500
+Connection ~ 4450 1600
+Wire Wire Line
+ 4450 1200 4450 950
+Connection ~ 4450 950
+Wire Wire Line
+ 4450 950 5300 950
+Wire Wire Line
+ 3900 1700 3900 950
+Wire Wire Line
+ 4450 1600 3650 1600
+Wire Wire Line
+ 3250 1600 2050 1600
+$Comp
+L Switch:SW_Push SW?
+U 1 1 5DBE2224
+P 3450 1600
+F 0 "SW?" H 3450 1885 50 0000 C CNN
+F 1 "SW_Push" H 3450 1794 50 0000 C CNN
+F 2 "" H 3450 1800 50 0001 C CNN
+F 3 "~" H 3450 1800 50 0001 C CNN
+ 1 3450 1600
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:C C?
+U 1 1 5DCB9908
+P 4000 3150
+F 0 "C?" H 4115 3196 50 0000 L CNN
+F 1 "C" H 4115 3105 50 0000 L CNN
+F 2 "" H 4038 3000 50 0001 C CNN
+F 3 "~" H 4000 3150 50 0001 C CNN
+ 1 4000 3150
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5300 1100 4000 1100
+Wire Wire Line
+ 4000 1100 4000 3000
+Connection ~ 5300 1100
+Wire Wire Line
+ 5300 1100 5300 1300
+Wire Wire Line
+ 4000 3300 4000 5400
+Wire Wire Line
+ 4000 5400 4600 5400
+Connection ~ 4600 5400
+$Comp
+L Device:C C?
+U 1 1 5DCC079F
+P 3750 1250
+F 0 "C?" H 3650 1350 50 0000 L CNN
+F 1 "C" H 3650 1150 50 0000 L CNN
+F 2 "" H 3788 1100 50 0001 C CNN
+F 3 "~" H 3750 1250 50 0001 C CNN
+ 1 3750 1250
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3750 1100 3750 950
+Connection ~ 3750 950
+Wire Wire Line
+ 3750 950 3900 950
+Wire Wire Line
+ 3750 1400 3750 2400
+Wire Wire Line
+ 3750 2400 3350 2400
+Connection ~ 2250 2400
+$Comp
+L Device:C C?
+U 1 1 5DCC57B9
+P 8950 2850
+F 0 "C?" H 9065 2896 50 0000 L CNN
+F 1 "C" H 9065 2805 50 0000 L CNN
+F 2 "" H 8988 2700 50 0001 C CNN
+F 3 "~" H 8950 2850 50 0001 C CNN
+ 1 8950 2850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 8650 2350 8950 2350
+Wire Wire Line
+ 8950 2350 8950 2700
+Connection ~ 8650 2350
+Wire Wire Line
+ 8750 3550 8950 3550
+Wire Wire Line
+ 8950 3550 8950 3000
+$Comp
+L Device:Crystal Y?
+U 1 1 5DCCBC8A
+P 3350 1950
+F 0 "Y?" V 3250 2050 50 0000 L CNN
+F 1 "Crystal" V 3400 2050 50 0000 L CNN
+F 2 "" H 3350 1950 50 0001 C CNN
+F 3 "~" H 3350 1950 50 0001 C CNN
+ 1 3350 1950
+ 0 1 1 0
+$EndComp
+Wire Wire Line
+ 4700 1800 3350 1800
+Wire Wire Line
+ 3350 2100 4600 2100
+Wire Wire Line
+ 4600 2100 4600 2000
+Wire Wire Line
+ 4600 2000 4700 2000
+$Comp
+L Device:C C?
+U 1 1 5DCD826F
+P 3000 1950
+F 0 "C?" H 3115 1996 50 0000 L CNN
+F 1 "C" H 3115 1905 50 0000 L CNN
+F 2 "" H 3038 1800 50 0001 C CNN
+F 3 "~" H 3000 1950 50 0001 C CNN
+ 1 3000 1950
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:C C?
+U 1 1 5DCD889C
+P 3350 2250
+F 0 "C?" H 3465 2296 50 0000 L CNN
+F 1 "C" H 3465 2205 50 0000 L CNN
+F 2 "" H 3388 2100 50 0001 C CNN
+F 3 "~" H 3350 2250 50 0001 C CNN
+ 1 3350 2250
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3350 1800 3000 1800
+Connection ~ 3350 1800
+Wire Wire Line
+ 3000 2100 3000 2400
+Connection ~ 3000 2400
+Wire Wire Line
+ 3000 2400 2250 2400
+Connection ~ 3350 2100
+Connection ~ 3350 2400
+Wire Wire Line
+ 3350 2400 3000 2400
$EndSCHEMATC
|