摘 要:随着家居生活条件的不断提高,居民对家庭安全的越发重视,家居安防备受关注。可是,日常家中,盗窃,火灾仍是危害家居安全的主要因素,因此设计智能化的家居安防是非常必要的。
本次设计了一款具有防火、防盗的家居安防系统,该系统由单片机AT89C51控制器、热释电红外传感器、MQ-2烟雾传感器、GSM通信模块及其接口电路组成。MQ-2烟雾传感器将采集的信号发送给单片机,单片机判断是否在安全范围内,超出通过声光报警,并且通过单片机控制GSM通信模块将报警信息发送给远程客户。热释电红外传感器能以非接触形式检测出人体辐射的红外线,最终发出声光报警和GSM发出报警信息。94270
该设计由于使用方便,价格合理,在实际生活中,有广泛的应用,因而,具有良好的应用前景和推广价值。
毕业论文关 键 词:家居安防,AT89C51,GSM无线通信,安防检测传感器
Abstract:With the continuous improvement of living conditions, residents of the family safety more and more attention, home security concern。 However, the daily home, theft, fire is still the main factor endangering home safety, so the design of intelligent home security is very necessary。
This system is designed with a fireproof, anti-theft home security system, the system consists of single-chip AT89C51 controller, pyroelectric infrared sensor, MQ-2 smoke sensor, GSM communication module and its interface circuit。 MQ-2 smoke sensor will send the signal sent to the microcontroller, the microcontroller to determine whether the security range, beyond the sound and light alarm, and through the microcontroller control GSM communication module to send alarm information to remote customers。 Pyroelectric infrared sensor can be detected in non-contact form of human radiation infrared, and finally issued a sound and light alarm and GSM alarm information。
The design is easy to use, reasonable price, in real life, has a wide range of applications, therefore, has a good application prospects and promotion value。
Keywords:Home security, AT89C51, GSM wireless communications, security detection sensors
目录
1 绪论 1
1。1背景和意义 1
1。2国内发展现状 2
1。3任务和要求 2
2 总体设计 2
2。1 系统设计框图 2
2。2 硬件模块选型 2
3 硬件单元电路设计 3
3。2。1 晶振电路 4
3。2。2 复位电路 4
3。3热释电红外传感器接口电路图 4
3。4 烟雾传感器接口电路 5
3。5 LM393电压比较器 5
3。6声光报警电路 5
4 软件设计 6
4。1 主程序流程图 2
4。2热释电模块程序流程图 7
5 系统硬件组装与调试 8
5。1 硬件的组装与焊接 8
5。2系统电路调试 9
5。2。3 调试结果 10
参 考 文 献 12
致 谢 13