Browse Source

mic transistor

sonnt 4 years ago
parent
commit
27f5660a41
35 changed files with 210454 additions and 3369 deletions
  1. 28 1
      RFID.bak
  2. 1 1
      RFID.sch
  3. 169 73
      atmega328.bak
  4. 71 60
      atmega328.sch
  5. 46 112
      connectorsch.bak
  6. 50 46
      connectorsch.sch
  7. 150 45
      display.bak
  8. 2 2
      display.sch
  9. 176 0
      file5B9F7E35.bak
  10. 176 0
      file5B9F7E35.sch
  11. 125 52
      keypad.bak
  12. 125 52
      keypad.sch
  13. 171 0
      keypad/keypad-cache.lib
  14. 3 0
      keypad/keypad-rescue.dcm
  15. 57 0
      keypad/keypad-rescue.lib
  16. 1387 0
      keypad/keypad.bak
  17. 3084 0
      keypad/keypad.kicad_pcb
  18. 3042 0
      keypad/keypad.kicad_pcb-bak
  19. 691 0
      keypad/keypad.net
  20. 33 0
      keypad/keypad.pro
  21. 1387 0
      keypad/keypad.sch
  22. 3 0
      keypad/sym-lib-table
  23. 28 55
      main.bak
  24. 6 3
      main.sch
  25. 56 54
      motor.bak
  26. 56 54
      motor.sch
  27. 2941 0
      noname.kicad_pcb
  28. 149 24
      vinhome-cache.lib
  29. 51 0
      vinhome-rescue.lib
  30. 101 81
      vinhome.bak
  31. 1691 1171
      vinhome.kicad_pcb
  32. 1693 1135
      vinhome.kicad_pcb-bak
  33. 493 298
      vinhome.net
  34. 80 50
      vinhome.sch
  35. 192132 0
      vinhome.step

+ 28 - 1
RFID.bak

@@ -4,7 +4,7 @@ EELAYER 26 0
 EELAYER END
 $Descr A4 11693 8268
 encoding utf-8
-Sheet 8 8
+Sheet 6 9
 Title ""
 Date ""
 Rev ""
@@ -75,4 +75,31 @@ Text HLabel 2050 1900 2    50   Input ~ 0
 SDA_RF
 Text HLabel 2100 2500 2    50   Input ~ 0
 RST_RF
+$Comp
+L device:C_Small C14
+U 1 1 5B76BCD3
+P 2100 2600
+F 0 "C14" V 2200 2600 50  0000 C CNN
+F 1 "104" V 2200 2750 50  0000 C CNN
+F 2 "Capacitors_SMD:C_0805" H 2100 2600 50  0001 C CNN
+F 3 "" H 2100 2600 50  0001 C CNN
+	1    2100 2600
+	0    1    1    0   
+$EndComp
+Wire Wire Line
+	2000 2600 1900 2600
+$Comp
+L power:GND #PWR07
+U 1 1 5B76C22D
+P 2300 2600
+F 0 "#PWR07" H 2300 2350 50  0001 C CNN
+F 1 "GND" V 2305 2472 50  0000 R CNN
+F 2 "" H 2300 2600 50  0001 C CNN
+F 3 "" H 2300 2600 50  0001 C CNN
+	1    2300 2600
+	0    -1   -1   0   
+$EndComp
+Wire Wire Line
+	2200 2600 2300 2600
+Connection ~ 1900 2600
 $EndSCHEMATC

+ 1 - 1
RFID.sch

@@ -4,7 +4,7 @@ EELAYER 26 0
 EELAYER END
 $Descr A4 11693 8268
 encoding utf-8
-Sheet 7 8
+Sheet 6 9
 Title ""
 Date ""
 Rev ""

+ 169 - 73
atmega328.bak

@@ -4,7 +4,7 @@ EELAYER 26 0
 EELAYER END
 $Descr A4 11693 8268
 encoding utf-8
-Sheet 6 8
+Sheet 5 9
 Title ""
 Date ""
 Rev ""
@@ -94,78 +94,39 @@ $EndComp
 Wire Wire Line
 	4600 3650 4500 3650
 $Comp
-L device:Crystal_GND24_Small Y1
-U 1 1 5B6CCC42
-P 7000 3700
-F 0 "Y1" V 6954 3866 50  0000 L CNN
-F 1 "16MHZ" V 7045 3866 50  0000 L CNN
-F 2 "Crystals:Crystal_SMD_5032-4pin_5.0x3.2mm" H 7000 3700 50  0001 C CNN
-F 3 "" H 7000 3700 50  0001 C CNN
-	1    7000 3700
-	0    1    1    0   
-$EndComp
-Wire Wire Line
-	6850 3650 6850 3600
-Wire Wire Line
-	6850 3600 7000 3600
-Wire Wire Line
-	6700 3650 6850 3650
-Wire Wire Line
-	6700 3750 6850 3750
-Wire Wire Line
-	6850 3750 6850 3800
-Wire Wire Line
-	6850 3800 7000 3800
-$Comp
 L device:C_Small C11
 U 1 1 5B6CD364
-P 7300 3600
-F 0 "C11" V 7071 3600 50  0000 C CNN
-F 1 "20pF" V 7162 3600 50  0000 C CNN
-F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7300 3600 50  0001 C CNN
-F 3 "" H 7300 3600 50  0001 C CNN
-	1    7300 3600
+P 7850 3600
+F 0 "C11" V 7621 3600 50  0000 C CNN
+F 1 "20pF" V 7712 3600 50  0000 C CNN
+F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7850 3600 50  0001 C CNN
+F 3 "" H 7850 3600 50  0001 C CNN
+	1    7850 3600
 	0    1    1    0   
 $EndComp
-Wire Wire Line
-	7200 3600 7000 3600
-Connection ~ 7000 3600
 $Comp
 L device:C_Small C12
 U 1 1 5B6CD756
-P 7300 3800
-F 0 "C12" V 7071 3800 50  0000 C CNN
-F 1 "20pF" V 7400 3850 50  0000 C CNN
-F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7300 3800 50  0001 C CNN
-F 3 "" H 7300 3800 50  0001 C CNN
-	1    7300 3800
+P 7850 3900
+F 0 "C12" V 7621 3900 50  0000 C CNN
+F 1 "20pF" V 7950 3950 50  0000 C CNN
+F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7850 3900 50  0001 C CNN
+F 3 "" H 7850 3900 50  0001 C CNN
+	1    7850 3900
 	0    1    1    0   
 $EndComp
-Wire Wire Line
-	7000 3800 7200 3800
-Connection ~ 7000 3800
 $Comp
 L power:GND #PWR026
 U 1 1 5B6CDA03
-P 7500 3700
-F 0 "#PWR026" H 7500 3450 50  0001 C CNN
-F 1 "GND" V 7505 3572 50  0000 R CNN
-F 2 "" H 7500 3700 50  0001 C CNN
-F 3 "" H 7500 3700 50  0001 C CNN
-	1    7500 3700
+P 8000 3700
+F 0 "#PWR026" H 8000 3450 50  0001 C CNN
+F 1 "GND" V 8005 3572 50  0000 R CNN
+F 2 "" H 8000 3700 50  0001 C CNN
+F 3 "" H 8000 3700 50  0001 C CNN
+	1    8000 3700
 	0    -1   -1   0   
 $EndComp
 Wire Wire Line
-	7400 3600 7400 3700
-Wire Wire Line
-	6875 3700 7125 3700
-Connection ~ 7400 3700
-Wire Wire Line
-	7400 3700 7400 3800
-Connection ~ 7125 3700
-Wire Wire Line
-	7125 3700 7400 3700
-Wire Wire Line
 	6700 4650 6915 4650
 Wire Wire Line
 	6700 4750 6910 4750
@@ -248,17 +209,6 @@ PD6
 Text HLabel 6950 5350 2    50   Input ~ 0
 PD7
 $Comp
-L Connector:Conn_01x05 J7
-U 1 1 5B6D7EF3
-P 1350 1550
-F 0 "J7" H 1270 1125 50  0000 C CNN
-F 1 "nap serial atmega328" H 1450 1250 50  0000 C CNN
-F 2 "Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm" H 1350 1550 50  0001 C CNN
-F 3 "~" H 1350 1550 50  0001 C CNN
-	1    1350 1550
-	-1   0    0    1   
-$EndComp
-$Comp
 L power:+3V3 #PWR021
 U 1 1 5B6D8146
 P 1650 1750
@@ -298,15 +248,15 @@ $Comp
 L device:C_Small C9
 U 1 1 5B6DC171
 P 1850 1350
-F 0 "C9" V 1621 1350 50  0000 C CNN
-F 1 "104" V 1712 1350 50  0000 C CNN
+F 0 "C9" V 1700 1450 50  0000 C CNN
+F 1 "104" V 1800 1450 50  0000 C CNN
 F 2 "Capacitors_SMD:C_0805" H 1850 1350 50  0001 C CNN
 F 3 "" H 1850 1350 50  0001 C CNN
 	1    1850 1350
 	0    1    1    0   
 $EndComp
 Wire Wire Line
-	1950 1350 2200 1350
+	1950 1350 2050 1350
 Text Label 2000 1350 0    50   ~ 0
 RESET
 Wire Wire Line
@@ -335,6 +285,152 @@ F 3 "" H 7800 4500 50  0001 C CNN
 $EndComp
 Wire Wire Line
 	7700 4500 7800 4500
+$Comp
+L Connector:Conn_01x08 J6
+U 1 1 5B7787F8
+P 1350 1450
+F 0 "J6" H 1270 825 50  0000 C CNN
+F 1 "Conn_01x08" H 1270 916 50  0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x08_Pitch2.54mm" H 1350 1450 50  0001 C CNN
+F 3 "~" H 1350 1450 50  0001 C CNN
+	1    1350 1450
+	-1   0    0    1   
+$EndComp
+$Comp
+L power:+3V3 #PWR030
+U 1 1 5B778BF8
+P 1650 950
+F 0 "#PWR030" H 1650 800 50  0001 C CNN
+F 1 "+3V3" H 1665 1123 50  0000 C CNN
+F 2 "" H 1650 950 50  0001 C CNN
+F 3 "" H 1650 950 50  0001 C CNN
+	1    1650 950 
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	1550 1050 1650 1050
+Wire Wire Line
+	1650 1050 1650 950 
+Wire Wire Line
+	1550 1150 2050 1150
+Wire Wire Line
+	2050 1150 2050 1350
+Connection ~ 2050 1350
+Wire Wire Line
+	2050 1350 2200 1350
+$Comp
+L power:GND #PWR015
+U 1 1 5B77AECA
+P 1600 1250
+F 0 "#PWR015" H 1600 1000 50  0001 C CNN
+F 1 "GND" V 1605 1122 50  0000 R CNN
+F 2 "" H 1600 1250 50  0001 C CNN
+F 3 "" H 1600 1250 50  0001 C CNN
+	1    1600 1250
+	0    -1   -1   0   
+$EndComp
+Wire Wire Line
+	1550 1250 1600 1250
+Text Label 6750 4300 0    50   ~ 0
+SDA
+Text Label 6750 4400 0    50   ~ 0
+SCL
+$Comp
+L device:R R14
+U 1 1 5B77D8B7
+P 8600 4150
+F 0 "R14" H 8530 4104 50  0000 R CNN
+F 1 "10k" H 8530 4195 50  0000 R CNN
+F 2 "Resistors_SMD:R_0805" V 8530 4150 50  0001 C CNN
+F 3 "" H 8600 4150 50  0001 C CNN
+	1    8600 4150
+	-1   0    0    1   
+$EndComp
+$Comp
+L device:R R13
+U 1 1 5B77D98E
+P 8400 4150
+F 0 "R13" H 8330 4104 50  0000 R CNN
+F 1 "10k" H 8330 4195 50  0000 R CNN
+F 2 "Resistors_SMD:R_0805" V 8330 4150 50  0001 C CNN
+F 3 "" H 8400 4150 50  0001 C CNN
+	1    8400 4150
+	-1   0    0    1   
+$EndComp
+Wire Wire Line
+	8400 4000 8500 4000
+$Comp
+L power:+3V3 #PWR031
+U 1 1 5B7875E5
+P 8500 4000
+F 0 "#PWR031" H 8500 3850 50  0001 C CNN
+F 1 "+3V3" V 8515 4128 50  0000 L CNN
+F 2 "" H 8500 4000 50  0001 C CNN
+F 3 "" H 8500 4000 50  0001 C CNN
+	1    8500 4000
+	1    0    0    -1  
+$EndComp
+Connection ~ 8500 4000
+Wire Wire Line
+	8500 4000 8600 4000
+Wire Wire Line
+	8400 4300 8400 4450
+Wire Wire Line
+	8600 4300 8600 4450
+Text Label 8400 4450 1    50   ~ 0
+SDA
+Text Label 8600 4450 1    50   ~ 0
+SCL
+Wire Wire Line
+	7250 3650 7250 3600
+Wire Wire Line
+	6700 3650 7250 3650
+Wire Wire Line
+	7950 3600 8000 3600
+Wire Wire Line
+	8000 3600 8000 3700
+Wire Wire Line
+	7200 3750 7200 3900
+Wire Wire Line
+	6700 3750 7200 3750
+Wire Wire Line
+	7950 3900 8000 3900
+Wire Wire Line
+	8000 3900 8000 3750
+Connection ~ 8000 3700
+Text Label 6750 3550 0    50   ~ 0
+SCK
+Text Label 6750 3450 0    50   ~ 0
+MISO
+Text Label 6750 3350 0    50   ~ 0
+MOSI
+Connection ~ 8000 3750
+Wire Wire Line
+	8000 3750 8000 3700
+$Comp
+L device:Crystal_GND24 Y1
+U 1 1 5BA8A92C
+P 7450 3750
+F 0 "Y1" V 7404 3991 50  0000 L CNN
+F 1 "Crystal_GND24" V 7495 3991 50  0000 L CNN
+F 2 "Crystals:Crystal_SMD_3225-4pin_3.2x2.5mm" H 7450 3750 50  0001 C CNN
+F 3 "" H 7450 3750 50  0001 C CNN
+	1    7450 3750
+	0    1    1    0   
+$EndComp
+Wire Wire Line
+	7250 3600 7450 3600
+Connection ~ 7450 3600
+Wire Wire Line
+	7450 3600 7750 3600
+Wire Wire Line
+	7200 3900 7450 3900
+Connection ~ 7450 3900
+Wire Wire Line
+	7450 3900 7750 3900
+Wire Wire Line
+	7650 3750 8000 3750
 Wire Wire Line
-	7400 3700 7500 3700
+	7250 3750 7650 3750
+Connection ~ 7650 3750
 $EndSCHEMATC

+ 71 - 60
atmega328.sch

@@ -4,7 +4,7 @@ EELAYER 26 0
 EELAYER END
 $Descr A4 11693 8268
 encoding utf-8
-Sheet 6 8
+Sheet 5 9
 Title ""
 Date ""
 Rev ""
@@ -94,78 +94,39 @@ $EndComp
 Wire Wire Line
 	4600 3650 4500 3650
 $Comp
-L device:Crystal_GND24_Small Y1
-U 1 1 5B6CCC42
-P 7000 3700
-F 0 "Y1" V 6954 3866 50  0000 L CNN
-F 1 "16MHZ" V 7045 3866 50  0000 L CNN
-F 2 "Crystals:Crystal_SMD_5032-4pin_5.0x3.2mm" H 7000 3700 50  0001 C CNN
-F 3 "" H 7000 3700 50  0001 C CNN
-	1    7000 3700
-	0    1    1    0   
-$EndComp
-Wire Wire Line
-	6850 3650 6850 3600
-Wire Wire Line
-	6850 3600 7000 3600
-Wire Wire Line
-	6700 3650 6850 3650
-Wire Wire Line
-	6700 3750 6850 3750
-Wire Wire Line
-	6850 3750 6850 3800
-Wire Wire Line
-	6850 3800 7000 3800
-$Comp
 L device:C_Small C11
 U 1 1 5B6CD364
-P 7300 3600
-F 0 "C11" V 7071 3600 50  0000 C CNN
-F 1 "20pF" V 7162 3600 50  0000 C CNN
-F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7300 3600 50  0001 C CNN
-F 3 "" H 7300 3600 50  0001 C CNN
-	1    7300 3600
+P 7850 3600
+F 0 "C11" V 7621 3600 50  0000 C CNN
+F 1 "20pF" V 7712 3600 50  0000 C CNN
+F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7850 3600 50  0001 C CNN
+F 3 "" H 7850 3600 50  0001 C CNN
+	1    7850 3600
 	0    1    1    0   
 $EndComp
-Wire Wire Line
-	7200 3600 7000 3600
-Connection ~ 7000 3600
 $Comp
 L device:C_Small C12
 U 1 1 5B6CD756
-P 7300 3800
-F 0 "C12" V 7071 3800 50  0000 C CNN
-F 1 "20pF" V 7400 3850 50  0000 C CNN
-F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7300 3800 50  0001 C CNN
-F 3 "" H 7300 3800 50  0001 C CNN
-	1    7300 3800
+P 7850 3900
+F 0 "C12" V 7621 3900 50  0000 C CNN
+F 1 "20pF" V 7950 3950 50  0000 C CNN
+F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7850 3900 50  0001 C CNN
+F 3 "" H 7850 3900 50  0001 C CNN
+	1    7850 3900
 	0    1    1    0   
 $EndComp
-Wire Wire Line
-	7000 3800 7200 3800
-Connection ~ 7000 3800
 $Comp
 L power:GND #PWR026
 U 1 1 5B6CDA03
-P 7500 3700
-F 0 "#PWR026" H 7500 3450 50  0001 C CNN
-F 1 "GND" V 7505 3572 50  0000 R CNN
-F 2 "" H 7500 3700 50  0001 C CNN
-F 3 "" H 7500 3700 50  0001 C CNN
-	1    7500 3700
+P 8000 3700
+F 0 "#PWR026" H 8000 3450 50  0001 C CNN
+F 1 "GND" V 8005 3572 50  0000 R CNN
+F 2 "" H 8000 3700 50  0001 C CNN
+F 3 "" H 8000 3700 50  0001 C CNN
+	1    8000 3700
 	0    -1   -1   0   
 $EndComp
 Wire Wire Line
-	7400 3600 7400 3700
-Wire Wire Line
-	6875 3700 7125 3700
-Connection ~ 7400 3700
-Wire Wire Line
-	7400 3700 7400 3800
-Connection ~ 7125 3700
-Wire Wire Line
-	7125 3700 7400 3700
-Wire Wire Line
 	6700 4650 6915 4650
 Wire Wire Line
 	6700 4750 6910 4750
@@ -324,8 +285,6 @@ F 3 "" H 7800 4500 50  0001 C CNN
 $EndComp
 Wire Wire Line
 	7700 4500 7800 4500
-Wire Wire Line
-	7400 3700 7500 3700
 $Comp
 L Connector:Conn_01x08 J6
 U 1 1 5B7787F8
@@ -422,4 +381,56 @@ Text Label 8400 4450 1    50   ~ 0
 SDA
 Text Label 8600 4450 1    50   ~ 0
 SCL
+Wire Wire Line
+	7250 3650 7250 3600
+Wire Wire Line
+	6700 3650 7250 3650
+Wire Wire Line
+	7950 3600 8000 3600
+Wire Wire Line
+	8000 3600 8000 3700
+Wire Wire Line
+	7200 3750 7200 3900
+Wire Wire Line
+	6700 3750 7200 3750
+Wire Wire Line
+	7950 3900 8000 3900
+Wire Wire Line
+	8000 3900 8000 3750
+Connection ~ 8000 3700
+Text Label 6750 3550 0    50   ~ 0
+SCK
+Text Label 6750 3450 0    50   ~ 0
+MISO
+Text Label 6750 3350 0    50   ~ 0
+MOSI
+Connection ~ 8000 3750
+Wire Wire Line
+	8000 3750 8000 3700
+$Comp
+L device:Crystal_GND24 Y1
+U 1 1 5BA8A92C
+P 7450 3750
+F 0 "Y1" V 7404 3991 50  0000 L CNN
+F 1 "Crystal_GND24" V 7495 3991 50  0000 L CNN
+F 2 "Crystals:Crystal_SMD_3225-4pin_3.2x2.5mm" H 7450 3750 50  0001 C CNN
+F 3 "" H 7450 3750 50  0001 C CNN
+	1    7450 3750
+	0    1    1    0   
+$EndComp
+Wire Wire Line
+	7250 3600 7450 3600
+Connection ~ 7450 3600
+Wire Wire Line
+	7450 3600 7750 3600
+Wire Wire Line
+	7200 3900 7450 3900
+Connection ~ 7450 3900
+Wire Wire Line
+	7450 3900 7750 3900
+Wire Wire Line
+	7650 3750 8000 3750
+Wire Wire Line
+	7250 3750 7650 3750
+Connection ~ 7650 3750
 $EndSCHEMATC

+ 46 - 112
connectorsch.bak

@@ -4,7 +4,7 @@ EELAYER 26 0
 EELAYER END
 $Descr A4 11693 8268
 encoding utf-8
-Sheet 7 8
+Sheet 9 9
 Title ""
 Date ""
 Rev ""
@@ -15,141 +15,75 @@ Comment3 ""
 Comment4 ""
 $EndDescr
 $Comp
-L Connector:Conn_01x05 J8
-U 1 1 5B6EED46
-P 3850 1800
-F 0 "J8" H 3770 1375 50  0000 C CNN
-F 1 "connector-ESP" H 3770 1466 50  0000 C CNN
-F 2 "Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm" H 3850 1800 50  0001 C CNN
-F 3 "~" H 3850 1800 50  0001 C CNN
-	1    3850 1800
-	-1   0    0    1   
-$EndComp
-$Comp
 L device:C_Small C13
 U 1 1 5B6EF154
-P 4250 2000
-F 0 "C13" V 4150 2150 50  0000 C CNN
-F 1 "104" V 4200 2150 50  0000 C CNN
-F 2 "Capacitors_SMD:C_0805" H 4250 2000 50  0001 C CNN
-F 3 "" H 4250 2000 50  0001 C CNN
-	1    4250 2000
+P 3400 3000
+F 0 "C13" V 3300 3150 50  0000 C CNN
+F 1 "104" V 3350 3150 50  0000 C CNN
+F 2 "Capacitors_SMD:C_0805" H 3400 3000 50  0001 C CNN
+F 3 "" H 3400 3000 50  0001 C CNN
+	1    3400 3000
 	1    0    0    -1  
 $EndComp
 $Comp
 L power:+3V3 #PWR028
 U 1 1 5B6EF3C1
-P 4250 2150
-F 0 "#PWR028" H 4250 2000 50  0001 C CNN
-F 1 "+3V3" H 4265 2323 50  0000 C CNN
-F 2 "" H 4250 2150 50  0001 C CNN
-F 3 "" H 4250 2150 50  0001 C CNN
-	1    4250 2150
+P 3400 3150
+F 0 "#PWR028" H 3400 3000 50  0001 C CNN
+F 1 "+3V3" H 3415 3323 50  0000 C CNN
+F 2 "" H 3400 3150 50  0001 C CNN
+F 3 "" H 3400 3150 50  0001 C CNN
+	1    3400 3150
 	-1   0    0    1   
 $EndComp
 Wire Wire Line
-	4050 2000 4050 2100
+	3200 3000 3200 3100
 Wire Wire Line
-	4050 2100 4250 2100
+	3200 3100 3400 3100
 Wire Wire Line
-	4250 2100 4250 2150
-Connection ~ 4250 2100
+	3400 3100 3400 3150
+Connection ~ 3400 3100
 Wire Wire Line
-	4050 1900 4250 1900
+	3200 2900 3400 2900
 Wire Wire Line
-	4250 1900 4450 1900
-Connection ~ 4250 1900
+	3400 2900 3600 2900
+Connection ~ 3400 2900
 $Comp
 L power:GND #PWR029
 U 1 1 5B6EFEBA
-P 4450 1900
-F 0 "#PWR029" H 4450 1650 50  0001 C CNN
-F 1 "GND" V 4455 1772 50  0000 R CNN
-F 2 "" H 4450 1900 50  0001 C CNN
-F 3 "" H 4450 1900 50  0001 C CNN
-	1    4450 1900
+P 3600 2900
+F 0 "#PWR029" H 3600 2650 50  0001 C CNN
+F 1 "GND" V 3605 2772 50  0000 R CNN
+F 2 "" H 3600 2900 50  0001 C CNN
+F 3 "" H 3600 2900 50  0001 C CNN
+	1    3600 2900
 	0    -1   -1   0   
 $EndComp
-Wire Wire Line
-	4050 1600 4400 1600
-Wire Wire Line
-	4050 1700 4400 1700
-Wire Wire Line
-	4050 1800 4400 1800
-Text HLabel 4400 1600 2    50   Input ~ 0
-OUT_ESP1
-Text HLabel 4400 1700 2    50   Input ~ 0
-OUT_ESP2
-Text HLabel 4400 1800 2    50   Input ~ 0
-OUT_ESP3
-$Comp
-L device:C_Small C14
-U 1 1 5B6F365D
-P 5900 2000
-F 0 "C14" V 5800 2150 50  0000 C CNN
-F 1 "104" V 5850 2150 50  0000 C CNN
-F 2 "Capacitors_SMD:C_0805" H 5900 2000 50  0001 C CNN
-F 3 "" H 5900 2000 50  0001 C CNN
-	1    5900 2000
-	1    0    0    -1  
-$EndComp
 $Comp
-L power:+3V3 #PWR030
-U 1 1 5B6F36D4
-P 5900 2200
-F 0 "#PWR030" H 5900 2050 50  0001 C CNN
-F 1 "+3V3" H 5915 2373 50  0000 C CNN
-F 2 "" H 5900 2200 50  0001 C CNN
-F 3 "" H 5900 2200 50  0001 C CNN
-	1    5900 2200
+L Connector:Conn_01x06 J8
+U 1 1 5BA007CB
+P 3000 2800
+F 0 "J8" H 2920 2275 50  0000 C CNN
+F 1 "keypad" H 2920 2366 50  0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x06_Pitch2.54mm" H 3000 2800 50  0001 C CNN
+F 3 "~" H 3000 2800 50  0001 C CNN
+	1    3000 2800
 	-1   0    0    1   
 $EndComp
 Wire Wire Line
-	5600 2000 5800 2000
-Wire Wire Line
-	5800 2000 5800 2100
-Wire Wire Line
-	5800 2100 5900 2100
-Wire Wire Line
-	5900 2200 5900 2100
-Connection ~ 5900 2100
-Wire Wire Line
-	5600 1900 5900 1900
-$Comp
-L power:GND #PWR031
-U 1 1 5B6F3F67
-P 6050 1900
-F 0 "#PWR031" H 6050 1650 50  0001 C CNN
-F 1 "GND" V 6055 1772 50  0000 R CNN
-F 2 "" H 6050 1900 50  0001 C CNN
-F 3 "" H 6050 1900 50  0001 C CNN
-	1    6050 1900
-	0    -1   -1   0   
-$EndComp
-Wire Wire Line
-	5900 1900 6050 1900
-Connection ~ 5900 1900
+	3200 2500 3700 2500
 Wire Wire Line
-	5600 1600 5950 1600
+	3200 2600 3700 2600
 Wire Wire Line
-	5600 1700 5950 1700
+	3200 2700 3700 2700
 Wire Wire Line
-	5600 1800 5950 1800
-Text HLabel 5950 1600 2    50   Input ~ 0
-OUT_ESP4
-Text HLabel 5950 1700 2    50   Input ~ 0
-OUT_ESP5
-Text HLabel 5950 1800 2    50   Input ~ 0
-OUT_ESP6
-$Comp
-L Connector:Conn_01x05 J6
-U 1 1 5B7756C7
-P 5400 1800
-F 0 "J6" H 5320 1375 50  0000 C CNN
-F 1 "Conn_01x05" H 5320 1466 50  0000 C CNN
-F 2 "Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm" H 5400 1800 50  0001 C CNN
-F 3 "~" H 5400 1800 50  0001 C CNN
-	1    5400 1800
-	-1   0    0    1   
-$EndComp
+	3200 2800 3700 2800
+Text HLabel 3700 2500 2    50   Input ~ 0
+SCL1
+Text HLabel 3700 2600 2    50   Input ~ 0
+SDO1
+Text HLabel 3700 2700 2    50   Input ~ 0
+SCL2
+Text HLabel 3700 2800 2    50   Input ~ 0
+SDO2
 $EndSCHEMATC

+ 50 - 46
connectorsch.sch

@@ -4,7 +4,7 @@ EELAYER 26 0
 EELAYER END
 $Descr A4 11693 8268
 encoding utf-8
-Sheet 7 8
+Sheet 9 9
 Title ""
 Date ""
 Rev ""
@@ -15,71 +15,75 @@ Comment3 ""
 Comment4 ""
 $EndDescr
 $Comp
-L Connector:Conn_01x05 J8
-U 1 1 5B6EED46
-P 3850 1800
-F 0 "J8" H 3770 1375 50  0000 C CNN
-F 1 "connector-ESP" H 3770 1466 50  0000 C CNN
-F 2 "Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm" H 3850 1800 50  0001 C CNN
-F 3 "~" H 3850 1800 50  0001 C CNN
-	1    3850 1800
-	-1   0    0    1   
-$EndComp
-$Comp
 L device:C_Small C13
 U 1 1 5B6EF154
-P 4250 2000
-F 0 "C13" V 4150 2150 50  0000 C CNN
-F 1 "104" V 4200 2150 50  0000 C CNN
-F 2 "Capacitors_SMD:C_0805" H 4250 2000 50  0001 C CNN
-F 3 "" H 4250 2000 50  0001 C CNN
-	1    4250 2000
+P 3400 3000
+F 0 "C13" V 3300 3150 50  0000 C CNN
+F 1 "104" V 3350 3150 50  0000 C CNN
+F 2 "Capacitors_SMD:C_0805" H 3400 3000 50  0001 C CNN
+F 3 "" H 3400 3000 50  0001 C CNN
+	1    3400 3000
 	1    0    0    -1  
 $EndComp
 $Comp
 L power:+3V3 #PWR028
 U 1 1 5B6EF3C1
-P 4250 2150
-F 0 "#PWR028" H 4250 2000 50  0001 C CNN
-F 1 "+3V3" H 4265 2323 50  0000 C CNN
-F 2 "" H 4250 2150 50  0001 C CNN
-F 3 "" H 4250 2150 50  0001 C CNN
-	1    4250 2150
+P 3400 3150
+F 0 "#PWR028" H 3400 3000 50  0001 C CNN
+F 1 "+3V3" H 3415 3323 50  0000 C CNN
+F 2 "" H 3400 3150 50  0001 C CNN
+F 3 "" H 3400 3150 50  0001 C CNN
+	1    3400 3150
 	-1   0    0    1   
 $EndComp
 Wire Wire Line
-	4050 2000 4050 2100
+	3200 3000 3200 3100
 Wire Wire Line
-	4050 2100 4250 2100
+	3200 3100 3400 3100
 Wire Wire Line
-	4250 2100 4250 2150
-Connection ~ 4250 2100
+	3400 3100 3400 3150
+Connection ~ 3400 3100
 Wire Wire Line
-	4050 1900 4250 1900
+	3200 2900 3400 2900
 Wire Wire Line
-	4250 1900 4450 1900
-Connection ~ 4250 1900
+	3400 2900 3600 2900
+Connection ~ 3400 2900
 $Comp
 L power:GND #PWR029
 U 1 1 5B6EFEBA
-P 4450 1900
-F 0 "#PWR029" H 4450 1650 50  0001 C CNN
-F 1 "GND" V 4455 1772 50  0000 R CNN
-F 2 "" H 4450 1900 50  0001 C CNN
-F 3 "" H 4450 1900 50  0001 C CNN
-	1    4450 1900
+P 3600 2900
+F 0 "#PWR029" H 3600 2650 50  0001 C CNN
+F 1 "GND" V 3605 2772 50  0000 R CNN
+F 2 "" H 3600 2900 50  0001 C CNN
+F 3 "" H 3600 2900 50  0001 C CNN
+	1    3600 2900
 	0    -1   -1   0   
 $EndComp
+$Comp
+L Connector:Conn_01x06 J8
+U 1 1 5BA007CB
+P 3000 2800
+F 0 "J8" H 2920 2275 50  0000 C CNN
+F 1 "keypad" H 2920 2366 50  0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x06_Pitch2.54mm" H 3000 2800 50  0001 C CNN
+F 3 "~" H 3000 2800 50  0001 C CNN
+	1    3000 2800
+	-1   0    0    1   
+$EndComp
+Wire Wire Line
+	3200 2500 3700 2500
 Wire Wire Line
-	4050 1600 4400 1600
+	3200 2600 3700 2600
 Wire Wire Line
-	4050 1700 4400 1700
+	3200 2700 3700 2700
 Wire Wire Line
-	4050 1800 4400 1800
-Text HLabel 4400 1600 2    50   Input ~ 0
-OUT_ESP1
-Text HLabel 4400 1700 2    50   Input ~ 0
-OUT_ESP2
-Text HLabel 4400 1800 2    50   Input ~ 0
-OUT_ESP3
+	3200 2800 3700 2800
+Text HLabel 3700 2500 2    50   Input ~ 0
+SCL1
+Text HLabel 3700 2600 2    50   Input ~ 0
+SDO1
+Text HLabel 3700 2700 2    50   Input ~ 0
+SCL2
+Text HLabel 3700 2800 2    50   Input ~ 0
+SDO2
 $EndSCHEMATC

+ 150 - 45
display.bak

@@ -4,7 +4,7 @@ EELAYER 26 0
 EELAYER END
 $Descr A4 11693 8268
 encoding utf-8
-Sheet 2 8
+Sheet 2 9
 Title ""
 Date ""
 Rev ""
@@ -15,28 +15,6 @@ Comment3 ""
 Comment4 ""
 $EndDescr
 $Comp
-L Connector:Conn_01x08 J1
-U 1 1 5B62B126
-P 2250 2550
-F 0 "J1" H 2170 3067 50  0000 C CNN
-F 1 "LCD TFT 2.4 inch" H 2170 2976 50  0000 C CNN
-F 2 "Pin_Headers:Pin_Header_Straight_1x08_Pitch2.54mm" H 2250 2550 50  0001 C CNN
-F 3 "~" H 2250 2550 50  0001 C CNN
-	1    2250 2550
-	-1   0    0    -1  
-$EndComp
-$Comp
-L power:GND #PWR01
-U 1 1 5B62B5E5
-P 2800 2850
-F 0 "#PWR01" H 2800 2600 50  0001 C CNN
-F 1 "GND" V 2805 2722 50  0000 R CNN
-F 2 "" H 2800 2850 50  0001 C CNN
-F 3 "" H 2800 2850 50  0001 C CNN
-	1    2800 2850
-	0    -1   -1   0   
-$EndComp
-$Comp
 L power:+3V3 #PWR02
 U 1 1 5B62B66C
 P 3250 2100
@@ -47,16 +25,6 @@ F 3 "" H 3250 2100 50  0001 C CNN
 	1    3250 2100
 	1    0    0    -1  
 $EndComp
-Wire Wire Line
-	2450 2250 2800 2250
-Wire Wire Line
-	2450 2350 2800 2350
-Wire Wire Line
-	2450 2450 2800 2450
-Wire Wire Line
-	2450 2550 2800 2550
-Wire Wire Line
-	2450 2750 2800 2750
 Text HLabel 2800 2250 2    50   Input ~ 0
 CLK
 Text HLabel 2800 2350 2    50   Input ~ 0
@@ -67,8 +35,6 @@ Text HLabel 2800 2550 2    50   Input ~ 0
 DC
 Text HLabel 2800 2750 2    50   Input ~ 0
 MISO
-Wire Wire Line
-	2450 2650 3250 2650
 $Comp
 L device:R R9
 U 1 1 5B73F886
@@ -99,19 +65,158 @@ F 3 "http://www.fairchildsemi.com/ds/BC/BC807.pdf" H 3350 2450 50  0001 L CNN
 $EndComp
 Wire Wire Line
 	3250 2100 3250 2250
+Wire Wire Line
+	2500 2250 2800 2250
+Wire Wire Line
+	2500 2350 2800 2350
+Wire Wire Line
+	2500 2450 2800 2450
+Wire Wire Line
+	2500 2550 2800 2550
+Wire Wire Line
+	2500 2650 3250 2650
+Wire Wire Line
+	2500 2750 2800 2750
+$Comp
+L device:C_Small C15
+U 1 1 5B765EF1
+P 2700 1950
+F 0 "C15" H 2792 1996 50  0000 L CNN
+F 1 "104" H 2792 1905 50  0000 L CNN
+F 2 "Capacitors_SMD:C_0805" H 2700 1950 50  0001 C CNN
+F 3 "" H 2700 1950 50  0001 C CNN
+	1    2700 1950
+	1    0    0    -1  
+$EndComp
+$Comp
+L power:GND #PWR01
+U 1 1 5B766203
+P 2700 1750
+F 0 "#PWR01" H 2700 1500 50  0001 C CNN
+F 1 "GND" H 2705 1577 50  0000 C CNN
+F 2 "" H 2700 1750 50  0001 C CNN
+F 3 "" H 2700 1750 50  0001 C CNN
+	1    2700 1750
+	-1   0    0    1   
+$EndComp
+$Comp
+L power:+3V3 #PWR03
+U 1 1 5B7662BA
+P 2900 2050
+F 0 "#PWR03" H 2900 1900 50  0001 C CNN
+F 1 "+3V3" H 2915 2223 50  0000 C CNN
+F 2 "" H 2900 2050 50  0001 C CNN
+F 3 "" H 2900 2050 50  0001 C CNN
+	1    2900 2050
+	1    0    0    -1  
+$EndComp
 $Comp
-L power:+3V3 #PWR0102
-U 1 1 5B745CBA
-P 2800 2950
-F 0 "#PWR0102" H 2800 2800 50  0001 C CNN
-F 1 "+3V3" H 2815 3123 50  0000 C CNN
-F 2 "" H 2800 2950 50  0001 C CNN
-F 3 "" H 2800 2950 50  0001 C CNN
-	1    2800 2950
+L Connector:Conn_01x09 J1
+U 1 1 5B7AC080
+P 2300 2350
+F 0 "J1" H 2220 1725 50  0000 C CNN
+F 1 "lcd" H 2220 1816 50  0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x09_Pitch2.54mm" H 2300 2350 50  0001 C CNN
+F 3 "~" H 2300 2350 50  0001 C CNN
+	1    2300 2350
 	-1   0    0    1   
 $EndComp
 Wire Wire Line
-	2450 2850 2800 2850
+	2500 1950 2500 1850
+Wire Wire Line
+	2500 1850 2700 1850
+Wire Wire Line
+	2700 1850 2700 1750
+Connection ~ 2700 1850
+Wire Wire Line
+	2500 2050 2700 2050
+Connection ~ 2700 2050
+Wire Wire Line
+	2700 2050 2900 2050
+Wire Wire Line
+	2500 2150 2800 2150
+Text HLabel 2800 2150 2    50   Input ~ 0
+CS_LCD
+$Comp
+L Connector:Conn_01x06 J7
+U 1 1 5B7AD180
+P 2300 3900
+F 0 "J7" H 2220 3375 50  0000 C CNN
+F 1 "SD_card" H 2220 3466 50  0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x06_Pitch2.54mm" H 2300 3900 50  0001 C CNN
+F 3 "~" H 2300 3900 50  0001 C CNN
+	1    2300 3900
+	-1   0    0    1   
+$EndComp
+$Comp
+L device:C_Small C16
+U 1 1 5B7AD6EA
+P 2750 3600
+F 0 "C16" H 2842 3646 50  0000 L CNN
+F 1 "104" H 2842 3555 50  0000 L CNN
+F 2 "Capacitors_SMD:C_0805" H 2750 3600 50  0001 C CNN
+F 3 "" H 2750 3600 50  0001 C CNN
+	1    2750 3600
+	1    0    0    -1  
+$EndComp
+$Comp
+L power:GND #PWR032
+U 1 1 5B7AD7DA
+P 2750 3450
+F 0 "#PWR032" H 2750 3200 50  0001 C CNN
+F 1 "GND" H 2755 3277 50  0000 C CNN
+F 2 "" H 2750 3450 50  0001 C CNN
+F 3 "" H 2750 3450 50  0001 C CNN
+	1    2750 3450
+	-1   0    0    1   
+$EndComp
+$Comp
+L power:+3V3 #PWR033
+U 1 1 5B7AD834
+P 3000 3650
+F 0 "#PWR033" H 3000 3500 50  0001 C CNN
+F 1 "+3V3" H 3015 3823 50  0000 C CNN
+F 2 "" H 3000 3650 50  0001 C CNN
+F 3 "" H 3000 3650 50  0001 C CNN
+	1    3000 3650
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	2500 3600 2600 3600
+Wire Wire Line
+	2600 3600 2600 3500
+Wire Wire Line
+	2600 3500 2750 3500
+Wire Wire Line
+	2750 3500 2750 3450
+Connection ~ 2750 3500
+Wire Wire Line
+	2500 3700 2750 3700
+Wire Wire Line
+	3000 3700 3000 3650
+Connection ~ 2750 3700
+Wire Wire Line
+	2750 3700 3000 3700
+Wire Wire Line
+	2500 3800 2800 3800
+Wire Wire Line
+	2500 3900 2800 3900
+Wire Wire Line
+	2500 4000 2800 4000
 Wire Wire Line
-	2450 2950 2800 2950
+	2500 4100 2800 4100
+Text HLabel 2800 3800 2    50   Input ~ 0
+CS_SD
+Text Label 2500 2250 0    50   ~ 0
+SCK_TFT
+Text Label 2500 2350 0    50   ~ 0
+MOSI_TFT
+Text Label 2500 2750 0    50   ~ 0
+MISO_TFT
+Text Label 2500 3900 0    50   ~ 0
+MOSI_TFT
+Text Label 2500 4000 0    50   ~ 0
+MISO_TFT
+Text Label 2500 4100 0    50   ~ 0
+SCK_TFT
 $EndSCHEMATC

+ 2 - 2
display.sch

@@ -4,7 +4,7 @@ EELAYER 26 0
 EELAYER END
 $Descr A4 11693 8268
 encoding utf-8
-Sheet 2 8
+Sheet 2 9
 Title ""
 Date ""
 Rev ""
@@ -206,7 +206,7 @@ Wire Wire Line
 Wire Wire Line
 	2500 4100 2800 4100
 Text HLabel 2800 3800 2    50   Input ~ 0
-SD_CS
+CS_SD
 Text Label 2500 2250 0    50   ~ 0
 SCK_TFT
 Text Label 2500 2350 0    50   ~ 0

+ 176 - 0
file5B9F7E35.bak

@@ -0,0 +1,176 @@
+EESchema Schematic File Version 4
+LIBS:vinhome-cache
+EELAYER 26 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 7 9
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L device:Microphone MK1
+U 1 1 5B9F91FA
+P 3250 3150
+F 0 "MK1" H 3380 3196 50  0000 L CNN
+F 1 "Microphone" H 3380 3105 50  0000 L CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" V 3250 3250 50  0001 C CNN
+F 3 "" V 3250 3250 50  0001 C CNN
+	1    3250 3150
+	1    0    0    -1  
+$EndComp
+Text HLabel 5150 2550 2    50   Input ~ 0
+ADC
+$Comp
+L device:R R15
+U 1 1 5BA0C54D
+P 3250 2500
+F 0 "R15" H 3320 2546 50  0000 L CNN
+F 1 "82k" H 3320 2455 50  0000 L CNN
+F 2 "Resistors_SMD:R_0805_HandSoldering" V 3180 2500 50  0001 C CNN
+F 3 "" H 3250 2500 50  0001 C CNN
+	1    3250 2500
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	3250 2650 3250 2800
+$Comp
+L device:CP_Small C5
+U 1 1 5BA0C6FA
+P 3600 2800
+F 0 "C5" V 3825 2800 50  0000 C CNN
+F 1 "1uF" V 3734 2800 50  0000 C CNN
+F 2 "Capacitors_SMD:C_0805_HandSoldering" H 3600 2800 50  0001 C CNN
+F 3 "" H 3600 2800 50  0001 C CNN
+	1    3600 2800
+	0    -1   -1   0   
+$EndComp
+$Comp
+L device:R R16
+U 1 1 5BA1DBD8
+P 4350 2550
+F 0 "R16" H 4420 2596 50  0000 L CNN
+F 1 "200k" H 4420 2505 50  0000 L CNN
+F 2 "Resistors_SMD:R_0805_HandSoldering" V 4280 2550 50  0001 C CNN
+F 3 "" H 4350 2550 50  0001 C CNN
+	1    4350 2550
+	0    1    1    0   
+$EndComp
+$Comp
+L vinhome-rescue:TRANSISTOR_NPNSOT23-3-SparkFun-DiscreteSemi Q5
+U 1 1 5BA1DE3C
+P 4500 2800
+F 0 "Q5" H 4641 2846 50  0000 L CNN
+F 1 "TRANSISTOR_NPNSOT23-3" H 4641 2755 50  0000 L CNN
+F 2 "TO_SOT_Packages_SMD:SOT-23W" H 4530 2950 20  0001 C CNN
+F 3 "" H 4500 2800 50  0001 C CNN
+	1    4500 2800
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	3250 2350 3250 2150
+Wire Wire Line
+	3250 2150 3900 2150
+Wire Wire Line
+	3250 3350 3250 3650
+Wire Wire Line
+	3250 2800 3500 2800
+Connection ~ 3250 2800
+Wire Wire Line
+	3250 2800 3250 2950
+$Comp
+L device:R R18
+U 1 1 5BA1E5F9
+P 4600 2300
+F 0 "R18" H 4670 2346 50  0000 L CNN
+F 1 "10k" H 4670 2255 50  0000 L CNN
+F 2 "Resistors_SMD:R_0805_HandSoldering" V 4530 2300 50  0001 C CNN
+F 3 "" H 4600 2300 50  0001 C CNN
+	1    4600 2300
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	4600 3000 4600 3200
+Wire Wire Line
+	4600 3650 4600 3500
+$Comp
+L power:GND #PWR040
+U 1 1 5BA1F10F
+P 4000 3800
+F 0 "#PWR040" H 4000 3550 50  0001 C CNN
+F 1 "GND" H 4005 3627 50  0000 C CNN
+F 2 "" H 4000 3800 50  0001 C CNN
+F 3 "" H 4000 3800 50  0001 C CNN
+	1    4000 3800
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	4000 3800 4000 3650
+Wire Wire Line
+	3250 3650 4000 3650
+Connection ~ 4000 3650
+Connection ~ 3900 2150
+Wire Wire Line
+	4600 2450 4600 2550
+$Comp
+L device:CP_Small C17
+U 1 1 5BA1F841
+P 4950 2550
+F 0 "C17" V 5175 2550 50  0000 C CNN
+F 1 "10UF" V 5084 2550 50  0000 C CNN
+F 2 "Capacitors_SMD:C_0805_HandSoldering" H 4950 2550 50  0001 C CNN
+F 3 "" H 4950 2550 50  0001 C CNN
+	1    4950 2550
+	0    -1   -1   0   
+$EndComp
+Wire Wire Line
+	4850 2550 4600 2550
+Connection ~ 4600 2550
+Wire Wire Line
+	4600 2550 4600 2600
+Wire Wire Line
+	5050 2550 5150 2550
+$Comp
+L power:+3.3V #PWR0102
+U 1 1 5BA21345
+P 3900 2000
+F 0 "#PWR0102" H 3900 1850 50  0001 C CNN
+F 1 "+3.3V" H 3915 2173 50  0000 C CNN
+F 2 "" H 3900 2000 50  0001 C CNN
+F 3 "" H 3900 2000 50  0001 C CNN
+	1    3900 2000
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	3900 2000 3900 2150
+$Comp
+L device:R R19
+U 1 1 5BA1E674
+P 4600 3350
+F 0 "R19" H 4670 3396 50  0000 L CNN
+F 1 "100R" H 4670 3305 50  0000 L CNN
+F 2 "Resistors_SMD:R_0805_HandSoldering" V 4530 3350 50  0001 C CNN
+F 3 "" H 4600 3350 50  0001 C CNN
+	1    4600 3350
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	4000 3650 4600 3650
+Wire Wire Line
+	3900 2150 4600 2150
+Wire Wire Line
+	3700 2800 4200 2800
+Wire Wire Line
+	4500 2550 4600 2550
+Wire Wire Line
+	4200 2550 4200 2800
+Connection ~ 4200 2800
+Wire Wire Line
+	4200 2800 4400 2800
+$EndSCHEMATC

+ 176 - 0
file5B9F7E35.sch

@@ -0,0 +1,176 @@
+EESchema Schematic File Version 4
+LIBS:vinhome-cache
+EELAYER 26 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 7 9
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+$Comp
+L device:Microphone MK1
+U 1 1 5B9F91FA
+P 3250 3150
+F 0 "MK1" H 3380 3196 50  0000 L CNN
+F 1 "Microphone" H 3380 3105 50  0000 L CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" V 3250 3250 50  0001 C CNN
+F 3 "" V 3250 3250 50  0001 C CNN
+	1    3250 3150
+	1    0    0    -1  
+$EndComp
+Text HLabel 5150 2550 2    50   Input ~ 0
+ADC
+$Comp
+L device:R R15
+U 1 1 5BA0C54D
+P 3250 2500
+F 0 "R15" H 3320 2546 50  0000 L CNN
+F 1 "82k" H 3320 2455 50  0000 L CNN
+F 2 "Resistors_SMD:R_0805_HandSoldering" V 3180 2500 50  0001 C CNN
+F 3 "" H 3250 2500 50  0001 C CNN
+	1    3250 2500
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	3250 2650 3250 2800
+$Comp
+L device:CP_Small C5
+U 1 1 5BA0C6FA
+P 3600 2800
+F 0 "C5" V 3825 2800 50  0000 C CNN
+F 1 "1uF" V 3734 2800 50  0000 C CNN
+F 2 "Capacitors_SMD:C_0805_HandSoldering" H 3600 2800 50  0001 C CNN
+F 3 "" H 3600 2800 50  0001 C CNN
+	1    3600 2800
+	0    -1   -1   0   
+$EndComp
+$Comp
+L device:R R16
+U 1 1 5BA1DBD8
+P 4350 2550
+F 0 "R16" H 4420 2596 50  0000 L CNN
+F 1 "200k" H 4420 2505 50  0000 L CNN
+F 2 "Resistors_SMD:R_0805_HandSoldering" V 4280 2550 50  0001 C CNN
+F 3 "" H 4350 2550 50  0001 C CNN
+	1    4350 2550
+	0    1    1    0   
+$EndComp
+$Comp
+L vinhome-rescue:TRANSISTOR_NPNSOT23-3-SparkFun-DiscreteSemi Q5
+U 1 1 5BA1DE3C
+P 4500 2800
+F 0 "Q5" H 4641 2846 50  0000 L CNN
+F 1 "TRANSISTOR_NPNSOT23-3" H 4641 2755 50  0000 L CNN
+F 2 "TO_SOT_Packages_SMD:SOT-23W" H 4530 2950 20  0001 C CNN
+F 3 "" H 4500 2800 50  0001 C CNN
+	1    4500 2800
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	3250 2350 3250 2150
+Wire Wire Line
+	3250 2150 3900 2150
+Wire Wire Line
+	3250 3350 3250 3650
+Wire Wire Line
+	3250 2800 3500 2800
+Connection ~ 3250 2800
+Wire Wire Line
+	3250 2800 3250 2950
+$Comp
+L device:R R18
+U 1 1 5BA1E5F9
+P 4600 2300
+F 0 "R18" H 4670 2346 50  0000 L CNN
+F 1 "10k" H 4670 2255 50  0000 L CNN
+F 2 "Resistors_SMD:R_0805_HandSoldering" V 4530 2300 50  0001 C CNN
+F 3 "" H 4600 2300 50  0001 C CNN
+	1    4600 2300
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	4600 3000 4600 3200
+Wire Wire Line
+	4600 3650 4600 3500
+$Comp
+L power:GND #PWR040
+U 1 1 5BA1F10F
+P 4000 3800
+F 0 "#PWR040" H 4000 3550 50  0001 C CNN
+F 1 "GND" H 4005 3627 50  0000 C CNN
+F 2 "" H 4000 3800 50  0001 C CNN
+F 3 "" H 4000 3800 50  0001 C CNN
+	1    4000 3800
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	4000 3800 4000 3650
+Wire Wire Line
+	3250 3650 4000 3650
+Connection ~ 4000 3650
+Connection ~ 3900 2150
+Wire Wire Line
+	4600 2450 4600 2550
+$Comp
+L device:CP_Small C17
+U 1 1 5BA1F841
+P 4950 2550
+F 0 "C17" V 5175 2550 50  0000 C CNN
+F 1 "10UF" V 5084 2550 50  0000 C CNN
+F 2 "Capacitors_SMD:C_0805_HandSoldering" H 4950 2550 50  0001 C CNN
+F 3 "" H 4950 2550 50  0001 C CNN
+	1    4950 2550
+	0    -1   -1   0   
+$EndComp
+Wire Wire Line
+	4850 2550 4600 2550
+Connection ~ 4600 2550
+Wire Wire Line
+	4600 2550 4600 2600
+Wire Wire Line
+	5050 2550 5150 2550
+$Comp
+L power:+3.3V #PWR0102
+U 1 1 5BA21345
+P 3900 2000
+F 0 "#PWR0102" H 3900 1850 50  0001 C CNN
+F 1 "+3.3V" H 3915 2173 50  0000 C CNN
+F 2 "" H 3900 2000 50  0001 C CNN
+F 3 "" H 3900 2000 50  0001 C CNN
+	1    3900 2000
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	3900 2000 3900 2150
+$Comp
+L device:R R19
+U 1 1 5BA1E674
+P 4600 3350
+F 0 "R19" H 4670 3396 50  0000 L CNN
+F 1 "100R" H 4670 3305 50  0000 L CNN
+F 2 "Resistors_SMD:R_0805_HandSoldering" V 4530 3350 50  0001 C CNN
+F 3 "" H 4600 3350 50  0001 C CNN
+	1    4600 3350
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	4000 3650 4600 3650
+Wire Wire Line
+	3900 2150 4600 2150
+Wire Wire Line
+	3700 2800 4200 2800
+Wire Wire Line
+	4500 2550 4600 2550
+Wire Wire Line
+	4200 2550 4200 2800
+Connection ~ 4200 2800
+Wire Wire Line
+	4200 2800 4400 2800
+$EndSCHEMATC

+ 125 - 52
keypad.bak

@@ -4,7 +4,7 @@ EELAYER 26 0
 EELAYER END
 $Descr A4 11693 8268
 encoding utf-8
-Sheet 4 8
+Sheet 8 9
 Title ""
 Date ""
 Rev ""
@@ -15,71 +15,144 @@ Comment3 ""
 Comment4 ""
 $EndDescr
 $Comp
-L device:C_Small C5
-U 1 1 5B628D63
-P 2200 2100
-F 0 "C5" H 2292 2146 50  0000 L CNN
-F 1 "C_Small" H 2292 2055 50  0000 L CNN
-F 2 "Capacitors_SMD:C_0805_HandSoldering" H 2200 2100 50  0001 C CNN
-F 3 "" H 2200 2100 50  0001 C CNN
-	1    2200 2100
-	1    0    0    -1  
+L Connector:Conn_01x05 J4
+U 1 1 5B9F95E5
+P 2100 2850
+F 0 "J4" H 2020 2425 50  0000 C CNN
+F 1 "camera" H 2020 2516 50  0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm" H 2100 2850 50  0001 C CNN
+F 3 "~" H 2100 2850 50  0001 C CNN
+	1    2100 2850
+	-1   0    0    1   
 $EndComp
 $Comp
-L power:+3V3 #PWR010
-U 1 1 5B628E8A
-P 1850 1900
-F 0 "#PWR010" H 1850 1750 50  0001 C CNN
-F 1 "+3V3" H 1865 2073 50  0000 C CNN
-F 2 "" H 1850 1900 50  0001 C CNN
-F 3 "" H 1850 1900 50  0001 C CNN
-	1    1850 1900
-	1    0    0    -1  
+L power:GND #PWR010
+U 1 1 5B9F9952
+P 2550 2600
+F 0 "#PWR010" H 2550 2350 50  0001 C CNN
+F 1 "GND" H 2555 2427 50  0000 C CNN
+F 2 "" H 2550 2600 50  0001 C CNN
+F 3 "" H 2550 2600 50  0001 C CNN
+	1    2550 2600
+	-1   0    0    1   
+$EndComp
+Wire Wire Line
+	2300 2650 2550 2650
+Wire Wire Line
+	2550 2650 2550 2600
+$Comp
+L power:+3.3V #PWR011
+U 1 1 5B9F9A73
+P 2650 2950
+F 0 "#PWR011" H 2650 2800 50  0001 C CNN
+F 1 "+3.3V" V 2665 3078 50  0000 L CNN
+F 2 "" H 2650 2950 50  0001 C CNN
+F 3 "" H 2650 2950 50  0001 C CNN
+	1    2650 2950
+	0    1    1    0   
 $EndComp
 Wire Wire Line
-	1850 1900 1850 2000
+	2300 2950 2650 2950
 Wire Wire Line
-	1850 2200 2200 2200
+	2300 2750 2650 2750
+Wire Wire Line
+	2300 2850 2650 2850
+Text HLabel 2650 2750 2    50   Input ~ 0
+TXD
+Text HLabel 2650 2850 2    50   Input ~ 0
+RXD
+NoConn ~ 2300 3050
+$Comp
+L lanhnd:Pam_8403_audio U4
+U 1 1 5BA39C8E
+P 2800 4800
+F 0 "U4" H 3150 5765 50  0000 C CNN
+F 1 "Pam_8403_audio" H 3150 5674 50  0000 C CNN
+F 2 "iot:PAM8403_module" H 2800 4800 50  0001 C CNN
+F 3 "" H 2800 4800 50  0001 C CNN
+	1    2800 4800
+	1    0    0    -1  
+$EndComp
+$Comp
+L power:GND #PWR0103
+U 1 1 5BA387F4
+P 2550 4050
+F 0 "#PWR0103" H 2550 3800 50  0001 C CNN
+F 1 "GND" V 2555 3922 50  0000 R CNN
+F 2 "" H 2550 4050 50  0001 C CNN
+F 3 "" H 2550 4050 50  0001 C CNN
+	1    2550 4050
+	0    1    1    0   
+$EndComp
 Wire Wire Line
-	1850 2000 2200 2000
-Connection ~ 1850 2000
+	2700 4150 2550 4150
 Wire Wire Line
-	1850 2000 1850 2100
+	2550 4150 2550 4050
 $Comp
-L power:GND #PWR011
-U 1 1 5B628F47
-P 2450 2200
-F 0 "#PWR011" H 2450 1950 50  0001 C CNN
-F 1 "GND" V 2455 2072 50  0000 R CNN
-F 2 "" H 2450 2200 50  0001 C CNN
-F 3 "" H 2450 2200 50  0001 C CNN
-	1    2450 2200
+L power:+3.3V #PWR0104
+U 1 1 5BA38E38
+P 2350 4250
+F 0 "#PWR0104" H 2350 4100 50  0001 C CNN
+F 1 "+3.3V" V 2365 4378 50  0000 L CNN
+F 2 "" H 2350 4250 50  0001 C CNN
+F 3 "" H 2350 4250 50  0001 C CNN
+	1    2350 4250
 	0    -1   -1   0   
 $EndComp
 Wire Wire Line
-	2200 2200 2450 2200
-Connection ~ 2200 2200
+	2350 4250 2700 4250
+$Comp
+L power:GND #PWR0105
+U 1 1 5BA390A8
+P 2600 4500
+F 0 "#PWR0105" H 2600 4250 50  0001 C CNN
+F 1 "GND" V 2605 4372 50  0000 R CNN
+F 2 "" H 2600 4500 50  0001 C CNN
+F 3 "" H 2600 4500 50  0001 C CNN
+	1    2600 4500
+	0    1    1    0   
+$EndComp
 Wire Wire Line
-	1850 2300 2150 2300
+	2700 4500 2600 4500
 Wire Wire Line
-	1850 2400 2150 2400
-Text HLabel 2150 2300 2    50   Input ~ 0
-SCL
-Text HLabel 2150 2400 2    50   Input ~ 0
-SDO
+	2700 4400 2250 4400
+Wire Wire Line
+	2700 4600 2250 4600
 $Comp
-L Connector:Conn_01x05 J4
-U 1 1 5B7439C1
-P 1650 2300
-F 0 "J4" H 1570 2717 50  0000 C CNN
-F 1 "Conn_01x05" H 1570 2626 50  0000 C CNN
-F 2 "Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm" H 1650 2300 50  0001 C CNN
-F 3 "~" H 1650 2300 50  0001 C CNN
-	1    1650 2300
-	-1   0    0    -1  
+L Connector:Conn_01x02 J10
+U 1 1 5BA39908
+P 4000 4500
+F 0 "J10" H 4080 4492 50  0000 L CNN
+F 1 "Conn_01x02" H 4080 4401 50  0000 L CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 4000 4500 50  0001 C CNN
+F 3 "~" H 4000 4500 50  0001 C CNN
+	1    4000 4500
+	1    0    0    -1  
 $EndComp
 Wire Wire Line
-	1850 2500 2150 2500
-Text HLabel 2150 2500 2    50   Input ~ 0
-SDA
+	3600 4500 3800 4500
+Wire Wire Line
+	3600 4600 3800 4600
+$Comp
+L Connector:Conn_01x02 J9
+U 1 1 5BA3A1A4
+P 4000 4200
+F 0 "J9" H 4080 4192 50  0000 L CNN
+F 1 "Conn_01x02" H 4080 4101 50  0000 L CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 4000 4200 50  0001 C CNN
+F 3 "~" H 4000 4200 50  0001 C CNN
+	1    4000 4200
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	3600 4200 3800 4200
+Wire Wire Line
+	3600 4300 3800 4300
+Wire Wire Line
+	2250 4400 2250 4600
+Wire Wire Line
+	2250 4400 1800 4400
+Connection ~ 2250 4400
+Text HLabel 1800 4400 0    50   Input ~ 0
+audio_out
 $EndSCHEMATC

+ 125 - 52
keypad.sch

@@ -4,7 +4,7 @@ EELAYER 26 0
 EELAYER END
 $Descr A4 11693 8268
 encoding utf-8
-Sheet 4 8
+Sheet 8 9
 Title ""
 Date ""
 Rev ""
@@ -15,71 +15,144 @@ Comment3 ""
 Comment4 ""
 $EndDescr
 $Comp
-L device:C_Small C5
-U 1 1 5B628D63
-P 2200 2100
-F 0 "C5" H 2292 2146 50  0000 L CNN
-F 1 "C_Small" H 2292 2055 50  0000 L CNN
-F 2 "Capacitors_SMD:C_0805_HandSoldering" H 2200 2100 50  0001 C CNN
-F 3 "" H 2200 2100 50  0001 C CNN
-	1    2200 2100
-	1    0    0    -1  
+L Connector:Conn_01x05 J4
+U 1 1 5B9F95E5
+P 2100 2850
+F 0 "J4" H 2020 2425 50  0000 C CNN
+F 1 "camera" H 2020 2516 50  0000 C CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm" H 2100 2850 50  0001 C CNN
+F 3 "~" H 2100 2850 50  0001 C CNN
+	1    2100 2850
+	-1   0    0    1   
 $EndComp
 $Comp
-L power:+3V3 #PWR010
-U 1 1 5B628E8A
-P 1850 1900
-F 0 "#PWR010" H 1850 1750 50  0001 C CNN
-F 1 "+3V3" H 1865 2073 50  0000 C CNN
-F 2 "" H 1850 1900 50  0001 C CNN
-F 3 "" H 1850 1900 50  0001 C CNN
-	1    1850 1900
-	1    0    0    -1  
+L power:GND #PWR010
+U 1 1 5B9F9952
+P 2550 2600
+F 0 "#PWR010" H 2550 2350 50  0001 C CNN
+F 1 "GND" H 2555 2427 50  0000 C CNN
+F 2 "" H 2550 2600 50  0001 C CNN
+F 3 "" H 2550 2600 50  0001 C CNN
+	1    2550 2600
+	-1   0    0    1   
+$EndComp
+Wire Wire Line
+	2300 2650 2550 2650
+Wire Wire Line
+	2550 2650 2550 2600
+$Comp
+L power:+3.3V #PWR011
+U 1 1 5B9F9A73
+P 2650 2950
+F 0 "#PWR011" H 2650 2800 50  0001 C CNN
+F 1 "+3.3V" V 2665 3078 50  0000 L CNN
+F 2 "" H 2650 2950 50  0001 C CNN
+F 3 "" H 2650 2950 50  0001 C CNN
+	1    2650 2950
+	0    1    1    0   
 $EndComp
 Wire Wire Line
-	1850 1900 1850 2000
+	2300 2950 2650 2950
 Wire Wire Line
-	1850 2200 2200 2200
+	2300 2750 2650 2750
+Wire Wire Line
+	2300 2850 2650 2850
+Text HLabel 2650 2750 2    50   Input ~ 0
+TXD
+Text HLabel 2650 2850 2    50   Input ~ 0
+RXD
+NoConn ~ 2300 3050
+$Comp
+L lanhnd:Pam_8403_audio U4
+U 1 1 5BA39C8E
+P 2800 4800
+F 0 "U4" H 3150 5765 50  0000 C CNN
+F 1 "Pam_8403_audio" H 3150 5674 50  0000 C CNN
+F 2 "iot:PAM8403_module" H 2800 4800 50  0001 C CNN
+F 3 "" H 2800 4800 50  0001 C CNN
+	1    2800 4800
+	1    0    0    -1  
+$EndComp
+$Comp
+L power:GND #PWR0103
+U 1 1 5BA387F4
+P 2550 4050
+F 0 "#PWR0103" H 2550 3800 50  0001 C CNN
+F 1 "GND" V 2555 3922 50  0000 R CNN
+F 2 "" H 2550 4050 50  0001 C CNN
+F 3 "" H 2550 4050 50  0001 C CNN
+	1    2550 4050
+	0    1    1    0   
+$EndComp
 Wire Wire Line
-	1850 2000 2200 2000
-Connection ~ 1850 2000
+	2700 4150 2550 4150
 Wire Wire Line
-	1850 2000 1850 2100
+	2550 4150 2550 4050
 $Comp
-L power:GND #PWR011
-U 1 1 5B628F47
-P 2450 2200
-F 0 "#PWR011" H 2450 1950 50  0001 C CNN
-F 1 "GND" V 2455 2072 50  0000 R CNN
-F 2 "" H 2450 2200 50  0001 C CNN
-F 3 "" H 2450 2200 50  0001 C CNN
-	1    2450 2200
+L power:+3.3V #PWR0104
+U 1 1 5BA38E38
+P 2350 4250
+F 0 "#PWR0104" H 2350 4100 50  0001 C CNN
+F 1 "+3.3V" V 2365 4378 50  0000 L CNN
+F 2 "" H 2350 4250 50  0001 C CNN
+F 3 "" H 2350 4250 50  0001 C CNN
+	1    2350 4250
 	0    -1   -1   0   
 $EndComp
 Wire Wire Line
-	2200 2200 2450 2200
-Connection ~ 2200 2200
+	2350 4250 2700 4250
+$Comp
+L power:GND #PWR0105
+U 1 1 5BA390A8
+P 2600 4500
+F 0 "#PWR0105" H 2600 4250 50  0001 C CNN
+F 1 "GND" V 2605 4372 50  0000 R CNN
+F 2 "" H 2600 4500 50  0001 C CNN
+F 3 "" H 2600 4500 50  0001 C CNN
+	1    2600 4500
+	0    1    1    0   
+$EndComp
 Wire Wire Line
-	1850 2300 2150 2300
+	2700 4500 2600 4500
 Wire Wire Line
-	1850 2400 2150 2400
-Text HLabel 2150 2300 2    50   Input ~ 0
-SCL
-Text HLabel 2150 2400 2    50   Input ~ 0
-SDO
+	2700 4400 2250 4400
+Wire Wire Line
+	2700 4600 2250 4600
 $Comp
-L Connector:Conn_01x05 J4
-U 1 1 5B7439C1
-P 1650 2300
-F 0 "J4" H 1570 2717 50  0000 C CNN
-F 1 "Conn_01x05" H 1570 2626 50  0000 C CNN
-F 2 "Pin_Headers:Pin_Header_Straight_1x05_Pitch2.54mm" H 1650 2300 50  0001 C CNN
-F 3 "~" H 1650 2300 50  0001 C CNN
-	1    1650 2300
-	-1   0    0    -1  
+L Connector:Conn_01x02 J10
+U 1 1 5BA39908
+P 4000 4500
+F 0 "J10" H 4080 4492 50  0000 L CNN
+F 1 "Conn_01x02" H 4080 4401 50  0000 L CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 4000 4500 50  0001 C CNN
+F 3 "~" H 4000 4500 50  0001 C CNN
+	1    4000 4500
+	1    0    0    -1  
 $EndComp
 Wire Wire Line
-	1850 2500 2150 2500
-Text HLabel 2150 2500 2    50   Input ~ 0
-SDA
+	3600 4500 3800 4500
+Wire Wire Line
+	3600 4600 3800 4600
+$Comp
+L Connector:Conn_01x02 J9
+U 1 1 5BA3A1A4
+P 4000 4200
+F 0 "J9" H 4080 4192 50  0000 L CNN
+F 1 "Conn_01x02" H 4080 4101 50  0000 L CNN
+F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 4000 4200 50  0001 C CNN
+F 3 "~" H 4000 4200 50  0001 C CNN
+	1    4000 4200
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	3600 4200 3800 4200
+Wire Wire Line
+	3600 4300 3800 4300
+Wire Wire Line
+	2250 4400 2250 4600
+Wire Wire Line
+	2250 4400 1800 4400
+Connection ~ 2250 4400
+Text HLabel 1800 4400 0    50   Input ~ 0
+audio_out
 $EndSCHEMATC

+ 171 - 0
keypad/keypad-cache.lib

@@ -0,0 +1,171 @@
+EESchema-LIBRARY Version 2.4
+#encoding utf-8
+#
+# Connector:Conn_01x06
+#
+DEF Connector:Conn_01x06 J 0 40 Y N 1 F N
+F0 "J" 0 300 50 H V C CNN
+F1 "Connector:Conn_01x06" 0 -400 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+$FPLIST
+ Connector*:*_??x*mm*
+ Connector*:*1x??x*mm*
+ Pin?Header?Straight?1X*
+ Pin?Header?Angled?1X*
+ Socket?Strip?Straight?1X*
+ Socket?Strip?Angled?1X*
+$ENDFPLIST
+DRAW
+S -50 -295 0 -305 1 1 6 N
+S -50 -195 0 -205 1 1 6 N
+S -50 -95 0 -105 1 1 6 N
+S -50 5 0 -5 1 1 6 N
+S -50 105 0 95 1 1 6 N
+S -50 205 0 195 1 1 6 N
+S -50 250 50 -350 1 1 10 f
+X Pin_1 1 -200 200 150 R 50 50 1 1 P
+X Pin_2 2 -200 100 150 R 50 50 1 1 P
+X Pin_3 3 -200 0 150 R 50 50 1 1 P
+X Pin_4 4 -200 -100 150 R 50 50 1 1 P
+X Pin_5 5 -200 -200 150 R 50 50 1 1 P
+X Pin_6 6 -200 -300 150 R 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# device:C_Small
+#
+DEF device:C_Small C 0 10 N N 1 F N
+F0 "C" 10 70 50 H V L CNN
+F1 "device:C_Small" 10 -80 50 H V L CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+$FPLIST
+ C_*
+$ENDFPLIST
+DRAW
+P 2 0 1 13 -60 -20 60 -20 N
+P 2 0 1 12 -60 20 60 20 N
+X ~ 1 0 100 80 D 50 50 1 1 P
+X ~ 2 0 -100 80 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# device:C_Variable
+#
+DEF device:C_Variable C 0 10 N N 1 F N
+F0 "C" 25 -75 50 H V L CNN
+F1 "device:C_Variable" 25 -150 50 H V L CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 2 0 1 20 -80 -30 80 -30 N
+P 2 0 1 20 -80 30 80 30 N
+P 2 0 1 12 50 100 -50 -100 N
+P 2 0 1 12 50 100 20 90 N
+P 2 0 1 12 50 100 60 70 N
+X ~ 1 0 150 120 D 50 50 1 1 P
+X ~ 2 0 -150 120 U 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# device:R
+#
+DEF device:R R 0 0 N Y 1 F N
+F0 "R" 80 0 50 V V C CNN
+F1 "device:R" 0 0 50 V V C CNN
+F2 "" -70 0 50 V I C CNN
+F3 "" 0 0 50 H I C CNN
+$FPLIST
+ R_*
+ R_*
+$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
+#
+# keypad-rescue:touch-lanhnd
+#
+DEF keypad-rescue:touch-lanhnd U 0 40 Y Y 1 F N
+F0 "U" 0 0 50 H V C CNN
+F1 "keypad-rescue:touch-lanhnd" 0 0 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+S 0 150 150 0 0 1 0 N
+X _ 1 250 100 100 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# keypad-rescue:ttp229-lanhnd
+#
+DEF keypad-rescue:ttp229-lanhnd U 0 40 Y Y 1 F N
+F0 "U" 300 1400 50 H V C CNN
+F1 "keypad-rescue:ttp229-lanhnd" 300 -50 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+S 0 1450 850 0 0 1 0 N
+X TP3 1 -100 1350 100 R 50 50 1 1 I
+X TP13 10 -100 450 100 R 50 50 1 1 I
+X TP12 11 -100 350 100 R 50 50 1 1 I
+X SD0 12 -100 250 100 R 50 50 1 1 I
+X SCL 13 -100 150 100 R 50 50 1 1 I
+X SLPSENB 14 -100 50 100 R 50 50 1 1 I
+X TP11 15 950 50 100 L 50 50 1 1 I
+X TP10 16 950 150 100 L 50 50 1 1 I
+X SENADJ2 17 950 250 100 L 50 50 1 1 I
+X TP9 18 950 350 100 L 50 50 1 1 I
+X TP8 19 950 450 100 L 50 50 1 1 I
+X TP2 2 -100 1250 100 R 50 50 1 1 I
+X TEST 20 950 550 100 L 50 50 1 1 I
+X TP7 21 950 650 100 L 50 50 1 1 I
+X TP6 22 950 750 100 L 50 50 1 1 I
+X SENADJ1 23 950 850 100 L 50 50 1 1 I
+X TP5 24 950 950 100 L 50 50 1 1 I
+X TP4 25 950 1050 100 L 50 50 1 1 I
+X VDD 26 950 1150 100 L 50 50 1 1 I
+X VSS 27 950 1250 100 L 50 50 1 1 I
+X SLPSENA 28 950 1350 100 L 50 50 1 1 I
+X NC 3 -100 1150 100 R 50 50 1 1 I
+X SENADJ0 4 -100 1050 100 R 50 50 1 1 I
+X TP1 5 -100 950 100 R 50 50 1 1 I
+X TP0 6 -100 850 100 R 50 50 1 1 I
+X TP15 7 -100 750 100 R 50 50 1 1 I
+X TP14 8 -100 650 100 R 50 50 1 1 I
+X SENADJ3 9 -100 550 100 R 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# power:+5V
+#
+DEF power:+5V #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -150 50 H I C CNN
+F1 "power:+5V" 0 140 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I 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
+#
+# power:GND
+#
+DEF power:GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -250 50 H I C CNN
+F1 "power:GND" 0 -150 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
+X GND 1 0 0 0 D 50 50 1 1 W N
+ENDDRAW
+ENDDEF
+#
+#End Library

+ 3 - 0
keypad/keypad-rescue.dcm

@@ -0,0 +1,3 @@
+EESchema-DOCLIB  Version 2.0
+#
+#End Doc Library

+ 57 - 0
keypad/keypad-rescue.lib

@@ -0,0 +1,57 @@
+EESchema-LIBRARY Version 2.4
+#encoding utf-8
+#
+# touch-lanhnd
+#
+DEF touch-lanhnd U 0 40 Y Y 1 F N
+F0 "U" 0 0 50 H V C CNN
+F1 "touch-lanhnd" 0 0 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+S 0 150 150 0 0 1 0 N
+X _ 1 250 100 100 L 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+# ttp229-lanhnd
+#
+DEF ttp229-lanhnd U 0 40 Y Y 1 F N
+F0 "U" 300 1400 50 H V C CNN
+F1 "ttp229-lanhnd" 300 -50 50 H V C CNN
+F2 "" 0 0 50 H I C CNN
+F3 "" 0 0 50 H I C CNN
+DRAW
+S 0 1450 850 0 0 1 0 N
+X TP3 1 -100 1350 100 R 50 50 1 1 I
+X TP13 10 -100 450 100 R 50 50 1 1 I
+X TP12 11 -100 350 100 R 50 50 1 1 I
+X SD0 12 -100 250 100 R 50 50 1 1 I
+X SCL 13 -100 150 100 R 50 50 1 1 I
+X SLPSENB 14 -100 50 100 R 50 50 1 1 I
+X TP11 15 950 50 100 L 50 50 1 1 I
+X TP10 16 950 150 100 L 50 50 1 1 I
+X SENADJ2 17 950 250 100 L 50 50 1 1 I
+X TP9 18 950 350 100 L 50 50 1 1 I
+X TP8 19 950 450 100 L 50 50 1 1 I
+X TP2 2 -100 1250 100 R 50 50 1 1 I
+X TEST 20 950 550 100 L 50 50 1 1 I
+X TP7 21 950 650 100 L 50 50 1 1 I
+X TP6 22 950 750 100 L 50 50 1 1 I
+X SENADJ1 23 950 850 100 L 50 50 1 1 I
+X TP5 24 950 950 100 L 50 50 1 1 I
+X TP4 25 950 1050 100 L 50 50 1 1 I
+X VDD 26 950 1150 100 L 50 50 1 1 I
+X VSS 27 950 1250 100 L 50 50 1 1 I
+X SLPSENA 28 950 1350 100 L 50 50 1 1 I
+X NC 3 -100 1150 100 R 50 50 1 1 I
+X SENADJ0 4 -100 1050 100 R 50 50 1 1 I
+X TP1 5 -100 950 100 R 50 50 1 1 I
+X TP0 6 -100 850 100 R 50 50 1 1 I
+X TP15 7 -100 750 100 R 50 50 1 1 I
+X TP14 8 -100 650 100 R 50 50 1 1 I
+X SENADJ3 9 -100 550 100 R 50 50 1 1 I
+ENDDRAW
+ENDDEF
+#
+#End Library

File diff suppressed because it is too large
+ 1387 - 0
keypad/keypad.bak


File diff suppressed because it is too large
+ 3084 - 0
keypad/keypad.kicad_pcb


File diff suppressed because it is too large
+ 3042 - 0
keypad/keypad.kicad_pcb-bak


+ 691 - 0
keypad/keypad.net

@@ -0,0 +1,691 @@
+(export (version D)
+  (design
+    (source /home/user/workspace/NoPCShare/IotTeam/VinhomeDoor/Sources/Hardware/vinhome/keypad/keypad.sch)
+    (date "Thu 27 Sep 2018 05:10:15 PM +07")
+    (tool "Eeschema (5.0.0-rc2-109-g0e3be5776-dirty)-sonnt")
+    (sheet (number 1) (name /) (tstamps /)
+      (title_block
+        (title)
+        (company)
+        (rev)
+        (date)
+        (source keypad.sch)
+        (comment (number 1) (value ""))
+        (comment (number 2) (value ""))
+        (comment (number 3) (value ""))
+        (comment (number 4) (value "")))))
+  (components
+    (comp (ref U9)
+      (value ttp229)
+      (footprint Housings_SSOP:SSOP-28_3.9x9.9mm_Pitch0.635mm)
+      (libsource (lib keypad-rescue) (part ttp229-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8F5AD2))
+    (comp (ref U22)
+      (value ttp229)
+      (footprint Housings_SSOP:SSOP-28_3.9x9.9mm_Pitch0.635mm)
+      (libsource (lib keypad-rescue) (part ttp229-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8F5C74))
+    (comp (ref C16)
+      (value 106)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Small) (description "Unpolarized capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8F657D))
+    (comp (ref C15)
+      (value 104)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Small) (description "Unpolarized capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8F665D))
+    (comp (ref U1)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FA2EE))
+    (comp (ref U2)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FA477))
+    (comp (ref U3)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FA501))
+    (comp (ref U4)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FA781))
+    (comp (ref U5)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FA859))
+    (comp (ref U6)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FA889))
+    (comp (ref U7)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FA8B7))
+    (comp (ref U8)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FA8E7))
+    (comp (ref U10)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FBC64))
+    (comp (ref U11)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FBC6B))
+    (comp (ref U12)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FBC72))
+    (comp (ref U13)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FBC79))
+    (comp (ref U14)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FBC80))
+    (comp (ref U15)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FBC87))
+    (comp (ref U16)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FBC8E))
+    (comp (ref U17)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FBC95))
+    (comp (ref U18)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FD682))
+    (comp (ref U19)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FD689))
+    (comp (ref U20)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FD690))
+    (comp (ref U21)
+      (value touch)
+      (footprint iot:touch)
+      (libsource (lib keypad-rescue) (part touch-lanhnd) (description ""))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B8FD697))
+    (comp (ref C1)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B900EE6))
+    (comp (ref C2)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B90123B))
+    (comp (ref C3)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B9012CB))
+    (comp (ref C6)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B901386))
+    (comp (ref C5)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B901406))
+    (comp (ref C4)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B901535))
+    (comp (ref C9)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B901603))
+    (comp (ref C10)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B901687))
+    (comp (ref C11)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B9016F1))
+    (comp (ref C13)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B901757))
+    (comp (ref C12)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B9017D3))
+    (comp (ref C14)
+      (value 0-50pF)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Variable) (description "Variable capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B901845))
+    (comp (ref C7)
+      (value 104)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Small) (description "Unpolarized capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B93E69D))
+    (comp (ref C8)
+      (value 106)
+      (footprint Capacitors_SMD:C_0805_HandSoldering)
+      (libsource (lib device) (part C_Small) (description "Unpolarized capacitor"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B93E92D))
+    (comp (ref J1)
+      (value Conn_01x06)
+      (footprint Pin_Headers:Pin_Header_Straight_1x06_Pitch2.54mm)
+      (datasheet ~)
+      (libsource (lib Connector) (part Conn_01x06) (description "Generic connector, single row, 01x06"))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B9D1E41))
+    (comp (ref R2)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B927AF0))
+    (comp (ref R3)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5B927B54))
+    (comp (ref R1)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BADE8D8))
+    (comp (ref R4)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BADEA6C))
+    (comp (ref R8)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB04221))
+    (comp (ref R7)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB042C3))
+    (comp (ref R6)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB04341))
+    (comp (ref R5)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB043BB))
+    (comp (ref R12)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB38E9D))
+    (comp (ref R11)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB38FAF))
+    (comp (ref R10)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB39135))
+    (comp (ref R9)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB391CD))
+    (comp (ref R16)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB39361))
+    (comp (ref R15)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB393F9))
+    (comp (ref R14)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB39483))
+    (comp (ref R13)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB39513))
+    (comp (ref R20)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB44F7E))
+    (comp (ref R19)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB45018))
+    (comp (ref R18)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB450A4))
+    (comp (ref R17)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BB4512E))
+    (comp (ref R21)
+      (value 820K)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BC25C35))
+    (comp (ref R22)
+      (value 0R)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R) (description Resistor))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5BAD55B2)))
+  (libparts
+    (libpart (lib Connector) (part Conn_01x06)
+      (description "Generic connector, single row, 01x06")
+      (docs ~)
+      (footprints
+        (fp Connector*:*_??x*mm*)
+        (fp Connector*:*1x??x*mm*)
+        (fp Pin?Header?Straight?1X*)
+        (fp Pin?Header?Angled?1X*)
+        (fp Socket?Strip?Straight?1X*)
+        (fp Socket?Strip?Angled?1X*))
+      (fields
+        (field (name Reference) J)
+        (field (name Value) Conn_01x06))
+      (pins
+        (pin (num 1) (name Pin_1) (type passive))
+        (pin (num 2) (name Pin_2) (type passive))
+        (pin (num 3) (name Pin_3) (type passive))
+        (pin (num 4) (name Pin_4) (type passive))
+        (pin (num 5) (name Pin_5) (type passive))
+        (pin (num 6) (name Pin_6) (type passive))))
+    (libpart (lib device) (part C_Small)
+      (description "Unpolarized capacitor")
+      (footprints
+        (fp C_*))
+      (fields
+        (field (name Reference) C)
+        (field (name Value) C_Small))
+      (pins
+        (pin (num 1) (name ~) (type passive))
+        (pin (num 2) (name ~) (type passive))))
+    (libpart (lib device) (part C_Variable)
+      (description "Variable capacitor")
+      (fields
+        (field (name Reference) C)
+        (field (name Value) C_Variable))
+      (pins
+        (pin (num 1) (name ~) (type passive))
+        (pin (num 2) (name ~) (type passive))))
+    (libpart (lib device) (part R)
+      (description Resistor)
+      (footprints
+        (fp R_*)
+        (fp R_*))
+      (fields
+        (field (name Reference) R)
+        (field (name Value) R))
+      (pins
+        (pin (num 1) (name ~) (type passive))
+        (pin (num 2) (name ~) (type passive))))
+    (libpart (lib keypad-rescue) (part touch-lanhnd)
+      (fields
+        (field (name Reference) U)
+        (field (name Value) touch-lanhnd))
+      (pins
+        (pin (num 1) (name _) (type input))))
+    (libpart (lib keypad-rescue) (part ttp229-lanhnd)
+      (fields
+        (field (name Reference) U)
+        (field (name Value) ttp229-lanhnd))
+      (pins
+        (pin (num 1) (name TP3) (type input))
+        (pin (num 2) (name TP2) (type input))
+        (pin (num 3) (name NC) (type input))
+        (pin (num 4) (name SENADJ0) (type input))
+        (pin (num 5) (name TP1) (type input))
+        (pin (num 6) (name TP0) (type input))
+        (pin (num 7) (name TP15) (type input))
+        (pin (num 8) (name TP14) (type input))
+        (pin (num 9) (name SENADJ3) (type input))
+        (pin (num 10) (name TP13) (type input))
+        (pin (num 11) (name TP12) (type input))
+        (pin (num 12) (name SD0) (type input))
+        (pin (num 13) (name SCL) (type input))
+        (pin (num 14) (name SLPSENB) (type input))
+        (pin (num 15) (name TP11) (type input))
+        (pin (num 16) (name TP10) (type input))
+        (pin (num 17) (name SENADJ2) (type input))
+        (pin (num 18) (name TP9) (type input))
+        (pin (num 19) (name TP8) (type input))
+        (pin (num 20) (name TEST) (type input))
+        (pin (num 21) (name TP7) (type input))
+        (pin (num 22) (name TP6) (type input))
+        (pin (num 23) (name SENADJ1) (type input))
+        (pin (num 24) (name TP5) (type input))
+        (pin (num 25) (name TP4) (type input))
+        (pin (num 26) (name VDD) (type input))
+        (pin (num 27) (name VSS) (type input))
+        (pin (num 28) (name SLPSENA) (type input)))))
+  (libraries
+    (library (logical Connector)
+      (uri /usr/share/kicad/library//Connector.lib))
+    (library (logical device)
+      (uri /usr/share/kicad/library//device.lib))
+    (library (logical keypad-rescue)
+      (uri /home/user/workspace/NoPCShare/IotTeam/VinhomeDoor/Sources/Hardware/vinhome/keypad/keypad-rescue.lib)))
+  (nets
+    (net (code 1) (name /SCL2)
+      (node (ref U22) (pin 13))
+      (node (ref J1) (pin 6)))
+    (net (code 2) (name /K21)
+      (node (ref R21) (pin 1))
+      (node (ref U22) (pin 25)))
+    (net (code 3) (name /K4)
+      (node (ref U4) (pin 1))
+      (node (ref R2) (pin 1))
+      (node (ref U9) (pin 1)))
+    (net (code 4) (name /K3)
+      (node (ref U3) (pin 1))
+      (node (ref U9) (pin 2))
+      (node (ref R3) (pin 1)))
+    (net (code 5) (name /SDO2)
+      (node (ref U22) (pin 12))
+      (node (ref R22) (pin 2))
+      (node (ref J1) (pin 5)))
+    (net (code 6) (name /SCL1)
+      (node (ref J1) (pin 4))
+      (node (ref U9) (pin 13)))
+    (net (code 7) (name /SDO1)
+      (node (ref J1) (pin 3))
+      (node (ref U9) (pin 12))
+      (node (ref R22) (pin 1)))
+    (net (code 8) (name +5V)
+      (node (ref C7) (pin 2))
+      (node (ref C8) (pin 2))
+      (node (ref U22) (pin 26))
+      (node (ref C15) (pin 2))
+      (node (ref U9) (pin 26))
+      (node (ref C16) (pin 2))
+      (node (ref J1) (pin 2)))
+    (net (code 9) (name /K20)
+      (node (ref R17) (pin 1))
+      (node (ref U22) (pin 1))
+      (node (ref U21) (pin 1)))
+    (net (code 10) (name GND)
+      (node (ref C5) (pin 1))
+      (node (ref R12) (pin 2))
+      (node (ref C15) (pin 1))
+      (node (ref C16) (pin 1))
+      (node (ref C4) (pin 1))
+      (node (ref R11) (pin 2))
+      (node (ref R17) (pin 2))
+      (node (ref R18) (pin 2))
+      (node (ref C14) (pin 1))
+      (node (ref C12) (pin 1))
+      (node (ref C13) (pin 1))
+      (node (ref C11) (pin 2))
+      (node (ref C10) (pin 2))
+      (node (ref C3) (pin 2))
+      (node (ref C2) (pin 2))
+      (node (ref C1) (pin 2))
+      (node (ref U9) (pin 27))
+      (node (ref U9) (pin 20))
+      (node (ref U22) (pin 27))
+      (node (ref C9) (pin 2))
+      (node (ref U22) (pin 20))
+      (node (ref C8) (pin 1))
+      (node (ref C7) (pin 1))
+      (node (ref C6) (pin 1))
+      (node (ref R8) (pin 2))
+      (node (ref R7) (pin 2))
+      (node (ref R6) (pin 2))
+      (node (ref R5) (pin 2))
+      (node (ref R9) (pin 2))
+      (node (ref R1) (pin 2))
+      (node (ref R4) (pin 2))
+      (node (ref R3) (pin 2))
+      (node (ref R2) (pin 2))
+      (node (ref J1) (pin 1))
+      (node (ref R10) (pin 2))
+      (node (ref R19) (pin 2))
+      (node (ref R20) (pin 2))
+      (node (ref R21) (pin 2))
+      (node (ref R13) (pin 2))
+      (node (ref R14) (pin 2))
+      (node (ref R16) (pin 2))
+      (node (ref R15) (pin 2)))
+    (net (code 11) (name /K19)
+      (node (ref R18) (pin 1))
+      (node (ref U22) (pin 2))
+      (node (ref U20) (pin 1)))
+    (net (code 12) (name /K18)
+      (node (ref U19) (pin 1))
+      (node (ref U22) (pin 5))
+      (node (ref R19) (pin 1)))
+    (net (code 13) (name /K17)
+      (node (ref U22) (pin 6))
+      (node (ref R20) (pin 1))
+      (node (ref U18) (pin 1)))
+    (net (code 14) (name "Net-(U22-Pad3)")
+      (node (ref U22) (pin 3)))
+    (net (code 15) (name /K8)
+      (node (ref R5) (pin 1))
+      (node (ref U8) (pin 1))
+      (node (ref U9) (pin 21)))
+    (net (code 16) (name /K7)
+      (node (ref U7) (pin 1))
+      (node (ref U9) (pin 22))
+      (node (ref R6) (pin 1)))
+    (net (code 17) (name /K6)
+      (node (ref U9) (pin 24))
+      (node (ref U6) (pin 1))
+      (node (ref R7) (pin 1)))
+    (net (code 18) (name /K5)
+      (node (ref U9) (pin 25))
+      (node (ref U5) (pin 1))
+      (node (ref R8) (pin 1)))
+    (net (code 19) (name /K2)
+      (node (ref U9) (pin 5))
+      (node (ref U2) (pin 1))
+      (node (ref R1) (pin 1)))
+    (net (code 20) (name /K1)
+      (node (ref U9) (pin 6))
+      (node (ref U1) (pin 1))
+      (node (ref R4) (pin 1)))
+    (net (code 21) (name "Net-(U22-Pad8)")
+      (node (ref U22) (pin 8)))
+    (net (code 22) (name "Net-(U22-Pad24)")
+      (node (ref U22) (pin 24)))
+    (net (code 23) (name "Net-(U22-Pad22)")
+      (node (ref U22) (pin 22)))
+    (net (code 24) (name "Net-(U22-Pad21)")
+      (node (ref U22) (pin 21)))
+    (net (code 25) (name "Net-(U22-Pad19)")
+      (node (ref U22) (pin 19)))
+    (net (code 26) (name "Net-(U22-Pad18)")
+      (node (ref U22) (pin 18)))
+    (net (code 27) (name "Net-(U22-Pad15)")
+      (node (ref U22) (pin 15)))
+    (net (code 28) (name "Net-(U22-Pad16)")
+      (node (ref U22) (pin 16)))
+    (net (code 29) (name "Net-(U22-Pad11)")
+      (node (ref U22) (pin 11)))
+    (net (code 30) (name "Net-(U22-Pad10)")
+      (node (ref U22) (pin 10)))
+    (net (code 31) (name "Net-(U22-Pad7)")
+      (node (ref U22) (pin 7)))
+    (net (code 32) (name "Net-(C14-Pad2)")
+      (node (ref C14) (pin 2))
+      (node (ref U22) (pin 28)))
+    (net (code 33) (name /K16)
+      (node (ref R13) (pin 1))
+      (node (ref U17) (pin 1))
+      (node (ref U9) (pin 7)))
+    (net (code 34) (name /K15)
+      (node (ref U16) (pin 1))
+      (node (ref R14) (pin 1))
+      (node (ref U9) (pin 8)))
+    (net (code 35) (name /K14)
+      (node (ref U15) (pin 1))
+      (node (ref U9) (pin 10))
+      (node (ref R15) (pin 1)))
+    (net (code 36) (name /K13)
+      (node (ref U14) (pin 1))
+      (node (ref U9) (pin 11))
+      (node (ref R16) (pin 1)))
+    (net (code 37) (name /K12)
+      (node (ref U9) (pin 15))
+      (node (ref U13) (pin 1))
+      (node (ref R9) (pin 1)))
+    (net (code 38) (name /K11)
+      (node (ref U12) (pin 1))
+      (node (ref U9) (pin 16))
+      (node (ref R10) (pin 1)))
+    (net (code 39) (name /K10)
+      (node (ref U11) (pin 1))
+      (node (ref R11) (pin 1))
+      (node (ref U9) (pin 18)))
+    (net (code 40) (name /K9)
+      (node (ref R12) (pin 1))
+      (node (ref U9) (pin 19))
+      (node (ref U10) (pin 1)))
+    (net (code 41) (name "Net-(U9-Pad3)")
+      (node (ref U9) (pin 3)))
+    (net (code 42) (name "Net-(C5-Pad2)")
+      (node (ref C5) (pin 2))
+      (node (ref U9) (pin 23)))
+    (net (code 43) (name "Net-(C2-Pad1)")
+      (node (ref C2) (pin 1))
+      (node (ref U9) (pin 9)))
+    (net (code 44) (name "Net-(C1-Pad1)")
+      (node (ref C1) (pin 1))
+      (node (ref U9) (pin 4)))
+    (net (code 45) (name "Net-(C4-Pad2)")
+      (node (ref C4) (pin 2))
+      (node (ref U9) (pin 28)))
+    (net (code 46) (name "Net-(C6-Pad2)")
+      (node (ref U9) (pin 17))
+      (node (ref C6) (pin 2)))
+    (net (code 47) (name "Net-(C3-Pad1)")
+      (node (ref U9) (pin 14))
+      (node (ref C3) (pin 1)))
+    (net (code 48) (name "Net-(C10-Pad1)")
+      (node (ref C10) (pin 1))
+      (node (ref U22) (pin 9)))
+    (net (code 49) (name "Net-(C9-Pad1)")
+      (node (ref C9) (pin 1))
+      (node (ref U22) (pin 4)))
+    (net (code 50) (name "Net-(C12-Pad2)")
+      (node (ref U22) (pin 23))
+      (node (ref C12) (pin 2)))
+    (net (code 51) (name "Net-(C13-Pad2)")
+      (node (ref C13) (pin 2))
+      (node (ref U22) (pin 17)))
+    (net (code 52) (name "Net-(C11-Pad1)")
+      (node (ref C11) (pin 1))
+      (node (ref U22) (pin 14)))))

+ 33 - 0
keypad/keypad.pro

@@ -0,0 +1,33 @@
+update=22/05/2015 07:44:53
+version=1
+last_client=kicad
+[general]
+version=1
+RootSch=
+BoardNm=
+[pcbnew]
+version=1
+LastNetListRead=
+UseCmpFile=1
+PadDrill=0.600000000000
+PadDrillOvalY=0.600000000000
+PadSizeH=1.500000000000
+PadSizeV=1.500000000000
+PcbTextSizeV=1.500000000000
+PcbTextSizeH=1.500000000000
+PcbTextThickness=0.300000000000
+ModuleTextSizeV=1.000000000000
+ModuleTextSizeH=1.000000000000
+ModuleTextSizeThickness=0.150000000000
+SolderMaskClearance=0.000000000000
+SolderMaskMinWidth=0.000000000000
+DrawSegmentWidth=0.200000000000
+BoardOutlineThickness=0.100000000000
+ModuleOutlineThickness=0.150000000000
+[cvpcb]
+version=1
+NetIExt=net
+[eeschema]
+version=1
+LibDir=
+[eeschema/libraries]

File diff suppressed because it is too large
+ 1387 - 0
keypad/keypad.sch


+ 3 - 0
keypad/sym-lib-table

@@ -0,0 +1,3 @@
+(sym_lib_table
+  (lib (name keypad-rescue)(type Legacy)(uri ${KIPRJMOD}/keypad-rescue.lib)(options "")(descr ""))
+)

+ 28 - 55
main.bak

@@ -4,7 +4,7 @@ EELAYER 26 0
 EELAYER END
 $Descr A4 11693 8268
 encoding utf-8
-Sheet 5 8
+Sheet 4 9
 Title ""
 Date ""
 Rev ""
@@ -84,7 +84,6 @@ Wire Wire Line
 	7000 3300 6950 3300
 Wire Wire Line
 	7000 3600 7000 3700
-NoConn ~ 7100 2700
 Wire Wire Line
 	7100 2800 6800 2800
 Text Label 6850 2800 0    50   ~ 0
@@ -410,35 +409,11 @@ Wire Wire Line
 Wire Wire Line
 	4350 4200 4650 4200
 Wire Wire Line
-	3800 4450 3850 4450
-Wire Wire Line
-	3800 5150 3850 5150
-Wire Wire Line
-	4350 4950 4350 4850
-Wire Wire Line
-	4350 4850 3850 4850
-Wire Wire Line
-	3850 4850 3850 4450
-Connection ~ 3850 4450
-Wire Wire Line
-	3850 4450 4050 4450
-Wire Wire Line
-	3850 5150 3850 4950
-Wire Wire Line
-	3850 4950 4150 4950
-Wire Wire Line
-	4150 4950 4150 4650
-Wire Wire Line
-	4150 4650 4350 4650
-Connection ~ 3850 5150
-Wire Wire Line
-	3850 5150 4050 5150
-Wire Wire Line
 	4350 5350 4700 5350
 Wire Wire Line
-	3500 4450 3100 4450
+	3500 4450 3400 4450
 Wire Wire Line
-	3500 5150 3100 5150
+	3500 5150 3450 5150
 Text Label 4450 4200 0    50   ~ 0
 RST_ESP
 Text Label 4450 5350 0    50   ~ 0
@@ -477,38 +452,36 @@ F 3 "" H 3650 6150 50  0001 C CNN
 	1    3650 6150
 	0    1    1    0   
 $EndComp
-$Comp
-L Transistor:2N2219 Q5
-U 1 1 5B77A669