Font Size: a A A

Design Of Intelligent Family Planting System Based On Flask

Posted on:2022-05-25Degree:MasterType:Thesis
Country:ChinaCandidate:Y L HuFull Text:PDF
GTID:2518306488451134Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Nowadays,people are paying more and more attention to a healthy diet,and vegetables,as an indispensable part of people’s daily diet,have attracted much attention.In people’s daily life,home planting is getting more and more popular.People are beginning to grow vegetables on balconies and other places,but the system for home planting is not perfect.Many scientific research institutions invest a lot of money in research of it,but in real life There are few applications and lack of platform applications that can meet the daily needs of the people.People still rely on experience to grow vegetables,and they lack time to manage.Based on the above problems,this paper develops and design a family intelligent planting system based on the Flask framework.The air temperature sensor,air humidity sensor,soil temperature and humidity sensor and other sensors in the system are responsible for collecting environmental parameters in the greenhouse.The Raspberry Pi sends the collected data to the server via Wi Fi.The server is responsible for data processing,and the information is sent to User presentation.The server is responsible for data processing,and the information is sent to the user through the browser Show.The focus of this paper is the development of software platform,communication design,and system fuzzy control algorithm design.The system includes multiple functional modules such as user center,data management,equipment management,communication center,etc.This article analyzes the functional requirements of each module,and on this basis,carries out detailed design of each module;the greenhouse connects to the network through Wi Fi,The MQTT protocol hbmqtt implemented based on Python completes the data communication between the greenhouse and the server;the system can control the environmental factors in the greenhouse through manual,automatic,and intelligent three methods.The intelligent control is designed based on the fuzzy control algorithm.Take humidity control as an example,design its fuzzy controller to achieve the effect of intelligent control based on expert experience.This system adopts the MVC design mode,the system uses Linux,which has the characteristics of open source,free of charge,and stable performance.It is the first choice as a server.Use My SQL as a database to store user information,crop growth environment data and other data that needs to be stored for a long time.Database access operations are implemented through Flask_SQLAlchemy,and Redis database is used as a cache to speed up resource access.The backend framework uses the lightweight framework Flask written in Python language,and the service software uses the more commonly used Nginx,and integrates Python web development related technologies to build a home planting monitoring system that is easy to operate,low cost,and close to user needs.
Keywords/Search Tags:Intelligent control, MVC mode, Flask framework, MQTT
PDF Full Text Request
Related items