基于单片机的空气换气系统设计.rar
基于单片机的空气换气系统设计,摘要人们越来越意识到改善空气质量的重要性。一方面控制污染源,减少污染物的产生;另一方面,采取措施,减少已存在的污染物。目前,国内外的众多企业和研究机构正在开发各种各样的空气净化设备。本设计以单片机at89c52为主要控制器件,以tgs2600为空气质量传感器,对被控对象房间气体的浓度进行实时采集,将浓度参数转变成数字电...
该文档为压缩文件,包含的文件列表如下:
![](http://img.queshao.com/images/pcgzh.gif)
![](http://preview.queshao.com/tobuy/156349.gif)
内容介绍
原文档由会员 白痴学东西 发布
摘 要
人们越来越意识到改善空气质量的重要性。一方面控制污染源,减少污染物的产生;另一方面,采取措施,减少已存在的污染物。目前,国内外的众多企业和研究机构正在开发各种各样的空气净化设备。
本设计以单片机AT89C52为主要控制器件,以TGS2600为空气质量传感器,对被控对象房间气体的浓度进行实时采集,将浓度参数转变成数字电信号,再将信号送给单片机,并且将传感器所采集到的浓度和事先设定的浓度进行对比,当大于设定值时将启动风扇来开始换气,从而使得被控浓度控制在一定的范围之内,达到实时控制的功能。系统硬件电路主要包括主控制器,气体浓度检测电路、显示电路等。系统程序主要包括主程序,读出浓度子程序,浓度转换命令子程序,计算浓度子程序,显示数据刷新子程序等。
关键词: 空气检测,气体传感器,AT89C52,显示电路
Abstract
As people living standard rise, to the requirements of the quality of the living environment more and more is also high. However, because of the industrialization of advance, the city's air quality is getting worse, a large number of car exhaust and factory emission of smoke and dust; The office, new bedroom, especially personnel public gathering places, such as hospitals, waiting room, hotel rooms, large shopping malls, in the air the soot, such as formaldehyde content of all harmful material far beyond the standard is, these are all serious impact on the people's physical health. In fact, more than half of the human disease is due to the air pollution, the world every year the number of people who die from air pollution to millions.
Therefore, in recent years, more and more people realize the importance of improving air quality. On the one hand control pollution, reduce the production of pollutants; On the other hand, take measures to reduce the existing pollutants. At present, the domestic and foreign many enterprises and research institutes are developing all kinds of air purification equipment. And for the small home appliance, the design of the main should from the cost and reliability, practical to consider.
The paper is mainly consist of the design of the hardware electric circuit and the design of the system program. The hardware electric circuit mainly include the master controller, the consistence measured electric circuit and the display circuit and so on, the system take Microcontroller Unit AT89C52 as its master controller, and DS18B20 as the its consistence sensor, which is produced by the American DALLAS company, and anodes LED numerical code tube is mainly part of the display circuit .The system program mainly included the master routine, the read-out consistence subroutine, the consistence transformation order subroutine, the calculated consistence subroutine, demonstrated the data renovates subroutine and so on. In addition, the system debugging and the performance analysis is also involved in this paper.
The system which is mentioned in the paper can make the engine In a decent consistence work condition, and ensure the engine’s running condition.
Keywords: air monitoring, air sensor, AT89C52, display circuit,
目 录
第1章 绪论 1
1.1 选题的意义 1
1.2 设计的背景 1
1.3 设计内容 2
第2章 系统方案论证 3
2.1 设计方案选择 3
2.2 设计功能需求 3
第3章 硬件电路的设计 5
3.1 前向通道的设计 5
3.2 单片机的选择及其接口电路的设计 8
3.2.1单片机的选择 8
3.2.2 显示电路 11
3.3 按键电路 15
3.4 A/D转换电路 16
3.5 后向通道设计 17
第4章 系统软件部分设计 19
4.1 计算浓度子程序 20
4.2 按键处理子程序 20
4.3 显示数据刷新子程序 20
结 论 23
致 谢 24
参考文献 25
附录1 电路原理图 26
附录2 源程序 27
人们越来越意识到改善空气质量的重要性。一方面控制污染源,减少污染物的产生;另一方面,采取措施,减少已存在的污染物。目前,国内外的众多企业和研究机构正在开发各种各样的空气净化设备。
本设计以单片机AT89C52为主要控制器件,以TGS2600为空气质量传感器,对被控对象房间气体的浓度进行实时采集,将浓度参数转变成数字电信号,再将信号送给单片机,并且将传感器所采集到的浓度和事先设定的浓度进行对比,当大于设定值时将启动风扇来开始换气,从而使得被控浓度控制在一定的范围之内,达到实时控制的功能。系统硬件电路主要包括主控制器,气体浓度检测电路、显示电路等。系统程序主要包括主程序,读出浓度子程序,浓度转换命令子程序,计算浓度子程序,显示数据刷新子程序等。
关键词: 空气检测,气体传感器,AT89C52,显示电路
Abstract
As people living standard rise, to the requirements of the quality of the living environment more and more is also high. However, because of the industrialization of advance, the city's air quality is getting worse, a large number of car exhaust and factory emission of smoke and dust; The office, new bedroom, especially personnel public gathering places, such as hospitals, waiting room, hotel rooms, large shopping malls, in the air the soot, such as formaldehyde content of all harmful material far beyond the standard is, these are all serious impact on the people's physical health. In fact, more than half of the human disease is due to the air pollution, the world every year the number of people who die from air pollution to millions.
Therefore, in recent years, more and more people realize the importance of improving air quality. On the one hand control pollution, reduce the production of pollutants; On the other hand, take measures to reduce the existing pollutants. At present, the domestic and foreign many enterprises and research institutes are developing all kinds of air purification equipment. And for the small home appliance, the design of the main should from the cost and reliability, practical to consider.
The paper is mainly consist of the design of the hardware electric circuit and the design of the system program. The hardware electric circuit mainly include the master controller, the consistence measured electric circuit and the display circuit and so on, the system take Microcontroller Unit AT89C52 as its master controller, and DS18B20 as the its consistence sensor, which is produced by the American DALLAS company, and anodes LED numerical code tube is mainly part of the display circuit .The system program mainly included the master routine, the read-out consistence subroutine, the consistence transformation order subroutine, the calculated consistence subroutine, demonstrated the data renovates subroutine and so on. In addition, the system debugging and the performance analysis is also involved in this paper.
The system which is mentioned in the paper can make the engine In a decent consistence work condition, and ensure the engine’s running condition.
Keywords: air monitoring, air sensor, AT89C52, display circuit,
目 录
第1章 绪论 1
1.1 选题的意义 1
1.2 设计的背景 1
1.3 设计内容 2
第2章 系统方案论证 3
2.1 设计方案选择 3
2.2 设计功能需求 3
第3章 硬件电路的设计 5
3.1 前向通道的设计 5
3.2 单片机的选择及其接口电路的设计 8
3.2.1单片机的选择 8
3.2.2 显示电路 11
3.3 按键电路 15
3.4 A/D转换电路 16
3.5 后向通道设计 17
第4章 系统软件部分设计 19
4.1 计算浓度子程序 20
4.2 按键处理子程序 20
4.3 显示数据刷新子程序 20
结 论 23
致 谢 24
参考文献 25
附录1 电路原理图 26
附录2 源程序 27