From e0218ca06f4d25d28c78e100a43b5463209b081c Mon Sep 17 00:00:00 2001 From: Empire Date: Tue, 12 Jan 2021 20:53:23 +0100 Subject: [PATCH] integrated battery management chip --- board/PlantCtrlESP32.sch | 1130 +++++++++++++++++------------------- board/kicad-stuff/DW01.dcm | 3 + board/kicad-stuff/DW01.lib | 82 +-- 3 files changed, 596 insertions(+), 619 deletions(-) create mode 100644 board/kicad-stuff/DW01.dcm diff --git a/board/PlantCtrlESP32.sch b/board/PlantCtrlESP32.sch index 8691897..771682b 100644 --- a/board/PlantCtrlESP32.sch +++ b/board/PlantCtrlESP32.sch @@ -27,7 +27,7 @@ Text GLabel 1150 2050 0 50 Input ~ 0 PLANT6_PUMP Text Notes 950 550 0 50 ~ 0 Pump Control -Text Notes 19200 12000 0 50 ~ 0 +Text Notes 3900 9100 0 50 ~ 0 Lipo $Comp L Connector_Generic:Conn_01x03 J6 @@ -137,85 +137,85 @@ PUMP_PWR $Comp L Transistor_FET:BSS84 Q_PWR2 U 1 1 5F819B36 -P 16050 12150 -F 0 "Q_PWR2" H 16254 12196 50 0000 L CNN -F 1 "P-channel 50v 4A" H 16254 12105 50 0000 L CNN -F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 16250 12075 50 0001 L CIN -F 3 "" H 16050 12150 50 0001 L CNN -F 4 "C344010" H 16050 12150 50 0001 C CNN "LCSC_PART_NUMBER" - 1 16050 12150 +P 10200 14750 +F 0 "Q_PWR2" H 10404 14796 50 0000 L CNN +F 1 "P-channel 50v 4A" H 10404 14705 50 0000 L CNN +F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 10400 14675 50 0001 L CIN +F 3 "" H 10200 14750 50 0001 L CNN +F 4 "C344010" H 10200 14750 50 0001 C CNN "LCSC_PART_NUMBER" + 1 10200 14750 1 0 0 -1 $EndComp $Comp L ESP32-DEVKITC-32D:SL2300 Q10 U 1 1 5F819B3C -P 15400 12350 -F 0 "Q10" H 15555 12396 50 0000 L CNN -F 1 "N-channel 30V 5A" H 15555 12305 50 0000 L CNN -F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 15400 12350 50 0001 C CNN -F 3 "" H 15400 12350 50 0001 C CNN -F 4 "C350314" H 15400 12350 50 0001 C CNN "LCSC_PART_NUMBER" - 1 15400 12350 +P 9550 14950 +F 0 "Q10" H 9705 14996 50 0000 L CNN +F 1 "N-channel 30V 5A" H 9705 14905 50 0000 L CNN +F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 9550 14950 50 0001 C CNN +F 3 "" H 9550 14950 50 0001 C CNN +F 4 "C350314" H 9550 14950 50 0001 C CNN "LCSC_PART_NUMBER" + 1 9550 14950 1 0 0 -1 $EndComp $Comp L Device:R R23 U 1 1 5F819B42 -P 15150 12500 -F 0 "R23" H 15220 12546 50 0000 L CNN -F 1 "10k" H 15220 12455 50 0000 L CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 15080 12500 50 0001 C CNN -F 3 "~" H 15150 12500 50 0001 C CNN -F 4 "C17414" H 15150 12500 50 0001 C CNN "LCSC_PART_NUMBER" - 1 15150 12500 +P 9300 15100 +F 0 "R23" H 9370 15146 50 0000 L CNN +F 1 "10k" H 9370 15055 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 9230 15100 50 0001 C CNN +F 3 "~" H 9300 15100 50 0001 C CNN +F 4 "C17414" H 9300 15100 50 0001 C CNN "LCSC_PART_NUMBER" + 1 9300 15100 1 0 0 -1 $EndComp Wire Wire Line - 15450 12550 15300 12550 + 9600 15150 9450 15150 Wire Wire Line - 15300 12550 15300 12650 + 9450 15150 9450 15250 Wire Wire Line - 15300 12650 15150 12650 + 9450 15250 9300 15250 $Comp L Device:R R25 U 1 1 5F819B52 -P 15650 12150 -F 0 "R25" V 15443 12150 50 0000 C CNN -F 1 "10k" V 15534 12150 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 15580 12150 50 0001 C CNN -F 3 "~" H 15650 12150 50 0001 C CNN -F 4 "C17414" H 15650 12150 50 0001 C CNN "LCSC_PART_NUMBER" - 1 15650 12150 +P 9800 14750 +F 0 "R25" V 9593 14750 50 0000 C CNN +F 1 "10k" V 9684 14750 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 9730 14750 50 0001 C CNN +F 3 "~" H 9800 14750 50 0001 C CNN +F 4 "C17414" H 9800 14750 50 0001 C CNN "LCSC_PART_NUMBER" + 1 9800 14750 0 1 1 0 $EndComp Wire Wire Line - 15800 12150 15850 12150 + 9950 14750 10000 14750 Wire Wire Line - 15500 12150 15450 12150 -Text GLabel 16150 11550 1 50 Input ~ 0 + 9650 14750 9600 14750 +Text GLabel 10300 14150 1 50 Input ~ 0 PWR_SENSORS $Comp L Device:R R28 U 1 1 5F819B5B -P 15850 12300 -F 0 "R28" H 15920 12346 50 0000 L CNN -F 1 "10k" H 15920 12255 50 0000 L CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 15780 12300 50 0001 C CNN -F 3 "~" H 15850 12300 50 0001 C CNN -F 4 "C17414" H 15850 12300 50 0001 C CNN "LCSC_PART_NUMBER" - 1 15850 12300 +P 10000 14900 +F 0 "R28" H 10070 14946 50 0000 L CNN +F 1 "10k" H 10070 14855 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 9930 14900 50 0001 C CNN +F 3 "~" H 10000 14900 50 0001 C CNN +F 4 "C17414" H 10000 14900 50 0001 C CNN "LCSC_PART_NUMBER" + 1 10000 14900 1 0 0 -1 $EndComp -Connection ~ 15850 12150 -Text GLabel 16150 12400 3 50 Input ~ 0 +Connection ~ 10000 14750 +Text GLabel 10300 15000 3 50 Input ~ 0 VCC Wire Wire Line - 16150 12400 16150 12350 -Text GLabel 14700 12350 0 50 Input ~ 0 + 10300 15000 10300 14950 +Text GLabel 8850 14950 0 50 Input ~ 0 SENSORS_ENABLE Wire Wire Line - 15050 12350 15150 12350 -Connection ~ 15150 12350 + 9200 14950 9300 14950 +Connection ~ 9300 14950 Wire Wire Line 16250 9300 16250 9400 Wire Wire Line @@ -224,33 +224,33 @@ Wire Wire Line 16250 9300 16400 9300 Connection ~ 16400 9300 Wire Wire Line - 16000 12450 15850 12450 + 10150 15050 10000 15050 $Comp L LP38690DT-3.3:LP38690DT-3.3 U3 U 1 1 5F84FA14 -P 19500 11900 -F 0 "U3" H 19500 12265 50 0000 C CNN -F 1 "LP38690DT-3.3" H 19500 12174 50 0000 C CNN -F 2 "ESP32:DPAK457P991X255-3N" H 19500 11900 50 0001 L BNN -F 3 "IPC-7351B" H 19500 11900 50 0001 L BNN -F 4 "Texas Instruments" H 19500 11900 50 0001 L BNN "Field4" -F 5 "M" H 19500 11900 50 0001 L BNN "Field5" -F 6 "2.55mm" H 19500 11900 50 0001 L BNN "Field6" -F 7 "C109045" H 19500 11900 50 0001 C CNN "LCSC_PART_NUMBER" - 1 19500 11900 +P 4200 9000 +F 0 "U3" H 4200 9365 50 0000 C CNN +F 1 "LP38690DT-3.3" H 4200 9274 50 0000 C CNN +F 2 "ESP32:DPAK457P991X255-3N" H 4200 9000 50 0001 L BNN +F 3 "IPC-7351B" H 4200 9000 50 0001 L BNN +F 4 "Texas Instruments" H 4200 9000 50 0001 L BNN "Field4" +F 5 "M" H 4200 9000 50 0001 L BNN "Field5" +F 6 "2.55mm" H 4200 9000 50 0001 L BNN "Field6" +F 7 "C109045" H 4200 9000 50 0001 C CNN "LCSC_PART_NUMBER" + 1 4200 9000 1 0 0 -1 $EndComp -Text GLabel 20200 12000 2 50 Input ~ 0 +Text GLabel 4900 9100 2 50 Input ~ 0 GND -Text GLabel 20200 11800 2 50 Input ~ 0 +Text GLabel 4900 8900 2 50 Input ~ 0 3_3V -Text GLabel 18900 11800 0 50 Input ~ 0 +Text GLabel 3600 8900 0 50 Input ~ 0 VCC Wire Wire Line - 16000 12350 16150 12350 + 10150 14950 10300 14950 Wire Wire Line - 16000 12350 16000 12450 -Connection ~ 16150 12350 + 10150 14950 10150 15050 +Connection ~ 10300 14950 $Comp L Connector:Conn_01x02_Female PUMP0 U 1 1 5F6C304F @@ -353,36 +353,36 @@ Wire Wire Line $Comp L Device:LED Sensor1 U 1 1 5F8539DC -P 16500 12000 -F 0 "Sensor1" V 16539 11882 50 0000 R CNN -F 1 "LED_green" V 16448 11882 50 0000 R CNN -F 2 "LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 16500 12000 50 0001 C CNN -F 3 "~" H 16500 12000 50 0001 C CNN -F 4 "C2297" H 16500 12000 50 0001 C CNN "LCSC_PART_NUMBER" - 1 16500 12000 +P 10650 14600 +F 0 "Sensor1" V 10689 14482 50 0000 R CNN +F 1 "LED_green" V 10598 14482 50 0000 R CNN +F 2 "LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 10650 14600 50 0001 C CNN +F 3 "~" H 10650 14600 50 0001 C CNN +F 4 "C2297" H 10650 14600 50 0001 C CNN "LCSC_PART_NUMBER" + 1 10650 14600 0 -1 -1 0 $EndComp $Comp L Device:R R31 U 1 1 5F8539E2 -P 16300 11800 -F 0 "R31" H 16370 11846 50 0000 L CNN -F 1 "270" H 16370 11755 50 0000 L CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 16230 11800 50 0001 C CNN -F 3 "~" H 16300 11800 50 0001 C CNN -F 4 "C17590" H 16300 11800 50 0001 C CNN "LCSC_PART_NUMBER" - 1 16300 11800 +P 10450 14400 +F 0 "R31" H 10520 14446 50 0000 L CNN +F 1 "270" H 10520 14355 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 10380 14400 50 0001 C CNN +F 3 "~" H 10450 14400 50 0001 C CNN +F 4 "C17590" H 10450 14400 50 0001 C CNN "LCSC_PART_NUMBER" + 1 10450 14400 0 1 1 0 $EndComp Wire Wire Line - 16500 12200 16500 12150 + 10650 14800 10650 14750 Wire Wire Line - 16500 11800 16500 11850 -Connection ~ 16150 11800 + 10650 14400 10650 14450 +Connection ~ 10300 14400 Wire Wire Line - 16150 11800 16150 11950 + 10300 14400 10300 14550 Wire Wire Line - 16450 11800 16500 11800 + 10600 14400 10650 14400 $Comp L ESP32-DEVKITC-32D:SL2300 Q6 U 1 1 5F87CA1E @@ -434,10 +434,10 @@ Wire Wire Line 8900 1850 8900 2000 Text GLabel 7850 1750 0 50 Input ~ 0 CUSTOM_GPIO -Text Notes 19850 8150 0 50 ~ 0 +Text Notes 19600 8550 0 79 ~ 0 Protection for Lipo Wire Wire Line - 16500 12500 16500 12550 + 10650 15100 10650 15150 $Comp L Device:LED Pumps1 U 1 1 5F834AFA @@ -467,17 +467,17 @@ Wire Wire Line $Comp L Device:R R51 U 1 1 5FBB5E39 -P 14900 12350 -F 0 "R51" H 14970 12396 50 0000 L CNN -F 1 "1k" H 14970 12305 50 0000 L CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 14830 12350 50 0001 C CNN -F 3 "~" H 14900 12350 50 0001 C CNN -F 4 "C17513" H 14900 12350 50 0001 C CNN "LCSC_PART_NUMBER" - 1 14900 12350 +P 9050 14950 +F 0 "R51" H 9120 14996 50 0000 L CNN +F 1 "1k" H 9120 14905 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 8980 14950 50 0001 C CNN +F 3 "~" H 9050 14950 50 0001 C CNN +F 4 "C17513" H 9050 14950 50 0001 C CNN "LCSC_PART_NUMBER" + 1 9050 14950 0 1 1 0 $EndComp Wire Wire Line - 14700 12350 14750 12350 + 8850 14950 8900 14950 Text GLabel 22150 5850 1 50 Input ~ 0 SOLAR_IN $Comp @@ -494,15 +494,15 @@ $EndComp $Comp L Device:Fuse F1 U 1 1 5F8D8528 -P 19850 6600 -F 0 "F1" V 19900 6550 50 0000 L CNN -F 1 "Fuse" V 19750 6500 50 0000 L CNN -F 2 "Fuse:Fuseholder_Cylinder-5x20mm_Stelvio-Kontek_PTF78_Horizontal_Open" V 19780 6600 50 0001 C CNN -F 3 "~" H 19850 6600 50 0001 C CNN - 1 19850 6600 +P 20200 6150 +F 0 "F1" V 20250 6100 50 0000 L CNN +F 1 "Fuse" V 20100 6050 50 0000 L CNN +F 2 "Fuse:Fuseholder_Cylinder-5x20mm_Stelvio-Kontek_PTF78_Horizontal_Open" V 20130 6150 50 0001 C CNN +F 3 "~" H 20200 6150 50 0001 C CNN + 1 20200 6150 0 1 1 0 $EndComp -Text GLabel 19300 7150 0 50 Input ~ 0 +Text GLabel 18900 7100 0 50 Input ~ 0 VCC $Comp L Device:R R46 @@ -547,20 +547,18 @@ J2, F1, IC1, Q_PWR3. R59, R58, Q12, JP1, R60, R61, Q_PWR4\nU4, J3, C11, L1, R21, Wire Wire Line 16400 8750 16200 8750 Connection ~ 16400 8750 -Text GLabel 5000 1050 2 50 Input ~ 0 -PWR_SENSORS $Comp L DW01:DW01 IC1 U 1 1 5FB36987 -P 19650 8500 -F 0 "IC1" H 20150 8767 50 0000 C CNN -F 1 "DW01" H 20150 8676 50 0000 C CNN -F 2 "misc_footprints:SOT95P280X135-6N" H 19650 8500 50 0001 L BNN -F 3 "" H 19650 8500 50 0001 L BNN -F 4 "ic" H 19650 8500 50 0001 L BNN "DESCRIPTION" -F 5 "DW01" H 19650 8500 50 0001 L BNN "MANUFACTURER_PART_NUMBER" -F 6 "C14213" H 19650 8500 50 0001 L BNN "LCSC_PART_NUMBER" - 1 19650 8500 +P 19450 9200 +F 0 "IC1" H 19950 9467 50 0000 C CNN +F 1 "DW01" H 19950 9376 50 0000 C CNN +F 2 "misc_footprints:SOT95P280X135-6N" H 19450 9200 50 0001 L BNN +F 3 "" H 19450 9200 50 0001 L BNN +F 4 "ic" H 19450 9200 50 0001 L BNN "DESCRIPTION" +F 5 "DW01" H 19450 9200 50 0001 L BNN "MANUFACTURER_PART_NUMBER" +F 6 "C14213" H 19450 9200 50 0001 L BNN "LCSC_PART_NUMBER" + 1 19450 9200 1 0 0 -1 $EndComp $Comp @@ -578,80 +576,67 @@ $EndComp $Comp L Device:R R52 U 1 1 5FC59C43 -P 19500 8600 -F 0 "R52" V 19500 8600 50 0000 C CNN -F 1 "1k" V 19350 8600 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 19430 8600 50 0001 C CNN -F 3 "~" H 19500 8600 50 0001 C CNN -F 4 "C17513" H 19500 8600 50 0001 C CNN "LCSC_PART_NUMBER" - 1 19500 8600 +P 19300 9300 +F 0 "R52" V 19300 9300 50 0000 C CNN +F 1 "1k" V 19150 9300 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 19230 9300 50 0001 C CNN +F 3 "~" H 19300 9300 50 0001 C CNN +F 4 "C17513" H 19300 9300 50 0001 C CNN "LCSC_PART_NUMBER" + 1 19300 9300 0 -1 -1 0 $EndComp $Comp L Device:R R53 U 1 1 5FC908BA -P 21100 8600 -F 0 "R53" V 20893 8600 50 0000 C CNN -F 1 "100" V 20984 8600 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 21030 8600 50 0001 C CNN -F 3 "~" H 21100 8600 50 0001 C CNN -F 4 "C17408" H 21100 8600 50 0001 C CNN "LCSC_PART_NUMBER" - 1 21100 8600 +P 20900 9300 +F 0 "R53" V 20693 9300 50 0000 C CNN +F 1 "100" V 20784 9300 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 20830 9300 50 0001 C CNN +F 3 "~" H 20900 9300 50 0001 C CNN +F 4 "C17408" H 20900 9300 50 0001 C CNN "LCSC_PART_NUMBER" + 1 20900 9300 0 1 1 0 $EndComp $Comp L Device:C C10 U 1 1 5FCD9EFE -P 20800 8450 -F 0 "C10" H 20915 8496 50 0000 L CNN -F 1 "100n" H 20915 8405 50 0000 L CNN -F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 20838 8300 50 0001 C CNN -F 3 "~" H 20800 8450 50 0001 C CNN -F 4 "C49678" H 20800 8450 50 0001 C CNN "LCSC_PART_NUMBER" - 1 20800 8450 +P 20600 9150 +F 0 "C10" H 20715 9196 50 0000 L CNN +F 1 "100n" H 20715 9105 50 0000 L CNN +F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 20638 9000 50 0001 C CNN +F 3 "~" H 20600 9150 50 0001 C CNN +F 4 "C49678" H 20600 9150 50 0001 C CNN "LCSC_PART_NUMBER" + 1 20600 9150 1 0 0 -1 $EndComp -Text GLabel 21450 9500 0 50 Input ~ 0 -GND_BATT -Text GLabel 19450 9500 0 50 Input ~ 0 -GND_BATT -Wire Wire Line - 20650 8600 20800 8600 -Text GLabel 20850 8300 2 50 Input ~ 0 -GND_BATT -Text GLabel 19350 8600 0 50 Input ~ 0 +Text GLabel 20950 7700 0 50 Input ~ 0 GND -Connection ~ 20800 8600 Wire Wire Line - 20800 8600 20950 8600 + 20450 9300 20600 9300 +Text GLabel 20650 9000 2 50 Input ~ 0 +GND +Connection ~ 20600 9300 Wire Wire Line - 20650 8500 20650 8300 + 20600 9300 20750 9300 Wire Wire Line - 20650 8300 20800 8300 + 20450 9200 20450 9000 Wire Wire Line - 20800 8300 20850 8300 -Connection ~ 20800 8300 + 20450 9000 20600 9000 Wire Wire Line - 21450 9500 21600 9500 -Text GLabel 21550 9400 0 50 Input ~ 0 + 20600 9000 20650 9000 +Connection ~ 20600 9000 +Text GLabel 21700 7600 0 50 Input ~ 0 VCC_BATT -Text GLabel 19700 6600 0 50 Input ~ 0 +Text GLabel 20050 6150 0 50 Input ~ 0 VCC_BATT -Wire Wire Line - 20000 6600 20050 6600 -Connection ~ 20050 6600 -Wire Wire Line - 20050 6600 20350 6600 -Text GLabel 19400 8500 0 50 Input ~ 0 +Text GLabel 19200 9200 0 50 Input ~ 0 LIPO_OD -Text GLabel 19750 9150 1 50 Input ~ 0 -LIPO_OD -Text GLabel 19400 8700 0 50 Input ~ 0 +Text GLabel 19200 9400 0 50 Input ~ 0 LIPO_OC Wire Wire Line - 19400 8500 19650 8500 + 19200 9200 19450 9200 Wire Wire Line - 19400 8700 19650 8700 + 19200 9400 19450 9400 Text GLabel 20900 6900 2 50 Input ~ 0 LIPO_OC Wire Wire Line @@ -659,18 +644,18 @@ Wire Wire Line $Comp L ESP32-DEVKITC-32D:SL2300 Q11 U 1 1 5FB813FB -P 19750 9450 -F 0 "Q11" V 19949 9450 50 0000 C CNN -F 1 "N-channel 30V 5A" V 20040 9450 50 0000 C CNN -F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 19750 9450 50 0001 C CNN -F 3 "" H 19750 9450 50 0001 C CNN -F 4 "C350314" H 19750 9450 50 0001 C CNN "LCSC_PART_NUMBER" - 1 19750 9450 - 0 1 1 0 +P 19450 8900 +F 0 "Q11" V 19649 8900 50 0000 C CNN +F 1 "N-channel 30V 5A" V 19740 8900 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 19450 8900 50 0001 C CNN +F 3 "" H 19450 8900 50 0001 C CNN +F 4 "C350314" H 19450 8900 50 0001 C CNN "LCSC_PART_NUMBER" + 1 19450 8900 + 0 -1 -1 0 $EndComp Wire Wire Line - 19750 9150 19750 9200 -NoConn ~ 20650 8700 + 19450 9200 19450 9150 +NoConn ~ 20450 9400 $Comp L Device:R R20 U 1 1 5FC4784F @@ -694,8 +679,6 @@ F 3 "~" H 21800 6900 50 0001 C CNN 1 21800 6900 1 0 0 -1 $EndComp -Wire Wire Line - 19550 9500 19450 9500 $Comp L Jumper:SolderJumper_2_Open JP2 U 1 1 60159E6D @@ -710,12 +693,12 @@ $EndComp $Comp L Jumper:SolderJumper_2_Bridged JP4 U 1 1 6017FFC5 -P 16500 12350 -F 0 "JP4" V 16454 12418 50 0000 L CNN -F 1 "NC" V 16545 12418 50 0000 L CNN -F 2 "Jumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mm" H 16500 12350 50 0001 C CNN -F 3 "~" H 16500 12350 50 0001 C CNN - 1 16500 12350 +P 10650 14950 +F 0 "JP4" V 10604 15018 50 0000 L CNN +F 1 "NC" V 10695 15018 50 0000 L CNN +F 2 "Jumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mm" H 10650 14950 50 0001 C CNN +F 3 "~" H 10650 14950 50 0001 C CNN + 1 10650 14950 0 1 1 0 $EndComp $Comp @@ -732,25 +715,25 @@ $EndComp $Comp L Device:C_Small C13 U 1 1 603684C2 -P 20150 11900 -F 0 "C13" H 20238 11946 50 0000 L CNN -F 1 "22uf" H 20238 11855 50 0000 L CNN -F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 20150 11900 50 0001 C CNN -F 3 "~" H 20150 11900 50 0001 C CNN -F 4 "C45783" H 20150 11900 50 0001 C CNN "LCSC_PART_NUMBER" - 1 20150 11900 +P 4850 9000 +F 0 "C13" H 4938 9046 50 0000 L CNN +F 1 "22uf" H 4938 8955 50 0000 L CNN +F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 4850 9000 50 0001 C CNN +F 3 "~" H 4850 9000 50 0001 C CNN +F 4 "C45783" H 4850 9000 50 0001 C CNN "LCSC_PART_NUMBER" + 1 4850 9000 1 0 0 -1 $EndComp Wire Wire Line - 20200 11800 20150 11800 -Connection ~ 20150 11800 + 4900 8900 4850 8900 +Connection ~ 4850 8900 Wire Wire Line - 20150 11800 20100 11800 + 4850 8900 4800 8900 Wire Wire Line - 20100 12000 20150 12000 -Connection ~ 20150 12000 + 4800 9100 4850 9100 +Connection ~ 4850 9100 Wire Wire Line - 20150 12000 20200 12000 + 4850 9100 4900 9100 Text GLabel 5050 1250 2 50 Input ~ 0 GND Wire Wire Line @@ -763,9 +746,9 @@ Text GLabel 15700 9500 2 50 Input ~ 0 GND Text GLabel 16750 9500 3 50 Input ~ 0 GND -Text GLabel 16500 12550 3 50 Input ~ 0 +Text GLabel 10650 15150 3 50 Input ~ 0 GND -Text GLabel 15450 12550 3 50 Input ~ 0 +Text GLabel 9600 15150 3 50 Input ~ 0 GND Text GLabel 18300 2250 2 50 Input ~ 0 GND @@ -857,7 +840,7 @@ F 4 "C17506" H 16500 6300 50 0001 C CNN "LCSC_PART_NUMBER" 1 16500 6300 1 0 0 -1 $EndComp -Text GLabel 17350 5750 2 50 Input ~ 0 +Text GLabel 17700 5750 2 50 Input ~ 0 PUMP_PWR Connection ~ 16150 5750 $Comp @@ -938,8 +921,6 @@ Wire Wire Line 15050 6500 15050 6100 Wire Wire Line 3700 900 4150 900 -Text GLabel 3650 900 0 50 Input ~ 0 -PWR_SENSORS Text Notes 5050 750 0 105 ~ 0 One Wire Connection ~ 3700 900 @@ -1629,8 +1610,6 @@ Wire Wire Line Wire Wire Line 2900 11550 2750 11550 Connection ~ 1550 11550 -Wire Wire Line - 1550 11550 1700 11550 Wire Wire Line 1550 11500 1550 11550 Wire Wire Line @@ -1723,36 +1702,6 @@ F 4 "C2296" H 2900 11400 50 0001 C CNN "LCSC_PART_NUMBER" 1 2900 11400 0 -1 -1 0 $EndComp -Wire Wire Line - 1700 10900 1700 10850 -Text GLabel 1700 10850 1 50 Input ~ 0 -VCC -Wire Wire Line - 1700 11250 1700 11200 -$Comp -L Device:R R5 -U 1 1 5F7E5EEC -P 1700 11050 -F 0 "R5" H 1770 11096 50 0000 L CNN -F 1 "270" H 1770 11005 50 0000 L CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 1630 11050 50 0001 C CNN -F 3 "~" H 1700 11050 50 0001 C CNN -F 4 "C17590" H 1700 11050 50 0001 C CNN "LCSC_PART_NUMBER" - 1 1700 11050 - 1 0 0 -1 -$EndComp -$Comp -L Device:LED D1 -U 1 1 5F7E5EE6 -P 1700 11400 -F 0 "D1" V 1739 11282 50 0000 R CNN -F 1 "LED_Blue" V 1648 11282 50 0000 R CNN -F 2 "LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 1700 11400 50 0001 C CNN -F 3 "~" H 1700 11400 50 0001 C CNN -F 4 "C2293" H 1700 11400 50 0001 C CNN "LCSC_PART_NUMBER" - 1 1700 11400 - 0 -1 -1 0 -$EndComp Wire Wire Line 9500 10950 9500 10900 Text GLabel 9500 10900 1 50 Input ~ 0 @@ -2028,8 +1977,6 @@ Text GLabel 2450 11400 1 50 Input ~ 0 PLANT_CTRL_PUMP_1 Text GLabel 2750 11500 1 50 Input ~ 0 PLANT1_PUMP -Text GLabel 1250 11400 1 50 Input ~ 0 -PLANT_CTRL_PUMP_0 Text GLabel 1550 11500 1 50 Input ~ 0 PLANT0_PUMP Text GLabel 9050 11450 1 50 Input ~ 0 @@ -2148,9 +2095,6 @@ Connection ~ 7450 11800 Wire Wire Line 9050 11750 9050 11800 Connection ~ 9050 11800 -Wire Wire Line - 1700 11550 1800 11550 -Connection ~ 1700 11550 Wire Wire Line 9500 11600 9600 11600 Connection ~ 9500 11600 @@ -2177,7 +2121,7 @@ Text GLabel 2000 11250 1 50 Input ~ 0 GND Text Notes 16600 8500 2 207 ~ 0 Power for Pumps -Text Notes 16900 10950 2 207 ~ 0 +Text Notes 11050 13550 2 207 ~ 0 Power for Sensors Text Notes 17050 5450 2 207 ~ 0 DC / DC Converter @@ -2321,40 +2265,40 @@ GND Text GLabel 8600 1550 1 50 Input ~ 0 3_3V Wire Wire Line - 16450 11300 16500 11300 + 10600 13900 10650 13900 $Comp L Diode:BAS40-04 D25 U 1 1 5FC8E1C3 -P 16800 11400 -F 0 "D25" H 16800 11725 50 0000 C CNN -F 1 "BAS40-04" H 16800 11634 50 0000 C CNN -F 2 "Package_TO_SOT_SMD:SOT-23" H 16550 11700 50 0001 L CNN -F 3 "http://www.vishay.com/docs/85701/bas40v.pdf" H 16680 11500 50 0001 C CNN -F 4 "C79199" H 16800 11400 50 0001 C CNN "LCSC_PART_NUMBER" - 1 16800 11400 +P 10950 14000 +F 0 "D25" H 10950 14325 50 0000 C CNN +F 1 "BAS40-04" H 10950 14234 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-23" H 10700 14300 50 0001 L CNN +F 3 "http://www.vishay.com/docs/85701/bas40v.pdf" H 10830 14100 50 0001 C CNN +F 4 "C79199" H 10950 14000 50 0001 C CNN "LCSC_PART_NUMBER" + 1 10950 14000 1 0 0 -1 $EndComp -Text GLabel 16450 11300 0 50 Input ~ 0 +Text GLabel 10600 13900 0 50 Input ~ 0 GND Wire Wire Line - 16150 11550 16150 11650 -Text GLabel 17100 11300 3 50 Input ~ 0 + 10300 14150 10300 14250 +Text GLabel 11250 13900 3 50 Input ~ 0 VCC Wire Wire Line - 16800 11500 16500 11500 + 10950 14100 10650 14100 Wire Wire Line - 16500 11500 16500 11650 + 10650 14100 10650 14250 Wire Wire Line - 16500 11650 16150 11650 -Connection ~ 16150 11650 + 10650 14250 10300 14250 +Connection ~ 10300 14250 Wire Wire Line - 16150 11650 16150 11800 + 10300 14250 10300 14400 Wire Notes Line 13500 1000 22550 1000 Wire Notes Line 22550 1000 22550 10500 Wire Notes Line - 22550 10500 13500 10500 + 22600 12950 13550 12950 Wire Notes Line 13500 4000 22550 4000 Wire Notes Line @@ -2380,70 +2324,63 @@ Custom extension connector $Comp L Transistor_FET:BSS84 Q_PWR3 U 1 1 5FFD58C5 -P 19300 7450 -F 0 "Q_PWR3" H 19504 7496 50 0000 L CNN -F 1 "P-channel 50v 4A" H 19504 7405 50 0000 L CNN -F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 19500 7375 50 0001 L CIN -F 3 "" H 19300 7450 50 0001 L CNN -F 4 "C344010" H 19300 7450 50 0001 C CNN "LCSC_PART_NUMBER" - 1 19300 7450 +P 18900 7400 +F 0 "Q_PWR3" H 19104 7446 50 0000 L CNN +F 1 "P-channel 50v 4A" H 19104 7355 50 0000 L CNN +F 2 "Package_TO_SOT_SMD:SOT-23_Handsoldering" H 19100 7325 50 0001 L CIN +F 3 "" H 18900 7400 50 0001 L CNN +F 4 "C344010" H 18900 7400 50 0001 C CNN "LCSC_PART_NUMBER" + 1 18900 7400 1 0 0 -1 $EndComp $Comp L Device:R R58 U 1 1 5FFD69D9 -P 18850 7450 -F 0 "R58" V 18643 7450 50 0000 C CNN -F 1 "10k" V 18734 7450 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 18780 7450 50 0001 C CNN -F 3 "~" H 18850 7450 50 0001 C CNN -F 4 "C17414" H 18850 7450 50 0001 C CNN "LCSC_PART_NUMBER" - 1 18850 7450 +P 18450 7400 +F 0 "R58" V 18243 7400 50 0000 C CNN +F 1 "10k" V 18334 7400 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 18380 7400 50 0001 C CNN +F 3 "~" H 18450 7400 50 0001 C CNN +F 4 "C17414" H 18450 7400 50 0001 C CNN "LCSC_PART_NUMBER" + 1 18450 7400 0 1 1 0 $EndComp $Comp L Device:R R59 U 1 1 5FFD6F58 -P 19050 7600 -F 0 "R59" H 19120 7646 50 0000 L CNN -F 1 "10k" H 19120 7555 50 0000 L CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 18980 7600 50 0001 C CNN -F 3 "~" H 19050 7600 50 0001 C CNN -F 4 "C17414" H 19050 7600 50 0001 C CNN "LCSC_PART_NUMBER" - 1 19050 7600 +P 18650 7550 +F 0 "R59" H 18720 7596 50 0000 L CNN +F 1 "10k" H 18720 7505 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 18580 7550 50 0001 C CNN +F 3 "~" H 18650 7550 50 0001 C CNN +F 4 "C17414" H 18650 7550 50 0001 C CNN "LCSC_PART_NUMBER" + 1 18650 7550 1 0 0 -1 $EndComp Wire Wire Line - 19000 7450 19050 7450 -Connection ~ 19050 7450 + 18600 7400 18650 7400 +Connection ~ 18650 7400 Wire Wire Line - 19050 7450 19100 7450 + 18650 7400 18700 7400 Wire Wire Line - 19300 7150 19400 7150 + 18900 7100 19000 7100 Wire Wire Line - 19400 7150 19400 7250 -Wire Wire Line - 19050 7750 19550 7750 -Wire Wire Line - 19550 7750 19550 7650 -Connection ~ 19550 7650 -Wire Wire Line - 19550 7650 19400 7650 -Text GLabel 18500 7450 0 50 Input ~ 0 + 19000 7100 19000 7200 +Text GLabel 18100 7400 0 50 Input ~ 0 enable_all Wire Wire Line - 18500 7450 18700 7450 -Text GLabel 20000 9500 2 50 Input ~ 0 + 18100 7400 18300 7400 +Text GLabel 19200 8850 0 50 Input ~ 0 enable_all Wire Wire Line - 20000 9500 19950 9500 + 19200 8850 19250 8850 Wire Wire Line 20450 6700 20500 6700 Wire Wire Line 20500 6700 20550 6700 Connection ~ 20500 6700 Text GLabel 20500 7100 3 50 Input ~ 0 -GND_BATT +GND Wire Wire Line 20550 6700 21500 6700 Wire Wire Line @@ -2452,15 +2389,11 @@ Wire Wire Line 21500 6900 21650 6900 Connection ~ 20550 6700 Text GLabel 21950 6900 2 50 Input ~ 0 -GND_BATT +GND Text Notes 21350 6600 0 50 ~ 0 Overloading protection -Text Notes 18400 7050 0 50 ~ 0 +Text Notes 18000 7000 0 50 ~ 0 activate VCC everywhere \nonly when lipo is charged enough -Wire Wire Line - 20050 6600 20050 7650 -Wire Wire Line - 19550 7650 20050 7650 Text Notes 22000 5550 2 207 ~ 0 Solar Charger\nLipo Protection $Comp @@ -2510,8 +2443,6 @@ Text GLabel 21250 6050 0 50 Input ~ 0 enable_all Wire Wire Line 21250 6050 21450 6050 -Wire Wire Line - 20350 6150 20350 6600 Wire Wire Line 20450 6150 20450 6700 Wire Wire Line @@ -2732,11 +2663,11 @@ Text GLabel 5400 5700 2 50 Input ~ 0 CUSTOM_GPIO Text GLabel 5400 5800 2 50 Input ~ 0 PLANT_CTRL_PUMP_1 -Text GLabel 5400 5900 2 50 Input ~ 0 +Text GLabel 3950 5500 3 50 Input ~ 0 PLANT6_MOIST Text GLabel 5400 6000 2 50 Input ~ 0 PUMP_ENABLE -Text GLabel 5400 6100 2 50 Input ~ 0 +Text GLabel 4100 5700 3 50 Input ~ 0 PLANT5_MOIST Text GLabel 5400 6400 2 50 Input ~ 0 PLANT_CTRL_PUMP_0 @@ -2802,207 +2733,103 @@ Text GLabel 5400 7300 2 50 Input ~ 0 PLANT0_MOIST Text GLabel 5400 7400 2 50 Input ~ 0 PLANT1_MOIST -$Comp -L Device:R R55 -U 1 1 607EB985 -P 6100 8200 -F 0 "R55" H 6030 8154 50 0000 R CNN -F 1 "100k" H 6030 8245 50 0000 R CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 6030 8200 50 0001 C CNN -F 3 "~" H 6100 8200 50 0001 C CNN -F 4 "C17407" H 6100 8200 50 0001 C CNN "LCSC_PART_NUMBER" - 1 6100 8200 - -1 0 0 1 -$EndComp -$Comp -L Device:R R54 -U 1 1 607EB98C -P 6100 7900 -F 0 "R54" H 6170 7946 50 0000 L CNN -F 1 "33k" H 6170 7855 50 0000 L CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 6030 7900 50 0001 C CNN -F 3 "~" H 6100 7900 50 0001 C CNN -F 4 "C17633" H 6100 7900 50 0001 C CNN "LCSC_PART_NUMBER" - 1 6100 7900 - -1 0 0 1 -$EndComp -Connection ~ 6100 8050 -Text GLabel 6100 8350 3 50 Input ~ 0 +Text GLabel 19150 11500 3 50 Input ~ 0 SOLAR_IN -Wire Wire Line - 6300 8050 6100 8050 -Text GLabel 6100 7750 1 50 Input ~ 0 -GND -Text GLabel 6300 7750 1 50 Input ~ 0 -GND -$Comp -L Device:C C20 -U 1 1 607EB995 -P 6300 7900 -F 0 "C20" H 6185 7854 50 0000 R CNN -F 1 "1u" H 6185 7945 50 0000 R CNN -F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 6338 7750 50 0001 C CNN -F 3 "~" H 6300 7900 50 0001 C CNN -F 4 "C28323" H 6300 7900 50 0001 C CNN "LCSC_PART_NUMBER" - 1 6300 7900 - 1 0 0 -1 -$EndComp -Text GLabel 7000 7200 1 50 Input ~ 0 -GND -Text GLabel 7200 7200 1 50 Input ~ 0 -GND -Wire Wire Line - 7000 7500 7200 7500 -$Comp -L Device:C C21 -U 1 1 607C76C7 -P 7200 7350 -F 0 "C21" H 7085 7304 50 0000 R CNN -F 1 "1u" H 7085 7395 50 0000 R CNN -F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 7238 7200 50 0001 C CNN -F 3 "~" H 7200 7350 50 0001 C CNN -F 4 "C28323" H 7200 7350 50 0001 C CNN "LCSC_PART_NUMBER" - 1 7200 7350 - 1 0 0 -1 -$EndComp -Wire Wire Line - 7000 7850 7000 7800 -Text GLabel 7000 7850 3 50 Input ~ 0 -VCC -Connection ~ 7000 7500 -$Comp -L Device:R R57 -U 1 1 607C76BC -P 7000 7650 -F 0 "R57" H 7070 7696 50 0000 L CNN -F 1 "33k" H 7070 7605 50 0000 L CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 6930 7650 50 0001 C CNN -F 3 "~" H 7000 7650 50 0001 C CNN -F 4 "C17633" H 7000 7650 50 0001 C CNN "LCSC_PART_NUMBER" - 1 7000 7650 - -1 0 0 1 -$EndComp -$Comp -L Device:R R56 -U 1 1 607C76B5 -P 7000 7350 -F 0 "R56" H 7070 7396 50 0000 L CNN -F 1 "47k" H 7070 7305 50 0000 L CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 6930 7350 50 0001 C CNN -F 3 "~" H 7000 7350 50 0001 C CNN -F 4 "C17713" H 7000 7350 50 0001 C CNN "LCSC_PART_NUMBER" - 1 7000 7350 - -1 0 0 1 -$EndComp -Wire Wire Line - 5300 7500 7000 7500 -Wire Wire Line - 5300 7600 5800 7600 -Wire Wire Line - 5800 7600 5800 8050 -Wire Wire Line - 5800 8050 6100 8050 Text GLabel 4700 4950 1 50 Input ~ 0 3_3V Text GLabel 3800 4900 1 50 Input ~ 0 3_3V -Text GLabel 5450 5300 2 50 Input ~ 0 -IO0 $Comp L Switch:SW_Push SW2 U 1 1 60983DAC -P 6050 4500 -F 0 "SW2" H 6050 4785 50 0000 C CNN -F 1 "SW_Push" H 6050 4694 50 0000 C CNN -F 2 "Button_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2" H 6050 4700 50 0001 C CNN -F 3 "~" H 6050 4700 50 0001 C CNN -F 4 "C72443" H 6050 4500 50 0001 C CNN "LCSC_PART_NUMBER" - 1 6050 4500 - 1 0 0 -1 +P 5650 4150 +F 0 "SW2" H 5650 4435 50 0000 C CNN +F 1 "SW_Push" H 5650 4344 50 0000 C CNN +F 2 "Button_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2" H 5650 4350 50 0001 C CNN +F 3 "~" H 5650 4350 50 0001 C CNN +F 4 "C72443" H 5650 4150 50 0001 C CNN "LCSC_PART_NUMBER" + 1 5650 4150 + 0 1 1 0 $EndComp $Comp L Device:R R1 U 1 1 60983DB3 -P 6700 4500 -F 0 "R1" V 6493 4500 50 0000 C CNN -F 1 "10k" V 6584 4500 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 6630 4500 50 0001 C CNN -F 3 "~" H 6700 4500 50 0001 C CNN -F 4 "C17414" H 6700 4500 50 0001 C CNN "LCSC_PART_NUMBER" - 1 6700 4500 - 0 1 1 0 +P 5650 4800 +F 0 "R1" V 5443 4800 50 0000 C CNN +F 1 "10k" V 5534 4800 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 5580 4800 50 0001 C CNN +F 3 "~" H 5650 4800 50 0001 C CNN +F 4 "C17414" H 5650 4800 50 0001 C CNN "LCSC_PART_NUMBER" + 1 5650 4800 + -1 0 0 1 $EndComp $Comp L Device:C C1 U 1 1 60983DBA -P 6050 4650 -F 0 "C1" H 5935 4604 50 0000 R CNN -F 1 "100n" H 5935 4695 50 0000 R CNN -F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 6088 4500 50 0001 C CNN -F 3 "~" H 6050 4650 50 0001 C CNN -F 4 "C49678" H 6050 4650 50 0001 C CNN "LCSC_PART_NUMBER" - 1 6050 4650 - 0 -1 -1 0 +P 5500 4150 +F 0 "C1" H 5385 4104 50 0000 R CNN +F 1 "100n" H 5385 4195 50 0000 R CNN +F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 5538 4000 50 0001 C CNN +F 3 "~" H 5500 4150 50 0001 C CNN +F 4 "C49678" H 5500 4150 50 0001 C CNN "LCSC_PART_NUMBER" + 1 5500 4150 + 1 0 0 -1 $EndComp -Text GLabel 5650 4500 0 50 Input ~ 0 +Text GLabel 5650 3750 1 50 Input ~ 0 GND Wire Wire Line - 6250 4500 6350 4500 + 5650 4350 5650 4450 Wire Wire Line - 6200 4650 6350 4650 + 5500 4300 5500 4450 Wire Wire Line - 6350 4650 6350 4500 -Connection ~ 6350 4500 + 5500 4450 5650 4450 +Connection ~ 5650 4450 Wire Wire Line - 6350 4500 6550 4500 + 5650 4450 5650 4650 Wire Wire Line - 5650 4500 5800 4500 + 5650 3750 5650 3900 Wire Wire Line - 5900 4650 5800 4650 + 5500 4000 5500 3900 Wire Wire Line - 5800 4650 5800 4500 -Connection ~ 5800 4500 + 5500 3900 5650 3900 +Connection ~ 5650 3900 Wire Wire Line - 5800 4500 5850 4500 + 5650 3900 5650 3950 $Comp L Device:C C2 U 1 1 60983DCC -P 6900 4650 -F 0 "C2" H 7015 4696 50 0000 L CNN -F 1 "22uf" H 7015 4605 50 0000 L CNN -F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 6938 4500 50 0001 C CNN -F 3 "~" H 6900 4650 50 0001 C CNN -F 4 "C45783" H 6900 4650 50 0001 C CNN "LCSC_PART_NUMBER" - 1 6900 4650 - -1 0 0 1 +P 5500 5000 +F 0 "C2" H 5615 5046 50 0000 L CNN +F 1 "22uf" H 5615 4955 50 0000 L CNN +F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 5538 4850 50 0001 C CNN +F 3 "~" H 5500 5000 50 0001 C CNN +F 4 "C45783" H 5500 5000 50 0001 C CNN "LCSC_PART_NUMBER" + 1 5500 5000 + 0 -1 -1 0 $EndComp -Text GLabel 6900 4800 3 50 Input ~ 0 +Text GLabel 5350 5000 0 50 Input ~ 0 GND $Comp L Device:R R2 U 1 1 60983DD4 -P 6900 4350 -F 0 "R2" V 6693 4350 50 0000 C CNN -F 1 "10k" V 6784 4350 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 6830 4350 50 0001 C CNN -F 3 "~" H 6900 4350 50 0001 C CNN -F 4 "C17414" H 6900 4350 50 0001 C CNN "LCSC_PART_NUMBER" - 1 6900 4350 - -1 0 0 1 +P 5800 5000 +F 0 "R2" V 5593 5000 50 0000 C CNN +F 1 "10k" V 5684 5000 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 5730 5000 50 0001 C CNN +F 3 "~" H 5800 5000 50 0001 C CNN +F 4 "C17414" H 5800 5000 50 0001 C CNN "LCSC_PART_NUMBER" + 1 5800 5000 + 0 -1 -1 0 $EndComp Wire Wire Line - 6850 4500 6900 4500 -Connection ~ 6900 4500 + 5650 4950 5650 5000 +Connection ~ 5650 5000 Wire Wire Line - 6900 4500 7200 4500 + 5650 5000 5650 5300 Wire Wire Line - 6900 4200 6900 4100 -Text GLabel 6900 4100 1 50 Input ~ 0 + 5950 5000 6050 5000 +Text GLabel 6050 5000 2 50 Input ~ 0 3_3V -Text GLabel 7200 4500 2 50 Input ~ 0 -IO0 -Wire Wire Line - 5300 5300 5450 5300 NoConn ~ 4100 6700 NoConn ~ 4100 6800 NoConn ~ 4100 7000 @@ -3015,12 +2842,8 @@ Wire Wire Line 5300 5700 5400 5700 Wire Wire Line 5300 5800 5400 5800 -Wire Wire Line - 5300 5900 5400 5900 Wire Wire Line 5300 6000 5400 6000 -Wire Wire Line - 5300 6100 5400 6100 Wire Wire Line 5300 6300 5400 6300 Wire Wire Line @@ -3043,78 +2866,6 @@ Wire Wire Line 5300 7300 5400 7300 Wire Wire Line 5300 7400 5400 7400 -$Comp -L Device:R R62 -U 1 1 5FF6B113 -P 3250 5900 -F 0 "R62" V 3043 5900 50 0000 C CNN -F 1 "10k" V 3134 5900 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 3180 5900 50 0001 C CNN -F 3 "~" H 3250 5900 50 0001 C CNN -F 4 "C17414" H 3250 5900 50 0001 C CNN "LCSC_PART_NUMBER" - 1 3250 5900 - -1 0 0 1 -$EndComp -$Comp -L Device:R R63 -U 1 1 5FF6B446 -P 3250 6200 -F 0 "R63" V 3043 6200 50 0000 C CNN -F 1 "10k" V 3134 6200 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 3180 6200 50 0001 C CNN -F 3 "~" H 3250 6200 50 0001 C CNN -F 4 "C17414" H 3250 6200 50 0001 C CNN "LCSC_PART_NUMBER" - 1 3250 6200 - -1 0 0 1 -$EndComp -Wire Wire Line - 4050 6050 3250 6050 -Wire Wire Line - 4100 5500 4050 5500 -Wire Wire Line - 4050 5500 4050 6050 -Connection ~ 3250 6050 -Text GLabel 3250 5750 1 50 Input ~ 0 -3_3V -Text GLabel 3250 6350 3 50 Input ~ 0 -GND -$Comp -L Device:R R4 -U 1 1 5FFCD492 -P 2750 6900 -F 0 "R4" H 2820 6946 50 0000 L CNN -F 1 "33k" H 2820 6855 50 0000 L CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 2680 6900 50 0001 C CNN -F 3 "~" H 2750 6900 50 0001 C CNN -F 4 "C17633" H 2750 6900 50 0001 C CNN "LCSC_PART_NUMBER" - 1 2750 6900 - -1 0 0 1 -$EndComp -$Comp -L Device:R R3 -U 1 1 5FFCE5D1 -P 2750 6600 -F 0 "R3" V 2543 6600 50 0000 C CNN -F 1 "10k" V 2634 6600 50 0000 C CNN -F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 2680 6600 50 0001 C CNN -F 3 "~" H 2750 6600 50 0001 C CNN -F 4 "C17414" H 2750 6600 50 0001 C CNN "LCSC_PART_NUMBER" - 1 2750 6600 - -1 0 0 1 -$EndComp -Text GLabel 2750 6450 1 50 Input ~ 0 -3_3V -Text GLabel 2750 7050 3 50 Input ~ 0 -GND -Wire Wire Line - 4100 5600 4100 6200 -Wire Wire Line - 4100 6200 3550 6200 -Wire Wire Line - 3550 6200 3550 6750 -Wire Wire Line - 3550 6750 2900 6750 -Connection ~ 2750 6750 Wire Wire Line 5300 6400 5400 6400 Wire Wire Line @@ -3125,64 +2876,271 @@ Wire Wire Line 5300 6200 6450 6200 Connection ~ 7150 6400 Wire Wire Line - 20050 7650 21350 7650 + 21150 9300 21050 9300 Wire Wire Line - 21350 7650 21350 8600 -Wire Wire Line - 21350 8600 21250 8600 -Connection ~ 20050 7650 -Wire Wire Line - 21550 9400 21600 9400 + 21700 7600 21750 7600 $Comp L Connector:Conn_01x02_Female J4 U 1 1 5F8D742C -P 21800 9400 -F 0 "J4" H 21828 9376 50 0000 L CNN -F 1 "Conn_01x02_Female" H 21200 9200 50 0000 L CNN -F 2 "misc_footprints:BatteryHolder_Keystone_1042_1x18650" H 21800 9400 50 0001 C CNN -F 3 "~" H 21800 9400 50 0001 C CNN - 1 21800 9400 +P 21950 7600 +F 0 "J4" H 21978 7576 50 0000 L CNN +F 1 "Conn_01x02_Female" H 21350 7400 50 0000 L CNN +F 2 "misc_footprints:BatteryHolder_Keystone_1042_1x18650" H 21950 7600 50 0001 C CNN +F 3 "~" H 21950 7600 50 0001 C CNN + 1 21950 7600 1 0 0 -1 $EndComp -Text Notes 21350 9300 0 50 ~ 0 +Text Notes 21500 7500 0 50 ~ 0 LIPO mount -$Comp -L Device:C C22 -U 1 1 6015DF8C -P 2900 6900 -F 0 "C22" H 2785 6854 50 0000 R CNN -F 1 "100n" H 2785 6945 50 0000 R CNN -F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 2938 6750 50 0001 C CNN -F 3 "~" H 2900 6900 50 0001 C CNN -F 4 "C49678" H 2900 6900 50 0001 C CNN "LCSC_PART_NUMBER" - 1 2900 6900 - -1 0 0 1 -$EndComp -Connection ~ 2900 6750 -Wire Wire Line - 2900 6750 2750 6750 -$Comp -L Device:C C23 -U 1 1 6016C333 -P 3100 6200 -F 0 "C23" H 2985 6154 50 0000 R CNN -F 1 "100n" H 2985 6245 50 0000 R CNN -F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 3138 6050 50 0001 C CNN -F 3 "~" H 3100 6200 50 0001 C CNN -F 4 "C49678" H 3100 6200 50 0001 C CNN "LCSC_PART_NUMBER" - 1 3100 6200 - -1 0 0 1 -$EndComp -Text GLabel 3100 6350 3 50 Input ~ 0 -GND -Text GLabel 2900 7050 3 50 Input ~ 0 -GND -Wire Wire Line - 3100 6050 3250 6050 Text GLabel 18250 2600 0 50 Input ~ 0 PUMP_PWR Text Notes 17150 4650 0 1012 ~ 202 XOR Wire Wire Line 8900 1850 9500 1850 +Text GLabel 17650 6400 3 50 Input ~ 0 +SOLAR_IN +$Comp +L Device:D D? +U 1 1 60026D9A +P 17650 5900 +F 0 "D?" H 17650 5683 50 0000 C CNN +F 1 "40V >2A" H 17650 5774 50 0000 C CNN +F 2 "Diode_SMD:D_SOD-123F" H 17650 5900 50 0001 C CNN +F 3 "~" H 17650 5900 50 0001 C CNN +F 4 "C496544" H 17650 5800 50 0000 C CNN "LCSC_PART_NUMBER" + 1 17650 5900 + 0 1 1 0 +$EndComp +Wire Wire Line + 17650 6400 17650 6350 +Text GLabel 1250 11400 1 50 Input ~ 0 +PLANT_CTRL_PUMP_0 +Connection ~ 1700 11550 +Wire Wire Line + 1700 11550 1800 11550 +Wire Wire Line + 1550 11550 1700 11550 +$Comp +L Device:LED D1 +U 1 1 5F7E5EE6 +P 1700 11400 +F 0 "D1" V 1739 11282 50 0000 R CNN +F 1 "LED_Blue" V 1648 11282 50 0000 R CNN +F 2 "LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 1700 11400 50 0001 C CNN +F 3 "~" H 1700 11400 50 0001 C CNN +F 4 "C2293" H 1700 11400 50 0001 C CNN "LCSC_PART_NUMBER" + 1 1700 11400 + 0 -1 -1 0 +$EndComp +$Comp +L Device:R R5 +U 1 1 5F7E5EEC +P 1700 11050 +F 0 "R5" H 1770 11096 50 0000 L CNN +F 1 "270" H 1770 11005 50 0000 L CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 1630 11050 50 0001 C CNN +F 3 "~" H 1700 11050 50 0001 C CNN +F 4 "C17590" H 1700 11050 50 0001 C CNN "LCSC_PART_NUMBER" + 1 1700 11050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1700 11250 1700 11200 +Text GLabel 1700 10850 1 50 Input ~ 0 +VCC +Wire Wire Line + 1700 10900 1700 10850 +Wire Wire Line + 17350 5750 17650 5750 +$Comp +L Jumper:SolderJumper_2_Bridged JP? +U 1 1 600D5D67 +P 17650 6200 +F 0 "JP?" V 17604 6268 50 0000 L CNN +F 1 "SolderJumper_2_Bridged" V 17695 6268 50 0000 L CNN +F 2 "" H 17650 6200 50 0001 C CNN +F 3 "~" H 17650 6200 50 0001 C CNN + 1 17650 6200 + 0 1 1 0 +$EndComp +Connection ~ 17650 5750 +Wire Wire Line + 17650 5750 17700 5750 +Text GLabel 20350 6200 3 50 Input ~ 0 +VCC_BAT_FUSED +Text GLabel 19050 7650 2 50 Input ~ 0 +VCC_BAT_FUSED +Wire Wire Line + 18650 7700 19000 7700 +Wire Wire Line + 19000 7700 19000 7650 +Text GLabel 21150 9300 2 50 Input ~ 0 +VCC_BAT_FUSED +Wire Wire Line + 19050 7650 19000 7650 +Connection ~ 19000 7650 +Wire Wire Line + 19000 7650 19000 7600 +Wire Wire Line + 20350 6200 20350 6150 +Connection ~ 19450 9200 +Wire Wire Line + 20450 8850 20450 9000 +Wire Wire Line + 19650 8850 20450 8850 +Connection ~ 20450 9000 +$Comp +L DW01:DS2438 U? +U 1 1 602698F7 +P 20000 10050 +F 0 "U?" H 20025 10115 50 0000 C CNN +F 1 "DS2438" H 20025 10024 50 0000 C CNN +F 2 "" H 20000 10050 50 0001 C CNN +F 3 "" H 20000 10050 50 0001 C CNN + 1 20000 10050 + 1 0 0 -1 +$EndComp +Text GLabel 20600 11050 2 50 Input ~ 0 +VCC +Text GLabel 20600 10300 2 50 Input ~ 0 +Temp +NoConn ~ 20600 10550 +NoConn ~ 20600 10800 +$Comp +L Device:R Shunt +U 1 1 602ABE39 +P 21150 7700 +F 0 "Shunt" V 20943 7700 50 0000 C CNN +F 1 "0.025" V 21034 7700 50 0000 C CNN +F 2 "" V 21080 7700 50 0001 C CNN +F 3 "~" H 21150 7700 50 0001 C CNN + 1 21150 7700 + 0 1 1 0 +$EndComp +Text GLabel 21000 7750 3 50 Input ~ 0 +Rsense+ +Text GLabel 21300 7750 3 50 Input ~ 0 +Rsense- +Text GLabel 19000 10500 0 50 Input ~ 0 +Rsense+ +Text GLabel 19000 10800 0 50 Input ~ 0 +Rsense- +Wire Wire Line + 19450 10800 19350 10800 +Connection ~ 20350 6150 +Wire Wire Line + 21300 7750 21300 7700 +Connection ~ 21300 7700 +Wire Wire Line + 21000 7750 21000 7700 +Wire Wire Line + 21000 7700 20950 7700 +Connection ~ 21000 7700 +Text GLabel 19150 9300 0 50 Input ~ 0 +SOLAR_GND +Text GLabel 20550 6600 2 50 Input ~ 0 +SOLAR_GND +Wire Wire Line + 21300 7700 21750 7700 +Text GLabel 19450 10300 0 50 Input ~ 0 +Rsense- +Wire Wire Line + 19450 10550 19400 10550 +Wire Wire Line + 19400 10550 19400 10500 +$Comp +L Device:R R? +U 1 1 6056B7D1 +P 19150 10800 +F 0 "R?" H 19080 10754 50 0000 R CNN +F 1 "100k" H 19080 10845 50 0000 R CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 19080 10800 50 0001 C CNN +F 3 "~" H 19150 10800 50 0001 C CNN +F 4 "C17407" H 19150 10800 50 0001 C CNN "LCSC_PART_NUMBER" + 1 19150 10800 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 19000 10500 19350 10500 +$Comp +L Device:C C? +U 1 1 6056CF4C +P 19350 10650 +F 0 "C?" H 19235 10604 50 0000 R CNN +F 1 "100n" H 19235 10695 50 0000 R CNN +F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 19388 10500 50 0001 C CNN +F 3 "~" H 19350 10650 50 0001 C CNN +F 4 "C49678" H 19350 10650 50 0001 C CNN "LCSC_PART_NUMBER" + 1 19350 10650 + -1 0 0 1 +$EndComp +Connection ~ 19350 10800 +Wire Wire Line + 19350 10800 19300 10800 +Connection ~ 19350 10500 +Wire Wire Line + 19350 10500 19400 10500 +Text GLabel 3650 900 0 50 Input ~ 0 +3_3V +Text GLabel 5000 1050 2 50 Input ~ 0 +3_3V +$Comp +L Device:R R? +U 1 1 60591E82 +P 19300 11450 +F 0 "R?" V 19093 11450 50 0000 C CNN +F 1 "10k" V 19184 11450 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 19230 11450 50 0001 C CNN +F 3 "~" H 19300 11450 50 0001 C CNN +F 4 "C17414" H 19300 11450 50 0001 C CNN "LCSC_PART_NUMBER" + 1 19300 11450 + 0 1 1 0 +$EndComp +$Comp +L Device:R R? +U 1 1 60592B8B +P 19600 11450 +F 0 "R?" V 19393 11450 50 0000 C CNN +F 1 "10k" V 19484 11450 50 0000 C CNN +F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" V 19530 11450 50 0001 C CNN +F 3 "~" H 19600 11450 50 0001 C CNN +F 4 "C17414" H 19600 11450 50 0001 C CNN "LCSC_PART_NUMBER" + 1 19600 11450 + 0 1 1 0 +$EndComp +Text GLabel 19750 11500 3 50 Input ~ 0 +Rsense+ +Wire Wire Line + 19150 11500 19150 11450 +Wire Wire Line + 19750 11500 19750 11450 +Wire Wire Line + 19450 11050 19450 11450 +Connection ~ 19450 11450 +Wire Wire Line + 3950 5500 4100 5500 +Wire Wire Line + 4100 5600 4100 5700 +Wire Wire Line + 5300 5300 5650 5300 +$Comp +L Connector:Conn_01x04_Female J? +U 1 1 607BAC29 +P 6550 7500 +F 0 "J?" H 6578 7476 50 0000 L CNN +F 1 "Conn_01x04_Female" H 6578 7385 50 0000 L CNN +F 2 "" H 6550 7500 50 0001 C CNN +F 3 "~" H 6550 7500 50 0001 C CNN + 1 6550 7500 + 1 0 0 -1 +$EndComp +Text GLabel 6350 7400 0 50 Input ~ 0 +GND +Text GLabel 6350 7700 0 50 Input ~ 0 +3_3V +Wire Wire Line + 5300 7500 6350 7500 +Wire Wire Line + 6350 7600 5300 7600 $EndSCHEMATC diff --git a/board/kicad-stuff/DW01.dcm b/board/kicad-stuff/DW01.dcm new file mode 100644 index 0000000..5dd71cb --- /dev/null +++ b/board/kicad-stuff/DW01.dcm @@ -0,0 +1,3 @@ +EESchema-DOCLIB Version 2.0 +# +#End Doc Library diff --git a/board/kicad-stuff/DW01.lib b/board/kicad-stuff/DW01.lib index 09357cd..a19cd5f 100644 --- a/board/kicad-stuff/DW01.lib +++ b/board/kicad-stuff/DW01.lib @@ -1,33 +1,49 @@ -EESchema-LIBRARY Version 2.3 -#encoding utf-8 -#(c) SnapEDA 2016 (snapeda.com) -#This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA) with Design Exception 1.0 -# -# DW01 -# -DEF DW01 IC 0 40 Y Y 1 L N -F0 "IC" 850 300 50 H V L BNN -F1 "DW01" 850 200 50 H V L BNN -F2 "SOT95P280X135-6N" 0 0 50 H I L BNN -F3 "" 0 0 50 H I L BNN -F4 "1.35mm" 0 0 50 H I L BNN "HEIGHT" -F5 "ic" 0 0 50 H I L BNN "DESCRIPTION" -F6 "" 0 0 50 H I L BNN "LCSC_PRICE-STOCK" -F7 "DW01" 0 0 50 H I L BNN "MANUFACTURER_PART_NUMBER" -F8 "" 0 0 50 H I L BNN "LCSC_PART_NUMBER" -F9 "Slkor" 0 0 50 H I L BNN "MANUFACTURER_NAME" -DRAW -P 2 0 0 10 200 100 800 100 N -P 2 0 0 10 800 -300 800 100 N -P 2 0 0 10 800 -300 200 -300 N -P 2 0 0 10 200 100 200 -300 N -X OD 1 0 0 200 R 40 40 0 0 B -X CSI 2 0 -100 200 R 40 40 0 0 B -X OC 3 0 -200 200 R 40 40 0 0 B -X VSS 6 1000 0 200 L 40 40 0 0 B -X VDD 5 1000 -100 200 L 40 40 0 0 B -X TD 4 1000 -200 200 L 40 40 0 0 B -ENDDRAW -ENDDEF -# -# End Library \ No newline at end of file +EESchema-LIBRARY Version 2.4 +#encoding utf-8 +# +# DS2438 +# +DEF DS2438 U 0 40 Y Y 1 F N +F0 "U" 0 0 50 H V C CNN +F1 "DS2438" 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 -450 -100 500 -1200 0 1 0 f +X GND 1 -550 -250 100 R 50 50 1 1 W +X Vsens+ 2 -550 -500 100 R 50 50 1 1 U +X Vsense- 3 -550 -750 100 R 50 50 1 1 U +X Vad 4 -550 -1000 100 R 50 50 1 1 I +X Vdd 5 600 -1000 100 L 50 50 1 1 W +X NC 6 600 -750 100 L 50 50 1 1 U +X NC 7 600 -500 100 L 50 50 1 1 U +X DQ 8 600 -250 100 L 50 50 1 1 B +ENDDRAW +ENDDEF +# +# DW01 +# +DEF DW01 IC 0 40 Y Y 1 L N +F0 "IC" 850 300 50 H V L BNN +F1 "DW01" 850 200 50 H V L BNN +F2 "SOT95P280X135-6N" 0 0 50 H I L BNN +F3 "" 0 0 50 H I L BNN +F4 "1.35mm" 0 0 50 H I L BNN "HEIGHT" +F5 "ic" 0 0 50 H I L BNN "DESCRIPTION" +F6 "DW01" 0 0 50 H I L BNN "MANUFACTURER_PART_NUMBER" +F7 "Slkor" 0 0 50 H I L BNN "MANUFACTURER_NAME" +DRAW +P 2 0 0 10 200 100 200 -300 N +P 2 0 0 10 200 100 800 100 N +P 2 0 0 10 800 -300 200 -300 N +P 2 0 0 10 800 -300 800 100 N +X OD 1 0 0 200 R 40 40 0 0 B +X CSI 2 0 -100 200 R 40 40 0 0 B +X OC 3 0 -200 200 R 40 40 0 0 B +X TD 4 1000 -200 200 L 40 40 0 0 B +X VDD 5 1000 -100 200 L 40 40 0 0 B +X VSS 6 1000 0 200 L 40 40 0 0 B +ENDDRAW +ENDDEF +# +#End Library