文档介绍:基于热释电传感器和GSM模块的报警器设计
摘要
随着科技的发展以及人民生活水平的提高,人们对家庭的安防系统有了更高的要求。本文利用热释电红外传感器LHI778及GSM模块设计了一种智能报警。在查阅相关资料的基础上,设计了红外信号采集电路、信号调理电路、数模转换电路、单片机控制电路、声光报警电路。本设计中选用西门子公司的TC35模块来实现远程报警;信号处理采用放大器LM324来构成放大滤波电路;模数转换电路由电压比较电路实现;单片机控制电路完成对输入信号的处理并经过串口与GSM模块通信,TC35给用户发送短信实现智能报警,同时进行声光报警。声光报警电路由发光二极管、三极管以及蜂鸣器组成。电路调试及结果表明,设计的电路能够实现红外源(人体)的报警。
关键词:热释电传感器LHI778,GSM模块TC35,单片机
A design of alarm based on dual element detector and GSM
Abstract
With the development of technology and the improvement of our lives, people’s request of defending is much higher then before. The research of this text is to carry out the automatic alarm based on dual element detector and GSM. On the basis of reading relevant information , designs the infrared signal acquisition circuit, signal regulate circuit, analog-to-digital circuit and single-chip puter control circuit, sound and light alarm circuit . we chose Siemens TC35 module to improve long-distance alarm, and use the universal amplifier LM324 to form Amplification filter circuit to Signal processing in this design. analog-to-digital circuit is based on parative circuit. the MCU operated the signal municate with GSM TC35 module through serial, then the GSM module send a note to the user to improve aptitude alarm, at the same time the sound and light alarm circuit is operated. the sound and light alarm system makes up of LED, dynatron and buzzer. And the results show that the circuit design of the circuit will be able to realize the infrared source (human) alarm.
Keywords: dual element detector LHI778, GSM TC35 module, MCU
目录
1 引言 1
课题研究背景及意义 1
本课题主要研究内容 1
设计内容 1
设计方法 2
本章小结 2
2 报警电路设计 3
信号采集与处理电路 3
热释电传感器 3
热释电红外信号采集及调理电路 4
GSM模块TC35概述 5
声光报警电路 7
单片机控制电路设计 8
89C52单片机概述 8
单片机引脚说明 9
单片机外围电路 10
GSM模块与单片机通信电路设计 11
本章小结 13
3 软件总体设计 14
单片机串行通信 14
串行通信概述 14
定时器寄存器 16
RS232串口介绍 18
串行通信初始化 19
单片机与GSM模块TC35通信 20
串口