案例,spss,数据分析

基于单片机的智能家居环境检测系统设计


全文字数:13000字左右  原创时间:<=2022年

【内容摘要】

基于单片机的智能家居环境检测系统设计 本设计可分为温湿度检测和烟雾检测部分。温湿度检测部分,是通过利用单总线型数字式温湿度传感器DHT11,实现系统具有测温湿度误差小、分辨率高、抗干扰能力强等特点。烟雾检测电路,是利用气体传感器MQ-2与ADC0832模数转换器实现基本功能。通过这些传感器和芯片,当环境中烟雾气体浓度发生变化时系统会发出相应的灯光报警信号和声音报警信号,以此来实现烟雾报警,智能化提示。本设计具有很强的实用价值和良好的市场前景。温湿度、烟雾是两种最基本的环境参数,其测量方法和装置对现在的生活、生产具有重要的意义。本课题基本完成预期设想,设计并实现了系统的硬件电路,完成了系统软件的编写和调试。测试结果证明,达到了设计要求。 本文把传感器技术应用与单片机控制技术相结合,实现了对环境温湿度和燃气浓度的采集和读取。利用LCD液晶显示技术完成了环境温度、湿度及显示电路的设计。外接了蜂鸣器报警模块,在超过设定燃气浓度.上限时自动报警。采用发光二极管进行温湿度报警及气体浓度超限报警。 关键词:检测;单片机;烟雾;报警;液晶显示 Abstract This design can be divided into temperature and humidity detection and smoke detection. The temperature and humidity detection part is realized by using DHT11, which has the characteristics of small temperature and humidity error, high resolution and strong anti-interference ability. Smoke detection circuit is the basic function of the gas sensor mq-2 and ADC0832 ADC. Through these sensors and chips, when the smoke gas concentration changes in the environment, the system will send out corresponding light alarm signal and sound alarm signal, so as to realize smoke alarm and intelligent prompt. The design has a strong practical value and good market prospect. Temperature and humidity and smoke are two basic environmental parameters, and their measuring methods and devices are of great significance to the life and production. This project basically completed the expected assumption, designed and implemented the hardware circuit of the system, completed the system software preparation and debugging. The test results show that it meets the design requirements. This paper combines the sensor technology with the single chip control technology to realize the collection and reading of the ambient temperature and humidity and gas concentration. The design of environment temperature, humidity and display circuit is completed by using LCD technology. The alarm module of buzzer is connected to the outside, and it will alarm automatically when the gas concentration and upper limit are exceeded. The temperature and humidity alarm and gas concentration overrun alarm are alarm by using LED. Key words: detection; singlechip; Smog; call the police; lcd 目 录 1绪论 1 1.1设计背景及意义 1 1.2国内外发展状况及研究背景 1 1.3研究目标和内容 2 2总体方案设计 2 2.1系统构成 2 2.2方案设计 3 2.2.1单片机模块选择与论证 3 2.2.2传感器的选择 4 2.2.3按键的选择 5 2.2.4显示模块的选择 5 3硬件电路设计 5 3.1单片机最小系统电路 5 3.2温湿度检测电路 6 3.3 A/D转换电路 7 3.4 MQ-2烟雾检测电路 9 3.5 报警电路 11 3.5.1 灯光报警电路 11 3.6 LCD1602液晶显示电路 13 3.7 按键电路 13 4软件程序设计 14 4.1程序语言及开发环境 14 4.2 系统程序流程图 15 4.2.1显示数据刷新子程序 15 4.2.2 1602液晶程序设计 16 4.2.3 温湿度DHT11传感器程序设计 17 5测试结果及结论 18 5.1调试 18 5.2 结论 19 附 录 20 参考文献 37

 

*若需了解更多与协助请咨询↓→[电脑QQ][手机QQ]【数据协助】