From 0f6bada028df1e913e5f29dbc70ba12eda3bd2d7 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Wed, 13 Nov 2019 12:46:45 +0100 Subject: Schematic, main Added capacitor in parallel to reset switch to reduce sensitivity and oscillations. --- PinLock.sch | 89 ++++++++++------ PinLock.sch-bak | 316 +++++++++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 340 insertions(+), 65 deletions(-) diff --git a/PinLock.sch b/PinLock.sch index e17d415..34a3e6c 100644 --- a/PinLock.sch +++ b/PinLock.sch @@ -21,8 +21,6 @@ Wire Wire Line 5400 950 5400 1300 Wire Wire Line 5300 950 5300 1100 -Wire Wire Line - 4700 1600 4450 1600 $Comp L power:GND #PWR? U 1 1 5DBD43C2 @@ -108,8 +106,6 @@ Wire Wire Line Wire Wire Line 3300 1350 2050 1350 Connection ~ 2050 1350 -Wire Wire Line - 2050 1350 2050 1600 Wire Wire Line 1950 1700 2250 1700 Connection ~ 3900 950 @@ -121,7 +117,7 @@ Wire Wire Line 1650 2400 2050 2400 Connection ~ 2050 2400 Wire Wire Line - 2050 2400 2050 7000 + 2050 2400 2050 2800 $Comp L Device:C C? U 1 1 5DC8ECAA @@ -142,9 +138,6 @@ Wire Wire Line 2250 2100 2250 2400 Wire Wire Line 2250 2400 2050 2400 -Connection ~ 2050 1600 -Wire Wire Line - 2050 1600 2050 2400 Wire Wire Line 5300 7000 2050 7000 Connection ~ 2050 7000 @@ -281,7 +274,7 @@ F5 "COLUMNS" O L 8000 1700 50 F6 "CLK" I L 8000 1800 50 F7 "LOAD" I L 8000 1900 50 $EndSheet -Text GLabel 4200 1600 1 50 Input ~ 0 +Text GLabel 3350 2800 1 50 Input ~ 0 NRST Wire Wire Line 5400 950 7250 950 @@ -370,9 +363,6 @@ 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 @@ -380,41 +370,37 @@ 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 +P 3050 2800 +F 0 "SW?" H 3050 3085 50 0000 C CNN +F 1 "SW_Push" H 3050 2994 50 0000 C CNN +F 2 "" H 3050 3000 50 0001 C CNN +F 3 "~" H 3050 3000 50 0001 C CNN + 1 3050 2800 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 +P 4000 4150 +F 0 "C?" H 4115 4196 50 0000 L CNN +F 1 "C" H 4115 4105 50 0000 L CNN +F 2 "" H 4038 4000 50 0001 C CNN +F 3 "~" H 4000 4150 50 0001 C CNN + 1 4000 4150 1 0 0 -1 $EndComp Wire Wire Line 5300 1100 4000 1100 Wire Wire Line - 4000 1100 4000 3000 + 4000 1100 4000 4000 Connection ~ 5300 1100 Wire Wire Line 5300 1100 5300 1300 Wire Wire Line - 4000 3300 4000 5400 + 4000 4300 4000 5400 Wire Wire Line 4000 5400 4600 5400 Connection ~ 4600 5400 @@ -766,4 +752,47 @@ Connection ~ 10000 1500 Wire Wire Line 10200 1800 10100 1800 Connection ~ 10100 1800 +Wire Wire Line + 2050 1350 2050 2400 +$Comp +L Device:C C? +U 1 1 5DCD957C +P 3050 3050 +F 0 "C?" V 3200 3050 50 0000 C CNN +F 1 "C" V 3300 3050 50 0000 C CNN +F 2 "" H 3088 2900 50 0001 C CNN +F 3 "~" H 3050 3050 50 0001 C CNN + 1 3050 3050 + 0 1 1 0 +$EndComp +Wire Wire Line + 4700 1600 4450 1600 +Wire Wire Line + 4100 1600 4100 2800 +Connection ~ 2050 2800 +Wire Wire Line + 2050 2800 2050 7000 +Wire Wire Line + 4450 1500 4450 1600 +Connection ~ 4450 1600 +Wire Wire Line + 4450 1600 4100 1600 +Wire Wire Line + 2050 2800 2750 2800 +Wire Wire Line + 3250 2800 3450 2800 +Wire Wire Line + 3450 2800 3450 3050 +Wire Wire Line + 3450 3050 3200 3050 +Connection ~ 3450 2800 +Wire Wire Line + 3450 2800 4100 2800 +Wire Wire Line + 2900 3050 2750 3050 +Wire Wire Line + 2750 3050 2750 2800 +Connection ~ 2750 2800 +Wire Wire Line + 2750 2800 2850 2800 $EndSCHEMATC diff --git a/PinLock.sch-bak b/PinLock.sch-bak index a55010a..e17d415 100644 --- a/PinLock.sch-bak +++ b/PinLock.sch-bak @@ -151,37 +151,37 @@ Connection ~ 2050 7000 Wire Wire Line 2050 7000 2050 7100 Wire Wire Line - 5900 1600 6550 1600 + 5900 1600 6000 1600 Wire Wire Line - 5900 1700 6550 1700 + 5900 1700 6000 1700 Wire Wire Line - 5900 1800 6550 1800 + 5900 1800 6000 1800 Wire Wire Line - 5900 1900 6550 1900 + 5900 1900 6000 1900 Wire Wire Line - 5900 2000 6550 2000 + 5900 2000 6000 2000 Wire Wire Line - 5900 2100 6550 2100 + 5900 2100 6000 2100 Wire Wire Line - 5900 2200 6550 2200 + 5900 2200 6000 2200 Wire Wire Line - 5900 2300 6550 2300 + 5900 2300 6000 2300 Wire Wire Line - 5900 2500 6550 2500 + 5900 2500 6000 2500 Wire Wire Line - 5900 2600 6550 2600 + 5900 2600 6000 2600 Wire Wire Line - 5900 2700 6550 2700 + 5900 2700 6000 2700 Wire Wire Line - 5900 2800 6550 2800 + 5900 2800 6000 2800 Wire Wire Line - 5900 2900 6550 2900 + 5900 2900 6000 2900 Wire Wire Line - 5900 3000 6550 3000 + 5900 3000 6000 3000 Wire Wire Line - 5900 3100 6550 3100 + 5900 3100 6000 3100 Wire Wire Line - 5900 3200 6550 3200 + 5900 3200 6000 3200 $Sheet S 6550 1450 600 1950 U 5DD2ECA3 @@ -216,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 4400 2 50 Output ~ 0 +Text GLabel 6550 4400 2 50 Output ~ 0 ROWS $Comp L MCU_Microchip_ATmega:ATmega16A-PU U? @@ -229,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 4500 2 50 Input ~ 0 +Text GLabel 6550 4500 2 50 Input ~ 0 COLUMNS -Text GLabel 5900 4600 2 50 Output ~ 0 +Text GLabel 6550 4600 2 50 Output ~ 0 CLK_BUTTONS Text GLabel 8000 1600 0 50 Input ~ 0 ROWS @@ -239,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 4700 2 50 Output ~ 0 +Text GLabel 6550 4700 2 50 Output ~ 0 STATUS -Text GLabel 5900 4800 2 50 Output ~ 0 +Text GLabel 6550 4800 2 50 Output ~ 0 CLK_STATUS Text GLabel 9350 1600 0 50 Input ~ 0 STATUS @@ -252,18 +252,12 @@ Wire Wire Line Wire Wire Line 5300 5400 5300 7000 Connection ~ 5300 5400 -NoConn ~ 5900 4000 -NoConn ~ 5900 4100 -NoConn ~ 5900 4900 -NoConn ~ 5900 5000 Wire Wire Line 4700 2200 4600 2200 Wire Wire Line 4600 2200 4600 5400 Wire Wire Line 4600 5400 5300 5400 -NoConn ~ 5900 3500 -NoConn ~ 5900 3400 $Comp L Connector:AVR-JTAG-10 J? U 1 1 5DC4B0A3 @@ -295,13 +289,11 @@ Wire Wire Line 7250 950 7250 1500 Connection ~ 5400 950 Wire Wire Line - 5300 5400 7350 5400 + 5300 5400 6000 5400 Wire Wire Line 7350 5400 7350 3300 Wire Wire Line 7250 1500 7150 1500 -Wire Wire Line - 7150 3300 7350 3300 Wire Wire Line 7250 950 8650 950 Connection ~ 7250 950 @@ -324,9 +316,9 @@ Wire Wire Line Wire Wire Line 10100 1800 9900 1800 Connection ~ 8750 5400 -Text GLabel 5900 3900 2 50 Input ~ 0 +Text GLabel 6550 3900 2 50 Input ~ 0 TDI -Text GLabel 5900 3800 2 50 Output ~ 0 +Text GLabel 6550 3800 2 50 Output ~ 0 TDO Wire Wire Line 8650 2350 8050 2350 @@ -347,9 +339,9 @@ Wire Wire Line 8550 2750 8550 2650 Text GLabel 8550 2950 2 50 Output ~ 0 TMS -Text GLabel 5900 3700 2 50 Input ~ 0 +Text GLabel 6550 3700 2 50 Input ~ 0 TMS -Text GLabel 5900 3600 2 50 Input ~ 0 +Text GLabel 6550 3600 2 50 Input ~ 0 TCK Wire Wire Line 8650 950 8650 1500 @@ -363,7 +355,7 @@ Wire Wire Line Connection ~ 8650 1500 Wire Wire Line 8650 1500 8650 2350 -Text GLabel 5900 4300 2 50 Output ~ 0 +Text GLabel 6550 4300 2 50 Output ~ 0 LOAD Text GLabel 8000 1900 0 50 Input ~ 0 LOAD @@ -520,4 +512,258 @@ Connection ~ 3350 2100 Connection ~ 3350 2400 Wire Wire Line 3350 2400 3000 2400 +$Comp +L Device:R R? +U 1 1 5DEEDA58 +P 6000 5200 +F 0 "R?" H 6070 5246 50 0000 L CNN +F 1 "R" H 6070 5155 50 0000 L CNN +F 2 "" V 5930 5200 50 0001 C CNN +F 3 "~" H 6000 5200 50 0001 C CNN + 1 6000 5200 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6000 4900 5900 4900 +Wire Wire Line + 6000 4900 6000 4800 +Wire Wire Line + 6000 4800 5900 4800 +Wire Wire Line + 6000 4800 6000 4700 +Wire Wire Line + 6000 4700 5900 4700 +Connection ~ 6000 4800 +Wire Wire Line + 6000 4700 6000 4600 +Wire Wire Line + 6000 4600 5900 4600 +Connection ~ 6000 4700 +Wire Wire Line + 6000 4600 6000 4500 +Wire Wire Line + 6000 4500 5900 4500 +Connection ~ 6000 4600 +Wire Wire Line + 6000 4500 6000 4400 +Wire Wire Line + 6000 4400 5900 4400 +Connection ~ 6000 4500 +Wire Wire Line + 6000 4400 6000 4300 +Wire Wire Line + 6000 4300 5900 4300 +Connection ~ 6000 4400 +Wire Wire Line + 6000 4300 6000 4100 +Wire Wire Line + 6000 4100 5900 4100 +Connection ~ 6000 4300 +Wire Wire Line + 6000 4100 6000 4000 +Wire Wire Line + 6000 4000 5900 4000 +Connection ~ 6000 4100 +Wire Wire Line + 6000 4000 6000 3900 +Wire Wire Line + 6000 3900 5900 3900 +Connection ~ 6000 4000 +Wire Wire Line + 6000 3900 6000 3800 +Wire Wire Line + 6000 3800 5900 3800 +Connection ~ 6000 3900 +Wire Wire Line + 6000 3800 6000 3700 +Wire Wire Line + 6000 3700 5900 3700 +Connection ~ 6000 3800 +Wire Wire Line + 6000 3700 6000 3600 +Wire Wire Line + 6000 3600 5900 3600 +Connection ~ 6000 3700 +Wire Wire Line + 6000 3600 6000 3500 +Wire Wire Line + 6000 3500 5900 3500 +Connection ~ 6000 3600 +Wire Wire Line + 6000 3500 6000 3400 +Wire Wire Line + 6000 3400 5900 3400 +Connection ~ 6000 3500 +Wire Wire Line + 6000 3400 6000 3200 +Connection ~ 6000 3400 +Connection ~ 6000 3200 +Wire Wire Line + 6000 3200 6550 3200 +Wire Wire Line + 6000 3200 6000 3100 +Connection ~ 6000 3100 +Wire Wire Line + 6000 3100 6550 3100 +Wire Wire Line + 6000 3100 6000 3000 +Connection ~ 6000 3000 +Wire Wire Line + 6000 3000 6550 3000 +Wire Wire Line + 6000 3000 6000 2900 +Connection ~ 6000 2900 +Wire Wire Line + 6000 2900 6550 2900 +Wire Wire Line + 6000 2900 6000 2800 +Connection ~ 6000 2800 +Wire Wire Line + 6000 2800 6550 2800 +Wire Wire Line + 6000 2800 6000 2700 +Connection ~ 6000 2700 +Wire Wire Line + 6000 2700 6550 2700 +Wire Wire Line + 6000 2700 6000 2600 +Connection ~ 6000 2600 +Wire Wire Line + 6000 2600 6550 2600 +Wire Wire Line + 6000 2600 6000 2500 +Connection ~ 6000 2500 +Wire Wire Line + 6000 2500 6550 2500 +Wire Wire Line + 6000 2500 6000 2300 +Connection ~ 6000 2300 +Wire Wire Line + 6000 2300 6550 2300 +Wire Wire Line + 6000 2300 6000 2200 +Connection ~ 6000 2200 +Wire Wire Line + 6000 2200 6550 2200 +Wire Wire Line + 6000 2200 6000 2100 +Connection ~ 6000 2100 +Wire Wire Line + 6000 2100 6550 2100 +Wire Wire Line + 6000 2100 6000 2000 +Connection ~ 6000 2000 +Wire Wire Line + 6000 2000 6550 2000 +Wire Wire Line + 6000 2000 6000 1900 +Connection ~ 6000 1900 +Wire Wire Line + 6000 1900 6550 1900 +Wire Wire Line + 6000 1900 6000 1800 +Connection ~ 6000 1800 +Wire Wire Line + 6000 1800 6550 1800 +Wire Wire Line + 6000 1800 6000 1700 +Connection ~ 6000 1700 +Wire Wire Line + 6000 1700 6550 1700 +Wire Wire Line + 6000 1700 6000 1600 +Connection ~ 6000 1600 +Wire Wire Line + 6000 1600 6550 1600 +Wire Wire Line + 6000 5350 6000 5400 +Connection ~ 6000 5400 +Wire Wire Line + 6000 5400 7350 5400 +Wire Wire Line + 5900 5000 6000 5000 +Wire Wire Line + 6000 5000 6000 5050 +Wire Wire Line + 6000 5000 6000 4900 +Connection ~ 6000 5000 +Connection ~ 6000 4900 +Wire Wire Line + 6000 3600 6550 3600 +Wire Wire Line + 6000 3700 6550 3700 +Wire Wire Line + 6000 3800 6550 3800 +Wire Wire Line + 6000 3900 6550 3900 +Wire Wire Line + 6000 4300 6550 4300 +Wire Wire Line + 6000 4400 6550 4400 +Wire Wire Line + 6000 4500 6550 4500 +Wire Wire Line + 6000 4600 6550 4600 +Wire Wire Line + 6000 4700 6550 4700 +Wire Wire Line + 6000 4800 6550 4800 +Wire Wire Line + 7150 3300 7350 3300 +$Comp +L Device:C C? +U 1 1 5E02B31A +P 7450 2200 +F 0 "C?" H 7565 2246 50 0000 L CNN +F 1 "C" H 7565 2155 50 0000 L CNN +F 2 "" H 7488 2050 50 0001 C CNN +F 3 "~" H 7450 2200 50 0001 C CNN + 1 7450 2200 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7250 1500 7450 1500 +Wire Wire Line + 7450 1500 7450 2050 +Connection ~ 7250 1500 +Wire Wire Line + 7450 2350 7450 3300 +Wire Wire Line + 7450 3300 7350 3300 +Connection ~ 7350 3300 +$Comp +L Device:C C? +U 1 1 5E03D716 +P 8850 1850 +F 0 "C?" H 9000 1900 50 0000 L CNN +F 1 "C" H 9000 1800 50 0000 L CNN +F 2 "" H 8888 1700 50 0001 C CNN +F 3 "~" H 8850 1850 50 0001 C CNN + 1 8850 1850 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8650 1500 8850 1500 +Wire Wire Line + 8850 1500 8850 1700 +Wire Wire Line + 8850 2000 8750 2000 +Connection ~ 8750 2000 +$Comp +L Device:C C? +U 1 1 5E0589E7 +P 10200 1650 +F 0 "C?" H 10315 1696 50 0000 L CNN +F 1 "C" H 10315 1605 50 0000 L CNN +F 2 "" H 10238 1500 50 0001 C CNN +F 3 "~" H 10200 1650 50 0001 C CNN + 1 10200 1650 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10000 1500 10200 1500 +Connection ~ 10000 1500 +Wire Wire Line + 10200 1800 10100 1800 +Connection ~ 10100 1800 $EndSCHEMATC -- cgit v1.2.1