基于MSP430單片機(jī)的環(huán)境參數(shù)檢測系統(tǒng)設(shè)計(jì)
陳中,沈翠鳳
(鹽城工學(xué)院,江蘇 鹽城 224003)
摘 要:溫度、濕度、氣體顆粒濃度等參數(shù)是鑒定環(huán)境質(zhì)量必不可少的參數(shù)。采用DHT11溫濕度傳感器檢測環(huán)境溫濕度及CP-15-A4傳感器檢測大氣顆粒濃度,LCD顯示檢測的數(shù)值。以超低功耗的MSP430單片機(jī)為主控芯片,充分運(yùn)用微機(jī)豐富的邏輯判斷和數(shù)值運(yùn)算以及中高檔MSP430單片機(jī)相關(guān)寄存器功能,基于傳感器特點(diǎn),針對現(xiàn)有的單片機(jī)應(yīng)用理論,介紹了具體設(shè)計(jì)時各種問題的解決方法,并通過實(shí)驗(yàn)證明了所提方法的正確性。
關(guān)鍵詞:微處理器;邏輯判斷;參數(shù)變化;環(huán)境監(jiān)測
中圖分類號:TP212.9 文獻(xiàn)標(biāo)識碼:A 文章編號:1007-3175(2018)09-0030-04
Design of Environmental Parameters Detection System Based on MSP430 Microcontroller Unit
CHEN Zhong, SHEN Cui-feng
(Yancheng Institute of Technology, Yancheng 224003, China)
Abstract: The parameters such as temperature, humidity and gas particle concentration are essential for the identification of environmental quality. This design used DHT11 temperature and humidity sensor to detect ambient temperature and humidity, CP-15-A4 sensor to detect atmospheric particle concentration, and liquid crystal display (LCD) to display the value of detection. This design used ultra low power MSP430 chip microcontroller to make full use of the abundant logic judgment and numerical calculation and high-grade MSP430 chip register function. Based on the characteristics of the sensor, aiming at the application of microcontroller existing theory, this paper introduces the methods of solving a variety of problems in the concrete design and the experiments verify the correctness of the proposed method.
Key words: microcontroller; logical judgment; parameters changing; environmental monitoring
參考文獻(xiàn)
[1] 張普,譚少波,王麗濤,趙秀娟,蘇捷. 邯鄲市大氣顆粒物污染特征的監(jiān)測研究[J]. 環(huán)境科學(xué)學(xué)報,2013,33(10):2679-2685.
[2] 楊書申,邵龍義,龔鐵強(qiáng),劉昌鳳. 大氣顆粒物濃度檢測技術(shù)及其發(fā)展[J]. 北京工業(yè)職業(yè)技術(shù)學(xué)院學(xué)報,2005,4(1):36-39.
[3] 陳中. 基于MSP430單片機(jī)的控制系統(tǒng)設(shè)計(jì)[M]. 北京:清華大學(xué)出版社,2017.
[4] 孫晴, 樊建中, 楊永杰. 大氣顆粒物質(zhì)量濃度監(jiān)測系統(tǒng)的研制[J]. 計(jì)算機(jī)應(yīng)用與軟件,2011,28(2):189-191.
[5] 陸釩,劉建國,陸亦懷,詹鍇,王亞萍,陳軍. 基于振蕩天平技術(shù)的大氣顆粒物PM10濃度連續(xù)監(jiān)測系統(tǒng)設(shè)計(jì)[J]. 大氣與環(huán)境光學(xué)學(xué)報,2007,2(5):361-365.
[6] 王平利,戴春雷,張成江. 城市大氣中顆粒物的研究現(xiàn)狀及健康效應(yīng)[J]. 中國環(huán)境監(jiān)測,2005,21(1):83-87.
[7] 陶卓,張良力,馬天宇,付超. 基于DSM501傳感器的大氣顆粒物濃度監(jiān)測裝置參數(shù)整定[J]. 計(jì)算機(jī)測量與控制,2015,23(4):1148-1150.