From bac1f3d27638a3fbe792b8ca8b6f36f3036842e3 Mon Sep 17 00:00:00 2001 From: Ollo Date: Tue, 5 Jan 2021 17:25:36 +0100 Subject: [PATCH] Cleanup --- board/PlantCtrlESP32.sch | 368 +++++++++++++++++++++++---------------- 1 file changed, 214 insertions(+), 154 deletions(-) diff --git a/board/PlantCtrlESP32.sch b/board/PlantCtrlESP32.sch index 709eeeb..fdfd581 100644 --- a/board/PlantCtrlESP32.sch +++ b/board/PlantCtrlESP32.sch @@ -259,7 +259,7 @@ Wire Wire Line 15350 7550 15450 7550 Connection ~ 15450 7550 Text GLabel 3200 5250 1 50 Input ~ 0 -LIPO+ +VCC Wire Wire Line 3200 5250 3200 5300 Text GLabel 2450 5900 1 50 Input ~ 0 @@ -354,7 +354,7 @@ F 4 "C17414" H 16000 9950 50 0001 C CNN "LCSC_PART_NUMBER" $EndComp Connection ~ 16000 9800 Text GLabel 16300 10050 3 50 Input ~ 0 -LIPO+ +VCC Wire Wire Line 16300 10050 16300 10000 Text GLabel 14850 10000 0 50 Input ~ 0 @@ -589,15 +589,15 @@ CUSTOM_GPIO $Comp L Connector:Conn_01x02_Female J4 U 1 1 5F8D742C -P 21700 6200 -F 0 "J4" H 21728 6176 50 0000 L CNN -F 1 "Conn_01x02_Female" H 21100 6000 50 0000 L CNN -F 2 "misc_footprints:BatteryHolder_Keystone_1042_1x18650" H 21700 6200 50 0001 C CNN -F 3 "~" H 21700 6200 50 0001 C CNN - 1 21700 6200 +P 21650 6850 +F 0 "J4" H 21678 6826 50 0000 L CNN +F 1 "Conn_01x02_Female" H 21050 6650 50 0000 L CNN +F 2 "misc_footprints:BatteryHolder_Keystone_1042_1x18650" H 21650 6850 50 0001 C CNN +F 3 "~" H 21650 6850 50 0001 C CNN + 1 21650 6850 1 0 0 -1 $EndComp -Text Notes 19950 5750 0 50 ~ 0 +Text Notes 19900 6400 0 50 ~ 0 Protection for Lipo Wire Wire Line 16650 10150 16650 10200 @@ -686,31 +686,31 @@ F 4 "C17513" H 15050 10000 50 0001 C CNN "LCSC_PART_NUMBER" $EndComp Wire Wire Line 14850 10000 14900 10000 -Text GLabel 20750 4450 2 50 Input ~ 0 +Text GLabel 22200 4100 1 50 Input ~ 0 SOLAR_IN $Comp L Connector_Generic:Conn_01x04 J2 U 1 1 5F7E5709 -P 20550 4250 -F 0 "J2" H 20630 4242 50 0000 L CNN -F 1 "Conn_01x04" H 20630 4151 50 0000 L CNN -F 2 "Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical" H 20550 4250 50 0001 C CNN -F 3 "~" H 20550 4250 50 0001 C CNN - 1 20550 4250 +P 20500 4200 +F 0 "J2" H 20580 4192 50 0000 L CNN +F 1 "Conn_01x04" V 20650 3650 50 0000 L CNN +F 2 "Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical" H 20500 4200 50 0001 C CNN +F 3 "~" H 20500 4200 50 0001 C CNN + 1 20500 4200 0 -1 -1 0 $EndComp $Comp L Device:Fuse F1 U 1 1 5F8D8528 -P 19950 4450 -F 0 "F1" V 20000 4400 50 0000 L CNN -F 1 "Fuse" V 19850 4350 50 0000 L CNN -F 2 "Fuse:Fuse_Blade_ATO_directSolder" V 19880 4450 50 0001 C CNN -F 3 "~" H 19950 4450 50 0001 C CNN - 1 19950 4450 +P 19900 4850 +F 0 "F1" V 19950 4800 50 0000 L CNN +F 1 "Fuse" V 19800 4750 50 0000 L CNN +F 2 "Fuse:Fuse_Blade_ATO_directSolder" V 19830 4850 50 0001 C CNN +F 3 "~" H 19900 4850 50 0001 C CNN + 1 19900 4850 0 1 1 0 $EndComp -Text GLabel 19400 5000 0 50 Input ~ 0 +Text GLabel 19350 5400 0 50 Input ~ 0 VCC $Comp L Device:R R46 @@ -779,127 +779,127 @@ PWR_SENSORS $Comp L DW01:DW01 IC1 U 1 1 5FB36987 -P 19750 6100 -F 0 "IC1" H 20250 6367 50 0000 C CNN -F 1 "DW01" H 20250 6276 50 0000 C CNN -F 2 "misc_footprints:SOT95P280X135-6N" H 19750 6100 50 0001 L BNN -F 3 "" H 19750 6100 50 0001 L BNN -F 4 "ic" H 19750 6100 50 0001 L BNN "DESCRIPTION" -F 5 "DW01" H 19750 6100 50 0001 L BNN "MANUFACTURER_PART_NUMBER" -F 6 "C14213" H 19750 6100 50 0001 L BNN "LCSC_PART_NUMBER" - 1 19750 6100 +P 19700 6750 +F 0 "IC1" H 20200 7017 50 0000 C CNN +F 1 "DW01" H 20200 6926 50 0000 C CNN +F 2 "misc_footprints:SOT95P280X135-6N" H 19700 6750 50 0001 L BNN +F 3 "" H 19700 6750 50 0001 L BNN +F 4 "ic" H 19700 6750 50 0001 L BNN "DESCRIPTION" +F 5 "DW01" H 19700 6750 50 0001 L BNN "MANUFACTURER_PART_NUMBER" +F 6 "C14213" H 19700 6750 50 0001 L BNN "LCSC_PART_NUMBER" + 1 19700 6750 1 0 0 -1 $EndComp $Comp L ESP32-DEVKITC-32D:SL2300 Q12 U 1 1 5FB3ECD2 -P 20650 4750 -F 0 "Q12" V 20942 4750 50 0000 C CNN -F 1 "N-channel 30V 5A" V 20851 4750 50 0000 C CNN -F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 20650 4750 50 0001 C CNN -F 3 "" H 20650 4750 50 0001 C CNN -F 4 "C350314" H 20650 4750 50 0001 C CNN "LCSC_PART_NUMBER" - 1 20650 4750 +P 20600 5150 +F 0 "Q12" V 20892 5150 50 0000 C CNN +F 1 "N-channel 30V 5A" V 20801 5150 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 20600 5150 50 0001 C CNN +F 3 "" H 20600 5150 50 0001 C CNN +F 4 "C350314" H 20600 5150 50 0001 C CNN "LCSC_PART_NUMBER" + 1 20600 5150 -1 0 0 1 $EndComp $Comp L Device:R R52 U 1 1 5FC59C43 -P 19600 6200 -F 0 "R52" V 19600 6200 50 0000 C CNN -F 1 "1k" V 19450 6200 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 19530 6200 50 0001 C CNN -F 3 "~" H 19600 6200 50 0001 C CNN -F 4 "C17513" H 19600 6200 50 0001 C CNN "LCSC_PART_NUMBER" - 1 19600 6200 +P 19550 6850 +F 0 "R52" V 19550 6850 50 0000 C CNN +F 1 "1k" V 19400 6850 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 19480 6850 50 0001 C CNN +F 3 "~" H 19550 6850 50 0001 C CNN +F 4 "C17513" H 19550 6850 50 0001 C CNN "LCSC_PART_NUMBER" + 1 19550 6850 0 -1 -1 0 $EndComp $Comp L Device:R R53 U 1 1 5FC908BA -P 21200 6200 -F 0 "R53" V 20993 6200 50 0000 C CNN -F 1 "100" V 21084 6200 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 21130 6200 50 0001 C CNN -F 3 "~" H 21200 6200 50 0001 C CNN -F 4 "C17408" H 21200 6200 50 0001 C CNN "LCSC_PART_NUMBER" - 1 21200 6200 +P 21150 6850 +F 0 "R53" V 20943 6850 50 0000 C CNN +F 1 "100" V 21034 6850 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 21080 6850 50 0001 C CNN +F 3 "~" H 21150 6850 50 0001 C CNN +F 4 "C17408" H 21150 6850 50 0001 C CNN "LCSC_PART_NUMBER" + 1 21150 6850 0 1 1 0 $EndComp $Comp L Device:C C10 U 1 1 5FCD9EFE -P 20900 6050 -F 0 "C10" H 21015 6096 50 0000 L CNN -F 1 "100n" H 21015 6005 50 0000 L CNN -F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" H 20938 5900 50 0001 C CNN -F 3 "~" H 20900 6050 50 0001 C CNN -F 4 "C49678" H 20900 6050 50 0001 C CNN "LCSC_PART_NUMBER" - 1 20900 6050 +P 20850 6700 +F 0 "C10" H 20965 6746 50 0000 L CNN +F 1 "100n" H 20965 6655 50 0000 L CNN +F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" H 20888 6550 50 0001 C CNN +F 3 "~" H 20850 6700 50 0001 C CNN +F 4 "C49678" H 20850 6700 50 0001 C CNN "LCSC_PART_NUMBER" + 1 20850 6700 1 0 0 -1 $EndComp -Text GLabel 21350 6300 0 50 Input ~ 0 +Text GLabel 21300 6950 0 50 Input ~ 0 GND_BATT -Text GLabel 19550 7100 0 50 Input ~ 0 +Text GLabel 19500 7750 0 50 Input ~ 0 GND_BATT Wire Wire Line - 20750 6200 20900 6200 -Text GLabel 20950 5900 2 50 Input ~ 0 + 20700 6850 20850 6850 +Text GLabel 20900 6550 2 50 Input ~ 0 GND_BATT -Text GLabel 19450 6200 0 50 Input ~ 0 +Text GLabel 19400 6850 0 50 Input ~ 0 GND -Connection ~ 20900 6200 +Connection ~ 20850 6850 Wire Wire Line - 20900 6200 21050 6200 + 20850 6850 21000 6850 Wire Wire Line - 20750 6100 20750 5900 + 20700 6750 20700 6550 Wire Wire Line - 20750 5900 20900 5900 + 20700 6550 20850 6550 Wire Wire Line - 20900 5900 20950 5900 -Connection ~ 20900 5900 + 20850 6550 20900 6550 +Connection ~ 20850 6550 Wire Wire Line - 21350 6200 21500 6200 + 21300 6850 21450 6850 Wire Wire Line - 21350 6300 21500 6300 -Text GLabel 21450 6200 1 50 Input ~ 0 + 21300 6950 21450 6950 +Text GLabel 21400 6850 1 50 Input ~ 0 VCC_BATT -Text GLabel 19800 4450 0 50 Input ~ 0 +Text GLabel 19750 4850 0 50 Input ~ 0 VCC_BATT Wire Wire Line - 20100 4450 20150 4450 -Connection ~ 20150 4450 + 20050 4850 20100 4850 +Connection ~ 20100 4850 Wire Wire Line - 20150 4450 20450 4450 -Text GLabel 19500 6100 0 50 Input ~ 0 + 20100 4850 20400 4850 +Text GLabel 19450 6750 0 50 Input ~ 0 LIPO_OD -Text GLabel 19850 6750 1 50 Input ~ 0 +Text GLabel 19800 7400 1 50 Input ~ 0 LIPO_OD -Text GLabel 19500 6300 0 50 Input ~ 0 +Text GLabel 19450 6950 0 50 Input ~ 0 LIPO_OC Wire Wire Line - 19500 6100 19750 6100 + 19450 6750 19700 6750 Wire Wire Line - 19500 6300 19750 6300 -Text GLabel 21000 4750 2 50 Input ~ 0 + 19450 6950 19700 6950 +Text GLabel 20950 5150 2 50 Input ~ 0 LIPO_OC Wire Wire Line - 21000 4750 20900 4750 + 20950 5150 20850 5150 $Comp L ESP32-DEVKITC-32D:SL2300 Q11 U 1 1 5FB813FB -P 19850 7050 -F 0 "Q11" V 20049 7050 50 0000 C CNN -F 1 "N-channel 30V 5A" V 20140 7050 50 0000 C CNN -F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 19850 7050 50 0001 C CNN -F 3 "" H 19850 7050 50 0001 C CNN -F 4 "C350314" H 19850 7050 50 0001 C CNN "LCSC_PART_NUMBER" - 1 19850 7050 +P 19800 7700 +F 0 "Q11" V 19999 7700 50 0000 C CNN +F 1 "N-channel 30V 5A" V 20090 7700 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 19800 7700 50 0001 C CNN +F 3 "" H 19800 7700 50 0001 C CNN +F 4 "C350314" H 19800 7700 50 0001 C CNN "LCSC_PART_NUMBER" + 1 19800 7700 0 1 1 0 $EndComp Wire Wire Line - 19850 6750 19850 6800 -NoConn ~ 20750 6300 + 19800 7400 19800 7450 +NoConn ~ 20700 6950 Wire Wire Line 5800 5800 5900 5800 $Comp @@ -923,16 +923,16 @@ Wire Wire Line $Comp L Jumper:SolderJumper_2_Open JP1 U 1 1 6011090E -P 21900 4750 -F 0 "JP1" H 21900 4955 50 0000 C CNN -F 1 "SolderJumper_2_Open" H 21900 4864 50 0000 C CNN -F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 21900 4750 50 0001 C CNN -F 3 "~" H 21900 4750 50 0001 C CNN - 1 21900 4750 +P 21850 5150 +F 0 "JP1" H 21850 5355 50 0000 C CNN +F 1 "SolderJumper_2_Open" H 21850 5264 50 0000 C CNN +F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 21850 5150 50 0001 C CNN +F 3 "~" H 21850 5150 50 0001 C CNN + 1 21850 5150 1 0 0 -1 $EndComp Wire Wire Line - 19650 7100 19550 7100 + 19600 7750 19500 7750 $Comp L Jumper:SolderJumper_2_Open JP2 U 1 1 60159E6D @@ -2684,7 +2684,7 @@ Wire Wire Line Wire Notes Line 13500 1000 22550 1000 Wire Notes Line - 22550 1000 22550 10500 + 22500 1650 22500 11150 Wire Notes Line 22550 10500 13500 10500 Wire Notes Line @@ -2742,93 +2742,153 @@ Jumper for USB flashing without AMS1117 $Comp L Transistor_FET:BSS84 Q_PWR? U 1 1 5FFD58C5 -P 19400 5300 -F 0 "Q_PWR?" H 19604 5346 50 0000 L CNN -F 1 "P-channel 50v 4A" H 19604 5255 50 0000 L CNN -F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 19600 5225 50 0001 L CIN -F 3 "" H 19400 5300 50 0001 L CNN -F 4 "C344010" H 19400 5300 50 0001 C CNN "LCSC_PART_NUMBER" - 1 19400 5300 +P 19350 5700 +F 0 "Q_PWR?" H 19554 5746 50 0000 L CNN +F 1 "P-channel 50v 4A" H 19554 5655 50 0000 L CNN +F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 19550 5625 50 0001 L CIN +F 3 "" H 19350 5700 50 0001 L CNN +F 4 "C344010" H 19350 5700 50 0001 C CNN "LCSC_PART_NUMBER" + 1 19350 5700 1 0 0 -1 $EndComp $Comp L Device:R R? U 1 1 5FFD69D9 -P 18950 5300 -F 0 "R?" V 18743 5300 50 0000 C CNN -F 1 "10k" V 18834 5300 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 18880 5300 50 0001 C CNN -F 3 "~" H 18950 5300 50 0001 C CNN -F 4 "C17414" H 18950 5300 50 0001 C CNN "LCSC_PART_NUMBER" - 1 18950 5300 +P 18900 5700 +F 0 "R?" V 18693 5700 50 0000 C CNN +F 1 "10k" V 18784 5700 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 18830 5700 50 0001 C CNN +F 3 "~" H 18900 5700 50 0001 C CNN +F 4 "C17414" H 18900 5700 50 0001 C CNN "LCSC_PART_NUMBER" + 1 18900 5700 0 1 1 0 $EndComp $Comp L Device:R R? U 1 1 5FFD6F58 -P 19150 5450 -F 0 "R?" H 19220 5496 50 0000 L CNN -F 1 "10k" H 19220 5405 50 0000 L CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 19080 5450 50 0001 C CNN -F 3 "~" H 19150 5450 50 0001 C CNN -F 4 "C17414" H 19150 5450 50 0001 C CNN "LCSC_PART_NUMBER" - 1 19150 5450 +P 19100 5850 +F 0 "R?" H 19170 5896 50 0000 L CNN +F 1 "10k" H 19170 5805 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 19030 5850 50 0001 C CNN +F 3 "~" H 19100 5850 50 0001 C CNN +F 4 "C17414" H 19100 5850 50 0001 C CNN "LCSC_PART_NUMBER" + 1 19100 5850 1 0 0 -1 $EndComp Wire Wire Line - 19100 5300 19150 5300 -Connection ~ 19150 5300 + 19050 5700 19100 5700 +Connection ~ 19100 5700 Wire Wire Line - 19150 5300 19200 5300 + 19100 5700 19150 5700 Wire Wire Line - 19400 5000 19500 5000 + 19350 5400 19450 5400 Wire Wire Line - 19500 5000 19500 5100 + 19450 5400 19450 5500 Wire Wire Line - 19150 5600 19650 5600 + 19100 6000 19600 6000 Wire Wire Line - 19650 5600 19650 5500 -Connection ~ 19650 5500 + 19600 6000 19600 5900 +Connection ~ 19600 5900 Wire Wire Line - 19650 5500 19500 5500 -Text GLabel 18600 5300 0 50 Input ~ 0 + 19600 5900 19450 5900 +Text GLabel 18550 5700 0 50 Input ~ 0 enable_all Wire Wire Line - 18600 5300 18800 5300 -Text GLabel 20100 7150 3 50 Input ~ 0 + 18550 5700 18750 5700 +Text GLabel 20050 7800 3 50 Input ~ 0 enable_all Wire Wire Line - 20100 7150 20100 7100 + 20050 7800 20050 7750 Wire Wire Line - 20100 7100 20050 7100 + 20050 7750 20000 7750 Wire Wire Line - 20550 4450 20550 4550 + 20500 4950 20550 4950 Wire Wire Line - 20550 4550 20600 4550 -Wire Wire Line - 20600 4550 20650 4550 -Wire Wire Line - 20650 4550 20650 4450 -Connection ~ 20600 4550 -Text GLabel 20600 4950 3 50 Input ~ 0 + 20550 4950 20600 4950 +Connection ~ 20550 4950 +Text GLabel 20550 5350 3 50 Input ~ 0 GND_BATT Wire Wire Line - 20650 4550 21600 4550 + 20600 4950 21550 4950 Wire Wire Line - 21600 4550 21600 4750 + 21550 4950 21550 5150 Wire Wire Line - 21600 4750 21750 4750 -Connection ~ 20650 4550 -Text GLabel 22050 4750 2 50 Input ~ 0 + 21550 5150 21700 5150 +Connection ~ 20600 4950 +Text GLabel 22000 5150 2 50 Input ~ 0 GND_BATT -Text Notes 21450 4450 0 50 ~ 0 +Text Notes 21400 4850 0 50 ~ 0 Overloading protection -Text Notes 18500 4900 0 50 ~ 0 +Text Notes 18450 5300 0 50 ~ 0 activate VCC everywhere \nonly when lipo is charged enough Wire Wire Line - 20150 4450 20150 5500 + 20100 4850 20100 5900 Wire Wire Line - 19650 5500 20150 5500 + 19600 5900 20100 5900 Text Notes 22050 3800 2 207 ~ 0 Solar Charger\nLipo Protection +$Comp +L Transistor_FET:BSS84 Q_PWR? +U 1 1 6020D93D +P 22100 4300 +F 0 "Q_PWR?" H 22304 4346 50 0000 L CNN +F 1 "P-channel 50v 4A" V 22700 4000 50 0000 L CNN +F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 22300 4225 50 0001 L CIN +F 3 "" H 22100 4300 50 0001 L CNN +F 4 "C344010" H 22100 4300 50 0001 C CNN "LCSC_PART_NUMBER" + 1 22100 4300 + 1 0 0 -1 +$EndComp +$Comp +L Device:R R? +U 1 1 6020D944 +P 21650 4300 +F 0 "R?" V 21443 4300 50 0000 C CNN +F 1 "10k" V 21534 4300 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 21580 4300 50 0001 C CNN +F 3 "~" H 21650 4300 50 0001 C CNN +F 4 "C17414" H 21650 4300 50 0001 C CNN "LCSC_PART_NUMBER" + 1 21650 4300 + 0 1 1 0 +$EndComp +$Comp +L Device:R R? +U 1 1 6020D94B +P 21850 4450 +F 0 "R?" H 21920 4496 50 0000 L CNN +F 1 "10k" H 21920 4405 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 21780 4450 50 0001 C CNN +F 3 "~" H 21850 4450 50 0001 C CNN +F 4 "C17414" H 21850 4450 50 0001 C CNN "LCSC_PART_NUMBER" + 1 21850 4450 + 1 0 0 -1 +$EndComp +Wire Wire Line + 21800 4300 21850 4300 +Connection ~ 21850 4300 +Wire Wire Line + 21850 4300 21900 4300 +Wire Wire Line + 21850 4600 21900 4600 +Text GLabel 21300 4300 0 50 Input ~ 0 +enable_all +Wire Wire Line + 21300 4300 21500 4300 +Wire Wire Line + 20400 4400 20400 4850 +Wire Wire Line + 20500 4400 20500 4950 +Wire Wire Line + 20600 4400 20600 4950 +Wire Wire Line + 20700 4650 21900 4650 +Wire Wire Line + 21900 4650 21900 4600 +Wire Wire Line + 20700 4400 20700 4650 +Connection ~ 21900 4600 +Wire Wire Line + 21900 4600 22200 4600 +Wire Wire Line + 22200 4500 22200 4600 $EndSCHEMATC