【正文】
..................................................................................................... 10 時鐘電路 ....................................................................................................................... 10 復(fù)位電路 ....................................................................................................................... 10 按鍵及其接口電路 ....................................................................................................... 11 紅外遙控原理及其設(shè)計 ............................................................................................... 12 紅外發(fā)射電路 ............................................................................................................... 13 紅外遙控接收電路 ....................................................................................................... 13 紅外信號接收電路 ............................................................................................. 14 控制部分電路 ..................................................................................................... 14 電源電路 ....................................................................................................................... 16 第 4 章 軟件設(shè)計 ......................................................................................................................... 17 模塊化程序簡介 ........................................................................................................... 17 遙控發(fā)射主程序設(shè)計 ................................................................................................... 18 紅外接收主程序設(shè)計 ................................................................................................... 19 第 5 章 軟件調(diào)試 ......................................................................................................................... 22 仿真環(huán)境 ....................................................................................................................... 22 仿真實現(xiàn) ....................................................................................................................... 23 結(jié) 論 ........................................................................................................................................... 26 致 謝 ........................................................................................................................................... 27 參考文獻 ....................................................................................................................................... 28 附錄(程序清單) ....................................................................................................................... 29 畢業(yè)設(shè)計 1 第 1 章 緒 論 家電遙控技術(shù)的研究背景 隨著科學(xué)技術(shù)的高速發(fā)展,人們對物質(zhì)文化的追求日益增高,各種具有高科技技術(shù)元素的電子產(chǎn)品已經(jīng)融入人們的日常生活之中。 digital circuits。 receiving portion prises an infrared light emitting LED , demodulation, decoding circuit . As a veteran of electrical fans with cheap, convenient place , lightweight characteristics, occupy most of the market share, market demand led to the development of electric fans , precise remote control switch designed to enhance the fan work performance, improved fort and stability. The design AT89C51 microcontroller as the core , bines the advantages of microcontroller interrupt system , timers, counters and other features, bined with infrared light designed an electric fan remote control device. For remote operation type , the remote transmitter via the transmission frequency of the infrared light to distinguish between the different control operations . Identification of the remote receiver via infrared light receiving frequency control operation is judged to plete the infrared remote control transmitter and receiver process. Key words: Infrared remote control。紅外 遙控接收器 則經(jīng)過識別紅外線頻率、查表識別具體要操作要求,完成對被控對象的實時控制。 本設(shè)計以 AT89C51 單片機作為核心,綜合了單片機中斷系統(tǒng)、定時器、計數(shù)器等功能,結(jié)合紅外光的優(yōu)點設(shè)計出了一款電風(fēng)扇遙控裝置。發(fā)射電路主要將紅外信號通過鍵盤輸入、編碼調(diào)制以及紅外發(fā)生器等一系列硬件電路傳輸給接受電路,而接收電路則解調(diào)、解碼等電路來識別所接受的紅外信號。 紅外遙控系統(tǒng)是通過紅外線的精準(zhǔn)定位控制模式來控制被控對象,整個控制系統(tǒng)主要集合了數(shù)字電路以及模擬電路。畢業(yè)設(shè)計 I 摘 要 紅外遙控技術(shù)大大提高了勞動生產(chǎn)率、降低了成本、減輕了工人勞動強度、改善勞動條件。而微機技術(shù)出現(xiàn),使現(xiàn)代科學(xué)得到了質(zhì)的飛躍,給現(xiàn)代工業(yè)測控領(lǐng)域帶來了一次新的革命。硬件電路則包括了紅外發(fā)射電路以及紅外接受電路兩部分。 電風(fēng)扇作為一種老牌的電器,具有價格 便宜、擺放方便、體積輕巧等特點,占有大部分的市場份額,市場的需求促使了電風(fēng)扇的發(fā)展,精準(zhǔn)的遙控開關(guān)設(shè)計能夠提高電風(fēng)扇的工作性能,提高舒適性、穩(wěn)定性。 針對不同功能的遙控操作實現(xiàn)途徑,紅外遙控發(fā)射器通過識別不同的紅外光線頻率來區(qū)別不同功能的操作。 關(guān)鍵詞: 紅外遙控 ; 電風(fēng)扇 ; 數(shù)字電路;模擬電路; AT89C51 畢業(yè)設(shè)計 II Abstract Infrared remote control technology greatly improves labor productivity , reduce costs , reduce labor intensity and improve working conditions . The emergence of puter technology , so that modern science has been a qualitative leap to the modern field of industrial measurement and control has brought a new revolution. Infrared remote control is an infrared remote control system to control the use of the controlled object system, the entire system consists of digital and analog circuits posed of two parts . Emitting portion includes a keyboard matrix , coded modulation , LED infrared transmitter 。 fans。 analog circuits。遙控技術(shù)的出現(xiàn)給人 們的生活帶來了很多便利,人們擺脫了傳統(tǒng)按鍵模式的操作方式,僅需要按下遙控器就可以實現(xiàn)對設(shè)備的實時操作。雖然操作簡單、維護方便快捷,然而僅僅適用于某一專屬設(shè)備,控制對象單一,而新型的以單片機為控制核心的紅外遙控裝置則打破這一弊病,程序編寫靈活多變、控制對象多樣。而微機技術(shù)的出現(xiàn),則使現(xiàn)代科學(xué)研究得到了質(zhì)的飛躍,給現(xiàn)代工業(yè) 測控領(lǐng)域帶來了一次新的革命。 電風(fēng)扇與人們的日常生活息息相關(guān),其是人們渡過炎熱酷暑夏天必不可少的家用電器, 雖然現(xiàn)在空調(diào)在城市中已經(jīng)相當(dāng)普遍,并有替代電風(fēng)扇的趨勢,但由于大部分家庭消費水平的限制, 介于電風(fēng)扇的重要性,其將很長一段時間在中小城市以及鄉(xiāng)村家電行業(yè)中占據(jù)不可小視的地位。 隨著科技的發(fā)展,智能化程度日益增高,電風(fēng)扇也加入了智能化元素,智能化增進了電風(fēng)扇在人們生活中的 實用價值。 隨著一系列技術(shù)的成熟,諸多廠家將一些新型的科技元素注入到了電風(fēng)扇中,使得其人性化程度更高,更加貼近人們的生活。 精準(zhǔn)的遙控開關(guān)設(shè)計能夠提高電風(fēng)扇的工作性能,提高舒適性、穩(wěn)定性。 遙控技術(shù)國內(nèi)外研究現(xiàn)狀及發(fā)展趨勢 遙控控制技術(shù)的發(fā)展是以通信技術(shù)、電子技術(shù)以及控制技術(shù)為基石發(fā)展起來的。遙控裝置