freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于單片機(jī)的紅外遙控開(kāi)關(guān)設(shè)計(jì)本科畢業(yè)設(shè)計(jì)-免費(fèi)閱讀

  

【正文】 另外,我還要感謝大學(xué)四年和我一起走過(guò)的同學(xué)朋友對(duì)我的關(guān)心與支持,與他們一起學(xué)習(xí)、生活,讓我在大學(xué)期間生活的很充實(shí),給我留下了很多難忘的回憶。經(jīng)過(guò)這次畢業(yè)設(shè)計(jì),我的能力有了很大的提高,比如操作能力、分析問(wèn)題的能力、合作精神、嚴(yán)謹(jǐn)?shù)墓ぷ髯黠L(fēng)等方方面面都有很大的進(jìn)步。對(duì)本文的研究做出重要貢獻(xiàn)的個(gè)人和集體均已在文中以明確方式標(biāo)明。 typedef unsigned char BOOL。 typedef long INT32。 typedef unsigned int word。計(jì)算機(jī)工程與設(shè)計(jì) ;20xx 年 11 期 : 20972099. [9]聶詩(shī)良,李磊民 .A Method of Sending and Reciving Infrared Remote control Signle with Microchip Computer[J]信息技術(shù)報(bào); 20xx, 28( 2):2123. [10]李志 超, 周華 .Design and Application of Infrared Remote Control Based on MCU[J].中州大學(xué)學(xué)報(bào); 20xx, 25( 2): 111112. [11] 梁超,謝皓 . Design and Application of Infrared Remote Control System[J].中國(guó)學(xué)術(shù)期刊; 20xx 年第 4期: 124125. 27 致 謝 經(jīng)過(guò)這次鍛煉我的體會(huì)更深了,我認(rèn)識(shí)到實(shí)踐是最好的 老師,有很多的知識(shí)如果不去實(shí)踐就永遠(yuǎn)也不會(huì)有透徹的理解,每一次的實(shí)踐都是一種進(jìn)步。 i++) {}} } 25 結(jié) 論 本設(shè)計(jì)通過(guò)了試驗(yàn),基本上符合設(shè)計(jì)要求,論文涉及的相關(guān)理論的得到了進(jìn)一步的驗(yàn)證。 case 0x08: //遙控器 4鍵的鍵碼 。 //實(shí)現(xiàn) I/O 口的高低電平 //轉(zhuǎn)換,控制制驅(qū)動(dòng)晶體管 的 //通斷,從而控制繼電器開(kāi)合。 } include include //附錄 1 中包含文件信息 。 COM[j] = IRCOM[j] | 0x80。k++) //每組數(shù)據(jù)有 8位 { while (!IRIN) //等 IR 變?yōu)楦唠娖? { delay(1)。// 數(shù)據(jù)反碼確認(rèn) IR信號(hào)出現(xiàn) } while (!IRIN) //等 IR 變?yōu)楦唠娖剑^(guò) 9ms 的前導(dǎo)低 { //電平信號(hào)。 uchar IRCOM[7]。 { if(PassWord!=0)//PassWord 在紅外解碼的頭文件當(dāng)中定義,可//以直接在此引用。 上述例子當(dāng)中的頭文件包含編寫(xiě)方法為: ifndef _(對(duì)應(yīng)的 *.C 英文名稱大寫(xiě)) _H_ define _(對(duì)應(yīng)的 *.C 英文名稱大寫(xiě)) _H_ extern void LcdPutChar(char cNewValue)。 假設(shè)我們有一個(gè) 文件,其提供最基本的 LCD 的驅(qū) 動(dòng)函 數(shù) LcdPutChar(char cNewValue) , 在當(dāng)前位置輸出一個(gè)字符而在我們的另外一個(gè)文件中需要調(diào)用此函數(shù),那么我們?cè)撊绾巫瞿兀? 頭文件的作用正是在此。即我們只關(guān)心模塊提供的功能,而不管模塊內(nèi)部的實(shí)現(xiàn)細(xì)節(jié)。逐步求精的結(jié)果是得到一系列以功能塊為單位的算法 描述。 繼電器觸控電路 采用 5V 電磁繼電器,在單片機(jī)的 I/O 口輸出一個(gè)高電平的時(shí)候,將驅(qū)動(dòng) 晶體三極管 9013 導(dǎo)通,使得電磁繼電器的控制線圈通斷形成磁場(chǎng),可是應(yīng)該在繼電器線圈上加 15 二極管阻斷線圈反電勢(shì)以保護(hù)三極管 9013,如圖 所示。這樣吸合、釋放,從而達(dá)到了在電路中的導(dǎo)通、切斷的目的。通常應(yīng)用于自動(dòng)化的控制 電路 中,它實(shí)際上是用小電流去控制大電流運(yùn)作的一種 “ 自動(dòng)開(kāi)關(guān) ” 。 12 ( 1) USB 接口的簡(jiǎn)介 USB 是英文 Universal Serial BUS(通用串行總線)的縮寫(xiě),而其中文簡(jiǎn)稱為“ 通串線,是一個(gè)外部總線標(biāo)準(zhǔn),用于規(guī)范電腦與外部設(shè)備的連接和通訊。其中 13 腳( R1IN)、 12 腳( R1OUT)、 11 腳( T1IN)、 14 腳( T1OUT)為第一數(shù)據(jù)通道。 紅外一體化接收頭的測(cè)試 :可以 在 PC838 的電源端與信號(hào)輸出端之間接上一只二極管及一只發(fā)光二極管后,再配上規(guī)定的工作電源(為+ 5V),當(dāng)手拿遙控器對(duì)著接收頭按任意鍵時(shí),發(fā)光二極管會(huì)閃爍,說(shuō)明紅外接收頭和遙控器工作都正常;如果發(fā)光二極管不閃爍發(fā)光,說(shuō)明紅外接收頭和遙控器至少有一個(gè)損壞。就這樣單片機(jī)程序就可以識(shí)別遙控器相應(yīng)的功能鍵,通過(guò)遙控器向單片機(jī)發(fā)出相應(yīng)的命令,單片機(jī)接收到命令后通過(guò)驅(qū)動(dòng)電路使繼電器動(dòng)作從而實(shí)現(xiàn)用電設(shè)備的開(kāi)關(guān)。編碼采用脈沖位置調(diào)制方式( PPM),利用脈沖之間的時(shí)間間隔來(lái)區(qū)分“ 0”和“ 1”。指令譯碼器 將編碼指令信號(hào)進(jìn)行譯碼,最后由驅(qū)動(dòng)電路來(lái)驅(qū)動(dòng)執(zhí)行電路實(shí)現(xiàn)各種指令的操作控制(機(jī)構(gòu))。 紅外接收模塊:接收 遙控器發(fā)射含有鍵碼值信息的紅 外線,經(jīng)過(guò)接收、放大、整形之后轉(zhuǎn)化成可供單片機(jī)識(shí)別的 TTL 電平信號(hào),并 送往單片機(jī)并被單片機(jī)解碼。 為了解決上述 專用編解碼芯片配對(duì)的 局限性, 本文 意在 研究 一種 基于 基于單片機(jī)的紅外解碼控制系統(tǒng), 實(shí)現(xiàn)對(duì)紅線外解碼并完成后置繼電器電路的開(kāi)關(guān)控制功能。 單片機(jī)的 概念與發(fā)展 單片機(jī)在一塊半導(dǎo)體硅片上集成了計(jì)算機(jī)的所有基本功能部件,包括中央處理器、存儲(chǔ)器、輸入輸出接口電路、中斷系統(tǒng)、定時(shí)器計(jì)數(shù)器和串行通信接口電路等,因此,單片機(jī)只需要與適當(dāng)?shù)能浖斑m當(dāng)?shù)耐獠吭O(shè)備相結(jié)合,就可以構(gòu)成一個(gè)完 整 的計(jì)算機(jī)應(yīng)用系統(tǒng)。 特斯拉( Nikola Tesla)( 1856— 1943)的發(fā)明家在 1898 年時(shí)開(kāi)發(fā)出來(lái)的(美國(guó)專利 613809 號(hào)) 。 關(guān)鍵詞: 單片機(jī) , 紅外接收頭 , USB 電源接口線湖南工業(yè)大學(xué)本科畢業(yè)設(shè)計(jì)(論文) III ABSTRACT Because infrared remote control has bee a human life and related industrial field indispensable part of bringing people it is convenient, so the infrared remote control technology with strong practical significance, but usually of infrared remote control technology to realize the special chip to plete, and not for chip interchangeable, so this design to the simplicity of singlechip microputer system to realize the infrared remote control and plete its corresponding decoding control function. This design is introduced by a general remote control as a signal controller of infrared remote control the power switch, the USB interface to the control system of power adapter, using the integrated infrared receiver receive remote control signal and head of microputer STC90C516RD + decoding processing, to more power relay driven way, and finally achieve the rear circuit of the functional sex of the power switch control. This paper briefly introduced the principle of infrared decoding and the singlechip microputer STC90C516RD + and infrared decoding the writing of the ideas and structure of the program, and the design process of the relay driver problem carried on the detailed analysis, and put forward some feasible solutions. Because of this design uses the integrated infrared sensor and USB interface to the whole system power supply, so the circuit design more simple circuit effect and has strong antiinterference, at the same time for design cost for maximum reduced. Keywords: Single chip microputer, Infrared sensor, USB power source line湖南工業(yè)大學(xué)本科畢業(yè)設(shè)計(jì)(論文) III 目 錄 摘 要 ............................................................... 1 ABSTRACT .......................................................... III 目 錄 ............................................................. III 第一章 緒論 ........................................................ 1 課題背景及其意義 ................................................ 1 遙控技術(shù)的發(fā)展與現(xiàn)狀 ............................................ 1 單片機(jī)的概念與發(fā)展 .............................................. 2 研究的目標(biāo)及內(nèi)容 ................................................ 2 第 2 章 系統(tǒng)硬件部分設(shè)計(jì) .......................................... 4 系統(tǒng)硬件設(shè)計(jì)原理及要求 .......................................... 4 系統(tǒng)工作原理 ................................................ 4 紅外遙控的基本原理 ......................................... 5 遙控發(fā)射器及其編碼 ......................................... 5 紅外解碼思路 ................................................ 7 相關(guān)器件簡(jiǎn)介 .................................................... 7 單片機(jī) STC90C516RD+ ......................................... 8 紅外接收頭 PC838............................................ 9 MAX232 .................................................... 10 USB 接口 ................................................... 11 電磁繼電器 ................................................ 13 硬件系統(tǒng)相關(guān)電路圖 ............................................. 13 系統(tǒng)整體原理圖 ............................................. 14 IV USB 電源系統(tǒng)供電電路
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1