打赏
当前位置: 毕业论文 > 电子通信 >

STC89C52RC单片机家庭花卉养殖系统设计+程序

时间:2020-04-25 17:34来源:毕业论文
摘要基于网络的家庭花卉养殖系统设计是通过对土壤湿度,花卉周边环境温度和太阳光照进行检测,从而控制电磁阀;步进电机(舵机);窗户的开与关;窗帘的下拉与上升来达到花卉

摘要基于网络的家庭花卉养殖系统设计是通过对土壤湿度,花卉周边环境温度和太阳光照进行检测,从而控制电磁阀;步进电机(舵机);窗户的开与关;窗帘的下拉与上升来达到花卉自然生长时所需要的各种条件。

土壤温湿度的检测电路和自动浇水系统组成了土壤温湿度的检测与控制部分。土壤温湿度的检测以温湿度传感器为感应器件,根据其显示的温度、湿度读取这些数据,并且将检测到的土壤温湿度值传入STC89C52RC单片机,再由单片机控制电磁阀工作。

自动浇水系统智能浇水部分是首先通过单片机程序设定给土壤浇水的上下限值,并且把这个上下限值与传入单片机的土壤湿度值进行比较,当实际的土壤湿度值低于下限值时,单片机输出一个信号控制电磁阀打开,系统开始给花卉灌水,当实际的土壤湿度值高于上限值时,再由单片机输出一个信号控制电磁阀关闭,系统停止给花卉浇水。48128

同理,通过单片机程序设定环境温度和光照强度的上、下限值。当花卉周边环境温度高于上限值时,打开窗户,进行散热。 当花卉周边环境温度低于下限值时,关闭窗户,进行集热。当光照强度高于上限值时,由单片机控制电机将窗帘拉下,从而达到遮挡阳光的效果。当光照强度弱于下限值时,由单片机控制电机将窗帘卷起,放入阳光。

本文通过网络远程控制花卉生长,对家庭花卉养殖进行了初步探索和实验,取得了一些远程控制花卉生长的方法,同时对开发设计新产品提供了有益的数据和经验,对自助养花的普及起到了带头作用。

毕业论文关键词:STC89C52RC单片机  温湿度传感器  光照传感器   C52程序  数字电路

ABSTRACT  Family flower breeding system based on network design is based on soil moisture, flowers surrounding environment temperature and solar light for testing, so as to control electromagnetic valve; Stepper motor (steering); Open and close the window; The drop-down and rise of the curtain to meet various conditions needed for flowers and plants grow naturally.

  Soil temperature and humidity detection circuit and the automatic watering system test and control part of the soil temperature and humidity. Soil temperature and humidity test for temperature and humidity sensing device, according to the display to read the data of temperature, humidity, and detect the soil temperature and humidity values into the STC89C52RC MCU, by single-chip microcomputer control solenoid valve work again.

  Automatic watering system intelligent watering part is first by single chip microcomputer program is set to the upper and lower limit of soil water, and the upper and lower limit is introduced into single chip microcomputer and soil moisture value comparison, when the actual soil humidity value is lower than the lower limit value, the microcontroller output a signal to control the electromagnetic valve is opened, the system began to water flowers, when the actual soil moisture value higher than the threshold value, and output a signal by single-chip microcomputer control solenoid valve closed, system stop watering flowers. 

  Similarly, by single-chip microcomputer program environment temperature and light intensity of the upper and lower limit. When flowers surrounding environment temperature is higher than the upper limit, open the window, for heat dissipation. When the flowers surrounding environment temperature is lower than the lower limit value, the Windows closed, hot to set. When the light intensity is higher than the upper limit, pulls the curtain by single chip microcomputer control motor, so as to achieve the effect of keep out sunshine. When the light intensity is weak in lower limit, the curtain roll up by single chip microcomputer control motor, into the sun.  STC89C52RC单片机家庭花卉养殖系统设计+程序:/tongxin/lunwen_50489.html

------分隔线----------------------------
推荐内容