"景先生毕设|www.jxszl.com

基于单片机的智能晾衣架(附件)【字数:5767】

2024-11-03 13:38编辑: www.jxszl.com景先生毕设
4一、 绪论 6一、(一)选题背景 6一、(二) 研究目的 6二 硬件设计 7二.(一) STC89C52单片机简介 7二、(二)雨滴传感器 9二、(三) 光敏电阻 10二、(四) LM393简介 10二、(五)电机简介 11三、 软件设计 13三、(一)开发环境简介 13三、(二)程序简介 13致 谢 16参考文献 17附录 18原理图 18源程序 19在信息快速发展的社会下,人们的生活节奏越来越快这也让我们没有多余的时间去处理琐碎的事情,例如,好天气实现晾衣功能、阴雨天气实现收衣功能。目前针对基于单片机的智能晾衣架的设计与实现有了很不错的设计思路。该设计主要用到雨滴检测传感器、光敏电阻等元件,根据天气变化进行收衣晾衣的功能,之后再把检测到的结果传输给STC89C5单片机,接着单片机会对雨量的大小和阳光照射的强度来驱动电机达到正向旋转或反向旋转,最终通过晾衣架的高度来实现智能晾衣的功能,通过使用FC-37和LM393这两个模块,实现了对雨滴的检测和电压比较的功能,具体流程为,当雨滴传感器上滴落水珠后传感器根据不同水珠大小改变相应电阻,随后通过电压比较器转换后,将采集的数据转换为数字量发送给单片机进行判断,随后单片机根据传感器水珠大小判断是否提高晾衣杆。在雨滴传感器和光敏电阻的共同判断下,当单片机认为现在是晴天时,他还可以通过光强来确定出最佳的晾衣高度, 接着单片机会对应高电平和低电平对电机进行控制,可以实现晾衣收衣。
目录
ABSTRACT
In a society with the rapid development of information, peoples pace of life is getting faster and faster, which also leaves us no extra time to deal with trivial things. For example, the function of drying clothes in fine weather is achieved, and the function of collecting clothes in rainy weather is achieved. At present, the design and rea *51今日免费论文网|www.51jrft.com +Q: *351916072
lization of intelligent clothes hanger based on SCM have a very good design idea.
This design is mainly use the element such as rain detection sensor, photosensitive resistance, according to the weather change to collect the clothes washing function, and then transmit the detected results give STC89C5 microcontroller, then single chip microcomputer to the size of the rainfall and the intensity of sunlight to drive the motor to achieve positive rotation or reverse rotation, ultimately through the height of the dryer to implement intelligent washing function, through the use of the FC 37 and LM393 these two modules, realizes the detection of rain and the function of the voltage comparison, for the specific process, after the rain dripping water drops on sensor sensor according to different water droplets size change corresponding resistance, Then, after the voltage comparator conversion, the collected data will be converted into digital quantity and sent to the SCM for judgment, and then the SCM will judge whether to raise the drying rod according to the size of the water drop of the sensor. Under the joint judgment of raindrop sensor and photosensitive resistance, when the single chip microcomputer thinks it is sunny now, it can also determine the best height of washing by light intensity, and then the single chip microcomputer will control the motor corresponding to high and low levels, so as to realize washing and receiving.
Keywords: STC89C52 microcontroller, photosensitive resistor, LM393, raindrop sensor
绪论
选题背景
在人类发展的进程中经历了第一次工业革命蒸汽机的发明使用、再经过第二次工业革命电的产生,而第三次工业革命则是网络信息技术日益完善的今天,把网络连接到人们的生活家居里面去使用,以前只是在电影里或者书籍上面对家居智能化的产品,有的还要靠想象,但是现在已经成为事实,并且智能家居也悄无声息的慢慢融入我们的生活,这改变了人们的生活方式和工作习惯,同样也一改人们对家具的认识,颠覆了以往对传统家具的认知,家庭里面使用的家具在电子信息技术以及控制技术发展的今天,也可以变得像手机、电视、电脑一样更智能化,这也是智能家居发展的必然趋势。
研究目的
在科技不断发展的今天,人们生活变得越来越忙碌,“朝九晚五”逐渐成为了当代年轻人的标配,所以在晾晒衣服时难免会发生雨天忘记收衣等现象,少则重新清晰,多则衣物掉色。所以就此情况我设计了智能晾衣架,以解决雨天晾衣、收衣难等情况。

原文链接:http://www.jxszl.com/jsj/wlw/607545.html