【正文】
可對(duì) 4 個(gè)受控對(duì)象的工作狀態(tài)進(jìn)行短距離無(wú)線控制,適用于 遙控 工業(yè)、醫(yī)療、家用電器等設(shè)備的 開閉狀態(tài) 。紅外遙控技術(shù) 具有 使用方便、功耗低、抗干擾能力強(qiáng) 、價(jià)格便宜 的特點(diǎn), 因此它 的應(yīng)用前景 十分廣闊 。 本科畢業(yè) 設(shè)計(jì) ( 2021屆) 題 目 基于 MCS51 系列 單片機(jī)的紅外遙控 電路設(shè)計(jì) 學(xué) 院 電子信息學(xué)院 專 業(yè) 班 級(jí) 學(xué) 號(hào) 學(xué)生姓名 指導(dǎo)教師 完成日期 杭州電子科技大學(xué)本科畢業(yè)設(shè)計(jì) 摘 要 由于單片機(jī)具有集成度高、體積小、可靠性高、價(jià)格便宜等優(yōu)點(diǎn),其在機(jī)電一體化、工業(yè)控制、儀器儀表和家用電器等領(lǐng)域得到了廣泛應(yīng)用。 當(dāng)前單片機(jī)對(duì)家用電器控制呈現(xiàn)出 外形 簡(jiǎn)單化、 功能 多樣化、 產(chǎn)品 智能化 的發(fā)展趨向。 本課題以延伸紅外無(wú)線遙控技術(shù)為目的,提出了一種紅外遙控器集中控制的方案,核心是設(shè)計(jì)出一個(gè)紅外多路遙控發(fā)射 /接收系統(tǒng)。并含有設(shè)備計(jì)數(shù)模塊,可對(duì)處于工作狀態(tài)的設(shè)備進(jìn)行計(jì)數(shù),并顯示出來(lái)。 關(guān)鍵詞: 單片機(jī) 紅外遙控 多路 LED 光耦隔離 鍵盤控制 杭州電子科技大學(xué)本科畢業(yè)設(shè)計(jì) ABSTRACT As high integration,small size, high reliability and low price of the single chip .It has been widely applied on electrical integration, industrial control, instrumentation and household appliances. SCM(Single Chip Micyoco) control of household appliances develops towards simplified form, functional diversification, and intelligent currently. Infrared remote control technology has characteristics of easy to use, low power consumption, antiinterference ability and cheap, so its prospects are bright. The topics to extend the infrared wireless remote control technology for the purpose, a centralized control infrared remote control program, the core is to design a wireless infrared remote control multiple transmit / receive system. The design of an infrared transmission of information as a carrier of controlled object can work 8 state shortrange wireless control for industrial, medical, home appliances and other equipment on or off remotely. It contains counting module equipment, and can count the equipment in working condition , and displays. The focus of the task is achieving work of Binary data encoding and decoding by software, and then we had data transmitted with infrared transceiver. Key words: Single Chip Micyoco; Infrared Remote Control; Multipath; LED Optocoupler isolation; Keyboard control 杭州電子科技大學(xué)本科畢業(yè)設(shè)計(jì) 目 錄 1 引言 ............................................................................................................................. 1 2 概述 ............................................................................................................................. 2 基于單片機(jī)的紅外遙控系統(tǒng)概述 ................................................................... 2 本設(shè)計(jì)方案思路 ............................................................................................... 3 研發(fā)方向和技術(shù)關(guān)鍵 ....................................................................................... 3 主要技術(shù)指標(biāo) ................................................................................................... 3 3 總體設(shè)計(jì) ..................................................................................................................... 4 紅外遙控發(fā)射部分 ........................................................................................... 4 紅外遙控接收部分 ........................................................................................... 5 紅外編碼標(biāo)準(zhǔn) ................................................................................................... 5 4 硬件設(shè)計(jì) ..................................................................................................................... 9 主控芯片 AT89S51 ........................................................................................... 9 紅外遙控發(fā)射電路 ......................................................................................... 13 紅外遙控接收電路 ......................................................................................... 14 電源電路 ......................................................................................................... 18 5 軟件設(shè)計(jì) ................................................................................................................... 20 總體方案 ......................................................................................................... 20 編碼發(fā)射程序設(shè)計(jì) ......................................................................................... 20 6 仿真與制作 ............................................................................................................... 26 系統(tǒng)仿真 ......................................................................................................... 26 硬件電路制作與軟件下載 ............................................................................. 27 功能測(cè)試 ........................................................................................................... 28 7 結(jié)論 ........................................................................................................................... 29 致謝 ................................................................................................................................. 30 參考文獻(xiàn) ......................................................................................................................... 31 附錄 1 ........................................................................................................................... 32 附錄 2 ........................................................................................................................... 33 附錄 3 ........................................................................................................................... 34 附錄 4 ........................................................................................................................... 38 杭州電子科技大學(xué)本科畢業(yè)設(shè)計(jì) 1 1 引言 近年來(lái)隨著計(jì)算機(jī)在社會(huì) 各 領(lǐng)域的滲透 , 單片機(jī)的應(yīng)用正在不斷地走向深入,同時(shí) 也 帶動(dòng)傳統(tǒng) 的 控制 、 檢測(cè) 等 工作 日 益更新。為了方便實(shí)用,傳統(tǒng)的家庭電器逐漸采用紅外線遙控。 紅外遙控的特點(diǎn)是不影響周邊環(huán)境、不干擾其它電器設(shè)備。 紅外遙控雖然被廣泛應(yīng)用,但各產(chǎn)商的遙控器不能相互兼容。而本文 采用單片機(jī)進(jìn)行遙控系統(tǒng)的應(yīng)用設(shè)計(jì),遙控裝置將同時(shí)具有編程靈活、控制范圍廣、體積小、功耗低、功能強(qiáng)、成本低、可靠性高等特點(diǎn),因此采用單片機(jī)的紅外遙控技術(shù)具有廣闊的發(fā)展前景 ?,F(xiàn)代科技的飛速發(fā)展在許多危險(xiǎn)、不可近場(chǎng)合也對(duì)遠(yuǎn)程控制提出了越來(lái)越高的要求。盡管他的大部分功能集成在一塊小芯片上,但是它具有一個(gè)完整計(jì)算機(jī)所需要的大部分部件: CPU、內(nèi)存、內(nèi)部和外部總線系統(tǒng),目前大部分還會(huì)具有外存。而現(xiàn)在最強(qiáng)大的單片機(jī)系統(tǒng)甚至可以將聲音、圖像、網(wǎng)絡(luò)、復(fù)雜的輸入輸出系統(tǒng)集成在一塊芯片上。所以特別適用于“電腦型產(chǎn)品”,它的應(yīng)用已深入到工業(yè)、農(nóng)業(yè)、國(guó)防、科研、教育以及日