摘 要: 針對有線溫度采集技術(shù)的局限性,設(shè)計(jì)了一種低功耗多點(diǎn)無線溫度采集系統(tǒng)。對溫度采集系統(tǒng)的設(shè)計(jì)方案進(jìn)行了介紹,同時(shí)對系統(tǒng)的硬件設(shè)計(jì)進(jìn)行了分析,并重點(diǎn)對溫度采集系統(tǒng)的軟件進(jìn)行設(shè)計(jì)。編程采用C語言,主要分為主程序、溫度采集和NRF905無線通信三部分。所設(shè)計(jì)的溫度采集系統(tǒng)具有測量精度高、受環(huán)境影響小、成本低等優(yōu)點(diǎn)。
關(guān)鍵詞: NRF905; 無線通信; 溫度采集; C語言
中圖分類號(hào): TN911.7?34 文獻(xiàn)標(biāo)識(shí)碼: A 文章編號(hào): 1004?373X(2013)23?0121?03
Design of wireless temperature acquisition system based on NRF905
GU Han, XU Jian, LAO Yi?hao
(School of Physics and Electronic Engineering, Changshu Institute of Technology, Changshu 215500, China)
Abstract: Aiming at the limitation of wired temperature acquisition technology, a low?power multi?point wireless temperature acquisition system is designed. The design scheme of the system is introduced, and the hardware design of the system is analyzed. Heavy stress was laid on the software of the system. C language is used for programming. The program is composed of three sections: main program, temperature acquisition and NRF905 wireless communication. The system has the advantages of high measurement precision, less influence by environment and low cost.
Keywords: NRF905; wireless communication; temperature acquisition; C language
0 引 言
在工業(yè)生產(chǎn)過程中,溫度是最為常見、最為重要的物理工藝參數(shù)之一。隨著社會(huì)的發(fā)展,工業(yè)中對溫度測量的要求也越來越高,測量數(shù)據(jù)的范圍也越來越大。溫度采集系統(tǒng)設(shè)計(jì)時(shí),傳感器模塊的設(shè)計(jì)將直接影響著數(shù)據(jù)的測量效果,隨著測量要求的提高,傳感器模塊電路的復(fù)雜程度也會(huì)越來越高,無疑帶來布線的困難和效率的下降,同時(shí)存在著易短路,易老化等隱患,給系統(tǒng)的綜合調(diào)試和維護(hù)帶來難度。與傳統(tǒng)的有線通信技術(shù)相比,無線傳輸技術(shù)具有測量精度高、受環(huán)境影響小、成本低等優(yōu)點(diǎn)。本文將傳感器技術(shù)與無線通信技術(shù)相結(jié)合,實(shí)現(xiàn)無線溫度采集功能。
1 設(shè)計(jì)原理和方案
無線溫度采集系統(tǒng)是一種基于射頻技術(shù)[1]的無線溫度檢測裝置。系統(tǒng)中由溫度傳感器將溫度采集后輸出的模擬信號(hào)逐步送往信號(hào)放大電路、低通濾波器以及A/D轉(zhuǎn)換器(即信號(hào)調(diào)理電路),然后在單片機(jī)的控制下將A/D轉(zhuǎn)換器輸出的數(shù)字信號(hào)傳送到無線收發(fā)芯片中,并通過芯片的調(diào)制處理后由芯片內(nèi)部的天線發(fā)送到上位機(jī),在上位機(jī)模塊中,發(fā)送來的數(shù)據(jù)由單片機(jī)控制的無線收發(fā)芯片接收并解調(diào),最后通過接口芯片發(fā)送到PC機(jī)中進(jìn)行顯示和處理。……