【正文】
度模塊設(shè)計(jì)。本設(shè)計(jì)采用 了 報(bào)警模塊和 LCD 顯示模塊等,把室內(nèi)檢測(cè)功能 和環(huán)境質(zhì)量控制 有機(jī)的 結(jié)合 在一起,以單片機(jī)和多種傳感器為主體 實(shí)現(xiàn)智能控制 ,從一定程度上增加了人體安全指數(shù)。因此根據(jù)市場(chǎng) 調(diào)查, 非常需要能夠綜合監(jiān)測(cè)室內(nèi) 有害氣體 和溫濕度 的 智 能系統(tǒng) 來 保障 人們的 生活環(huán)境,從而有助于 提高人們的生活質(zhì)量。綜上所述,此設(shè)計(jì)所研究的內(nèi)容有很大的理論意義和重要的實(shí)際使用價(jià)值。 在國(guó)外,由于 社會(huì)發(fā)展快、 具有相對(duì)發(fā)達(dá)的 環(huán)境檢測(cè)技術(shù),科研成果相對(duì)成熟,所以 相關(guān)儀器 在 研發(fā) 上得到重視,在 使用 上都得到廣泛傳播 。這些系統(tǒng)大多數(shù)都是以單片機(jī)為主要模板進(jìn)行設(shè)計(jì),從而實(shí)現(xiàn)對(duì)環(huán)境的檢測(cè)功能。 室內(nèi)環(huán)境智能監(jiān)測(cè)系統(tǒng)現(xiàn)狀 在國(guó)內(nèi),我國(guó)正處于社會(huì)主義發(fā)展階段,各方面實(shí)力還有欠缺,基于我國(guó)目前狀況在我國(guó)環(huán)境監(jiān)測(cè)系統(tǒng)的研究進(jìn)程緩慢,監(jiān)測(cè)設(shè)備和技術(shù)相對(duì)于發(fā)達(dá)國(guó)家還是比較落后,還沒有達(dá)到監(jiān)測(cè)智能化的水平。當(dāng)空氣的濕度超過 %RH 時(shí),人體內(nèi)部會(huì)分泌過多的松果激素,從而抑制體內(nèi)的生長(zhǎng)激素和甲狀腺激素的分泌,使得受體蛋白減少,調(diào)節(jié)作用紊亂,與此同時(shí),人就會(huì)感到精神不振,渾身乏力。美國(guó)研究人員調(diào)查表明:適合人體健康溫 度的范圍是 ℃ —— ℃ ,健康濕度范圍是 45% —— 65% RH,如果在這種 室內(nèi)環(huán)境的情況下生活人體內(nèi)細(xì)胞活躍度會(huì)有一定的上升,與受到污染的環(huán)境相比它還使人精神愉悅,人體壽命更長(zhǎng)久一些。溫 濕度在不同季節(jié)的變化也會(huì)影響到人體的健康。 Indoor environment monitoring 目 次 1 緒論 .......................................................... 1 研究背景 ....................................................... 1 室內(nèi)環(huán)境智能監(jiān)測(cè)系統(tǒng)現(xiàn)狀 ....................................... 1 設(shè)計(jì)目的及內(nèi)容 ................................................. 2 2 系統(tǒng)設(shè)計(jì)方案論證以及總體框架設(shè)計(jì) ................................. 3 設(shè)計(jì)方案論證 ................................................... 3 單片機(jī)模塊的選擇及論證 ................................... 3 溫濕度監(jiān)測(cè)模塊選擇與論證 ................................. 3 煤氣監(jiān)測(cè)選擇與論證 ....................................... 4 總體硬件電路框架 ............................................... 4 3 硬件系統(tǒng)設(shè)計(jì)與連接 .............................................. 6 溫濕度檢測(cè)模塊設(shè)計(jì) ............................................. 6 A/D 轉(zhuǎn)換器 ..................................................... 7 燃?xì)獗O(jiān)測(cè)模塊設(shè)計(jì) ............................................... 7 MQ5 傳感器 .............................................. 7 燃?xì)獗O(jiān)測(cè)模塊設(shè)計(jì) ......................................... 9 AT89S52 單片 機(jī)時(shí)鐘電路 ......................................... 9 AT89S52 單片機(jī)復(fù)位電路 ........................................ 10 顯示電路設(shè)計(jì) .................................................. 10 報(bào)警模塊設(shè)計(jì) .................................................. 11 4 系統(tǒng)軟件設(shè)計(jì) .................................................. 12 編程語(yǔ)言選擇 .................................................. 12 程序設(shè)計(jì)流程 .................................................. 12 溫濕度測(cè)量模塊 .......................................... 12 燃?xì)獗O(jiān)測(cè)模塊 ............................................ 13 5 系統(tǒng)調(diào)試 ...................................................... 15 總 結(jié) .......................................................... 17 致 謝 ......................................................... 18 參 考 文 獻(xiàn) ..................................................... 19 附錄一 ......................................................... 20 附錄二 ......................................................... 21 1 1 緒論 研究背景 隨著社會(huì)的發(fā)展,科學(xué)技術(shù)的提升,生產(chǎn)生活的不斷優(yōu)化, 人們 的 生活水平 也在隨之 不斷提高, 因此人們也開始越來越重視 室內(nèi)環(huán)境 發(fā) 舒適 程 度。 Sound and light alarm。s lives. But with the wanton use of decoration materials and daily necessities, the hidden danger of the living environment is greatly i mproved. Indoor environment pollution has bee one of the serious killer on the modern human health, impacting on people39。 關(guān)鍵詞 : 單片機(jī) ;聲光報(bào)警; LCD 顯示電路; 室內(nèi)環(huán)境監(jiān)測(cè) Title The design of indoor environmental intelligent monitoring system based on the Single Chip Microputer Abstract With the development of society, the improvement of science and technology, the continuous optimization of production and life, people39。 3.利用蜂鳴器報(bào)警功能,當(dāng)氣體 濃度值和溫濕度值超過設(shè)定的標(biāo)準(zhǔn)值時(shí), 實(shí)現(xiàn)自動(dòng)報(bào)警功能。 本設(shè)計(jì)主要運(yùn)用了如下幾方面的功能: 1. 將單片機(jī)和溫濕度、氣體傳感器相連接,實(shí)現(xiàn)實(shí)時(shí)采集和讀取室內(nèi)溫濕度值以及監(jiān)測(cè)氣體濃度,達(dá)到預(yù)期效果。 因此尤為重要 的便是室內(nèi)環(huán)境的監(jiān)測(cè) ,不僅要靈敏的檢測(cè)出各種有害氣體的濃度大小,也要具有報(bào)警功能,可以時(shí)刻提醒危險(xiǎn)。 2021 屆畢業(yè)生 畢業(yè)設(shè)計(jì) 說明書 題 目 : 基于 AT89S52 單片機(jī)的室內(nèi)環(huán)境智能監(jiān) 測(cè)系統(tǒng)設(shè)計(jì) 院系名稱: 電氣工程學(xué)院 專業(yè)班級(jí): 學(xué)生姓名: 學(xué) 號(hào): 指導(dǎo)教師: 教師職稱: 副教授 2021 年 05 月 25 日 摘 要 隨著社會(huì)的發(fā)展,科學(xué)技術(shù)的提升,生產(chǎn)生活的不斷優(yōu)化,人們的生活水平也在隨之不斷提高,因此人們也開始越來越重視 室內(nèi)環(huán)境 發(fā) 舒適 程 度。住宅不僅是家庭團(tuán)聚和生活的場(chǎng)所,而且還是人們生活的重要物質(zhì)保障, 但隨著裝修材料的肆意使用和生活用品的日益廣泛, 居住 環(huán)境的隱患大幅度提高 , 室內(nèi)環(huán)境污染 已成為嚴(yán)重影響現(xiàn)代人類健康的殺手之一,嚴(yán)重影響著人們的生產(chǎn)生活。 當(dāng)下市面上也有很多監(jiān)測(cè)室內(nèi)環(huán)境的裝置儀器,但其大部分價(jià)格偏高而且功能相對(duì)單一局限,因此非常需要能夠綜合監(jiān)測(cè)室內(nèi)溫濕度和有害氣體的 智能 系統(tǒng)。 2.利用 LCD 完成了顯示電路的設(shè)計(jì)。 4. 當(dāng)溫濕度超限時(shí), LCD 顯示器可以立即提示并結(jié)合發(fā)光二極管報(bào)警, 當(dāng)氣體濃度超限時(shí)采用發(fā)光二極管報(bào)警。s living standards have been improved, so people have begun to pay more attention to the indoor environment. Residence is not only the place of family party and life, but also an important material guarantee of people39。s production and life. Therefore, it is particularly important to monitor the indoor environment, not only to be sensitive to detect the concentration of harmful gases, but also with alarm function, it can always remind the danger. At present on the market also has a lot of indoor environmental monitoring instrumentation, but most of its high price and function relative to a single limited. Therefore there is a great need for prehensive monitoring of indoor temperature and humidity and harmful gas intelligent system. This design mainly uses the following several aspects of the function: 1 The single chip microputer and the temperature and humidity, gas sensor are connected to achieve realtime collection and reading room temperature and humidity values as well as monitoring the gas concentration, to achieve the desired results. 2 The design of display circuit is pleted by using LCD. 3 Using buzzer alarm function, when the gas concentration and temperature and humidity value exceeds the set standard value, realize the automatic alarm function. 4 When the temperature and humidity are out of limit, the LCD monitor can prompt and bined with the light emitting diode warning, when the gas concentration exceeds the limit, the light emitting diode is used to alarm. Key words: MCU。 LCD。 住宅是人們生活的重要物質(zhì)保障, 也是 家庭團(tuán)聚和 生產(chǎn) 生活的場(chǎng)所 , 人們的身體是否良好和室內(nèi)環(huán)境的質(zhì)量有著 密不可分 的關(guān)系。一年中每個(gè)季節(jié)的溫、濕度都會(huì)變化,隨著溫、濕度變化頻率不一或多或少都會(huì)對(duì)人們的身體健康有一定的影響。每當(dāng)空氣的濕度低于 %RH 的時(shí)候,人體的支氣管和粘膜組 織細(xì)胞的新陳代謝會(huì)減緩