基于单片机的室内多功能检测系统设计摘要随着我国经济的进展,人民生活水平的提高,人们对环境问题及健康问题日益重视,室内空气品质(IAQ)状况受到越来越多的关;人的一生中有三分之二的时间是在居室内度过的。本文讨论的室内便携式智能空气品质监测仪是以室内空气中有毒有害气体的监测监控为背景,是以 ATMEL 工公司的一款 8 位超低功耗单片机 AT89S52 为控制核心,一个 51 单片机的实时操作系统 RTX51tiny将被应用到本系统中,使得本系统实时性更高,性能更可靠;该系统能够实现对室内温湿度、甲醛、CO 和甲烷的实时采集处理、显示及相应的报警等功能。仪器采纳锂电池供电,具有良好的便携性和通用性,并且使用 LCD1602 点阵式液晶屏显示菜单,有良好的人机对话界面;同时设计了声光报警系统,实现在参数超标时及时的报警。室内智能空气品质监测仪体积小,功耗低,操作简单,适合应用于家庭和社区的医疗健康保健,能够实时知道室内空气的质量;本设计选用数字化温湿度传感器 DTH11 对室内温湿度测量,CO 和甲烷传感器采纳定电位电解式气体传感器所需要的气体进行测量;用单片机控制模拟开关达到对 CO、甲烷及甲醛的交替测量与报警。关键词:室内环空气质量; 温湿度; 数字显示; 安全; 报警Multifunctional Microcontroller-based indoor-detection system designAbstractWith the development of our national economy and improvement of people's living standard, awareness of environmental issues and health problems increasing emphasis on indoor air quality (IAQ) conditions have been paid more attention to. Two-thirds of people's life time is spent in the living room. In this paper, Indoor Air Quality Portable Intelligent Monitor is on the background of toxic and harmful gases,based on an ATMEL 8-bit working ultra-low power MCU AT89S52 as control core and a RTOS called RTXtiny51 which can maintain the reliability and the instantaneity of the system will be used into the design.The system can realize real-time acquisition and processing, display ,alarm and other functions of indoor temperature, humidity, formaldehyde, benzene and...