Data Collection Process(By Raspberry Pi)
1.Collect weather data, including rain, humidity, luminosity, temperature.
2.Collect water data.
3.Schedule the sampling interval.
4.Record Exception
5.Send the collected data to the main server.
Power controller to the water chamber (By ESP32)
1.Measure the voltage of battery.
2.Control the sleep and active time of ESP32
3.Communicate to the Raspberry pi(Server) to change the power schedule and return the voltage measurement.
4.Control the power of water sensors.
5.Control the function of pump and valve