EESchema Schematic File Version 4 LIBS:PlantCtrlESP32-cache EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $Comp L Connector:Conn_01x19_Female J5 U 1 1 5EDC099B P 7000 4500 F 0 "J5" H 7028 4526 50 0000 L CNN F 1 "Conn_01x19_Female" H 7050 4650 50 0000 L CNN F 2 "Connector_PinSocket_2.54mm:PinSocket_1x19_P2.54mm_Vertical" H 7000 4500 50 0001 C CNN F 3 "~" H 7000 4500 50 0001 C CNN 1 7000 4500 1 0 0 -1 $EndComp $Comp L Connector:Conn_01x19_Female J4 U 1 1 5EDC1650 P 4950 4500 F 0 "J4" H 4978 4526 50 0000 L CNN F 1 "Conn_01x19_Female" H 4978 4435 50 0000 L CNN F 2 "Connector_PinSocket_2.54mm:PinSocket_1x19_P2.54mm_Vertical" H 4950 4500 50 0001 C CNN F 3 "~" H 4950 4500 50 0001 C CNN 1 4950 4500 1 0 0 -1 $EndComp $Comp L power:+3V3 #PWR016 U 1 1 5EDC2A6D P 4750 3600 F 0 "#PWR016" H 4750 3450 50 0001 C CNN F 1 "+3V3" V 4765 3728 50 0000 L CNN F 2 "" H 4750 3600 50 0001 C CNN F 3 "" H 4750 3600 50 0001 C CNN 1 4750 3600 0 -1 -1 0 $EndComp $Comp L power:GND #PWR017 U 1 1 5EDC304E P 4750 4900 F 0 "#PWR017" H 4750 4650 50 0001 C CNN F 1 "GND" V 4755 4772 50 0000 R CNN F 2 "" H 4750 4900 50 0001 C CNN F 3 "" H 4750 4900 50 0001 C CNN 1 4750 4900 0 1 1 0 $EndComp $Comp L power:+5V #PWR018 U 1 1 5EDC466D P 4750 5400 F 0 "#PWR018" H 4750 5250 50 0001 C CNN F 1 "+5V" V 4765 5528 50 0000 L CNN F 2 "" H 4750 5400 50 0001 C CNN F 3 "" H 4750 5400 50 0001 C CNN 1 4750 5400 0 -1 -1 0 $EndComp Text GLabel 4750 5000 0 50 Input ~ 0 GPIO13 $Comp L Device:R R1 U 1 1 5EDC87BD P 1000 3950 F 0 "R1" H 930 3904 50 0000 R CNN F 1 "100k" H 930 3995 50 0000 R CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 930 3950 50 0001 C CNN F 3 "~" H 1000 3950 50 0001 C CNN 1 1000 3950 -1 0 0 1 $EndComp $Comp L Device:R R2 U 1 1 5EDC9260 P 1000 4250 F 0 "R2" H 1070 4296 50 0000 L CNN F 1 "33k" H 1070 4205 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 930 4250 50 0001 C CNN F 3 "~" H 1000 4250 50 0001 C CNN 1 1000 4250 1 0 0 -1 $EndComp Connection ~ 1000 4100 $Comp L power:GND #PWR02 U 1 1 5EDCD257 P 1000 4400 F 0 "#PWR02" H 1000 4150 50 0001 C CNN F 1 "GND" V 1005 4272 50 0000 R CNN F 2 "" H 1000 4400 50 0001 C CNN F 3 "" H 1000 4400 50 0001 C CNN 1 1000 4400 1 0 0 -1 $EndComp Text Notes 800 3550 0 50 ~ 0 Solar Panel Wire Wire Line 1000 4100 4750 4100 $Comp L Device:R R4 U 1 1 5EDD7349 P 1550 3650 F 0 "R4" H 1620 3696 50 0000 L CNN F 1 "47k8" H 1620 3605 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 1480 3650 50 0001 C CNN F 3 "~" H 1550 3650 50 0001 C CNN 1 1550 3650 1 0 0 -1 $EndComp $Comp L Device:R R3 U 1 1 5EDD7688 P 1550 3350 F 0 "R3" H 1620 3396 50 0000 L CNN F 1 "33k" H 1620 3305 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 1480 3350 50 0001 C CNN F 3 "~" H 1550 3350 50 0001 C CNN 1 1550 3350 1 0 0 -1 $EndComp $Comp L power:GND #PWR09 U 1 1 5EDD9979 P 1550 3800 F 0 "#PWR09" H 1550 3550 50 0001 C CNN F 1 "GND" V 1555 3672 50 0000 R CNN F 2 "" H 1550 3800 50 0001 C CNN F 3 "" H 1550 3800 50 0001 C CNN 1 1550 3800 1 0 0 -1 $EndComp Wire Wire Line 4750 4000 2000 4000 Wire Wire Line 2000 4000 2000 3500 Wire Wire Line 2000 3500 1550 3500 Connection ~ 1550 3500 $Comp L Device:R R6 U 1 1 5EDDF3BB P 1800 5750 F 0 "R6" H 1730 5704 50 0000 R CNN F 1 "47k8" H 1730 5795 50 0000 R CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 1730 5750 50 0001 C CNN F 3 "~" H 1800 5750 50 0001 C CNN 1 1800 5750 -1 0 0 1 $EndComp $Comp L Device:R R8 U 1 1 5EDDF697 P 2250 5750 F 0 "R8" H 2320 5796 50 0000 L CNN F 1 "47k8" H 2320 5705 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 2180 5750 50 0001 C CNN F 3 "~" H 2250 5750 50 0001 C CNN 1 2250 5750 1 0 0 -1 $EndComp $Comp L Device:R R5 U 1 1 5EDE0E96 P 1800 5400 F 0 "R5" H 1870 5446 50 0000 L CNN F 1 "33k" H 1870 5355 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 1730 5400 50 0001 C CNN F 3 "~" H 1800 5400 50 0001 C CNN 1 1800 5400 1 0 0 -1 $EndComp $Comp L Device:R R7 U 1 1 5EDE1286 P 2250 5400 F 0 "R7" H 2320 5446 50 0000 L CNN F 1 "33k" H 2320 5355 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 2180 5400 50 0001 C CNN F 3 "~" H 2250 5400 50 0001 C CNN 1 2250 5400 1 0 0 -1 $EndComp $Comp L Device:R R10 U 1 1 5EDE3AAF P 2650 5750 F 0 "R10" H 2720 5796 50 0000 L CNN F 1 "47k8" H 2720 5705 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 2580 5750 50 0001 C CNN F 3 "~" H 2650 5750 50 0001 C CNN 1 2650 5750 1 0 0 -1 $EndComp $Comp L Device:R R9 U 1 1 5EDE3DB0 P 2650 5400 F 0 "R9" H 2720 5446 50 0000 L CNN F 1 "33k" H 2720 5355 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 2580 5400 50 0001 C CNN F 3 "~" H 2650 5400 50 0001 C CNN 1 2650 5400 1 0 0 -1 $EndComp $Comp L Device:R R12 U 1 1 5EDE4165 P 3000 5750 F 0 "R12" H 3070 5796 50 0000 L CNN F 1 "47k8" H 3070 5705 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 2930 5750 50 0001 C CNN F 3 "~" H 3000 5750 50 0001 C CNN 1 3000 5750 1 0 0 -1 $EndComp $Comp L Device:R R11 U 1 1 5EDE44F2 P 3000 5400 F 0 "R11" H 3070 5446 50 0000 L CNN F 1 "33k" H 3070 5355 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 2930 5400 50 0001 C CNN F 3 "~" H 3000 5400 50 0001 C CNN 1 3000 5400 1 0 0 -1 $EndComp $Comp L Device:R R14 U 1 1 5EDE48B5 P 3400 5750 F 0 "R14" H 3470 5796 50 0000 L CNN F 1 "47k8" H 3470 5705 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 3330 5750 50 0001 C CNN F 3 "~" H 3400 5750 50 0001 C CNN 1 3400 5750 1 0 0 -1 $EndComp $Comp L Device:R R13 U 1 1 5EDE4B98 P 3400 5400 F 0 "R13" H 3470 5446 50 0000 L CNN F 1 "33k" H 3470 5355 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 3330 5400 50 0001 C CNN F 3 "~" H 3400 5400 50 0001 C CNN 1 3400 5400 1 0 0 -1 $EndComp $Comp L Device:R R15 U 1 1 5EDE4F6E P 3800 5400 F 0 "R15" H 3870 5446 50 0000 L CNN F 1 "33k" H 3870 5355 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 3730 5400 50 0001 C CNN F 3 "~" H 3800 5400 50 0001 C CNN 1 3800 5400 1 0 0 -1 $EndComp $Comp L Device:R R16 U 1 1 5EDE5311 P 3800 5750 F 0 "R16" H 3870 5796 50 0000 L CNN F 1 "47k8" H 3870 5705 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 3730 5750 50 0001 C CNN F 3 "~" H 3800 5750 50 0001 C CNN 1 3800 5750 1 0 0 -1 $EndComp Wire Wire Line 1800 5900 2250 5900 Connection ~ 2250 5900 Wire Wire Line 2250 5900 2650 5900 Connection ~ 2650 5900 Wire Wire Line 2650 5900 3000 5900 Connection ~ 3000 5900 Wire Wire Line 3000 5900 3400 5900 Connection ~ 3400 5900 Wire Wire Line 3400 5900 3800 5900 $Comp L power:GND #PWR013 U 1 1 5EDE5DB7 P 3800 5900 F 0 "#PWR013" H 3800 5650 50 0001 C CNN F 1 "GND" H 3805 5727 50 0000 C CNN F 2 "" H 3800 5900 50 0001 C CNN F 3 "" H 3800 5900 50 0001 C CNN 1 3800 5900 1 0 0 -1 $EndComp Connection ~ 3800 5900 Wire Wire Line 4750 4200 2050 4200 Wire Wire Line 2050 4200 2050 5550 Wire Wire Line 2050 5550 1800 5550 Wire Wire Line 1800 5550 1800 5600 Connection ~ 1800 5550 Wire Wire Line 2250 5550 2250 5600 Wire Wire Line 2650 5550 2650 5600 Wire Wire Line 3000 5550 3000 5600 Wire Wire Line 3400 5550 3400 5600 Wire Wire Line 3800 5550 3800 5600 Wire Wire Line 4750 4300 2500 4300 Wire Wire Line 2500 4300 2500 5550 Wire Wire Line 2500 5550 2250 5550 Connection ~ 2250 5550 Wire Wire Line 4750 4400 2900 4400 Wire Wire Line 2900 4400 2900 5550 Wire Wire Line 2900 5550 2650 5550 Connection ~ 2650 5550 Wire Wire Line 4750 4500 3250 4500 Wire Wire Line 3250 4500 3250 5550 Wire Wire Line 3250 5550 3000 5550 Connection ~ 3000 5550 Wire Wire Line 4750 4600 3650 4600 Wire Wire Line 3650 4600 3650 5550 Wire Wire Line 3650 5550 3400 5550 Connection ~ 3400 5550 Wire Wire Line 4750 4700 4050 4700 Wire Wire Line 4050 4700 4050 5550 Wire Wire Line 4050 5550 3800 5550 Connection ~ 3800 5550 $Comp L Transistor_BJT:BC558 Q7 U 1 1 5EDF27DC P 9000 5350 F 0 "Q7" H 9191 5396 50 0000 L CNN F 1 "BC558" H 9191 5305 50 0000 L CNN F 2 "Package_TO_SOT_THT:TO-92_Inline" H 9200 5275 50 0001 L CIN F 3 "http://www.fairchildsemi.com/ds/BC/BC557.pdf" H 9000 5350 50 0001 L CNN 1 9000 5350 1 0 0 -1 $EndComp $Comp L power:GND #PWR026 U 1 1 5EDF53C1 P 8050 5850 F 0 "#PWR026" H 8050 5600 50 0001 C CNN F 1 "GND" H 8055 5677 50 0000 C CNN F 2 "" H 8050 5850 50 0001 C CNN F 3 "" H 8050 5850 50 0001 C CNN 1 8050 5850 1 0 0 -1 $EndComp Wire Wire Line 8350 5750 8350 5850 $Comp L Device:R R23 U 1 1 5EE020DF P 7700 5700 F 0 "R23" H 7770 5746 50 0000 L CNN F 1 "10k" H 7770 5655 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 7630 5700 50 0001 C CNN F 3 "~" H 7700 5700 50 0001 C CNN 1 7700 5700 1 0 0 -1 $EndComp Wire Wire Line 7700 5850 8050 5850 Wire Wire Line 8050 5550 7700 5550 Connection ~ 8050 5850 Wire Wire Line 8050 5850 8350 5850 $Comp L power:+5V #PWR029 U 1 1 5EE0D1BB P 9100 5650 F 0 "#PWR029" H 9100 5500 50 0001 C CNN F 1 "+5V" H 9115 5823 50 0000 C CNN F 2 "" H 9100 5650 50 0001 C CNN F 3 "" H 9100 5650 50 0001 C CNN 1 9100 5650 -1 0 0 1 $EndComp Wire Wire Line 5950 4800 5950 5550 $Comp L power:+9V #PWR01 U 1 1 5EE168F4 P 1000 3800 F 0 "#PWR01" H 1000 3650 50 0001 C CNN F 1 "+9V" H 1015 3973 50 0000 C CNN F 2 "" H 1000 3800 50 0001 C CNN F 3 "" H 1000 3800 50 0001 C CNN 1 1000 3800 1 0 0 -1 $EndComp $Comp L power:+9V #PWR03 U 1 1 5EE1870B P 1500 900 F 0 "#PWR03" H 1500 750 50 0001 C CNN F 1 "+9V" V 1515 1073 50 0000 C CNN F 2 "" H 1500 900 50 0001 C CNN F 3 "" H 1500 900 50 0001 C CNN 1 1500 900 0 -1 -1 0 $EndComp Wire Wire Line 5950 4800 6800 4800 Text GLabel 9100 5150 1 50 Input ~ 0 5V_SENSORS Wire Wire Line 9100 5650 9100 5550 Text GLabel 1800 5250 1 50 Input ~ 0 PLANT1_MOIST Text GLabel 2250 5250 1 50 Input ~ 0 PLANT2_MOIST Text GLabel 2650 5250 1 50 Input ~ 0 PLANT3_MOIST Text GLabel 3000 5250 1 50 Input ~ 0 PLANT4_MOIST Text GLabel 3400 5250 1 50 Input ~ 0 PLANT5_MOIST Text GLabel 3800 5250 1 50 Input ~ 0 PLANT6_MOIST Text GLabel 5850 6650 1 50 Input ~ 0 WATER_LOW Text GLabel 6400 6650 1 50 Input ~ 0 WATER_EMPTY $Comp L Device:R R22 U 1 1 5EE004C1 P 6400 7150 F 0 "R22" H 6470 7196 50 0000 L CNN F 1 "47k8" H 6470 7105 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 6330 7150 50 0001 C CNN F 3 "~" H 6400 7150 50 0001 C CNN 1 6400 7150 1 0 0 -1 $EndComp $Comp L Device:R R21 U 1 1 5EE00857 P 6400 6800 F 0 "R21" H 6470 6846 50 0000 L CNN F 1 "100k" H 6470 6755 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 6330 6800 50 0001 C CNN F 3 "~" H 6400 6800 50 0001 C CNN 1 6400 6800 1 0 0 -1 $EndComp $Comp L Device:R R20 U 1 1 5EE0120C P 5850 7150 F 0 "R20" H 5920 7196 50 0000 L CNN F 1 "47k8" H 5920 7105 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 5780 7150 50 0001 C CNN F 3 "~" H 5850 7150 50 0001 C CNN 1 5850 7150 1 0 0 -1 $EndComp $Comp L power:GND #PWR019 U 1 1 5EE085D9 P 5850 7300 F 0 "#PWR019" H 5850 7050 50 0001 C CNN F 1 "GND" H 5855 7127 50 0000 C CNN F 2 "" H 5850 7300 50 0001 C CNN F 3 "" H 5850 7300 50 0001 C CNN 1 5850 7300 1 0 0 -1 $EndComp $Comp L power:GND #PWR020 U 1 1 5EE08A01 P 6400 7300 F 0 "#PWR020" H 6400 7050 50 0001 C CNN F 1 "GND" H 6405 7127 50 0000 C CNN F 2 "" H 6400 7300 50 0001 C CNN F 3 "" H 6400 7300 50 0001 C CNN 1 6400 7300 1 0 0 -1 $EndComp Wire Wire Line 6800 5000 6100 5000 Wire Wire Line 6100 5000 6100 6950 Wire Wire Line 6100 6950 5850 6950 Wire Wire Line 5850 6950 5850 7000 Wire Wire Line 6400 6950 6400 7000 Wire Wire Line 6800 5100 6650 5100 Wire Wire Line 6650 5100 6650 6950 Wire Wire Line 6650 6950 6400 6950 Connection ~ 6400 6950 $Comp L Transistor_FET:IRLZ34N Q3 U 1 1 5EE25042 P 7600 2650 F 0 "Q3" H 7806 2696 50 0000 L CNN F 1 "IRLZ34N" H 7806 2605 50 0000 L CNN F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 7850 2575 50 0001 L CIN F 3 "http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720" H 7600 2650 50 0001 L CNN 1 7600 2650 1 0 0 -1 $EndComp Text Notes 2550 6150 0 50 ~ 0 Moist Sensors Text Notes 7500 1700 0 50 ~ 0 Pump control $Comp L power:GND #PWR022 U 1 1 5EE48202 P 6800 3600 F 0 "#PWR022" H 6800 3350 50 0001 C CNN F 1 "GND" V 6805 3472 50 0000 R CNN F 2 "" H 6800 3600 50 0001 C CNN F 3 "" H 6800 3600 50 0001 C CNN 1 6800 3600 0 1 1 0 $EndComp $Comp L Transistor_FET:IRLZ34N Q2 U 1 1 5EE49580 P 7100 2300 F 0 "Q2" H 7306 2346 50 0000 L CNN F 1 "IRLZ34N" H 7306 2255 50 0000 L CNN F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 7350 2225 50 0001 L CIN F 3 "http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720" H 7100 2300 50 0001 L CNN 1 7100 2300 1 0 0 -1 $EndComp $Comp L Transistor_FET:BS170 Q5 U 1 1 5EDEF939 P 8250 5550 F 0 "Q5" H 8456 5596 50 0000 L CNN F 1 "BS170" H 8456 5505 50 0000 L CNN F 2 "Package_TO_SOT_THT:TO-92_Inline" H 8450 5475 50 0001 L CIN F 3 "http://www.fairchildsemi.com/ds/BS/BS170.pdf" H 8250 5550 50 0001 L CNN 1 8250 5550 1 0 0 -1 $EndComp $Comp L Transistor_FET:IRLZ34N Q4 U 1 1 5EE79BF8 P 8100 3050 F 0 "Q4" H 8306 3096 50 0000 L CNN F 1 "IRLZ34N" H 8306 3005 50 0000 L CNN F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 8350 2975 50 0001 L CIN F 3 "http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720" H 8100 3050 50 0001 L CNN 1 8100 3050 1 0 0 -1 $EndComp $Comp L Transistor_FET:IRLZ34N Q6 U 1 1 5EE7A2B9 P 8650 3450 F 0 "Q6" H 8856 3496 50 0000 L CNN F 1 "IRLZ34N" H 8856 3405 50 0000 L CNN F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 8900 3375 50 0001 L CIN F 3 "http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720" H 8650 3450 50 0001 L CNN 1 8650 3450 1 0 0 -1 $EndComp $Comp L Transistor_FET:IRLZ34N Q8 U 1 1 5EE7AA19 P 9150 3800 F 0 "Q8" H 9356 3846 50 0000 L CNN F 1 "IRLZ34N" H 9356 3755 50 0000 L CNN F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 9400 3725 50 0001 L CIN F 3 "http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720" H 9150 3800 50 0001 L CNN 1 9150 3800 1 0 0 -1 $EndComp $Comp L Transistor_FET:IRLZ34N Q1 U 1 1 5EE7B36C P 6650 1900 F 0 "Q1" H 6856 1946 50 0000 L CNN F 1 "IRLZ34N" H 6856 1855 50 0000 L CNN F 2 "Package_TO_SOT_THT:TO-220-3_Vertical" H 6900 1825 50 0001 L CIN F 3 "http://www.infineon.com/dgdl/irlz34npbf.pdf?fileId=5546d462533600a40153567206892720" H 6650 1900 50 0001 L CNN 1 6650 1900 1 0 0 -1 $EndComp Wire Wire Line 7150 3800 7150 3450 Wire Wire Line 7150 3450 6500 3450 Wire Wire Line 6500 3450 6500 3700 Wire Wire Line 6500 3700 6800 3700 Wire Wire Line 6800 3800 6450 3800 Wire Wire Line 6450 3800 6450 3400 Wire Wire Line 6450 3400 7200 3400 Wire Wire Line 7200 3400 7200 3450 Wire Wire Line 7200 3450 8450 3450 Wire Wire Line 6800 4100 6400 4100 Wire Wire Line 6400 4100 6400 3050 Wire Wire Line 6400 3050 7900 3050 $Comp L power:GND #PWR023 U 1 1 5EE874ED P 6800 4200 F 0 "#PWR023" H 6800 3950 50 0001 C CNN F 1 "GND" V 6805 4072 50 0000 R CNN F 2 "" H 6800 4200 50 0001 C CNN F 3 "" H 6800 4200 50 0001 C CNN 1 6800 4200 0 1 1 0 $EndComp Wire Wire Line 6350 4300 6350 2650 Wire Wire Line 6350 2650 7400 2650 Wire Wire Line 6300 4400 6800 4400 $Comp L power:GND #PWR021 U 1 1 5EE99319 P 6750 2100 F 0 "#PWR021" H 6750 1850 50 0001 C CNN F 1 "GND" H 6650 2050 50 0000 R CNN F 2 "" H 6750 2100 50 0001 C CNN F 3 "" H 6750 2100 50 0001 C CNN 1 6750 2100 1 0 0 -1 $EndComp $Comp L power:GND #PWR030 U 1 1 5EE9DD45 P 9250 4000 F 0 "#PWR030" H 9250 3750 50 0001 C CNN F 1 "GND" H 9100 3950 50 0000 R CNN F 2 "" H 9250 4000 50 0001 C CNN F 3 "" H 9250 4000 50 0001 C CNN 1 9250 4000 1 0 0 -1 $EndComp $Comp L power:GND #PWR028 U 1 1 5EE9E3C0 P 8750 3650 F 0 "#PWR028" H 8750 3400 50 0001 C CNN F 1 "GND" H 8650 3600 50 0000 R CNN F 2 "" H 8750 3650 50 0001 C CNN F 3 "" H 8750 3650 50 0001 C CNN 1 8750 3650 1 0 0 -1 $EndComp $Comp L power:GND #PWR027 U 1 1 5EE9E8A2 P 8200 3250 F 0 "#PWR027" H 8200 3000 50 0001 C CNN F 1 "GND" H 8150 3200 50 0000 R CNN F 2 "" H 8200 3250 50 0001 C CNN F 3 "" H 8200 3250 50 0001 C CNN 1 8200 3250 1 0 0 -1 $EndComp $Comp L power:GND #PWR025 U 1 1 5EE9EE0D P 7700 2850 F 0 "#PWR025" H 7700 2600 50 0001 C CNN F 1 "GND" H 7650 2800 50 0000 R CNN F 2 "" H 7700 2850 50 0001 C CNN F 3 "" H 7700 2850 50 0001 C CNN 1 7700 2850 1 0 0 -1 $EndComp $Comp L power:GND #PWR024 U 1 1 5EEA28ED P 7200 2500 F 0 "#PWR024" H 7200 2250 50 0001 C CNN F 1 "GND" H 7100 2450 50 0000 R CNN F 2 "" H 7200 2500 50 0001 C CNN F 3 "" H 7200 2500 50 0001 C CNN 1 7200 2500 1 0 0 -1 $EndComp Wire Wire Line 8950 3800 7150 3800 Wire Wire Line 6450 1900 6250 1900 Wire Wire Line 6250 1900 6250 4500 Wire Wire Line 6300 2300 6300 4400 Wire Wire Line 6300 2300 6900 2300 Text GLabel 9250 3600 1 50 Input ~ 0 PLANT1_PUMP Text GLabel 8750 3250 1 50 Input ~ 0 PLANT2_PUMP Text GLabel 8200 2850 1 50 Input ~ 0 PLANT3_PUMP Text GLabel 7700 2450 1 50 Input ~ 0 PLANT4_PUMP Text GLabel 7200 2100 1 50 Input ~ 0 PLANT5_PUMP Text GLabel 6750 1700 1 50 Input ~ 0 PLANT6_PUMP Wire Wire Line 6250 4500 6800 4500 NoConn ~ 6800 3900 NoConn ~ 6800 4000 NoConn ~ 4750 5300 NoConn ~ 4750 3700 NoConn ~ 4750 3800 NoConn ~ 4750 3900 NoConn ~ 6800 5400 NoConn ~ 6800 5300 NoConn ~ 6800 5200 NoConn ~ 6800 4600 NoConn ~ 6800 4700 NoConn ~ 4750 5200 NoConn ~ 4750 5100 NoConn ~ 6800 4900 $Comp L Device:R R18 U 1 1 5EF42F29 P 4150 7150 F 0 "R18" H 4220 7196 50 0000 L CNN F 1 "47k8" H 4220 7105 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 4080 7150 50 0001 C CNN F 3 "~" H 4150 7150 50 0001 C CNN 1 4150 7150 1 0 0 -1 $EndComp $Comp L Device:R R17 U 1 1 5EF433DE P 4150 6800 F 0 "R17" H 4220 6846 50 0000 L CNN F 1 "33k" H 4220 6755 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 4080 6800 50 0001 C CNN F 3 "~" H 4150 6800 50 0001 C CNN 1 4150 6800 1 0 0 -1 $EndComp $Comp L power:GND #PWR014 U 1 1 5EF437E4 P 4150 7300 F 0 "#PWR014" H 4150 7050 50 0001 C CNN F 1 "GND" H 4155 7127 50 0000 C CNN F 2 "" H 4150 7300 50 0001 C CNN F 3 "" H 4150 7300 50 0001 C CNN 1 4150 7300 1 0 0 -1 $EndComp Wire Wire Line 4750 4800 4400 4800 Wire Wire Line 4400 4800 4400 6950 Wire Wire Line 4400 6950 4150 6950 Wire Wire Line 4150 6950 4150 7000 Connection ~ 4150 6950 Text GLabel 4150 6650 1 50 Input ~ 0 OVERFLOW_WATER Text Notes 4800 3500 0 105 ~ 0 ESP32 DISCOVERY \nBOARD $Comp L Connector_Generic:Conn_01x12 J1 U 1 1 5EF84EAD P 1700 1400 F 0 "J1" H 1780 1392 50 0000 L CNN F 1 "Conn_01x12" H 1780 1301 50 0000 L CNN F 2 "Connector_Phoenix_MC_HighVoltage:PhoenixContact_MC_1,5_12-G-5.08_1x12_P5.08mm_Horizontal" H 1700 1400 50 0001 C CNN F 3 "~" H 1700 1400 50 0001 C CNN 1 1700 1400 1 0 0 -1 $EndComp Text GLabel 1500 1000 0 50 Input ~ 0 PLANT1_PUMP Text GLabel 1500 1200 0 50 Input ~ 0 PLANT2_PUMP Text GLabel 1500 1400 0 50 Input ~ 0 PLANT3_PUMP Text GLabel 1500 1600 0 50 Input ~ 0 PLANT4_PUMP Text GLabel 1500 1800 0 50 Input ~ 0 PLANT5_PUMP Text GLabel 1500 2000 0 50 Input ~ 0 PLANT6_PUMP $Comp L power:+9V #PWR04 U 1 1 5EFB414E P 1500 1100 F 0 "#PWR04" H 1500 950 50 0001 C CNN F 1 "+9V" V 1515 1273 50 0000 C CNN F 2 "" H 1500 1100 50 0001 C CNN F 3 "" H 1500 1100 50 0001 C CNN 1 1500 1100 0 -1 -1 0 $EndComp $Comp L power:+9V #PWR05 U 1 1 5EFB43DA P 1500 1300 F 0 "#PWR05" H 1500 1150 50 0001 C CNN F 1 "+9V" V 1515 1473 50 0000 C CNN F 2 "" H 1500 1300 50 0001 C CNN F 3 "" H 1500 1300 50 0001 C CNN 1 1500 1300 0 -1 -1 0 $EndComp $Comp L power:+9V #PWR06 U 1 1 5EFB46D6 P 1500 1500 F 0 "#PWR06" H 1500 1350 50 0001 C CNN F 1 "+9V" V 1515 1673 50 0000 C CNN F 2 "" H 1500 1500 50 0001 C CNN F 3 "" H 1500 1500 50 0001 C CNN 1 1500 1500 0 -1 -1 0 $EndComp $Comp L power:+9V #PWR07 U 1 1 5EFB4931 P 1500 1700 F 0 "#PWR07" H 1500 1550 50 0001 C CNN F 1 "+9V" V 1515 1873 50 0000 C CNN F 2 "" H 1500 1700 50 0001 C CNN F 3 "" H 1500 1700 50 0001 C CNN 1 1500 1700 0 -1 -1 0 $EndComp $Comp L power:+9V #PWR08 U 1 1 5EFB53E2 P 1500 1900 F 0 "#PWR08" H 1500 1750 50 0001 C CNN F 1 "+9V" V 1515 2073 50 0000 C CNN F 2 "" H 1500 1900 50 0001 C CNN F 3 "" H 1500 1900 50 0001 C CNN 1 1500 1900 0 -1 -1 0 $EndComp $Comp L Connector_Generic:Conn_01x04 J2 U 1 1 5EFB649F P 2650 1100 F 0 "J2" H 2730 1092 50 0000 L CNN F 1 "Conn_01x04" H 2730 1001 50 0000 L CNN F 2 "Connector_Phoenix_MC_HighVoltage:PhoenixContact_MC_1,5_4-G-5.08_1x04_P5.08mm_Horizontal" H 2650 1100 50 0001 C CNN F 3 "~" H 2650 1100 50 0001 C CNN 1 2650 1100 1 0 0 -1 $EndComp Text Notes 1300 700 0 50 ~ 0 Pump Control Text Notes 2300 850 0 50 ~ 0 Power Input Wire Wire Line 2450 1200 2350 1200 Wire Wire Line 2350 1200 2350 3200 Wire Wire Line 2350 3200 1550 3200 $Comp L power:+9V #PWR010 U 1 1 5EFBDB08 P 2450 1000 F 0 "#PWR010" H 2450 850 50 0001 C CNN F 1 "+9V" V 2465 1173 50 0000 C CNN F 2 "" H 2450 1000 50 0001 C CNN F 3 "" H 2450 1000 50 0001 C CNN 1 2450 1000 0 -1 -1 0 $EndComp $Comp L power:+5V #PWR011 U 1 1 5EFC2507 P 2450 1100 F 0 "#PWR011" H 2450 950 50 0001 C CNN F 1 "+5V" V 2465 1228 50 0000 L CNN F 2 "" H 2450 1100 50 0001 C CNN F 3 "" H 2450 1100 50 0001 C CNN 1 2450 1100 0 -1 -1 0 $EndComp $Comp L power:GND #PWR012 U 1 1 5EFC7DEC P 2450 1300 F 0 "#PWR012" H 2450 1050 50 0001 C CNN F 1 "GND" V 2455 1172 50 0000 R CNN F 2 "" H 2450 1300 50 0001 C CNN F 3 "" H 2450 1300 50 0001 C CNN 1 2450 1300 1 0 0 -1 $EndComp Text Notes 1850 3150 0 50 ~ 0 Lipo Text Notes 4150 750 0 50 ~ 0 Sensors Text GLabel 4350 1000 0 50 Input ~ 0 PLANT1_MOIST Text GLabel 4050 900 0 50 Input ~ 0 5V_SENSORS Wire Wire Line 4050 900 4350 900 Text GLabel 4350 1100 0 50 Input ~ 0 PLANT2_MOIST Text GLabel 4350 1200 0 50 Input ~ 0 PLANT3_MOIST Text GLabel 4350 1300 0 50 Input ~ 0 PLANT4_MOIST Text GLabel 4350 1400 0 50 Input ~ 0 PLANT5_MOIST Text GLabel 4350 1500 0 50 Input ~ 0 PLANT6_MOIST Text GLabel 4350 2050 0 50 Input ~ 0 WATER_LOW Text GLabel 4350 2150 0 50 Input ~ 0 WATER_EMPTY Text GLabel 4350 2250 0 50 Input ~ 0 OVERFLOW_WATER $Comp L power:GND #PWR015 U 1 1 5F01A8DF P 4350 2350 F 0 "#PWR015" H 4350 2100 50 0001 C CNN F 1 "GND" V 4355 2222 50 0000 R CNN F 2 "" H 4350 2350 50 0001 C CNN F 3 "" H 4350 2350 50 0001 C CNN 1 4350 2350 1 0 0 -1 $EndComp $Comp L Sensor_Temperature:DS18B20 U1 U 1 1 5F02FBC0 P 10250 1450 F 0 "U1" H 10020 1496 50 0000 R CNN F 1 "DS18B20" H 10020 1405 50 0000 R CNN F 2 "Package_TO_SOT_THT:TO-92_Inline" H 9250 1200 50 0001 C CNN F 3 "http://datasheets.maximintegrated.com/en/ds/DS18B20.pdf" H 10100 1700 50 0001 C CNN 1 10250 1450 1 0 0 -1 $EndComp $Comp L power:GND #PWR032 U 1 1 5F0300A3 P 10250 1750 F 0 "#PWR032" H 10250 1500 50 0001 C CNN F 1 "GND" H 10100 1700 50 0000 R CNN F 2 "" H 10250 1750 50 0001 C CNN F 3 "" H 10250 1750 50 0001 C CNN 1 10250 1750 1 0 0 -1 $EndComp Wire Wire Line 6350 4300 6800 4300 Text GLabel 10800 1450 2 50 Input ~ 0 GPIO13 $Comp L power:+3V3 #PWR031 U 1 1 5F03E5CD P 10250 1100 F 0 "#PWR031" H 10250 950 50 0001 C CNN F 1 "+3V3" V 10265 1228 50 0000 L CNN F 2 "" H 10250 1100 50 0001 C CNN F 3 "" H 10250 1100 50 0001 C CNN 1 10250 1100 1 0 0 -1 $EndComp Text Notes 10200 750 0 50 ~ 0 Temp Sensor Connection ~ 5850 6950 $Comp L Device:R R19 U 1 1 5EE00C87 P 5850 6800 F 0 "R19" H 5920 6846 50 0000 L CNN F 1 "100k" H 5920 6755 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 5780 6800 50 0001 C CNN F 3 "~" H 5850 6800 50 0001 C CNN 1 5850 6800 1 0 0 -1 $EndComp Wire Wire Line 4050 1950 4350 1950 $Comp L Connector_Generic:Conn_01x03 J6 U 1 1 5F109CD6 P 10250 2300 F 0 "J6" H 10168 1975 50 0000 C CNN F 1 "Conn_01x03" H 10168 2066 50 0000 C CNN F 2 "Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical" H 10250 2300 50 0001 C CNN F 3 "~" H 10250 2300 50 0001 C CNN 1 10250 2300 -1 0 0 1 $EndComp Text GLabel 10450 2300 2 50 Input ~ 0 GPIO13 $Comp L power:GND #PWR033 U 1 1 5F10D99F P 10450 2400 F 0 "#PWR033" H 10450 2150 50 0001 C CNN F 1 "GND" H 10300 2350 50 0000 R CNN F 2 "" H 10450 2400 50 0001 C CNN F 3 "" H 10450 2400 50 0001 C CNN 1 10450 2400 1 0 0 -1 $EndComp $Comp L power:+3V3 #PWR034 U 1 1 5F10E031 P 10700 2200 F 0 "#PWR034" H 10700 2050 50 0001 C CNN F 1 "+3V3" V 10715 2328 50 0000 L CNN F 2 "" H 10700 2200 50 0001 C CNN F 3 "" H 10700 2200 50 0001 C CNN 1 10700 2200 1 0 0 -1 $EndComp Wire Wire Line 10450 2200 10700 2200 $Comp L Connector_Generic:Conn_01x08 J3 U 1 1 5EDD9BA2 P 4550 1200 F 0 "J3" H 4630 1192 50 0000 L CNN F 1 "Conn_01x08" H 4630 1101 50 0000 L CNN F 2 "Connector_Phoenix_MC_HighVoltage:PhoenixContact_MC_1,5_8-G-5.08_1x08_P5.08mm_Horizontal" H 4550 1200 50 0001 C CNN F 3 "~" H 4550 1200 50 0001 C CNN 1 4550 1200 1 0 0 -1 $EndComp $Comp L Connector_Generic:Conn_01x05 J7 U 1 1 5EDDA7EB P 4550 2150 F 0 "J7" H 4630 2192 50 0000 L CNN F 1 "Conn_01x05" H 4630 2101 50 0000 L CNN F 2 "Connector_Phoenix_MC_HighVoltage:PhoenixContact_MC_1,5_5-G-5.08_1x05_P5.08mm_Horizontal" H 4550 2150 50 0001 C CNN F 3 "~" H 4550 2150 50 0001 C CNN 1 4550 2150 1 0 0 -1 $EndComp $Comp L power:GND #PWR0101 U 1 1 5EDF08D6 P 4350 1600 F 0 "#PWR0101" H 4350 1350 50 0001 C CNN F 1 "GND" V 4355 1472 50 0000 R CNN F 2 "" H 4350 1600 50 0001 C CNN F 3 "" H 4350 1600 50 0001 C CNN 1 4350 1600 1 0 0 -1 $EndComp $Comp L Transistor_BJT:BC558 Q9 U 1 1 5EE82DFD P 10750 5350 F 0 "Q9" H 10941 5396 50 0000 L CNN F 1 "BC558" H 10941 5305 50 0000 L CNN F 2 "Package_TO_SOT_THT:TO-92_Inline" H 10950 5275 50 0001 L CIN F 3 "http://www.fairchildsemi.com/ds/BC/BC557.pdf" H 10750 5350 50 0001 L CNN 1 10750 5350 1 0 0 -1 $EndComp Text GLabel 10850 5100 1 50 Input ~ 0 9V_SENSORS Text GLabel 4050 1950 0 50 Input ~ 0 9V_SENSORS Wire Wire Line 10850 5150 10850 5100 $Comp L Device:R R24 U 1 1 5EE05BA7 P 8650 5350 F 0 "R24" H 8720 5396 50 0000 L CNN F 1 "100" H 8720 5305 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 8580 5350 50 0001 C CNN F 3 "~" H 8650 5350 50 0001 C CNN 1 8650 5350 0 1 1 0 $EndComp Wire Wire Line 8350 5350 8500 5350 $Comp L Device:R R25 U 1 1 5EE08B34 P 10400 5350 F 0 "R25" H 10470 5396 50 0000 L CNN F 1 "100" H 10470 5305 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 10330 5350 50 0001 C CNN F 3 "~" H 10400 5350 50 0001 C CNN 1 10400 5350 0 1 1 0 $EndComp $Comp L power:+9V #PWR035 U 1 1 5EE92EF6 P 10850 5700 F 0 "#PWR035" H 10850 5550 50 0001 C CNN F 1 "+9V" V 10865 5873 50 0000 C CNN F 2 "" H 10850 5700 50 0001 C CNN F 3 "" H 10850 5700 50 0001 C CNN 1 10850 5700 -1 0 0 1 $EndComp Wire Wire Line 10850 5700 10850 5550 $Comp L Transistor_FET:BS170 Q10 U 1 1 5EE178BC P 10050 5550 F 0 "Q10" H 10256 5596 50 0000 L CNN F 1 "BS170" H 10256 5505 50 0000 L CNN F 2 "Package_TO_SOT_THT:TO-92_Inline" H 10250 5475 50 0001 L CIN F 3 "http://www.fairchildsemi.com/ds/BS/BS170.pdf" H 10050 5550 50 0001 L CNN 1 10050 5550 1 0 0 -1 $EndComp $Comp L power:GND #PWR036 U 1 1 5EE18226 P 10150 5850 F 0 "#PWR036" H 10150 5600 50 0001 C CNN F 1 "GND" H 10155 5677 50 0000 C CNN F 2 "" H 10150 5850 50 0001 C CNN F 3 "" H 10150 5850 50 0001 C CNN 1 10150 5850 1 0 0 -1 $EndComp Wire Wire Line 10150 5350 10250 5350 Wire Wire Line 9850 5550 9850 4550 Wire Wire Line 10150 5850 10150 5750 $Comp L Device:R R26 U 1 1 5EE03137 P 10700 1300 F 0 "R26" H 10770 1346 50 0000 L CNN F 1 "4k7" H 10770 1255 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 10630 1300 50 0001 C CNN F 3 "~" H 10700 1300 50 0001 C CNN 1 10700 1300 -1 0 0 1 $EndComp Wire Wire Line 10550 1450 10700 1450 Wire Wire Line 10700 1450 10800 1450 Connection ~ 10700 1450 Wire Wire Line 10250 1150 10700 1150 Wire Wire Line 10250 1150 10250 1100 Connection ~ 10250 1150 Text Notes 2100 3650 0 50 ~ 0 replaced 47k8 by 39k\nand 33k by 27k\n\ndue to availabilty of parts $Comp L Device:R R27 U 1 1 5EEE4884 P 7250 5550 F 0 "R27" H 7320 5596 50 0000 L CNN F 1 "100" H 7320 5505 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal" V 7180 5550 50 0001 C CNN F 3 "~" H 7250 5550 50 0001 C CNN 1 7250 5550 0 1 1 0 $EndComp $Comp L Device:R R28 U 1 1 5EEE4DBD P 9600 4550 F 0 "R28" H 9670 4596 50 0000 L CNN F 1 "100" H 9670 4505 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 9530 4550 50 0001 C CNN F 3 "~" H 9600 4550 50 0001 C CNN 1 9600 4550 0 1 1 0 $EndComp $Comp L Device:R R29 U 1 1 5EEE555F P 9800 5700 F 0 "R29" H 9870 5746 50 0000 L CNN F 1 "10k" H 9870 5655 50 0000 L CNN F 2 "Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_Horizontal" V 9730 5700 50 0001 C CNN F 3 "~" H 9800 5700 50 0001 C CNN 1 9800 5700 1 0 0 -1 $EndComp $Comp L power:GND #PWR037 U 1 1 5EEE5C5E P 9800 5850 F 0 "#PWR037" H 9800 5600 50 0001 C CNN F 1 "GND" H 9805 5677 50 0000 C CNN F 2 "" H 9800 5850 50 0001 C CNN F 3 "" H 9800 5850 50 0001 C CNN 1 9800 5850 1 0 0 -1 $EndComp Wire Wire Line 9750 4550 9850 4550 Wire Wire Line 9800 5550 9850 5550 Connection ~ 9850 5550 Wire Wire Line 7100 5550 7100 4550 Wire Wire Line 7100 4550 9450 4550 Wire Wire Line 5950 5550 7100 5550 Connection ~ 7100 5550 Wire Wire Line 7400 5550 7700 5550 Connection ~ 7700 5550 $EndSCHEMATC