Control Terminal Operation in myApp.py: Plant Watering System
5.1 Control Terminal Operation
Opening the control terminal in myApp.py will display the system entrance with two options: 'exam mode' and 'daily mode'.
On the home page, there is a button to enter the system, which uses a picture of the South Forest Library as the background. Clicking this button will lead to a new feature page.
On this page, there are two buttons: 'shoot plant' and 'exit system'. Clicking 'exit system' will close the page and exit. Clicking 'shoot plant' will open the camera, and after taking a picture of the plant, the page will redirect to the recognition control page.
The recognition control page has many text boxes and buttons. First, it displays the plant picture and name. Below the name are the optimal temperature and humidity for the plant. The next column shows the current temperature and humidity measured by sensors. Based on this comparison, if the plant needs watering, the last row will display 'don't need water'. Otherwise, it will display 'need water' and 'watering now'. Then, the system will call the pump module for watering for ten seconds.
Of course, the manual watering button can also be clicked for ten seconds of watering.
原文地址: https://www.cveoy.top/t/topic/ogH7 著作权归作者所有。请勿转载和采集!