基于单片机的红外报警系统设计(附程序代码)(任务书,开题报告,论文9000字)
摘 要
智能家居安防是选取计算机、无线、网络布置方案去建设环境数据化控制设备,所有的功能块组合成一种设备的家居网络。利用专门的媒体设备,如计算机技术、电话线路、无线方案等。建设组成家庭和外界环境完成数据交互的方案,远程操控家里的家电,去实现监控,用此类方案能够让大家感到非常安全。为了满足大家逐渐加大的安全、便捷以及舒服等要求,以及人民对所在环境的要求,家居系统有了非常大的发展空间。
此项目是基于单片机的红外报警系统设计,项目中选用了STC89C51单片机作为主控制芯片。包含有按键、人体检测、报警控制、指示灯。设备启动后首先完成各项参数设置的初始化操作,然后系统进行按键扫描判断是否进入布防状态。进入布防状态后实时检测人体信号以及紧急报警按键,控制蜂鸣器以及指示灯。人体检测选取热释电红外模块。选取C语言实现代码开发,选取Keil作为代码开发运行的工具。代码开发结束选取Proteus环境完成功能验证。不断优化,完成系统实物。
关键词: STC89C51 红外报警系统 蜂鸣器 C语言
Design of infrared warning system based on single chip microcomputer
Abstract
Intelligent security is selected Home Furnishing computer, wireless network, layout to data construction environmental control equipment, all function blocks are combined into a device in Home Furnishing network, the use of specialized media devices, such as computer technology, telephone lines, wireless solutions, the Ministry of construction into the family and the external environment of data exchange scheme, remote control of home appliances, to achieve monitoring, use of such scheme can make everyone feel very safe. In order to meet the increasing requirements of everyone's safety, convenience and comfort requirements. Because of the rise of technology and the people's demand for the environment, the home system has a very large space for development.
This project is based on single-chip infrared alarm system design, the project selected the STC89C51 microcontroller to complete the main work. The contents include buttons, human body detection, alarm control, water control and indicator light. After the device is started first complete set the parameters initialization operation, then the key scanning system to determine whether access to the deployment of state. In defense state after real-time body signal and an emergency alarm button, control the buzzer and the indicating lamp. A pyroelectric infrared module is selected for human body detection. Select C language code development, select Keil tools to achieve code development and operation. End of code development, select Proteus environment, complete function verification. Continuously optimize and complete the design.
Key words: STC89C51; infrared alarm system; buzzer; C language
目 录
摘 要 I
Abstract II
第一章绪论 1
1.1研究背景及意义 1
1.2课题研究内容 1
第二章 系统架构设计 3
2.1系统整体方案设计 3
2.2主控制器方案 3
2.3报警方案 4
2.4人体感应方案 4
2.5小结 5
第三章 系统硬件设计 6
3.1单片机系统设计 6
3.2报警电路 10
3.3人体感应电路 10
3.4按键电路 11
3.5指示灯电路 12
3.6小结 12
第四章 系统软件设计 13
4.1软件整体设计 13
4.2软件开发工具 14
4.3小结 16
第五章 系统仿真 17
5.1仿真软件简介 17
5.2系统仿真 17
5.3硬件调试 18
5.4小结 20
结 论 21
参考文献 22
致 谢 23
附录..........................................................................................................24
|