基于藍牙技術(shù)與單片機的數(shù)據(jù)傳輸系統(tǒng)畢業(yè)設(shè)計.rar
基于藍牙技術(shù)與單片機的數(shù)據(jù)傳輸系統(tǒng)畢業(yè)設(shè)計,摘要藍牙是無線數(shù)據(jù)和語音傳輸?shù)拈_放式標(biāo)準(zhǔn),它將各種通信設(shè)備、計算機及其終端設(shè)備、各種數(shù)字數(shù)據(jù)系統(tǒng)、甚至家用電器采用無線方式聯(lián)接起來。它的傳輸距離為10cm~10m,如果增加功率或是加上某些外設(shè)便可達到100m的傳輸距離。它采用2.4ghz ism頻段和調(diào)頻、跳頻技術(shù),使用前向糾錯編碼、arq、tdd和基帶協(xié)議。tdma...
該文檔為壓縮文件,包含的文件列表如下:
內(nèi)容介紹
原文檔由會員 91740000 發(fā)布摘要
藍牙是無線數(shù)據(jù)和語音傳輸?shù)拈_放式標(biāo)準(zhǔn),它將各種通信設(shè)備、計算機及其終端設(shè)備、各種數(shù)字數(shù)據(jù)系統(tǒng)、甚至家用電器采用無線方式聯(lián)接起來。它的傳輸距離為10cm~10m,如果增加功率或是加上某些外設(shè)便可達到100m的傳輸距離。它采用2.4GHz ISM頻段和調(diào)頻、跳頻技術(shù),使用前向糾錯編碼、ARQ、TDD和基帶協(xié)議。TDMA每時隙為0.625μs,傳輸速率為1Mb/s。藍牙支持64kb/s實時語音傳輸和數(shù)據(jù)傳輸,語音編碼為CVSD,發(fā)射功率分別為1mW、2.5mW和100mW,并使用全球統(tǒng)一的48比特的設(shè)備識別碼。由于藍牙采用無線接口來代替有線電纜連接,具有很強的移植性,并且適用于多種場合,加上該技術(shù)功耗低、對人體危害小,而且應(yīng)用簡單、容易實現(xiàn),其應(yīng)用范圍十分廣泛。藍牙的創(chuàng)始人是瑞典愛立信公司,愛立信早在1994年就已進行研發(fā)。1997年,愛立信與其他設(shè)備生產(chǎn)商聯(lián)系,并激發(fā)了他們對該項技術(shù)的濃厚興趣。1998年2月,5個跨國大公司,包括愛立信、諾基亞、IBM、東芝及Intel組成了一個特殊利益小組(SIG),他們共同的目標(biāo)是建立一個全球性的小范圍無線通信技術(shù),即現(xiàn)在的藍牙。從次藍牙技術(shù)在開始了其蓬勃的發(fā)展。
當(dāng)前短距離的數(shù)據(jù)傳輸方法有數(shù)據(jù)線傳輸、紅外傳輸?shù)?缺點分別是需要連接線纜和易受干擾,藍牙技術(shù)可以消除這些缺點,只是一般只被用于高端電子產(chǎn)品。如何在低端電子產(chǎn)品上使用藍牙技術(shù),本設(shè)計使用低成本的單片機和藍牙技術(shù)進行整合,設(shè)計出一個數(shù)據(jù)傳輸系統(tǒng),有很好的實用價值。
關(guān)鍵詞:藍牙技術(shù) 單片機 HCI
Abstract
Bluetooth is a wireless data and voice transmission of open standards, it will all kinds of communications equipment, computers and terminal equipment, digital data systems, and even household appliances using wireless link. The transmission distance of 10 cm ~ 10m, if the power to increase or add some peripherals can be reached 100 m of transmission distance. It uses 2.4 GHz ISM band
and FM, frequency-hopping technology, the right to use the error-
correcting codes, ARQ, TDD and base-band agreement. TDMA slot for every 0.625 μ s, with the base rate of 1 Mb / s. Bluetooth support 64 kb / s real-time voice transmission and data transmission, voice coding for CVSD, transmitting power for 1 mW, 2.5mW and 100 mW, and the use of a unified 48-bit code to identify the equipment. As Bluetooth wireless interface to replace cable connections, a strong transplant, and apply to a variety of occasions, coupled with low power consumption of the technology, the human body against small and application of simple, easy to achieve, its application sco-
pe Wide. Bluetooth is the founder of the Swedish Ericsson,Eri-
csson has been back in 1994 for research and development. 1997, Ericsson and other equipment manufacturers links and inspire them to the great interest in the technology. February 1998, five large multinational companies, including Ericsson, Nokia, IBM, Toshiba and Intel formed a special interest group (SIG), their common goal is to create a global and small-scale wireless communication techno
-logies, Now the Bluetooth. From the beginning of the Bluetooth technology in its vigorous development.
The current short-distance data transmission method of data transmission lines, infrared transmission, the shortcomings are the need to connect cables and vulnerable to interference,Bluetooth technology can remove these defects, but generally only be used for high-end electronic products. How in the low-end electronic pro-
ducts for use on Bluetooth technology, the design of low-cost single chip and integrated Bluetooth technology, design a data transmi-
ssion system, a very good practical value.
Key words: Bluetooth HCI SCM
目錄
1前言 6
2藍牙技術(shù)介紹 7
2.1.藍牙產(chǎn)生背景及藍牙特殊利益小組SIG 7
2.2藍牙技術(shù)概述 9
2.3藍牙技術(shù)的特點與優(yōu)勢 10
2.3.1藍牙技術(shù)的特點 10
2.3.2藍牙技術(shù)的優(yōu)勢...................................12
2.4藍牙系統(tǒng)
2.4.1天線單元 14
2.4.2鏈路控制(固件)單元 15
2.4.3鍵路管理(軟件)單元 15
2.4.4軟件(協(xié)議)單元 18
2.5當(dāng)前藍牙技術(shù)的主要應(yīng)用 19
2.5.1使用藍牙耳機 19
2.5.2藍牙立體聲耳機以及遠程控制藍牙立體聲耳機 19
2.5.3與電腦之間的文件傳輸 20
2.5.4與電腦的同步,進行通訊錄的備份 20
2.5.5實現(xiàn)電腦無線上網(wǎng) 20
2.5.6實現(xiàn)與數(shù)碼相機等設(shè)備的圖片傳輸功能 20
2.5.7實現(xiàn)打印功能 21
2.5.8實現(xiàn)無繩電話 21
2.5.9實現(xiàn)對講機功能 21
2.6藍牙的協(xié)議和體系結(jié)構(gòu) 21
2.6.1藍牙協(xié)議堆棧 21
2.6.2藍牙結(jié)構(gòu)中的協(xié)議 23
3單片機介紹 25
3.1單片機簡介 25
3.2 AT89C51簡介 27
3.2.1 AT89C51主要特性 28
3.2.2管腳說明 29
4系統(tǒng)硬件設(shè)計 32
4.1系統(tǒng)組成 32
4.2 ROK101/008藍牙模塊介紹 32
4.3系統(tǒng)原理介紹 33
5系統(tǒng)軟件設(shè)計 34
5.1軟件設(shè)計概述 35
5.2程序流程圖 37
5.3接收和發(fā)送函數(shù) 39
5.3.1接收函數(shù) 39
5.3.2發(fā)送函數(shù) 39
致謝 40
參考文獻: 41