登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 自动化 > 正文

基于单片机的宿舍生态环境监控系统

 2023-03-02 11:03  

论文总字数:22109字

摘 要

近年来,由于国内学校的宿舍安全保护措施不健全,火灾频发。为了有效的防范火灾,本课题提出一种基于单片机的宿舍生态环境监控系统,主要用来监控宿舍的温湿度以防范火灾。本系统利用ZigBee无线传感器网络技术和DHT11传感器模块,根据IEEE802.15.4协议标准,构造无线传感器网络。利用CC2530设计传感器终端节点,同时设计网络协调器节点和上位机进行通信,将温湿度传感器采集到的数据通过无线方式经过路由器节点传送给协调器节点,然后通过串口与上位机通信,由上位机对宿舍的温湿度进行监控。结果表明系统设计能够实现对宿舍温湿度的实时监控。该系统能够运用在民用领域,提高安全保护的强度,减少灾害。

关键词:宿舍生态环境;ZigBee技术;CC2530;无线传感器网络;

Dormitory Ecological Environment Monitoring System Based on Single Chip Microcomputer

Abstract

In recent years, many university student apartment fire freque because of Imperfect protection measures.In order to effectively prevent fire, this topic proposed a Dormitory ecological environment monitoring system based on MCU, mainly used to monitoring the temperature and humidity of the dormitory to prevent fire. According to the agreement standard IEEE802.15.4, The system uses ZigBee wireless sensor network technology and DHT11 sensor module to construct wireless sensor network .The system uses CC2530 to design sensor terminal nodes and network coordinator node which can communication with PC . This system can transfer data which be collected by Temperature and humidity sensor from router nodes to the coordinator node through wireless way, then the system communicate with upper machineare though a serial port. The results show that the system can realize real-time monitoring of temperature and humidity of the dormitory. The system can be applied in the field of civil to improve the strength of the security and protection, it can reduces the disaster .

Key words: dormitory environment; ZigBee technology; CC2530; wireless sensor monitoring network;

目录

摘 要·············································································Ⅰ

Abstract·············································································Ⅱ

第一章 引言··········································································1

1.1课题背景及意义·································································1

1.2国内外研究现状·································································1

1.2.1国外研究现状·······························································1

1.2.2国内研究现状·······························································2

1.3论文主要工作···································································2

第二章 系统的总体设计································································4

2.1系统的设计目标·································································4

2.2无线通信方式的选择·····························································4

2.3系统的设计框图································································4

2.4 ZigBee技术的介绍······························································5

2.4.1 ZigBee和IEEE.802.15.4的关系············································`6

2.4.2 ZigBee的特点·····························································7

2.4.3 ZigBee无线网络拓扑结构···················································8

第三章 系统的硬件设计································································9

3.1网络节点的硬件设计框图·························································9

3.2 ZigBee射频控制芯片的选择及其外围电路··········································9

3.2.1 CC2530芯片介绍····························································9

3.2.2 CC2530的外围电路··························································11

3.3温湿度传感器选择及其电路······················································13

3.3.1 温湿度传感器的选··························································13

3.3.2 DHT11的电路······························································13

第四章 系统的软件设计·······························································15

4.1 IAR开发环境··································································15

4.2系统的网络构架································································16

4.3协议栈········································································16

4.3.1系统初始化·································································18

4.3.2操作系统的执行·····························································18

4.4模块软件实现··································································19

4.4.1终端节点传感器模块的软件实现···············································19

4.4.2协调器模块软件实现·························································20

第五章 系统测试·····································································21

5.1系统的搭建····································································21

5.2系统的测试结果································································21

第六章总结与展望····································································23

致谢················································································24

参考文献············································································25

附录················································································26

剩余内容已隐藏,请支付后下载全文,论文总字数:22109字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图