Explorar el Código

Change the host power supply for esp32

Per Mårtensson hace 2 años
padre
commit
9b94129e04
Se han modificado 3 ficheros con 802 adiciones y 440 borrados
  1. 255 99
      esp32.sch
  2. 545 323
      max80.kicad_pcb
  3. 2 18
      usb.sch

+ 255 - 99
esp32.sch

@@ -30,45 +30,41 @@ $EndComp
 $Comp
 L power:GND #PWR0136
 U 1 1 5CC7520B
-P 2700 4300
-F 0 "#PWR0136" H 2700 4050 50  0001 C CNN
-F 1 "GND" H 2705 4127 50  0000 C CNN
-F 2 "" H 2700 4300 50  0001 C CNN
-F 3 "" H 2700 4300 50  0001 C CNN
-	1    2700 4300
+P 1700 4300
+F 0 "#PWR0136" H 1700 4050 50  0001 C CNN
+F 1 "GND" H 1705 4127 50  0000 C CNN
+F 2 "" H 1700 4300 50  0001 C CNN
+F 3 "" H 1700 4300 50  0001 C CNN
+	1    1700 4300
 	1    0    0    -1  
 $EndComp
 $Comp
 L max80:HRO-TYPE-C-31-M-12 USB2
 U 1 1 610EE858
-P 2150 3550
-F 0 "USB2" H 2150 4753 60  0000 C CNN
-F 1 "HRO-TYPE-C-31-M-12" H 2150 4647 60  0000 C CNN
-F 2 "max80:HRO-TYPE-C-31-M-12" H 2150 4541 60  0000 C CNN
-F 3 "https://datasheet.lcsc.com/szlcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf" H 1450 3600 60  0001 C CNN
-F 4 "C165948" H 2150 3550 50  0001 C CNN "LCSC"
-	1    2150 3550
+P 1150 3550
+F 0 "USB2" H 1150 4753 60  0000 C CNN
+F 1 "HRO-TYPE-C-31-M-12" H 1150 4647 60  0000 C CNN
+F 2 "max80:HRO-TYPE-C-31-M-12" H 1150 4541 60  0000 C CNN
+F 3 "https://datasheet.lcsc.com/szlcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf" H 450 3600 60  0001 C CNN
+F 4 "C165948" H 1150 3550 50  0001 C CNN "LCSC"
+	1    1150 3550
 	1    0    0    -1  
 $EndComp
-Wire Wire Line
-	2250 3300 2300 3300
 $Comp
 L Device:R_Small R4
 U 1 1 5E79F20F
-P 2400 3900
-F 0 "R4" V 2300 3850 50  0000 C CNN
-F 1 "5.1k" V 2300 4000 50  0000 C CNN
-F 2 "Resistor_SMD:R_0402_1005Metric" V 2330 3900 50  0001 C CNN
-F 3 "~" H 2400 3900 50  0001 C CNN
-F 4 "C25905" H 2400 3900 50  0001 C CNN "LCSC"
-F 5 "" H 2400 3900 50  0001 C CNN "Supplier"
-	1    2400 3900
+P 1850 3750
+F 0 "R4" V 1750 3700 50  0000 C CNN
+F 1 "5.1k" V 1750 3850 50  0000 C CNN
+F 2 "Resistor_SMD:R_0402_1005Metric" V 1780 3750 50  0001 C CNN
+F 3 "~" H 1850 3750 50  0001 C CNN
+F 4 "C25905" H 1850 3750 50  0001 C CNN "LCSC"
+F 5 "" H 1850 3750 50  0001 C CNN "Supplier"
+	1    1850 3750
 	0    1    1    0   
 $EndComp
-Wire Wire Line
-	2250 3900 2300 3900
-NoConn ~ 2250 3200
-NoConn ~ 2250 3800
+NoConn ~ 1250 3200
+NoConn ~ 1250 3800
 $Comp
 L Device:C_Small C52
 U 1 1 5E7FEAC9
@@ -96,7 +92,7 @@ F 3 "" H 4650 3500 50  0001 C CNN
 	1    0    0    -1  
 $EndComp
 Wire Wire Line
-	2250 3500 2350 3500
+	1250 3500 1350 3500
 Wire Wire Line
 	2900 4600 3400 4600
 $Comp
@@ -113,10 +109,10 @@ $EndComp
 Wire Wire Line
 	4000 4100 4000 4200
 Wire Wire Line
-	2250 3600 2500 3600
+	1250 3600 1500 3600
 Wire Wire Line
 	2900 3600 2900 4600
-NoConn ~ 2250 4200
+NoConn ~ 1250 4200
 Wire Wire Line
 	3400 3500 3400 3700
 Wire Wire Line
@@ -137,46 +133,30 @@ F 3 "https://www.espressif.com/sites/default/files/documentation/esp32-s2-wroom_
 	1    0    0    -1  
 $EndComp
 Wire Wire Line
-	2250 3000 2700 3000
-Wire Wire Line
-	2700 3000 2700 3300
-Wire Wire Line
-	2700 4100 2700 3900
-Connection ~ 2700 3900
-Wire Wire Line
-	2250 4100 2700 4100
-Connection ~ 2700 4100
+	1250 4100 1700 4100
 Wire Wire Line
-	2700 3300 2700 3900
-Connection ~ 2700 3300
+	1250 3100 1650 3100
 Wire Wire Line
-	2250 3100 2650 3100
+	1250 4000 1650 4000
 Wire Wire Line
-	2250 4000 2650 4000
+	1650 4000 1650 3100
+Connection ~ 1650 3100
 Wire Wire Line
-	2650 4000 2650 3100
-Connection ~ 2650 3100
-Wire Wire Line
-	2650 3100 2950 3100
-Wire Wire Line
-	2950 3100 2950 4100
+	2950 3100 2950 3350
 Wire Wire Line
 	2950 4100 3100 4100
-Connection ~ 2950 3100
 $Comp
 L Device:R_Small R3
 U 1 1 61104569
-P 2400 3300
-F 0 "R3" V 2300 3250 50  0000 C CNN
-F 1 "5.1k" V 2300 3400 50  0000 C CNN
-F 2 "Resistor_SMD:R_0402_1005Metric" H 2400 3300 50  0001 C CNN
-F 3 "~" H 2400 3300 50  0001 C CNN
-F 4 "C25905" H 2400 3300 50  0001 C CNN "LCSC"
-	1    2400 3300
+P 1850 3300
+F 0 "R3" V 1950 3150 50  0000 C CNN
+F 1 "5.1k" V 1950 3450 50  0000 C CNN
+F 2 "Resistor_SMD:R_0402_1005Metric" H 1850 3300 50  0001 C CNN
+F 3 "~" H 1850 3300 50  0001 C CNN
+F 4 "C25905" H 1850 3300 50  0001 C CNN "LCSC"
+	1    1850 3300
 	0    1    1    0   
 $EndComp
-Wire Wire Line
-	2500 3300 2700 3300
 Text Label 3950 3550 2    50   ~ 0
 USB_D+
 Text Label 9350 4550 2    50   ~ 0
@@ -505,8 +485,6 @@ FPGA_I2C_SDA
 Text HLabel 7300 3550 0    39   Input ~ 0
 FPGA_I2C_SCL
 NoConn ~ 8500 2850
-NoConn ~ 7300 3650
-NoConn ~ 7300 3750
 Wire Wire Line
 	6000 3350 7300 3350
 Wire Wire Line
@@ -524,14 +502,14 @@ FPGA_TCK
 $Comp
 L Device:D_Schottky D27
 U 1 1 6032D6A5
-P 4650 2900
-F 0 "D27" V 4604 2980 50  0000 L CNN
-F 1 "MBRA340T" V 4695 2980 50  0000 L CNN
-F 2 "Diode_SMD:D_SMA" H 4650 2900 50  0001 C CNN
-F 3 "~" H 4650 2900 50  0001 C CNN
-F 4 "C26178" H 4650 2900 50  0001 C CNN "LCSC"
-	1    4650 2900
-	0    1    1    0   
+P 3350 3350
+F 0 "D27" H 3450 3300 50  0000 L CNN
+F 1 "MBRA340T" V 3395 3430 50  0000 L CNN
+F 2 "Diode_SMD:D_SMA" H 3350 3350 50  0001 C CNN
+F 3 "~" H 3350 3350 50  0001 C CNN
+F 4 "C26178" H 3350 3350 50  0001 C CNN "LCSC"
+	1    3350 3350
+	-1   0    0    1   
 $EndComp
 $Comp
 L power:+5V #PWR0161
@@ -544,8 +522,6 @@ F 3 "" H 4650 2700 50  0001 C CNN
 	1    4650 2700
 	1    0    0    -1  
 $EndComp
-Wire Wire Line
-	4650 3050 4650 3100
 Wire Wire Line
 	9600 5850 9700 5850
 $Comp
@@ -600,8 +576,6 @@ Wire Wire Line
 Connection ~ 4650 3100
 Wire Wire Line
 	4650 3450 4650 3500
-Wire Wire Line
-	4350 3100 4450 3100
 Wire Wire Line
 	3600 3700 3600 3550
 Text Label 9350 4450 2    50   ~ 0
@@ -634,7 +608,7 @@ Connection ~ 7450 2000
 Wire Wire Line
 	7450 2000 7450 2050
 Wire Wire Line
-	2700 4100 2700 4300
+	1700 4100 1700 4300
 Wire Wire Line
 	3600 3550 3950 3550
 Wire Wire Line
@@ -704,10 +678,6 @@ Wire Wire Line
 	9700 5500 9700 5600
 Wire Wire Line
 	10150 5500 10150 5600
-Wire Wire Line
-	2950 3100 4050 3100
-Wire Wire Line
-	4650 2700 4650 2750
 Wire Wire Line
 	7250 3050 7300 3050
 $Comp
@@ -722,8 +692,6 @@ F 4 "C72041" H 5800 3500 50  0001 C CNN "LCSC"
 	1    5800 3500
 	0    1    -1   0   
 $EndComp
-Wire Wire Line
-	2500 3900 2700 3900
 $Comp
 L Power_Protection:USBLC6-2SC6 U8
 U 1 1 610EE85E
@@ -740,34 +708,222 @@ F 4 "C7519" H 3500 4100 50  0001 C CNN "LCSC"
 	1    3500 4100
 	0    -1   -1   0   
 $EndComp
+Wire Wire Line
+	1250 3400 1500 3400
+Wire Wire Line
+	1500 3400 1500 3600
+Connection ~ 1500 3600
+Wire Wire Line
+	1250 3700 1350 3700
+Wire Wire Line
+	1350 3700 1350 3500
+Connection ~ 1350 3500
+Wire Wire Line
+	1650 3100 2950 3100
+Wire Wire Line
+	1350 3500 3400 3500
+Wire Wire Line
+	1500 3600 2900 3600
+$Comp
+L Device:R_Small R34
+U 1 1 619F265C
+P 1850 3150
+F 0 "R34" V 1750 3100 50  0000 C CNN
+F 1 "36k" V 1750 3250 50  0000 C CNN
+F 2 "Resistor_SMD:R_0402_1005Metric" H 1850 3150 50  0001 C CNN
+F 3 "~" H 1850 3150 50  0001 C CNN
+F 4 "C25556" H 1850 3150 50  0001 C CNN "LCSC"
+	1    1850 3150
+	0    1    1    0   
+$EndComp
+$Comp
+L power:GND #PWR012
+U 1 1 619F35B6
+P 1550 2800
+F 0 "#PWR012" H 1550 2550 50  0001 C CNN
+F 1 "GND" H 1555 2627 50  0000 C CNN
+F 2 "" H 1550 2800 50  0001 C CNN
+F 3 "" H 1550 2800 50  0001 C CNN
+	1    1550 2800
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	1250 3000 1400 3000
+Wire Wire Line
+	1400 3000 1400 2700
+Wire Wire Line
+	1400 2700 1550 2700
+Wire Wire Line
+	1550 2700 1550 2800
+$Comp
+L Device:R_Small R35
+U 1 1 619FB3AA
+P 1850 3900
+F 0 "R35" V 1950 3850 50  0000 C CNN
+F 1 "36k" V 1950 4050 50  0000 C CNN
+F 2 "Resistor_SMD:R_0402_1005Metric" H 1850 3900 50  0001 C CNN
+F 3 "~" H 1850 3900 50  0001 C CNN
+F 4 "C25556" H 1850 3900 50  0001 C CNN "LCSC"
+	1    1850 3900
+	0    1    1    0   
+$EndComp
+Wire Wire Line
+	1250 3300 1750 3300
+Wire Wire Line
+	1750 3150 1750 3300
+Connection ~ 1750 3300
+Wire Wire Line
+	1250 3900 1700 3900
+Wire Wire Line
+	1700 3900 1700 3750
+Wire Wire Line
+	1700 3750 1750 3750
+Connection ~ 1700 3900
+Wire Wire Line
+	1700 3900 1750 3900
+Wire Wire Line
+	2350 3900 2350 3150
+Wire Wire Line
+	1950 3900 2350 3900
+Wire Wire Line
+	1950 3150 2350 3150
+Connection ~ 2350 3150
+Wire Wire Line
+	2350 3150 2350 2950
+$Comp
+L power:+3V3 #PWR014
+U 1 1 61A2BD43
+P 2350 2950
+F 0 "#PWR014" H 2350 2800 50  0001 C CNN
+F 1 "+3V3" H 2365 3123 50  0000 C CNN
+F 2 "" H 2350 2950 50  0001 C CNN
+F 3 "" H 2350 2950 50  0001 C CNN
+	1    2350 2950
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	1950 3300 2450 3300
+Wire Wire Line
+	2450 3750 1950 3750
+Text GLabel 2450 3300 2    39   Input ~ 0
+~USB_PWR_SINK
+Wire Wire Line
+	2450 3300 2450 3750
+$Comp
+L Transistor_FET:AO3400A Q8
+U 1 1 61A76D78
+P 3450 2350
+F 0 "Q8" H 3655 2304 50  0000 L CNN
+F 1 "AO3400A" H 3655 2395 50  0000 L CNN
+F 2 "Package_TO_SOT_SMD:SOT-23" H 3650 2275 50  0001 L CIN
+F 3 "http://www.aosmd.com/pdfs/datasheet/AO3400A.pdf" H 3450 2350 50  0001 L CNN
+	1    3450 2350
+	-1   0    0    1   
+$EndComp
 $Comp
-L power:+5VP #PWR0254
-U 1 1 6227ACBC
-P 4450 2950
-F 0 "#PWR0254" H 4450 2800 50  0001 C CNN
-F 1 "+5VP" H 4465 3123 50  0000 C CNN
-F 2 "" H 4450 2950 50  0001 C CNN
-F 3 "" H 4450 2950 50  0001 C CNN
-	1    4450 2950
+L Transistor_FET:AO3401A Q9
+U 1 1 61A79372
+P 3350 3000
+F 0 "Q9" V 3300 3200 50  0000 C CNN
+F 1 "AO3401A" V 3750 2750 50  0000 C CNN
+F 2 "Package_TO_SOT_SMD:SOT-23" H 3550 2925 50  0001 L CIN
+F 3 "http://www.aosmd.com/pdfs/datasheet/AO3401A.pdf" H 3350 3000 50  0001 L CNN
+	1    3350 3000
+	0    -1   1    0   
+$EndComp
+Wire Wire Line
+	2950 3100 3150 3100
+Connection ~ 2950 3100
+Wire Wire Line
+	3550 3100 3700 3100
+Wire Wire Line
+	3350 2800 3350 2700
+Wire Wire Line
+	3350 2700 3700 2700
+Wire Wire Line
+	3700 2700 3700 2750
+Wire Wire Line
+	3700 2950 3700 3100
+Connection ~ 3700 3100
+Wire Wire Line
+	3700 3100 4050 3100
+Wire Wire Line
+	3350 2700 3350 2550
+Connection ~ 3350 2700
+$Comp
+L Device:R_Small R36
+U 1 1 61A919F7
+P 3700 2850
+F 0 "R36" H 3759 2896 50  0000 L CNN
+F 1 "36k" H 3759 2805 50  0000 L CNN
+F 2 "Resistor_SMD:R_0402_1005Metric" H 3700 2850 50  0001 C CNN
+F 3 "~" H 3700 2850 50  0001 C CNN
+F 4 "C25556" H 3700 2850 50  0001 C CNN "LCSC"
+	1    3700 2850
 	1    0    0    -1  
 $EndComp
+$Comp
+L Device:R_Small R48
+U 1 1 61AC14CB
+P 3700 2100
+F 0 "R48" H 3759 2146 50  0000 L CNN
+F 1 "36k" H 3759 2055 50  0000 L CNN
+F 2 "Resistor_SMD:R_0402_1005Metric" H 3700 2100 50  0001 C CNN
+F 3 "~" H 3700 2100 50  0001 C CNN
+F 4 "C25556" H 3700 2100 50  0001 C CNN "LCSC"
+	1    3700 2100
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	3650 2350 3700 2350
+Wire Wire Line
+	3700 2350 3700 2200
+Wire Wire Line
+	3350 2150 3350 1950
+Wire Wire Line
+	3350 1950 3700 1950
+Wire Wire Line
+	3700 1950 3700 2000
+$Comp
+L power:GND #PWR017
+U 1 1 61AD2F8F
+P 2950 2050
+F 0 "#PWR017" H 2950 1800 50  0001 C CNN
+F 1 "GND" H 2955 1877 50  0000 C CNN
+F 2 "" H 2950 2050 50  0001 C CNN
+F 3 "" H 2950 2050 50  0001 C CNN
+	1    2950 2050
+	1    0    0    -1  
+$EndComp
+Wire Wire Line
+	2950 2050 2950 1950
+Wire Wire Line
+	2950 1950 3350 1950
+Connection ~ 3350 1950
+Wire Wire Line
+	3700 2350 3800 2350
+Connection ~ 3700 2350
 Wire Wire Line
-	4450 2950 4450 3100
-Connection ~ 4450 3100
+	4350 3100 4650 3100
 Wire Wire Line
-	4450 3100 4650 3100
+	4650 2700 4650 3100
 Wire Wire Line
-	2250 3400 2500 3400
+	2950 3350 3200 3350
+Connection ~ 2950 3350
 Wire Wire Line
-	2500 3400 2500 3600
-Connection ~ 2500 3600
+	2950 3350 2950 4100
 Wire Wire Line
-	2500 3600 2900 3600
+	3700 3100 3700 3350
 Wire Wire Line
-	2250 3700 2350 3700
+	3700 3350 3500 3350
+Text GLabel 3800 2350 2    39   Input ~ 0
+USB_PWR_EN
+Text GLabel 7250 3650 0    39   Input ~ 0
+USB_PWR_EN
 Wire Wire Line
-	2350 3700 2350 3500
-Connection ~ 2350 3500
+	7250 3650 7300 3650
+Text GLabel 7250 3750 0    39   Input ~ 0
+~USB_PWR_SINK
 Wire Wire Line
-	2350 3500 3400 3500
+	7250 3750 7300 3750
 $EndSCHEMATC

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 545 - 323
max80.kicad_pcb


+ 2 - 18
usb.sch

@@ -245,8 +245,6 @@ Wire Wire Line
 Wire Wire Line
 	5100 2850 5250 2850
 Connection ~ 5100 2850
-Wire Wire Line
-	5800 2850 6050 2850
 Connection ~ 5800 2850
 Wire Wire Line
 	5700 3450 5700 3350
@@ -359,22 +357,6 @@ Wire Wire Line
 	6900 3350 7250 3350
 Wire Wire Line
 	6800 3450 7250 3450
-$Comp
-L power:+5VP #PWR0255
-U 1 1 62278A08
-P 6050 2750
-F 0 "#PWR0255" H 6050 2600 50  0001 C CNN
-F 1 "+5VP" H 6065 2923 50  0000 C CNN
-F 2 "" H 6050 2750 50  0001 C CNN
-F 3 "" H 6050 2750 50  0001 C CNN
-	1    6050 2750
-	1    0    0    -1  
-$EndComp
-Wire Wire Line
-	6050 2750 6050 2850
-Connection ~ 6050 2850
-Wire Wire Line
-	6050 2850 6450 2850
 Wire Wire Line
 	4350 3150 4650 3150
 Wire Wire Line
@@ -389,4 +371,6 @@ Wire Wire Line
 Connection ~ 4450 3250
 Wire Wire Line
 	4450 3250 5500 3250
+Wire Wire Line
+	5800 2850 6450 2850
 $EndSCHEMATC

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio