登录

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

注册

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

找回密码

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

基于单片机的校园安防系统的设计与研究毕业论文

 2022-04-13 08:04  

论文总字数:21456字

摘 要

近年来校园安全问题越来越来成为一个重要的社会问题,学生是国家以后发展的希望。校园安防问题已经引起的广泛的关注,如何建立良好的校园安防系统,保证学生在校的安全成立很多人思考的问题。火灾意外时校园安全案件中最常见的意外,也是伤害最大的意外。所以在校园安防系统中防火显得尤为重要,我的设计主要从防火防盗这方面入手。

考虑到校园的总起情况,我们选择价格比较便宜,性能比较完整的单片机设备来是实现。所以我们设计一种构造简单、经济适用的以温度、烟雾传感器,红外感应以顺应市场的需求。

本系统以单片机和传感器作为主要的,外加一些其他的装置即可实现烟雾、温度报警红外感应防盗等作用。本次设计硬件的选择:STC89C52单片机、DS18B20温度传感器、MQ-2烟雾传感器。LCD1602液晶显示屏、红外感应器等。论文主要对防火防盗系统中的每个组成部分和各部分的功能以及其主控电路以及外设电路之间的接口连接方式做了详细的介绍,和系统软件部分的设计做了详细说明分析。

对于防盗部分使用热释电红外传感器,它的防盗性能比较稳定可靠、价格也比较便宜,能够很好的达到设计的效果。这种防盗器便于安装,易于隐蔽,不容易被盗窃的人发现,实用性好。本设计主要包含两个部分硬件设计与软件设计。硬件部分的设计含有单片机控制模块、LCD控制模块、红外检测模块、驱动执行报警模块、等模块组成。使用STC89C52单片机作为处理器,编程语言使用C语言。

关键词:校园安防;烟雾检测;单片机;传感器;红外感应

Design and research of campus security system based on single chip microcomputer

Abstract

In recent years, the safety of the campus has become a more and more important social problem, and the students are the hope of the country's development. Campus security issues have aroused widespread concern, how to establish a good campus security system, to ensure the safety of students in school to set up a lot of people thinking about the problem. The most common accident in the campus safety case in the fire accident is the biggest accident. So in the campus security system is particularly important for fire prevention, I design mainly from the fire protection of this area.

Taking into account the overall situation of the campus, we choose the price is relatively cheap, the performance of a relatively complete single-chip device to achieve. So we design a simple, economical and applicable temperature, smoke sensor, infrared sensor to meet the needs of the market.

This system with the single chip microcomputer and the sensor as the main, plus some other devices can realize smoke, temperature alarm, infrared induction anti-theft function. The design of the hardware of choice: STC89C52 microcontroller, DS18B20 temperature sensor, MQ-2 smoke sensor. LCD1602 liquid crystal display, infrared sensors, etc.. Paper for each of the fire alarm system in the composition interfaces between the parts and each part's function and the main control circuit and peripheral circuit connection mode are introduced in detail, and the software of the system design do detailed analysis.

For anti-theft part of the use of pyroelectric infrared sensor, it is more stable and reliable anti-theft performance, the price is relatively cheap, can achieve a good effect of the design. The anti-theft device is easy to install, easy to conceal, and is not easy to be found, and the utility model is not easy to be stolen.

Keywords: Campus Security;Smoke detection ; MCU; sensor; Infrared induction

目 录

摘要 I

Abstract II

第一章 绪论 1

1.1 课题背景 1

1.2 防火防盗报警系统的国内外现状 1

1.3 防火报警器的发展趋势 1

1.4 本课题研究主要内容 2

第二章 总体方案设计 3

2.1 烟雾检测传感器选型 5

2.1.1 烟雾传感器的介绍 6

2.1.2 MQ-2半导体气体烟雾传感器 6

2.2 单片机选型 7

2.2.1 STC89C52单片机简介 7

2.2.2 单片机的引脚功能描述 8

2.3 红外感应部分 9

2.3.1 电源模块 9

2.3.2 热释电传感器 9

2.3.3菲涅耳透镜 9

2.3.4 BISS0001芯片简介 10

2.3.5 信号采集处理部分 11

2.4 温度传感器 12

2.4.1 温度传感器DS18B20 12

2.4.2 温度传感器的选型 12

第三章 系统的硬件电路 13

3.1 单片机最小系统 13

3.2 烟雾AD采集电路 14

3.3 时钟电路与复位电路设计 14

3.4 声音报警电路 15

3.5 显示模块 15

3.6 按键控制电路 15

3.7 温度传感器电路 16

3.7.1 DSl8B20介绍 16

3.7.2 DSl8B20技术参数 17

3.7.3 18B20接口电路 17

3.8 电源模块 18

第四章 系统的软件设计 19

4.1 烟雾检测模块软件设计及流程图 19

4.2 按键部分程序设计 20

4.3 部分程序源代码 21

第五章 总结与展望 26

5.1 总结 26

5.2 展望 27

参考文献 29

第一章 绪论

1.1 课题背景

随着当今社会经济的发展,社会对教育的认识度及重视,我国高校数量以及高校学生数量迅猛的增长,校园安全问题日益成为重要的社会问题,校园安全问题引起越来越多的人的注意。如何建立安全好用又经济的校园安防系统成了很多人思考的问题。校园容易发生安全事件究其原因为有:1、安全隐患比较多,2、场地分散、面积大,3、人员数目多、结构复杂。常见安全隐患如学生的安全意识差,在宿舍使用吹风机,卷发棒,热得快,更有甚者使用电饭煲,电磁炉等大功率用电器等;由于学生宿舍是集体的环境,学生的防范意识比较弱,所以财物的丢失常常会发生;实验室的实验器材丢失事情也是时有发生;所以在校园安防系统中防火防盗显得尤为重要。

请支付后下载全文,论文总字数:21456字

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

企业微信

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