- 1、本文档共29页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于51单片机空气质量检测仪
毕业设计用纸
PAGE
共28页 第PAGE 29页
摘要
随着电子信息的快速发展,越来越多的电子设备应用在我们生活中。本次设以STC89C52单片机为控制核心,通过使用PM2.5检测传感器模块、LCD液晶显示模块、按键控制模块、报警模板,实现基于单片机的空气质量检测系统。本次设计主要针对的是解决检测空气中PM2.5的值,设计分为硬件设计和软件设计两个部分,软件设计主要是根据硬件需要实现的功能,按照软件流程图进行编码设计,硬件设计主要是按照不同的模块进行,把整体的硬件分成模块电路设计。软件设计中使用C语言作为单片机的开发语言,由于C语言是偏向于底层硬件语言,其比汇编更加通俗易懂,比高级语言更加适合对硬件的直接控制,而且具有很好的移植性。通过硬件和软件的设计系统可以实现对空气质量PM2.5的检测和显示,当系统检测空气中PM2.5的的浓度值高于正常标准时,报警模块将发出报警,当空气PM2.5浓度值低于报警阈值时,报警停止。本次设计空气检测仪操作简单、成本低、性能稳定、是只能家居的首选。
关键字:单片机;PM2.5传感器;报警器;LCD显示器;
ABSTRACT
With the development of high and new technology, SCM has been used more and more in daily electronic products. With the STC89C52 microcontroller as control core, through the use of PM2.5 sensor module, LCD LCD module, key control module, alarm template, implementation of air quality detecting system based on mcu. The design of the air quality detection instrument based on MCU is mainly divided into the design of hardware circuit and software program of the preparation of the two part, the hardware design according to the overall plan of system diagram design, the overall design of the hardware circuit is divided into modules. In the software design uses the monolithic integrated circuit C language realization system that that the entire procedure writes, uses the C language to carry on the programming to be possible to make the program readability good, and the procedure is easy to transplant. Through the design of hardware and software can achieve the measurement of air quality in PM2.5 and showed that when the concentration of the detection system of PM2.5 in the air was higher than the normal standard, the alarm module will give an alarm when the air PM2.5 concentration below the alarm threshold, the alarm stops. The design of the air detector is simple, low cost, stable performance, is the only choice for home.
KEYWORDS: MCU; PM2.5 sensor; Alarm; LCD display;
目 录
TOC \o 1-3 \h \z \u HYPERLINK \l _Toc480916025 摘要 PAGEREF _Toc48
文档评论(0)