| In recent years,with the growing rich materials and cultural activities in our country,more and more ordinary families like to bring some potted plants into their houses in order to beautify indoor environment,to purify indoor air and so on.Most of them rely on traditional artificial ways to cultivate potted plants,in this way,when the cultivators were out for quite a long time,it could be difficult to guarantee the potted plants to survive after the long period.To resolve this perhaps caused problem,this paper designs a kind of intelligent monitoring system for cultivating home potted plant in advantage of wireless networking function as well as making the use of single chip microcomputer measurement and control technology and WIFI technology.This system can be used to monitor and adjust the growth environment of the plant,which ensuring the stability of the plant growth environment.This system is mainly composed of hardware and software two parts.The hardware part is based on the STM32 single chip microcomputer and added DHT11 temperature and humidity sensor,BH1750 FVI light sensor and YL-69 soil moisture sensor respectively to test different data influencing potted plant growth environment,and by OV5640 cameras to monitor growth of potted plants.In addition,a display controller is designed with LCD touch screen in this system.Through the controller,users can conveniently watch the latest data from the sensors,can also use the touch button on the screen to control application equipments of system,such as fan、light、electromagnetic water valve,etc.In this way,users can directly control the STM32 MCU to adjust the growth environment of potted plant.The controller can also set its own threshold for different detection data,and the system will automatically determine whether to activate the corresponding application device after comparing the data.When the system is running in a WIFI network environment,through the wireless module of ESP8266,it can upload data which from sensors and camera to the server of OneNET,and then through the web page data can be display.The software of the system is written in C language,and the FreeRTOS real-time system is used to ensure the real-time performance and stability of the program.In the process of web page design,trigger functions of OneNET cloud server is used,which can compare the data that collected by each sensor.when the trigger conditions are met,the server of OneNET will send email to remind the user.After landing on the website,users can view the uploaded data and can use the web switch button to control the system’s application equipment which can adjust the living environment of potted plants.According to result of the experiment,this system has realized the detection and monitoring functions in potted plant growth environment,it can not only send data to the server,but also accept the control instructions from the server.This identifies the system has basically achieved the goal of the design,the function and program structure of the system also need to be further studied and optimized in the follow-up work. |