基于單片機(jī)的空氣換氣系統(tǒng)設(shè)計(jì).rar
基于單片機(jī)的空氣換氣系統(tǒng)設(shè)計(jì),摘要人們?cè)絹?lái)越意識(shí)到改善空氣質(zhì)量的重要性。一方面控制污染源,減少污染物的產(chǎn)生;另一方面,采取措施,減少已存在的污染物。目前,國(guó)內(nèi)外的眾多企業(yè)和研究機(jī)構(gòu)正在開(kāi)發(fā)各種各樣的空氣凈化設(shè)備。本設(shè)計(jì)以單片機(jī)at89c52為主要控制器件,以tgs2600為空氣質(zhì)量傳感器,對(duì)被控對(duì)象房間氣體的濃度進(jìn)行實(shí)時(shí)采集,將濃度參數(shù)轉(zhuǎn)變成數(shù)字電...
該文檔為壓縮文件,包含的文件列表如下:
內(nèi)容介紹
原文檔由會(huì)員 白癡學(xué)東西 發(fā)布
摘 要
人們?cè)絹?lái)越意識(shí)到改善空氣質(zhì)量的重要性。一方面控制污染源,減少污染物的產(chǎn)生;另一方面,采取措施,減少已存在的污染物。目前,國(guó)內(nèi)外的眾多企業(yè)和研究機(jī)構(gòu)正在開(kāi)發(fā)各種各樣的空氣凈化設(shè)備。
本設(shè)計(jì)以單片機(jī)AT89C52為主要控制器件,以TGS2600為空氣質(zhì)量傳感器,對(duì)被控對(duì)象房間氣體的濃度進(jìn)行實(shí)時(shí)采集,將濃度參數(shù)轉(zhuǎn)變成數(shù)字電信號(hào),再將信號(hào)送給單片機(jī),并且將傳感器所采集到的濃度和事先設(shè)定的濃度進(jìn)行對(duì)比,當(dāng)大于設(shè)定值時(shí)將啟動(dòng)風(fēng)扇來(lái)開(kāi)始換氣,從而使得被控濃度控制在一定的范圍之內(nèi),達(dá)到實(shí)時(shí)控制的功能。系統(tǒng)硬件電路主要包括主控制器,氣體濃度檢測(cè)電路、顯示電路等。系統(tǒng)程序主要包括主程序,讀出濃度子程序,濃度轉(zhuǎn)換命令子程序,計(jì)算濃度子程序,顯示數(shù)據(jù)刷新子程序等。
關(guān)鍵詞: 空氣檢測(cè),氣體傳感器,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 設(shè)計(jì)的背景 1
1.3 設(shè)計(jì)內(nèi)容 2
第2章 系統(tǒng)方案論證 3
2.1 設(shè)計(jì)方案選擇 3
2.2 設(shè)計(jì)功能需求 3
第3章 硬件電路的設(shè)計(jì) 5
3.1 前向通道的設(shè)計(jì) 5
3.2 單片機(jī)的選擇及其接口電路的設(shè)計(jì) 8
3.2.1單片機(jī)的選擇 8
3.2.2 顯示電路 11
3.3 按鍵電路 15
3.4 A/D轉(zhuǎn)換電路 16
3.5 后向通道設(shè)計(jì) 17
第4章 系統(tǒng)軟件部分設(shè)計(jì) 19
4.1 計(jì)算濃度子程序 20
4.2 按鍵處理子程序 20
4.3 顯示數(shù)據(jù)刷新子程序 20
結(jié) 論 23
致 謝 24
參考文獻(xiàn) 25
附錄1 電路原理圖 26
附錄2 源程序 27
人們?cè)絹?lái)越意識(shí)到改善空氣質(zhì)量的重要性。一方面控制污染源,減少污染物的產(chǎn)生;另一方面,采取措施,減少已存在的污染物。目前,國(guó)內(nèi)外的眾多企業(yè)和研究機(jī)構(gòu)正在開(kāi)發(fā)各種各樣的空氣凈化設(shè)備。
本設(shè)計(jì)以單片機(jī)AT89C52為主要控制器件,以TGS2600為空氣質(zhì)量傳感器,對(duì)被控對(duì)象房間氣體的濃度進(jìn)行實(shí)時(shí)采集,將濃度參數(shù)轉(zhuǎn)變成數(shù)字電信號(hào),再將信號(hào)送給單片機(jī),并且將傳感器所采集到的濃度和事先設(shè)定的濃度進(jìn)行對(duì)比,當(dāng)大于設(shè)定值時(shí)將啟動(dòng)風(fēng)扇來(lái)開(kāi)始換氣,從而使得被控濃度控制在一定的范圍之內(nèi),達(dá)到實(shí)時(shí)控制的功能。系統(tǒng)硬件電路主要包括主控制器,氣體濃度檢測(cè)電路、顯示電路等。系統(tǒng)程序主要包括主程序,讀出濃度子程序,濃度轉(zhuǎn)換命令子程序,計(jì)算濃度子程序,顯示數(shù)據(jù)刷新子程序等。
關(guān)鍵詞: 空氣檢測(cè),氣體傳感器,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 設(shè)計(jì)的背景 1
1.3 設(shè)計(jì)內(nèi)容 2
第2章 系統(tǒng)方案論證 3
2.1 設(shè)計(jì)方案選擇 3
2.2 設(shè)計(jì)功能需求 3
第3章 硬件電路的設(shè)計(jì) 5
3.1 前向通道的設(shè)計(jì) 5
3.2 單片機(jī)的選擇及其接口電路的設(shè)計(jì) 8
3.2.1單片機(jī)的選擇 8
3.2.2 顯示電路 11
3.3 按鍵電路 15
3.4 A/D轉(zhuǎn)換電路 16
3.5 后向通道設(shè)計(jì) 17
第4章 系統(tǒng)軟件部分設(shè)計(jì) 19
4.1 計(jì)算濃度子程序 20
4.2 按鍵處理子程序 20
4.3 顯示數(shù)據(jù)刷新子程序 20
結(jié) 論 23
致 謝 24
參考文獻(xiàn) 25
附錄1 電路原理圖 26
附錄2 源程序 27