Added Lipo protection into schematic

This commit is contained in:
c3ma 2020-11-11 19:10:42 +01:00
parent 6e6dec8d5f
commit 65cbfd9442
2 changed files with 287 additions and 157 deletions

View File

@ -4,10 +4,10 @@ EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Title "Plant Controller"
Date "2020-11-11"
Rev "0.3"
Comp "C3MA"
Comment1 ""
Comment2 ""
Comment3 ""
@ -134,7 +134,7 @@ Text GLabel 1150 2050 0 50 Input ~ 0
PLANT6_PUMP
Text Notes 950 550 0 50 ~ 0
Pump Control
Text Notes 1100 5400 0 50 ~ 0
Text Notes 2600 7500 0 50 ~ 0
Lipo
Text Notes 4050 2650 1 50 ~ 0
Sensors
@ -542,44 +542,44 @@ Wire Wire Line
$Comp
L Connector_Generic:Conn_01x04 J3
U 1 1 5F837F50
P 1750 3150
F 0 "J3" H 1830 3142 50 0000 L CNN
F 1 "Conn_01x04" H 1830 3051 50 0000 L CNN
F 2 "misc_footprints:MT3608_module_SMT" H 1750 3150 50 0001 C CNN
F 3 "~" H 1750 3150 50 0001 C CNN
1 1750 3150
P 1600 2750
F 0 "J3" H 1680 2742 50 0000 L CNN
F 1 "Conn_01x04" H 1680 2651 50 0000 L CNN
F 2 "misc_footprints:MT3608_module_SMT" H 1600 2750 50 0001 C CNN
F 3 "~" H 1600 2750 50 0001 C CNN
1 1600 2750
1 0 0 -1
$EndComp
Text GLabel 1550 3050 0 50 Input ~ 0
Text GLabel 1400 2650 0 50 Input ~ 0
PWR_PUMP_CONVERTER
Text GLabel 1550 3150 0 50 Input ~ 0
Text GLabel 1400 2750 0 50 Input ~ 0
GND
Text GLabel 1550 3250 0 50 Input ~ 0
Text GLabel 1400 2850 0 50 Input ~ 0
GND
Text GLabel 1550 3350 0 50 Input ~ 0
Text GLabel 1400 2950 0 50 Input ~ 0
PUMP_PWR
$Comp
L LP38690DT-3.3:LP38690DT-3.3 U3
U 1 1 5F84FA14
P 1400 5300
F 0 "U3" H 1400 5665 50 0000 C CNN
F 1 "LP38690DT-3.3" H 1400 5574 50 0000 C CNN
F 2 "ESP32:DPAK457P991X255-3N" H 1400 5300 50 0001 L BNN
F 3 "IPC-7351B" H 1400 5300 50 0001 L BNN
F 4 "Texas Instruments" H 1400 5300 50 0001 L BNN "Field4"
F 5 "M" H 1400 5300 50 0001 L BNN "Field5"
F 6 "2.55mm" H 1400 5300 50 0001 L BNN "Field6"
1 1400 5300
P 2900 7400
F 0 "U3" H 2900 7765 50 0000 C CNN
F 1 "LP38690DT-3.3" H 2900 7674 50 0000 C CNN
F 2 "ESP32:DPAK457P991X255-3N" H 2900 7400 50 0001 L BNN
F 3 "IPC-7351B" H 2900 7400 50 0001 L BNN
F 4 "Texas Instruments" H 2900 7400 50 0001 L BNN "Field4"
F 5 "M" H 2900 7400 50 0001 L BNN "Field5"
F 6 "2.55mm" H 2900 7400 50 0001 L BNN "Field6"
1 2900 7400
1 0 0 -1
$EndComp
Text GLabel 2000 5400 2 50 Input ~ 0
Text GLabel 3500 7500 2 50 Input ~ 0
GND
Text GLabel 2000 5200 2 50 Input ~ 0
Text GLabel 3500 7300 2 50 Input ~ 0
3_3V
Text GLabel 4150 5700 0 50 Input ~ 0
3_3V
NoConn ~ 4200 7500
Text GLabel 800 5200 0 50 Input ~ 0
Text GLabel 2300 7300 0 50 Input ~ 0
LIPO+
Wire Wire Line
10550 6100 10700 6100
@ -1004,37 +1004,28 @@ CUSTOM_GPIO
$Comp
L Connector:Conn_01x02_Female J4
U 1 1 5F8D742C
P 1300 4100
F 0 "J4" H 1328 4076 50 0000 L CNN
F 1 "Conn_01x02_Female" H 1000 3900 50 0000 L CNN
F 2 "misc_footprints:BatteryHolder_Keystone_1042_1x18650" H 1300 4100 50 0001 C CNN
F 3 "~" H 1300 4100 50 0001 C CNN
1 1300 4100
P 3050 4300
F 0 "J4" H 3078 4276 50 0000 L CNN
F 1 "Conn_01x02_Female" H 2450 4100 50 0000 L CNN
F 2 "misc_footprints:BatteryHolder_Keystone_1042_1x18650" H 3050 4300 50 0001 C CNN
F 3 "~" H 3050 4300 50 0001 C CNN
1 3050 4300
1 0 0 -1
$EndComp
Text Notes 1200 4000 0 50 ~ 0
Fuse for Lipo
Text GLabel 900 4200 0 50 Input ~ 0
GND
Wire Wire Line
900 4200 950 4200
Text Notes 1300 3850 0 50 ~ 0
Protection for Lipo
$Comp
L power:GND #PWR0120
U 1 1 5F95011F
P 950 4450
F 0 "#PWR0120" H 950 4200 50 0001 C CNN
F 1 "GND" H 955 4277 50 0000 C CNN
F 2 "" H 950 4450 50 0001 C CNN
F 3 "" H 950 4450 50 0001 C CNN
1 950 4450
P 2000 5200
F 0 "#PWR0120" H 2000 4950 50 0001 C CNN
F 1 "GND" H 2005 5027 50 0000 C CNN
F 2 "" H 2000 5200 50 0001 C CNN
F 3 "" H 2000 5200 50 0001 C CNN
1 2000 5200
1 0 0 -1
$EndComp
Wire Wire Line
950 4450 950 4200
Connection ~ 950 4200
Wire Wire Line
950 4200 1100 4200
Text Notes 900 2950 0 50 ~ 0
Text Notes 750 2550 0 50 ~ 0
Pump Voltage Converter
Wire Wire Line
11050 6250 11050 6300
@ -1049,21 +1040,21 @@ F 3 "~" H 3050 2550 50 0001 C CNN
1 3050 2550
1 0 0 -1
$EndComp
Text GLabel 2350 2750 0 50 Input ~ 0
Text GLabel 2500 2750 0 50 Input ~ 0
PWR_SENSORS
Text GLabel 2350 2650 0 50 Input ~ 0
Text GLabel 2500 2650 0 50 Input ~ 0
TANK_TRIGGER
Text GLabel 2350 2550 0 50 Input ~ 0
Text GLabel 2500 2550 0 50 Input ~ 0
TANK_ECHO
$Comp
L power:GND #PWR0121
U 1 1 5F9F8100
P 2850 2450
F 0 "#PWR0121" H 2850 2200 50 0001 C CNN
F 1 "GND" V 2855 2322 50 0000 R CNN
F 2 "" H 2850 2450 50 0001 C CNN
F 3 "" H 2850 2450 50 0001 C CNN
1 2850 2450
P 2500 2450
F 0 "#PWR0121" H 2500 2200 50 0001 C CNN
F 1 "GND" V 2505 2322 50 0000 R CNN
F 2 "" H 2500 2450 50 0001 C CNN
F 3 "" H 2500 2450 50 0001 C CNN
1 2500 2450
0 1 1 0
$EndComp
Wire Wire Line
@ -1082,15 +1073,14 @@ $EndComp
$Comp
L power:PWR_FLAG #FLG0101
U 1 1 5FA3662A
P 950 4450
F 0 "#FLG0101" H 950 4525 50 0001 C CNN
F 1 "PWR_FLAG" V 950 4578 50 0000 L CNN
F 2 "" H 950 4450 50 0001 C CNN
F 3 "~" H 950 4450 50 0001 C CNN
1 950 4450
0 1 1 0
P 2000 5200
F 0 "#FLG0101" H 2000 5275 50 0001 C CNN
F 1 "PWR_FLAG" H 1900 5350 50 0000 L CNN
F 2 "" H 2000 5200 50 0001 C CNN
F 3 "~" H 2000 5200 50 0001 C CNN
1 2000 5200
1 0 0 -1
$EndComp
Connection ~ 950 4450
Text GLabel 5900 6800 2 50 Input ~ 0
SENSORS_ENABLE
$Comp
@ -2391,44 +2381,31 @@ $EndComp
Connection ~ 10700 5400
Wire Wire Line
10700 5400 10700 5550
Wire Wire Line
1000 3500 1550 3500
Text GLabel 1550 3800 0 50 Input ~ 0
Text GLabel 1650 3600 0 50 Input ~ 0
SOLAR_IN
Text GLabel 1550 3600 0 50 Input ~ 0
GND
Text GLabel 1550 3700 0 50 Input ~ 0
GND
$Comp
L Connector_Generic:Conn_01x04 J2
U 1 1 5F7E5709
P 1750 3600
F 0 "J2" H 1830 3592 50 0000 L CNN
F 1 "Conn_01x04" H 1830 3501 50 0000 L CNN
F 2 "Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Horizontal" H 1750 3600 50 0001 C CNN
F 3 "~" H 1750 3600 50 0001 C CNN
1 1750 3600
P 1850 3400
F 0 "J2" H 1930 3392 50 0000 L CNN
F 1 "Conn_01x04" H 1930 3301 50 0000 L CNN
F 2 "Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Horizontal" H 1850 3400 50 0001 C CNN
F 3 "~" H 1850 3400 50 0001 C CNN
1 1850 3400
1 0 0 -1
$EndComp
Wire Wire Line
1000 4100 1100 4100
Connection ~ 1000 3800
Wire Wire Line
1000 3800 1000 3500
$Comp
L Device:Fuse F1
U 1 1 5F8D8528
P 1000 3950
F 0 "F1" H 1060 3996 50 0000 L CNN
F 1 "Fuse" H 1060 3905 50 0000 L CNN
F 2 "Fuse:Fuse_Blade_ATO_directSolder" V 930 3950 50 0001 C CNN
F 3 "~" H 1000 3950 50 0001 C CNN
1 1000 3950
1 0 0 -1
P 1150 3300
F 0 "F1" V 1200 3250 50 0000 L CNN
F 1 "Fuse" V 1050 3200 50 0000 L CNN
F 2 "Fuse:Fuse_Blade_ATO_directSolder" V 1080 3300 50 0001 C CNN
F 3 "~" H 1150 3300 50 0001 C CNN
1 1150 3300
0 1 1 0
$EndComp
Wire Wire Line
1000 3800 850 3800
Text GLabel 850 3800 0 50 Input ~ 0
Text GLabel 1250 3450 0 50 Input ~ 0
LIPO+
$Comp
L power:GND #PWR0138
@ -2696,29 +2673,29 @@ Text GLabel 8200 4850 1 50 Input ~ 0
Wire Wire Line
8200 4850 8200 4950
Wire Wire Line
2350 2550 2400 2550
2500 2550 2550 2550
Wire Wire Line
2350 2650 2600 2650
2500 2650 2750 2650
$Comp
L Device:D_Schottky D8
U 1 1 5FA219F6
P 2400 2300
F 0 "D8" V 2446 2221 50 0000 R CNN
F 1 "BAS40" V 2355 2221 50 0000 R CNN
F 2 "Diode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolder" H 2400 2300 50 0001 C CNN
F 3 "~" H 2400 2300 50 0001 C CNN
1 2400 2300
P 2550 2250
F 0 "D8" V 2596 2171 50 0000 R CNN
F 1 "BAS40" V 2505 2171 50 0000 R CNN
F 2 "Diode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolder" H 2550 2250 50 0001 C CNN
F 3 "~" H 2550 2250 50 0001 C CNN
1 2550 2250
0 1 1 0
$EndComp
$Comp
L Device:D_Schottky D10
U 1 1 5FA22159
P 2600 2300
F 0 "D10" V 2646 2221 50 0000 R CNN
F 1 "BAS40" V 2555 2221 50 0000 R CNN
F 2 "Diode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolder" H 2600 2300 50 0001 C CNN
F 3 "~" H 2600 2300 50 0001 C CNN
1 2600 2300
P 2750 2250
F 0 "D10" V 2796 2171 50 0000 R CNN
F 1 "BAS40" V 2705 2171 50 0000 R CNN
F 2 "Diode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolder" H 2750 2250 50 0001 C CNN
F 3 "~" H 2750 2250 50 0001 C CNN
1 2750 2250
0 1 1 0
$EndComp
Wire Wire Line
@ -2728,77 +2705,64 @@ Wire Wire Line
Connection ~ 6200 5800
Wire Wire Line
6200 5800 6250 5800
Wire Wire Line
2850 2750 2350 2750
$Comp
L Device:D_Schottky D9
U 1 1 5FA542CE
P 2400 2950
F 0 "D9" V 2446 2871 50 0000 R CNN
F 1 "BAS40" V 2355 2871 50 0000 R CNN
F 2 "Diode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolder" H 2400 2950 50 0001 C CNN
F 3 "~" H 2400 2950 50 0001 C CNN
1 2400 2950
P 2550 2950
F 0 "D9" V 2596 2871 50 0000 R CNN
F 1 "BAS40" V 2505 2871 50 0000 R CNN
F 2 "Diode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolder" H 2550 2950 50 0001 C CNN
F 3 "~" H 2550 2950 50 0001 C CNN
1 2550 2950
0 1 1 0
$EndComp
$Comp
L Device:D_Schottky D11
U 1 1 5FA54A31
P 2600 2950
F 0 "D11" V 2646 2871 50 0000 R CNN
F 1 "BAS40" V 2555 2871 50 0000 R CNN
F 2 "Diode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolder" H 2600 2950 50 0001 C CNN
F 3 "~" H 2600 2950 50 0001 C CNN
1 2600 2950
P 2750 2950
F 0 "D11" V 2796 2871 50 0000 R CNN
F 1 "BAS40" V 2705 2871 50 0000 R CNN
F 2 "Diode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolder" H 2750 2950 50 0001 C CNN
F 3 "~" H 2750 2950 50 0001 C CNN
1 2750 2950
0 1 1 0
$EndComp
Wire Wire Line
2400 2550 2400 2800
Connection ~ 2400 2550
2550 2550 2550 2800
Connection ~ 2550 2550
Wire Wire Line
2400 2550 2850 2550
2550 2550 2850 2550
Connection ~ 2750 2650
Wire Wire Line
2400 2450 2400 2550
2750 2650 2850 2650
Wire Wire Line
2600 2450 2600 2650
Connection ~ 2600 2650
2750 2650 2750 2800
Wire Wire Line
2600 2650 2850 2650
2550 3100 2550 3150
Wire Wire Line
2600 2650 2600 2800
2550 3150 2650 3150
Wire Wire Line
2400 3100 2400 3150
2750 3150 2750 3100
Wire Wire Line
2400 3150 2500 3150
2550 2100 2550 2050
Wire Wire Line
2600 3150 2600 3100
Wire Wire Line
2400 2150 2400 2100
Wire Wire Line
2400 2100 2500 2100
Wire Wire Line
2600 2100 2600 2150
2750 2050 2750 2100
$Comp
L power:GND #PWR0140
U 1 1 5FAD1A1F
P 2500 3150
F 0 "#PWR0140" H 2500 2900 50 0001 C CNN
F 1 "GND" V 2505 3022 50 0000 R CNN
F 2 "" H 2500 3150 50 0001 C CNN
F 3 "" H 2500 3150 50 0001 C CNN
1 2500 3150
P 2650 3150
F 0 "#PWR0140" H 2650 2900 50 0001 C CNN
F 1 "GND" V 2655 3022 50 0000 R CNN
F 2 "" H 2650 3150 50 0001 C CNN
F 3 "" H 2650 3150 50 0001 C CNN
1 2650 3150
1 0 0 -1
$EndComp
Connection ~ 2500 3150
Connection ~ 2650 3150
Wire Wire Line
2500 3150 2600 3150
Text GLabel 2500 2100 1 50 Input ~ 0
2650 3150 2750 3150
Text GLabel 2650 2000 1 50 Input ~ 0
3_3V
Wire Wire Line
2500 2050 2500 2100
Connection ~ 2500 2100
Wire Wire Line
2500 2100 2600 2100
Text Notes 500 6650 0 105 ~ 0
External Fix Power
$Comp
@ -2861,8 +2825,6 @@ Wire Wire Line
10150 800 10200 800
Wire Wire Line
10200 800 10200 950
Wire Wire Line
10200 800 10650 800
Wire Wire Line
10650 800 10650 950
Connection ~ 10200 800
@ -2886,4 +2848,171 @@ Text GLabel 10150 800 0 50 Input ~ 0
PWR_SENSORS
Text GLabel 10500 2100 2 50 Input ~ 0
PWR_SENSORS
$Comp
L DW01:DW01 IC1
U 1 1 5FB36987
P 1100 4200
F 0 "IC1" H 1600 4467 50 0000 C CNN
F 1 "DW01" H 1600 4376 50 0000 C CNN
F 2 "SOT95P280X135-6N" H 1100 4200 50 0001 L BNN
F 3 "" H 1100 4200 50 0001 L BNN
F 4 "1.35mm" H 1100 4200 50 0001 L BNN "HEIGHT"
F 5 "ic" H 1100 4200 50 0001 L BNN "DESCRIPTION"
F 6 "" H 1100 4200 50 0001 L BNN "LCSC_PRICE-STOCK"
F 7 "DW01" H 1100 4200 50 0001 L BNN "MANUFACTURER_PART_NUMBER"
F 8 "" H 1100 4200 50 0001 L BNN "LCSC_PART_NUMBER"
F 9 "Slkor" H 1100 4200 50 0001 L BNN "MANUFACTURER_NAME"
1 1100 4200
1 0 0 -1
$EndComp
$Comp
L ESP32-DEVKITC-32D:SL2300 Q12
U 1 1 5FB3ECD2
P 1750 5250
F 0 "Q12" V 2042 5250 50 0000 C CNN
F 1 "SL2300" V 1951 5250 50 0000 C CNN
F 2 "" H 1750 5250 50 0001 C CNN
F 3 "" H 1750 5250 50 0001 C CNN
1 1750 5250
0 -1 -1 0
$EndComp
Wire Wire Line
1550 5200 1400 5200
Wire Wire Line
1650 3500 1650 3400
$Comp
L Device:R R52
U 1 1 5FC59C43
P 950 4300
F 0 "R52" V 950 4300 50 0000 C CNN
F 1 "1K" V 800 4300 50 0000 C CNN
F 2 "" V 880 4300 50 0001 C CNN
F 3 "~" H 950 4300 50 0001 C CNN
1 950 4300
0 -1 -1 0
$EndComp
$Comp
L Device:R R53
U 1 1 5FC908BA
P 2550 4300
F 0 "R53" V 2343 4300 50 0000 C CNN
F 1 "100Ohm" V 2434 4300 50 0000 C CNN
F 2 "" V 2480 4300 50 0001 C CNN
F 3 "~" H 2550 4300 50 0001 C CNN
1 2550 4300
0 1 1 0
$EndComp
Wire Wire Line
1950 5200 2000 5200
$Comp
L Device:C C10
U 1 1 5FCD9EFE
P 2250 4150
F 0 "C10" H 2365 4196 50 0000 L CNN
F 1 "C" H 2365 4105 50 0000 L CNN
F 2 "" H 2288 4000 50 0001 C CNN
F 3 "~" H 2250 4150 50 0001 C CNN
1 2250 4150
1 0 0 -1
$EndComp
Text GLabel 1650 3500 0 50 Input ~ 0
GND
Text GLabel 2100 5200 2 50 Input ~ 0
GND
Text GLabel 2700 4400 0 50 Input ~ 0
GND_BATT
Text GLabel 1000 5200 0 50 Input ~ 0
GND_BATT
Connection ~ 2000 5200
Wire Wire Line
2000 5200 2100 5200
Wire Wire Line
2100 4300 2250 4300
Text GLabel 2300 4000 2 50 Input ~ 0
GND_BATT
Text GLabel 800 4300 0 50 Input ~ 0
GND
Connection ~ 2250 4300
Wire Wire Line
2250 4300 2400 4300
Wire Wire Line
2100 4200 2100 4000
Wire Wire Line
2100 4000 2250 4000
Wire Wire Line
2250 4000 2300 4000
Connection ~ 2250 4000
Wire Wire Line
2700 4300 2850 4300
Wire Wire Line
2700 4400 2850 4400
Text GLabel 2800 4300 1 50 Input ~ 0
VCC_BATT
Text GLabel 1000 3300 0 50 Input ~ 0
VCC_BATT
Wire Wire Line
1300 3300 1350 3300
Wire Wire Line
1350 3450 1250 3450
Wire Wire Line
1350 3300 1350 3450
Connection ~ 1350 3300
Wire Wire Line
1350 3300 1650 3300
Wire Wire Line
2850 2750 2500 2750
Wire Wire Line
2550 2400 2550 2550
Wire Wire Line
2750 2400 2750 2650
Wire Wire Line
2850 2450 2500 2450
Wire Wire Line
2550 2050 2650 2050
Wire Wire Line
2650 2000 2650 2050
Connection ~ 2650 2050
Wire Wire Line
2650 2050 2750 2050
Text GLabel 850 4200 0 50 Input ~ 0
LIPO_OD
Text GLabel 1200 4850 1 50 Input ~ 0
LIPO_OD
Text GLabel 850 4400 0 50 Input ~ 0
LIPO_OC
Wire Wire Line
850 4200 1100 4200
Wire Wire Line
850 4400 1100 4400
Text GLabel 1750 5600 3 50 Input ~ 0
LIPO_OC
Wire Wire Line
1750 5600 1750 5500
$Comp
L ESP32-DEVKITC-32D:SL2300 Q11
U 1 1 5FB813FB
P 1200 5150
F 0 "Q11" V 1399 5150 50 0000 C CNN
F 1 "SL2300" V 1490 5150 50 0000 C CNN
F 2 "" H 1200 5150 50 0001 C CNN
F 3 "" H 1200 5150 50 0001 C CNN
1 1200 5150
0 1 1 0
$EndComp
Wire Wire Line
1200 4850 1200 4900
NoConn ~ 2100 4400
$Comp
L power:PWR_FLAG #FLG0102
U 1 1 6013ADBD
P 10700 5400
F 0 "#FLG0102" H 10700 5475 50 0001 C CNN
F 1 "PWR_FLAG" H 10600 5550 50 0000 L CNN
F 2 "" H 10700 5400 50 0001 C CNN
F 3 "~" H 10700 5400 50 0001 C CNN
1 10700 5400
0 -1 -1 0
$EndComp
Wire Wire Line
10200 800 10650 800
$EndSCHEMATC

View File

@ -2,4 +2,5 @@
(lib (name LP38690DT-3.3)(type Legacy)(uri ${KIPRJMOD}/kicad-stuff/LP38690DT-3.3.lib)(options "")(descr ""))
(lib (name ESP32-DEVKITC-32D)(type Legacy)(uri ${KIPRJMOD}/kicad-stuff/ESP32/ESP32-DEVKITC-32D.lib)(options "")(descr ""))
(lib (name PlantCtrlESP32-rescue)(type Legacy)(uri ${KIPRJMOD}/PlantCtrlESP32-rescue.lib)(options "")(descr ""))
(lib (name DW01)(type Legacy)(uri ${KIPRJMOD}/kicad-stuff/DW01.lib)(options "")(descr ""))
)