1、 家居智能安保系统设计家居智能安保系统设计 家居智能安保系统设计 摘要摘要 本文利用单片机结合传感器技术而开发设计了这一煤气泄漏自动报 警系统。本设计将采用 MQ_5 传感器,再将信号通过 ADC0809 直接转 换成数字信号送给单片机, 电路简单, 成本低; 实现声光报警。 选用 MQ-5 型半导体可燃气体敏感元件烟雾传感器实现烟雾的检测, 具有灵敏度高、 响应快、抗干扰能力强等优点,而且价格低廉,使用寿命长。采用 SMC1602A 液晶显示模块可以直观的显示实时温度和气体浓度。选用 AT89S52 单片机对所采集的数据进行处理。该系统结构简单、性能稳定、 使用方便、价格低廉,具有一定的实用
2、价值。 关键字:关键字:煤气监控系统 单片机 MQ-5 家居智能安保系统设计 Abstract Based on single chip microcomputer combined with the sensor technology and development and design the gas leakage alarm system automatically. MQ-5 sensor is adopted in this design, then send signal directly by ADC0809 converts digital signals to single
3、 chip and circuit is simple, the cost is low; Implement sound and light alarm. Use MQ to 5 type semiconductor gas sensitive element smoke sensor realize smoke detection, high sensitivity, fast response, and the advantages of strong anti-jamming capability, and low cost, long service life. Using SMC1
4、602A liquid crystal display module can be intuitive display real-time temperature and gas concentration. Selects the AT89S52 single chip microcomputer to deal with data that is collected. The system has simple structure, stable performance, convenient use, low prices, has certain practical value. Ke
5、ywords: gas monitoring system, chip microcomputer, MQ - 5. 家居智能安保系统设计 目录目录 摘要 1 Abstract II 目录 III 1 概述 . 1 1.1 课题研究背景 1 1.2 物联网发展历程 2 1.3 研究内容 5 2 系统总体设计 . 6 2.1 系统功能设计 6 2.2 系统设计原则 6 3 方案论证与比较 . 7 3.1 系统构成方案 7 3.2 控制器系统方案 8 3.3A/D 转换电路方案 . 8 3.4 显示电路方案 9 3.5 操作模块方案 9 3.6 声光报警模块方案 9 3.7 控制电路方案 9 4
6、系统硬件结构 . 11 4.1 整体硬件设计思路 11 4.2 单片机最小系统电路 11 4.3 数据采集电路 12 4.4A/D 转换电路 . 16 4.5 操作模块电路 16 4.7 声光报警电路 18 4.8 控制模块电路 18 4.8.1 电磁阀控制模块 . 18 4.8.2 电风扇驱动模块 . 19 5 系统软件设计 . 20 家居智能安保系统设计 5.1 程序流程图 20 6 调试 . 24 总结 26 致谢 27 参考文献 28 附录 28 家居智能安保系统的设计 1 1 概述概述 1.1 课题研究背景课题研究背景 随着社会的发展,人们为了提高生活质量,广泛的应用着各种能源。 比 如会用到天燃气、电、水等。这些东西给人们带来方便的同时,也存在一 定的安全隐患,给家带来灾难。 如果家中无人或只有老人,就对家居的智能 安全提出较高要求。 智能家居最早追溯到 20 世纪 80 年代的美国。早期人们利用电子技 术,设计的家居自动控制电路,如门铃控制等。随着计算机技术的发展,大 规模集成电路的广泛应用,人们逐渐利用单片机等设计程序化的家居控 制。近年来随