【正文】
目 錄 摘 要 ...................................................................................................................................... I Abstract .................................................................................................................................. II 1 概述 ................................................................................................................................... 1 選題意義 ................................................................................................................ 1 設計功能要求 ........................................................................................................ 1 整體方案論證 ........................................................................................................ 1 無線數據采集器系統(tǒng)框圖 .................................................................................... 2 2 溫度無線采集報警系統(tǒng)的主要元件介紹 ....................................................................... 4 溫度測量傳感器 DS18B20 的介紹 ........................................................................ 4 DS18B20 概述 .............................................................................................. 4 內部結構 ....................................................................................................... 4 DS18B20 通信協(xié)議 ...................................................................................... 5 溫度數 據的計算處理方法 ........................................................................... 6 無線發(fā)射模塊 nRF24L01 介紹 ............................................................................. 7 概述 ............................................................................................................. 7 工作模式 ..................................................................................................... 8 SPI 指令及時序 ........................................................................................10 3 系統(tǒng)硬件電路設計 ............................................................................................................ 11 AT89C52 單片機最小系統(tǒng) .................................................................................... 11 溫度檢測模塊電路 ...............................................................................................12 溫度顯示模塊電路 ...............................................................................................12 發(fā)射電路模塊 .......................................................................................................14 接收電路模塊 .......................................................................................................14 4 系統(tǒng)軟件設計 ................................................................................................................15 主程序 ...................................................................................................................15 子程序 ...................................................................................................................15 5 結論 ..................................................................................................................................19 參考文獻 ................................................................................................................................20 附錄一 ....................................................................................................................................21 附錄二 ....................................................................................................................................23 附錄三 ....................................................................................................................................24 致 謝 ....................................................................................................................................42 基于單片機的無線溫度采集報警系統(tǒng)設計 1 1 概述 選題意 義 溫度是工業(yè)、農業(yè)生產中常見和最基本的參數之一, 由于有些場合生產環(huán)境惡劣,工作人員不能長時間停留在現場觀察設備是否運行正常,就需要無線采集數據并傳輸數據到一個環(huán)境相對好的操控室內,這樣就會產生數據傳輸問題。 Wireless temperature gathering。該系統(tǒng)精度高、測溫范圍廣、報警及時,可廣泛應用于基于單片機 的溫度無線采集 報警場合。系統(tǒng)測溫范圍為 50℃ — +120℃ ,測量精度為 ℃ ?;趩纹瑱C的無線溫度采集報警系統(tǒng)設計 I 摘 要 本文所介紹的是一種采用單總線數字式溫度傳感器 DS18B AT89C52 單片機、1620LCM 液晶顯示器、數碼管及 nRF24L01 無線收發(fā)一體模塊組成的新型溫度無線采集報警系統(tǒng),并使用數碼管顯示器將所采集溫度在采集端顯示 ,并無線傳輸到接收模塊用 1620LCM 液晶顯示器顯示出來。 該系統(tǒng)以 AT89C52 單片機為控制核心,利用新型一線制溫度傳感器 DS18B20 測量溫度值 以及高可靠無線收發(fā)模塊 nRF24L01 實現環(huán)境溫度的 無線采集 和報警。用 戶可以 通過按鍵 K0、 K K K3 隨時 自定義報警上、下限 值 ,一旦溫度超過極限值,接收端 單片機便啟動報警 系統(tǒng) 。 關鍵詞 : AT89C52 單片機;無線溫度采集; DS18B20; nRF24L01 無線傳輸 基于單片機的無線溫度采集報警系統(tǒng)設計 II Abstract This article introduced a new temperature wireless acquisition alarm system .It consist a single bus digital temperature sensor DS18B20, AT89S52 SCM, 1620 LCM LCD monitor, digital pipe and nRF24L01 wireless transceiver module . It use digital tube display temperature in the collection and the temperature that wireless transmission to receiving module with 1620 LCM LCD display. this system use AT89S52 SCM as control core, use the new a wire temperature sensor DS18B20 measuring temperature and high reliable wireless transceiver module nRF24L01 realize environmental temperature wireless data collection and alarm. Temperature measurement system for50 ℃ scope+ 120 ℃ , measuring precision of ℃ . The user can through the key K0, K1, K2, K3 custom alarm at any time, and have lower limit, once the temperature over limit, the receiver singlechip microputer start alarm system. The system have high precision, temperature measuring range, alarm in time, and can be widely used in the temperature of the acquisition based on single chip wireless alarm occasion. Keywords: AT89S52 SCM。 DS18B20。由于廠房大、需要傳輸數據多,使用傳統(tǒng)的有線數據傳輸方式就需要鋪設很多很長的通訊線,浪費資源,占用空間,可操作性差,出現錯誤換線困難。 在現實生活中,這種無線溫度采集系統(tǒng)已經被成功 應用于工農業(yè)、環(huán)境監(jiān)測、軍事國防、機器人控制等許多重要領域,而且類似于這種溫度采集