STC89C52单片机的智能花盆的设计+电路图

使用的核心控件是微控制器STC89C52,设计适用于室内小型盆栽。通过自动改善影响盆栽植株生长的非生物因素,温度、湿度、光照来达到对盆栽的培育。


摘  要:此次设计有别于我国传统的浇花装置,使用的核心控件是微控制器STC89C52,设计适用于室内小型盆栽。通过自动改善影响盆栽植株生长的非生物因素,温度、湿度、光照来达到对盆栽的培育。设计所使用的芯片是学习中经常会用到的可以进行模数转换的ADC0832。显示屏方面则使用的是能够较为清晰显示较多字符的字符型液晶显示模块1602。决定植物正常生长所需的外因包含稳定的温度、合适的土壤湿度和阳光的照射,在失当的温湿度及光照下植物会暂停生长甚至会死亡。通过设定的程序将温湿度范围、光照强度输送给单片机。温度调控,当所处的环境温度高出设置的最大温度值时,系统将会实现自动通风功能令其温度降低。湿度调控和光强调控与此工作原理一样。经过三大调控系统处理后盆栽恢复至理想环境时,系统能够自行停止调控,维持盆栽在一个相对舒适的环境下生长。这款设计可以为用户减少花费在养花上面的时间,使用户有时间去做另外的事情,还能够智能化的对盆栽进行关爱与呵护,系统收集到保证盆栽能在健康舒适、理想的环境下生长。使人们能更多的感受到养好盆栽的乐趣。

该论文有图12幅,表1个,参考文献10篇。

关键词:单片机  温湿度传感器  LCD显示    

Design of Intelligent Flowerpot Based on 52 Single Chip Microcomputer

Abstract:This design is different from our country's traditional watering device, the core control used is the microcontroller STC89C52, designed for small indoor pots. By automatically improving abiotic factors that affect the growth of potted plants, the temperature. humidity. light. To achieve the cultivation of potted plants. The chip used in the design is the ADC0832 that can be used for analog-to-digital conversion. For the display screen, a character-type liquid crystal display module 1602 capable of displaying more characters clearly is used. The external factors needed to determine the normal growth of plants include stable temperatures, proper soil moisture, and exposure to sunlight. Plants will halt growth or even die if exposed to improper temperature, humidity, and light. Through the set program, the temperature and humidity range and light intensity are transmitted to the microcontroller. Temperature regulation, when the ambient temperature is higher than the set maximum temperature value, the system will achieve automatic ventilation function to reduce its temperature. Humidity control and light stress control are the same as this working principle. After the three major regulatory systems have processed potted plants to restore their ideal environment, the system can stop the regulation and maintain the growth of potted plants in a relatively comfortable environment. This design can reduce the time for users to spend on growing flowers, allowing users to have time to do other things. It can also intelligently care and care about potted plants, and systematically ensure that potted plants can be in a healthy and comfortable and ideal environment. Growing up. Make people feel more about keeping potted plants fun.

The paper has 12 figures, 1 table, and 10 references.

Key words: Microcontroller  Temperature and Humidity Sensor  LCD Display

目  录

摘  要 Ⅰ

Abstract Ⅱ

目  录 Ⅲ

1 绪论 1

1.1引言 1

1.2研究背景 1

2 系统整体设计 2

2.1设计功能要求 2

2.2系统设计方案 2

2.3设计总方框图 3

3 系统硬件设计 4

3.1硬件电路组成 4

3.2温度检测电路 4

3.3按键电路 5

3.4湿度检测电路 6

3.5显示电路 6

3.6蜂鸣器报警电路 7

3.7系统总电路 8

4 系统软件设计 9

4.1主程序设计 9

4.2 温度检测程序设计 9

4.3 湿度检测程序设计 10