紅外線遙控器系統(tǒng)的設(shè)計(jì).doc
約38頁DOC格式手機(jī)打開展開
紅外線遙控器系統(tǒng)的設(shè)計(jì),1.17萬字自己原創(chuàng)的畢業(yè)論文,僅在本站獨(dú)家出售,重復(fù)率低,推薦下載使用摘要 隨著社會的發(fā)展,如今,各種家用電器已經(jīng)進(jìn)入到人們的日常生活,隨之而來的是各類的控制系統(tǒng)及各類遙控器被人們所熟知。傳統(tǒng)的紅外線遙控器采用單一的控制編碼及其解碼電路。此種設(shè)計(jì)雖然設(shè)計(jì)簡單,但其應(yīng)用對象卻受到了極大的限制,只能...
內(nèi)容介紹
此文檔由會員 淘寶大夢 發(fā)布
紅外線遙控器系統(tǒng)的設(shè)計(jì)
1.17萬字
自己原創(chuàng)的畢業(yè)論文,僅在本站獨(dú)家出售,重復(fù)率低,推薦下載使用
摘要 隨著社會的發(fā)展,如今,各種家用電器已經(jīng)進(jìn)入到人們的日常生活,隨之而來的是各類的控制系統(tǒng)及各類遙控器被人們所熟知。傳統(tǒng)的紅外線遙控器采用單一的控制編碼及其解碼電路。此種設(shè)計(jì)雖然設(shè)計(jì)簡單,但其應(yīng)用對象卻受到了極大的限制,只能單一的控制某種電器設(shè)備,增加了用戶的操作難度。而本文所采用的以單片機(jī)為基礎(chǔ)的自學(xué)習(xí)紅外線遙控器,在成本低廉的基礎(chǔ)之上,同時具有了編碼靈活的優(yōu)點(diǎn),使得只通過一個遙控器就能夠?qū)W習(xí)多個紅外遙控信號,解決了傳統(tǒng)遙控器只能遙控單一設(shè)備的局限性,有效的減少了用戶需要操作的遙控器數(shù)量,方便了我們的生活。本設(shè)計(jì)以單片機(jī)為核心,包含接紅外接收,紅外發(fā)射,顯示,按鍵,存儲以及電源六個子模塊,通過單片機(jī)對各個子模塊進(jìn)行協(xié)調(diào)工作??梢詫贜EC紅外協(xié)議的紅外信號進(jìn)行辨別,存儲和再發(fā)射。本文對NEC紅外協(xié)議做了詳細(xì)的介紹,同時,本文也詳細(xì)介紹了系統(tǒng)的軟硬件設(shè)計(jì),并給出了詳細(xì)的各個模塊的具體電路設(shè)計(jì)以及系統(tǒng)運(yùn)行的流程圖。
關(guān)鍵字:單片機(jī)、自學(xué)習(xí)、紅外遙控;
Design of infrared remote controller system
ABSTRACT With the development of society, today, all kinds of household appliances has entered into people's daily life, followed by the control system and various types of remote control to be known. Infrared remote control code is adopted in traditional single and decoding circuit. This design is simple, but its application has been greatly restricted, only a single control some equipment, increase the user's operation difficulty. Self learning infrared remote controller and the microcontroller based, on the basis of low cost, and has the characteristics of flexibility, can put a plurality of infrared signal learning in a remote control device, overcomes the limitations of traditional remote control only a single device, effectively avoids the user operation a plurality of remote control of the situation, to facilitate our lives.This paper is based on the single chip microcomputer, including the infrared receiver, infrared emission, display, keyboard, memory and power supply of six sub modules, through the microcontroller to coordinate the work of each sub module. With the recognition of the infrared signals of NEC infrared protocol based on function, storage and re emission. This paper introduced in detail, the NEC infrared protocol at the same time, this paper also introduces the hardware and software design of the system, and gives each module in detail the specific circuit design and the system operation flow chart.
Keywords:Single chip microcomputer、The learning、Infrared remote controller;
目錄
第1章 緒論 1
1.1 紅外概述 1
1.2 選題意義 2
1.3 設(shè)計(jì)思想 3
第2章 硬件的選取 4
2.1 單片機(jī) 4
2.1.1 簡介 4
2.1.2 引腳介紹 4
2.1.3 單片機(jī)的工作模式 6
2.1.4 定時器/計(jì)數(shù)器 7
2.2 電源穩(wěn)壓器概述 7
2.3 存儲器 8
2.4 紅外接收頭 9
第3章 系統(tǒng)及各單元組成 10
3.1 信號發(fā)射電路 10
3.2 信號接收電路 11
3.2.1 紅外接收原理 11
3.3 復(fù)位電路 13
3.4 CPU時鐘電路 13
3.5 獨(dú)立式按鍵結(jié)構(gòu) 14
3.5.1 鍵盤與單片機(jī)接口 14
3.5.2 鍵連擊現(xiàn)象的克服和處理 14
3.6 存儲器電路 15
3.6.1 引腳說明 15
3.6.2 單片機(jī)接口 16
3.7 指示燈電路 17
3.8 電源電路 17
3.9 整體電路圖設(shè)計(jì) 17
第4章 遙控器軟件設(shè)計(jì) 19
4.1 程序設(shè)計(jì) 19
4.2 鍵號判別程序設(shè)計(jì) 20
4.2.1 流程圖如圖4.2所示 20
4.2.2 鍵號掃描程序源代碼 21
4.3 紅外接收 22
4.3.1 紅外接收程序流程圖 22
4.3.2 紅外接收程序源代碼 23
4.4 紅外發(fā)射 25
4.4.1 紅外發(fā)射流程圖 25
4.4.2 紅外發(fā)射源代碼 26
4.5 I2C總線程序 28
4.5.1 位傳輸 28
4.5.2 數(shù)據(jù)傳輸?shù)淖止?jié)格式 28
4.5.3 I2C數(shù)據(jù)傳輸協(xié)議 28
4.6 系統(tǒng)調(diào)試 29
結(jié)論和展望 31
致謝 32
參考文獻(xiàn) 33
1.17萬字
自己原創(chuàng)的畢業(yè)論文,僅在本站獨(dú)家出售,重復(fù)率低,推薦下載使用
摘要 隨著社會的發(fā)展,如今,各種家用電器已經(jīng)進(jìn)入到人們的日常生活,隨之而來的是各類的控制系統(tǒng)及各類遙控器被人們所熟知。傳統(tǒng)的紅外線遙控器采用單一的控制編碼及其解碼電路。此種設(shè)計(jì)雖然設(shè)計(jì)簡單,但其應(yīng)用對象卻受到了極大的限制,只能單一的控制某種電器設(shè)備,增加了用戶的操作難度。而本文所采用的以單片機(jī)為基礎(chǔ)的自學(xué)習(xí)紅外線遙控器,在成本低廉的基礎(chǔ)之上,同時具有了編碼靈活的優(yōu)點(diǎn),使得只通過一個遙控器就能夠?qū)W習(xí)多個紅外遙控信號,解決了傳統(tǒng)遙控器只能遙控單一設(shè)備的局限性,有效的減少了用戶需要操作的遙控器數(shù)量,方便了我們的生活。本設(shè)計(jì)以單片機(jī)為核心,包含接紅外接收,紅外發(fā)射,顯示,按鍵,存儲以及電源六個子模塊,通過單片機(jī)對各個子模塊進(jìn)行協(xié)調(diào)工作??梢詫贜EC紅外協(xié)議的紅外信號進(jìn)行辨別,存儲和再發(fā)射。本文對NEC紅外協(xié)議做了詳細(xì)的介紹,同時,本文也詳細(xì)介紹了系統(tǒng)的軟硬件設(shè)計(jì),并給出了詳細(xì)的各個模塊的具體電路設(shè)計(jì)以及系統(tǒng)運(yùn)行的流程圖。
關(guān)鍵字:單片機(jī)、自學(xué)習(xí)、紅外遙控;
Design of infrared remote controller system
ABSTRACT With the development of society, today, all kinds of household appliances has entered into people's daily life, followed by the control system and various types of remote control to be known. Infrared remote control code is adopted in traditional single and decoding circuit. This design is simple, but its application has been greatly restricted, only a single control some equipment, increase the user's operation difficulty. Self learning infrared remote controller and the microcontroller based, on the basis of low cost, and has the characteristics of flexibility, can put a plurality of infrared signal learning in a remote control device, overcomes the limitations of traditional remote control only a single device, effectively avoids the user operation a plurality of remote control of the situation, to facilitate our lives.This paper is based on the single chip microcomputer, including the infrared receiver, infrared emission, display, keyboard, memory and power supply of six sub modules, through the microcontroller to coordinate the work of each sub module. With the recognition of the infrared signals of NEC infrared protocol based on function, storage and re emission. This paper introduced in detail, the NEC infrared protocol at the same time, this paper also introduces the hardware and software design of the system, and gives each module in detail the specific circuit design and the system operation flow chart.
Keywords:Single chip microcomputer、The learning、Infrared remote controller;
目錄
第1章 緒論 1
1.1 紅外概述 1
1.2 選題意義 2
1.3 設(shè)計(jì)思想 3
第2章 硬件的選取 4
2.1 單片機(jī) 4
2.1.1 簡介 4
2.1.2 引腳介紹 4
2.1.3 單片機(jī)的工作模式 6
2.1.4 定時器/計(jì)數(shù)器 7
2.2 電源穩(wěn)壓器概述 7
2.3 存儲器 8
2.4 紅外接收頭 9
第3章 系統(tǒng)及各單元組成 10
3.1 信號發(fā)射電路 10
3.2 信號接收電路 11
3.2.1 紅外接收原理 11
3.3 復(fù)位電路 13
3.4 CPU時鐘電路 13
3.5 獨(dú)立式按鍵結(jié)構(gòu) 14
3.5.1 鍵盤與單片機(jī)接口 14
3.5.2 鍵連擊現(xiàn)象的克服和處理 14
3.6 存儲器電路 15
3.6.1 引腳說明 15
3.6.2 單片機(jī)接口 16
3.7 指示燈電路 17
3.8 電源電路 17
3.9 整體電路圖設(shè)計(jì) 17
第4章 遙控器軟件設(shè)計(jì) 19
4.1 程序設(shè)計(jì) 19
4.2 鍵號判別程序設(shè)計(jì) 20
4.2.1 流程圖如圖4.2所示 20
4.2.2 鍵號掃描程序源代碼 21
4.3 紅外接收 22
4.3.1 紅外接收程序流程圖 22
4.3.2 紅外接收程序源代碼 23
4.4 紅外發(fā)射 25
4.4.1 紅外發(fā)射流程圖 25
4.4.2 紅外發(fā)射源代碼 26
4.5 I2C總線程序 28
4.5.1 位傳輸 28
4.5.2 數(shù)據(jù)傳輸?shù)淖止?jié)格式 28
4.5.3 I2C數(shù)據(jù)傳輸協(xié)議 28
4.6 系統(tǒng)調(diào)試 29
結(jié)論和展望 31
致謝 32
參考文獻(xiàn) 33