基于51单片机的空气质量检测仪改稿.docx
文本预览下载声明
毕业设计用纸
PAGE
共28页 第PAGE 20页
摘要
随着电子信息的快速发展,越来越多的电子设备应用在我们生活中。本次设以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 摘要 I
ABSTRACT II
目 录 III
第一章 绪论 5
1.1课题背景
显示全部