資源描述:
《藍(lán)牙無線鼠標(biāo)的設(shè)計(jì)與實(shí)現(xiàn)》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、哈爾濱理工大學(xué)學(xué)士學(xué)位論文藍(lán)牙無線鼠標(biāo)的設(shè)計(jì)摘要藍(lán)牙是一種先進(jìn)的無線通訊技術(shù),應(yīng)用于無線鼠標(biāo)有很好的前景。本文闡述了以較低成本為目標(biāo)的藍(lán)牙鼠標(biāo)產(chǎn)品解決方案。由于目前常見的藍(lán)牙鼠標(biāo)設(shè)備控制器都是用嵌入藍(lán)牙核的ASIC芯片實(shí)現(xiàn),所以實(shí)現(xiàn)復(fù)雜而且價格昂貴,而文中設(shè)計(jì)獨(dú)辟蹊徑:用一片51單片機(jī)作鼠標(biāo)的微控制器,兼作控制藍(lán)牙模塊的主機(jī),充分發(fā)揮了51單片機(jī)的性能,實(shí)現(xiàn)了低成本設(shè)計(jì),具有一定實(shí)用性和創(chuàng)新性;PC機(jī)端軟件則設(shè)計(jì)為運(yùn)行在后臺的應(yīng)用程序,接收USB接口數(shù)據(jù)并進(jìn)行處理,以模擬鼠標(biāo)功能,這一設(shè)計(jì)簡單易行,思路巧妙。本文先對藍(lán)牙技術(shù)進(jìn)行簡要介紹,而后對藍(lán)牙的協(xié)議體系結(jié)構(gòu)及各個協(xié)議之間的關(guān)系進(jìn)行
2、說明,著重介紹了主機(jī)控制器接口(HCI)層及HCI指令和HCI事件的實(shí)現(xiàn)機(jī)制。最后以Ericsson公司的藍(lán)牙模塊ROK101008為例,分析了單片機(jī)與藍(lán)牙模塊的硬件接口和軟件接口的實(shí)現(xiàn)過程。課題具體設(shè)計(jì)過程包括:總體方案設(shè)計(jì)、系統(tǒng)電路設(shè)計(jì)、HCI協(xié)議體系的介紹、鼠標(biāo)微控制器部分軟件設(shè)計(jì)、PC機(jī)端軟件設(shè)計(jì)等。本課題是對藍(lán)牙無線通信技術(shù)應(yīng)用在計(jì)算機(jī)外設(shè)的一次探索,為今后研究作了理論和實(shí)踐上的準(zhǔn)備。關(guān)鍵詞 藍(lán)牙技術(shù);無線鼠標(biāo);USB接口-II-哈爾濱理工大學(xué)學(xué)士學(xué)位論文DesignandImplementationofBluetoothWirelessMouseAbstractAsakin
3、dofadvancedwirelesscommunicationtechnology,bluetoothhasverygoodprospectstothewirelessmouse,Thepaperhasdescribedtheintactsolutionofthebluetoothmouseproductsatlowcost.TheASICchipembeddedwithbluetoothisusuallyemployedasmouseequipmentcontrolleratpresent,sothatiscomplicatedandexpensivetorealize.Notew
4、orthilyanewstyleofdesignisdevelopedinthearticle:a51MCUisemployedaskeyboardmouseequipmentcontrollerwhilecontrollingbluetoothmoduleashost,whichgivefullplayto51MCUandmaketheproductatlowcost,thedesignhassurepracticabilityandinnovative;ThesoftwareofPCendisdesignedasoperatinginthebackstage,whichreceiv
5、esdatafromUSBinterfacetosimulatethefunctionofthemouse.Thedesigniseasy,thethoughtisingenious.Thispapergiveabriefintroductionfirstlyaboutbluetoothtechnology,thentheprotocolsofbluetoothandtherelationshipofthem,especiallyHCIlayerandtheimplementingmechanismsofHCIcommandsandHCIevents.Atlast,takingtheb
6、luetoothmoduleROK101008madeinericssoncompanyforexample,weanalyseindetailthehardwareinterfaceandtheimplementingprocessofsoftwareinterfacebetweenMCUandblnetoothmodule.Inthepaperthesolutionselectedinthesubjectwasespeciallyintroduced,whichincludesoverallconceptualdesign,systemcircuitdesign,mousecont
7、rollersoftwaredesign,theintroductionoftheHCIprotocol,PCendsoftwaredesignetc..Thesubjectisanattempttoapplybluetoothwirelesscommunicationtechnologytocomputerperipheralmakingthepreparationoftheoryandpracticeforthenextstage.Keyw