基于单片机的室内无线环境监控系统--毕业论文.docx

基于单片机的室内无线环境监控系统--毕业论文.docx

  1. 1、本文档共48页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机的室内无线环境监控系统--毕业论文

本科毕业设计(论文)基于单片机的室内无线环境监控系统学院 物理与光电工程学院 专业 电子科学与技术 (应用电子方向) 年级班别学号学生姓名指导教师基于单片机的室内无线环境监控系统 物理与光电工程学院摘要我们知道温湿度是温室大棚种植里面关键的环境变量,因此对温度和湿度进行监控成为温室大棚种植的重要任务之一。本系统是以温室大棚种植为背景,设计一个基于STC12C560S2单片机的温室内无线环境监控系统,可以远程监控温度和湿度。温湿度传感器DHT21采集到室内的温度和湿度后,通过单总线将数据发送给上位机进行处理。单片机把处理好的数据经过SPI接口传输给无线收发模块NRF905。无线模块将数据进行打包,加上CRC检验码后,放入发送数据寄存器。系统等待NRF905启动发送模式,然后把温室度的数据和接收端的地址一起发送出去。下位机的NRF905无线模块不断地检测空中的电磁波。当接收到与自身的地址相配的地址后,模块开始接收到数据。对数据进行解包,去除CRC检验码后,无线模块把数据存储在数据接收寄存器。下位机通过SPI接口读取数据,将温度和湿度显示在液晶屏上,同时判断是否需要启动报警。系统采用C语言进行编程,同时可以通过按键对温度和湿度的报警范围进行设定。关键字:单片机,无线收发模块,温湿度传感器,室内环境AbstractWe know that temperature and humidity are key environmental variables sin greenhouses planting,therefore to monitor temperature and humidity become one of the important tasks of greenhouses planting.This system is based on background of greenhouses planting.Designing a wireless environment monitoring system in greenhouse based on STC12C560S2 microcontroller. This system can remotely monitor and control temperature and humidity.After temperature and humidity sensors DHT21 have collected the indoor temperature and humidity, the data is sent to the mastermachine for processing through the single bus. MCU processesthe data and then transmit to NRF905 wireless transceiver module through SPI interface.After packaging data and adding the check code into thedata,wireless module puts the data into register. The system wait for NRF905 starting delivery mode, and then the data of greenhouse and address is sent together to the receiving end.TheNRF905 wireless module of slave machine continuously detects the electromagnetic waves in the air.When receiving matching address, the module began to receive data. To unpack the data after removing CRC check code, the wireless module stores the data in the data receive register. Slaver machine reads data from the SPI interface,and then displays the temperature and humidity on the LCD screen, and judges whether to start the alarm at the same time.System uses the C l

文档评论(0)

hhuiws1482 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:5024214302000003

1亿VIP精品文档

相关文档