【正文】
視室內(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 improved. Indoor environment pollution has bee one of the serious killer on the modern human health, impacting on people39。關(guān)鍵詞:單片機;聲光報警;LCD顯示電路;室內(nèi)環(huán)境監(jiān)測Title The design of indoor environmental intelligent monitoring system based on the Single Chip MicroputerAbstractWith the development of society, the improvement of science and technology, the continuous optimization of production and life, people39。3.利用蜂鳴器報警功能,當氣體濃度值和溫濕度值超過設(shè)定的標準值時, 實現(xiàn)自動報警功能。 本設(shè)計主要運用了如下幾方面的功能:1.將單片機和溫濕度、氣體傳感器相連接,實現(xiàn)實時采集和讀取室內(nèi)溫濕度值以及監(jiān)測氣體濃度,達到預期效果。因此尤為重要的便是室內(nèi)環(huán)境的監(jiān)測,不僅要靈敏的檢測出各種有害氣體的濃度大小,也要具有報警功能,可以時刻提醒危險。2016屆畢業(yè)生畢業(yè)設(shè)計說明書(原創(chuàng) 保證能用)題 目: 基于單片機的室內(nèi)環(huán)境智能監(jiān)測系統(tǒng)設(shè)計 院系名稱: 專業(yè)班級: 學生姓名: 學 號: 指導教師: 教師職稱: 2016 年 05月 25日摘 要隨著社會的發(fā)展,科學技術(shù)的提升,生產(chǎn)生活的不斷優(yōu)化,人們的生活水平也在隨之不斷提高,因此人們也開始越來越重視室內(nèi)環(huán)境發(fā)舒適程度。住宅不僅是家庭團聚和生活的場所,而且還是人們生活的重要物質(zhì)保障,但隨著裝修材料的肆意使用和生活用品的日益廣泛,居住環(huán)境的隱患大幅度提高,室內(nèi)環(huán)境污染已成為嚴重影響現(xiàn)代人類健康的殺手之一,嚴重影響著人們的生產(chǎn)生活。當下市面上也有很多監(jiān)測室內(nèi)環(huán)境的裝置儀器,但其大部分價格偏高而且功能相對單一局限,因此非常需要能夠綜合監(jiān)測室內(nèi)溫濕度和有害氣體的智能系統(tǒng)。2.利用LCD完成了顯示電路的設(shè)計。4.當溫濕度超限時,LCD顯示器可以立即提示并結(jié)合發(fā)光二極管報警,當氣體濃度超限時采用發(fā)光二極管報警。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ì)保障,也是家庭團聚和生產(chǎn)生活的場所,人們的身體是否良好和室內(nèi)環(huán)境的質(zhì)量有著密不可分的關(guān)系。一年中每個季節(jié)的溫、濕度都會變化,隨著溫、濕度變化頻率不一或多或少都會對人們的身體健康有一定的影響。%RH的時候,人體的支氣管和粘膜組織細胞的新陳代謝會減緩,對人們的生命安全造成巨大威脅。由此可見,室內(nèi)環(huán)境監(jiān)測裝置的研究具有重要的意義。就我國目前情況來講,對室內(nèi)環(huán)境監(jiān)測的儀器還需繼續(xù)完善。但是隨著時代的發(fā)展和人們在主體思維模式上的日益重視,我國對有很多研究人員對環(huán)境監(jiān)測系統(tǒng)進行研究,研究成果也將會持續(xù)發(fā)展。雖然我國對于環(huán)境監(jiān)測系統(tǒng)的研究起步晚,室內(nèi)檢測技術(shù)與國外先進技術(shù)相比,仍相對落后,差距依舊很大,在傳感器方面,還不能實現(xiàn)智能化,其產(chǎn)品還沒有得到大量使用,但向發(fā)達國家學習的精神是一直以來不可動搖的,很多廠家或者研究所都在學習和引進國外先進的環(huán)境監(jiān)測技術(shù)方案。 設(shè)計目的及內(nèi)容通過研究人員的不斷努力,已經(jīng)研發(fā)出一些可用于檢測的產(chǎn)品,但該產(chǎn)品在市場上的占有率只是一小部分,其中大多數(shù)價格偏高,而且也只能檢測空氣中部分成份,功能種類相對局限單一。本設(shè)計的最終要實現(xiàn)的是適合家用的實時檢測空氣中有害氣體成份、濕、溫度在空氣中的占有量的多功能監(jiān)測儀器,還要達到實時監(jiān)測的效果,這對我們的要求比較嚴格,并且要達到操作簡單方便、價格低廉的目的。該設(shè)計主要完成的設(shè)計內(nèi)容如下: (1)溫濕度模塊:采用 DHT11 傳感器,該傳感器將數(shù)字采集技術(shù)和信號處理功能結(jié)合在一起,很大程度上提高了它的工作效率,并且也是產(chǎn)品走向智能化的重要標志。 (2)報警模塊:采用外接蜂鳴器的方法,當檢測值超限時,實現(xiàn)快速報警的功能。該模塊的實現(xiàn)意味著在室內(nèi)威脅人們身體健康狀況的因素降低了許多。在存儲器中還能將三級程序快速鎖定,32個I/O接口,可適用于串行通道模式,兩個16位定時器和相同數(shù)量的計數(shù)器,128*8位內(nèi)部RAM,功率消耗低和掉電特有模式,5個中斷控制源,片內(nèi)包含振蕩器和發(fā)出脈沖的時鐘電路。其中包括32位I/O口線,看門狗定時器已達到實時監(jiān)測功能,具有256字節(jié) RAM ,三個計數(shù)器和相同數(shù)量的16位定時器,還有2個數(shù)據(jù)指針。當CPU處于空閑操作狀態(tài)時,它是不運行的,但支持RAM、定時器/計數(shù)器、中斷還能持續(xù)運行。通過兩種單片機的對比: AT89S52不僅能夠用于ISP在線路功能還可用于并行編程,相比較來講AT89C51只能用于并行編程。從輸出編程電壓的情況可以看出,AT89S52僅僅為45V,而AT89C51不止要支持正常運行工作5V還需要Vpp供電12V。 溫濕度監(jiān)測模塊選擇與論證 方案一:采用獨立元器件連接電路。采用這種方法組成的電路很麻煩,編程比較困難,并且許多元器件在焊接的過程中操作容易出現(xiàn)錯誤,調(diào)試起來更復雜一些,與此同時大大提高了連接電路的成本。它具有較好的實用性和穩(wěn)固性,有效的溫度范圍是 0~50℃,測量準確度是5%,濕度的范圍是 20%RH~90%RH,非常符合系統(tǒng)的需要。它的電壓范圍僅有 ~ DC,分辨率為濕度1%RH,溫度1℃,具有長期的穩(wěn)定性,完全