【正文】
教學(xué)為例,教師為了講課時(shí)方便地翻動(dòng)PPT 或者Word 頁,不得不一直站在電腦前面。同時(shí),各種會(huì)議,企業(yè)產(chǎn)品發(fā)布等等都經(jīng)常通過PowerPoint 演示的方式來進(jìn)行。 電子教鞭概況:隨著教育電教化的推進(jìn),現(xiàn)在基本所有的學(xué)校都是采用多媒體教學(xué)。本文介紹的一種紅外遙控鼠標(biāo)器,用紅外線取代了鼠標(biāo)器和計(jì)算機(jī)之間的連線,用按鍵控制光標(biāo)的移動(dòng),解決了上述鼠標(biāo)器使用不便的問題。鼠標(biāo)器和計(jì)算機(jī)之間有一根連線,并且需要在桌面(鼠標(biāo)墊)上進(jìn)行操作。最后論文總結(jié)了在紅外無線遙控鼠標(biāo)器研究設(shè)計(jì)中的工作,提出了下一步需要完善和解決的問題。這就使紅外無線遙控鼠標(biāo)器成為一個(gè)完美的多功能的多媒體播放外接工具。最終達(dá)到紅外線遙控鼠標(biāo)器的各種控制功能?;趩纹瑱C(jī)的紅外線遙控鼠標(biāo)器設(shè)計(jì)摘要紅外無線遙控鼠標(biāo)器主要由發(fā)射和接收兩部分組成,發(fā)射端采用 SC9148B 紅外發(fā)射芯片及其發(fā)射電路,通過把紅外無線遙控鼠標(biāo)器的各控制鍵(鼠標(biāo)左、右、上、下移動(dòng)鍵、左右鍵、向下及向上翻頁鍵)進(jìn)行編碼,然后通過 38KHz 紅外載波以原碼和重發(fā)碼的形式連續(xù)對外發(fā)送,以防止數(shù)據(jù)在傳送過程中出現(xiàn)錯(cuò)誤。在接收部分通過紅外接收頭校正放大之后由 P87LPC762 芯片解碼,由于雙重碼的傳送形式,大大增加數(shù)據(jù)的準(zhǔn)確性,把串行數(shù)字信號轉(zhuǎn)化為并行信號,并產(chǎn)生相應(yīng)的控制指令,然后通過 HT82K95E USB OTP/Mask MCU 芯片,把控制指令轉(zhuǎn)化成計(jì)算機(jī) USB 口能夠接收的信號然后通過 USB 口向計(jì)算機(jī)發(fā)送無線遙控鼠標(biāo)的各個(gè)控制功能指令。同時(shí)發(fā)射部分還有激光發(fā)射電路,使紅外無線鼠標(biāo)遙控器具有激光筆的功能。通過調(diào)試驗(yàn)證其系統(tǒng)穩(wěn)定,通信可靠。關(guān)鍵字:紅外無線鼠標(biāo)遙控 發(fā)射 接收 USB基于單片機(jī)的紅外線遙控鼠標(biāo)器設(shè)計(jì)AbstractInfrared wireless mouse remote control mainly by transmitting and receiving posed of two parts, the transmitter used SC9148B infrared emission circuit chip and its launch of the wireless infrared remote control of the mouse control button (the mouse left、 right、up and down move’s button, the left and right button, flip up and down) encoded, and then after 38 KHz through infrared carrier to the original code and reissued in the form of code for external transmission, to prevent the transmission of data in the process of error in the receiving part through red Larger, after receiving the first correction by the P87LPC762 decoder chip, code form of a double transmission greatly increase the accuracy of the data, the serial digital signals into a parallel signal, and generate corresponding control instructions, and then through HT82K95E USB OTP / Mask MCU chip , The control mands into a puter USB port that can receive the signal through the USB port and then sent to the wireless puter mouse functions of the various mands. And ultimately achieving the infrared remote control for all kinds of mouse control. At the same time there are parts of the laser firing circuit so that the infrared wireless mouse remote control with Laser pen in function, so that the infrared wireless mouse remote control as a perfect multifunctional multimedia player external tool. Commissioning verification through its system is stable, reliable munications. Summed up the final papers in the infrared wireless mouse remote control on the design of work and the need to improve and the next step to solve the problem.Keyword:Infrared remote control wireless Launch Reception USB基于單片機(jī)的紅外線遙控鼠標(biāo)器設(shè)計(jì)目錄1 緒論 ............................................1 電子教鞭概況: ...............................................................1第一類:投影機(jī)遙控器 ...........................................................1第二類:激光筆類 ...............................................................1第三類:無線鼠標(biāo) ...............................................................2 國內(nèi)外在紅外無線遙控鼠標(biāo)器發(fā)展?fàn)顩r: .....................................2 設(shè)計(jì)方案 ......................................................................3 紅外無線遙控鼠標(biāo)器的功能和優(yōu)點(diǎn) .............................................3 方案總結(jié) ......................................................................42 概述 ...........................................5 工作原理 ......................................................................5 系統(tǒng)概述 ......................................................................5 發(fā)射部分方框圖 ...........................................................5 接收部分方框圖 ...........................................................6 完整的原理框圖: ..........................................................6 設(shè)計(jì)概述 ..................................................................7 芯片選型 ......................................................................8 發(fā)射部分主芯片選擇及介紹 .................................................8 接收部分主芯片選擇及介紹 ..................................................93 硬件電路設(shè)計(jì) ...................................12 發(fā)射電路設(shè)計(jì) .................................................................12 振蕩電路 ................................................................12 鍵盤輸入 ................................................................12 傳送的波形 ..............................................................14 紅外發(fā)射電路 ............................................................16 激光電路 ................................................................16 1.................................................17 接收部分設(shè)計(jì) .................................................................17 譯碼電路設(shè)計(jì): ..........................................................17 P87LPC762 和 HT82K95E 之間數(shù)據(jù)傳送電路設(shè)計(jì) ................................18 HT82K95E 與 USB 傳送電路 ..................................................19 完整的接收電路圖見附錄圖 2...............................................19基于單片機(jī)的紅外線遙控鼠標(biāo)器設(shè)計(jì)4 軟件部分設(shè)計(jì) ...................................20 P87LPC762 程序設(shè)計(jì) ..........................................................20 接收首發(fā)碼和重發(fā)碼程序 ..................................................20 檢測數(shù)據(jù)與儲存 ..........................................................21 產(chǎn)生控制指令 ............................................................23 數(shù)據(jù)在 P87LPC762 和 HT82K95E 傳送 .........................................24 HT82K95E 中程序設(shè)計(jì) .........................................................26 鼠標(biāo)控制鍵參數(shù)設(shè)定 ......................................................26 HT82K95E 傳送過程 ........................................................28 主程序流程圖 ................................................................28 P87LPC762 中程序流程圖 ...................................................29 HT82K95E 程序流程圖如下 ..................................................305 總結(jié) ...........................................31致 謝 ............................................33參考文獻(xiàn) .........................................34附錄 .............................................35附錄 1 發(fā)射電路圖 ................................................................35附錄 2 接收電路圖 ...................