基于單片機的遠程監(jiān)測系統(tǒng)的畢業(yè)設計.doc
基于單片機的遠程監(jiān)測系統(tǒng)的畢業(yè)設計,摘 要本文論述了由at89c51單片機實現(xiàn)遠程數(shù)據(jù)采集和監(jiān)測功能的系統(tǒng)。該系統(tǒng)采用雙cpu控制,遠端cpu提供8路數(shù)據(jù)采集,本地cpu控制遠端cpu,并進行數(shù)據(jù)處理、數(shù)據(jù)顯示等工作。通過無線數(shù)傳模塊ptr2000無線通信的方式實現(xiàn)數(shù)據(jù)與控制指令的遠距離傳輸。無線數(shù)據(jù)采集系統(tǒng)由發(fā)送和接收...
內(nèi)容介紹
此文檔由會員 huangbinbest 發(fā)布基于單片機的遠程監(jiān)測系統(tǒng)的畢業(yè)設計
摘 要
本文論述了由AT89C51單片機實現(xiàn)遠程數(shù)據(jù)采集和監(jiān)測功能的系統(tǒng)。該系統(tǒng)采用雙CPU控制,遠端CPU提供8路數(shù)據(jù)采集,本地CPU控制遠端CPU,并進行數(shù)據(jù)處理、數(shù)據(jù)顯示等工作。通過無線數(shù)傳模塊PTR2000無線通信的方式實現(xiàn)數(shù)據(jù)與控制指令的遠距離傳輸。無線數(shù)據(jù)采集系統(tǒng)由發(fā)送和接收兩部分組成,發(fā)送端將傳感器的輸出信號進行模數(shù)轉(zhuǎn)換,利用無線數(shù)字傳輸技術將數(shù)據(jù)發(fā)送到接收端,在接收端對數(shù)據(jù)進行存儲和顯示。本文給出了系統(tǒng)的總體結(jié)構(gòu),并從硬件和軟件兩方面描述了系統(tǒng)的設計及實現(xiàn)方法。由此可構(gòu)成無線射頻通信技術的基礎,為實現(xiàn)各種不同具體要求單片機之間的通訊,提供了一種新的方法。該系統(tǒng)具有較高的可靠性和準確性,抗干擾能力強,有廣闊的應用前景。
關鍵詞 單片機 模/數(shù)轉(zhuǎn)換 數(shù)據(jù)采集 無線數(shù)字傳輸 無線數(shù)傳模塊
DESIGN OF REMOTE COMMUNICATION SYSTEM BASED ON SINGLE CHIP COMPUTER
ABSTRACT
The system which collected and monitored multi-roads data had been design .Two CPU was used in the system. The term inal CPU used for collecting data, the local CPU used for controlling the term inal CPU、disposing data and displying information etc. In the way the data and the instruction had been transmitted in the long distance. wireless data acquisition system is made up of two separated parts: translating and receiving. The translating part digitalizes the signal from the sensor and sends it out using wireless digital transmission technology. At the receiving part, the data is received, saved and displayed. Hardware and software of the system are described in this paper. which provides a new method for the communication between SCMs that have various demands.The experiments have proved that the system has high reliability and accuracy, strong anti- interference capability, and it will be widely applied.
KEY WORDS Single-chip-processor A/Dexchange Data-collected wireless-digital- transmission PTR2000
目 錄
中文摘要………………………………………………………………...…Ⅰ
英文摘要……………………………………………………………….……Ⅱ
1 緒論 1
2 系統(tǒng)分析 2
2.1可行性研究方案 2
2.2 需求分析方案 3
2.3 系統(tǒng)整體設計方案 4
3 通信原理 4
4 系統(tǒng)結(jié)構(gòu)設計 6
4.1 A/D采集模塊 6
4.2 MCS-51單片機的基本結(jié)構(gòu) 9
4.2.1 MCS-51單片機內(nèi)部結(jié)構(gòu)特點 10
4.2.2 AT89C51單片機的特點 11
4.3 PTR2000的特性和通信協(xié)議 12
4.3.1 PTR2000的特性和使用說明 12
4.3.2 通信協(xié)議的目的和特性 14
4.4 8155可編程I/O接口 15
4.5 數(shù)碼顯示電路 20
5 軟件設計 23
5.1 數(shù)據(jù)采集系統(tǒng)流程圖 23
5.2 PTR2000發(fā)送部分流程圖 24
5.3 PTR2000接收部分流程圖 26
5.4 數(shù)碼顯示部分 27
6 結(jié)論 28
致謝 29
參考文獻 30
附錄1 接收端原理圖 32
附錄2 發(fā)送端通信系統(tǒng)原理圖 33
附錄3 數(shù)據(jù)A/D轉(zhuǎn)換部分程序代碼 34
附錄4 PTR2000發(fā)送部分程序代碼 35
附錄5 PTR2000接收部分程序代碼 37
附錄6 數(shù)碼顯示部分程序代碼 40