信息與通信畢業(yè)論文-單片機(jī)紅外遙控系統(tǒng)的設(shè)計(jì).doc
約50頁(yè)DOC格式手機(jī)打開展開
信息與通信畢業(yè)論文-單片機(jī)紅外遙控系統(tǒng)的設(shè)計(jì),單片機(jī)紅外遙控系統(tǒng)設(shè)計(jì)摘要 作為傳統(tǒng)的家用電器,隨著空調(diào)的普及,電風(fēng)扇的市場(chǎng)地位受到了巨大的沖擊,傳統(tǒng)的開/關(guān)、調(diào)速功能已經(jīng)不能滿足市場(chǎng)的需求。人們希望電風(fēng)扇在體積小、作方便等的基礎(chǔ)上能夠擁有更多的功能,而紅外遙控的廣泛應(yīng)用及單片機(jī)技術(shù)的成熟,則使得智能紅外遙控系統(tǒng)成為了電風(fēng)扇的發(fā)展趨勢(shì)。 本設(shè)計(jì)方案基于市場(chǎng)的需求,結(jié)...
內(nèi)容介紹
此文檔由會(huì)員 huanv 發(fā)布
單片機(jī)紅外遙控系統(tǒng)設(shè)計(jì)
摘要
作為傳統(tǒng)的家用電器,隨著空調(diào)的普及,電風(fēng)扇的市場(chǎng)地位受到了巨大的沖擊,傳統(tǒng)的開/關(guān)、調(diào)速功能已經(jīng)不能滿足市場(chǎng)的需求。人們希望電風(fēng)扇在體積小、作方便等的基礎(chǔ)上能夠擁有更多的功能,而紅外遙控的廣泛應(yīng)用及單片機(jī)技術(shù)的成熟,則使得智能紅外遙控系統(tǒng)成為了電風(fēng)扇的發(fā)展趨勢(shì)。
本設(shè)計(jì)方案基于市場(chǎng)的需求,結(jié)合紅外遙控設(shè)計(jì)簡(jiǎn)單、作方便、成本低廉等特點(diǎn),采用了51單片機(jī)作為遙控發(fā)射接收芯片,HS0038作為紅外一體化接收發(fā)射管,在此基礎(chǔ)上設(shè)計(jì)了一個(gè)簡(jiǎn)易的智能紅外遙控電風(fēng)扇系統(tǒng)。系統(tǒng)包括接收和發(fā)射兩大部分,本文設(shè)計(jì)實(shí)現(xiàn)了幾項(xiàng)電風(fēng)扇的基本功能:開/關(guān)功能、多級(jí)調(diào)速功能、0.5-7.5小時(shí)不同時(shí)間段的定時(shí)功能,以及自然、正常兩種風(fēng)類的選擇功能。另外本系統(tǒng)有16個(gè)按鍵,可用于擴(kuò)展控制其他電器。
關(guān)鍵字:紅外遙控;信號(hào)調(diào)制;編碼;解碼.
The Design Of The Infared Remote Contorl Based On 51-MCU
Abstract:
With the popularity of air conditioners, the market position of the electric fans which are the traditional household appliances will receive a huge impact, the traditional on / off and speed control function have been unfit for the needs of the market. It is hoped that the fans in small, easy to operate, and so on the basis can have more features. When the application of infrared remote control becomes wilder and technologies of SCM become mature, the remote control system is the trend.
The design was based on the needs of the market. Considering that infrared remote control is simple, easy to operate, low-cost, I use a special launching and receiving chip which depends on remote control. On the basis of this chip a system of intelligent infrared remote-control was designed for the fan. The system consists of the launching part and the receiving part. This system is designed to achieve some basic functions of fans: on / off function, three kinds of speed, the timing function which can be chosen at different times of 0.5-7.5 hours, and the function of two kinds of wind which are the natural wind and the normal wind.
Key words: Infrared Remote Control; Signal Modulation; Encoding; Decoding。
目 錄
1緒 論....................................................................1
1.1課題設(shè)計(jì)目的及意義 ....................................................................1
2課題的方案設(shè)計(jì)與論證 ....................................................................3
3系統(tǒng)的硬件結(jié)構(gòu)設(shè)計(jì)....................................................................4
3.1 系統(tǒng)方框圖....................................................................4
3.2 系統(tǒng)功能需求....................................................................5
3.3 51系列單片機(jī)功能特點(diǎn)[3]....................................................................6
3.4 紅外發(fā)射電路....................................................................10
3.5 紅外檢測(cè)接收電路....................................................................11
3.6 控制電路....................................................................12
3.7 電源電路設(shè)計(jì)....................................................................13
3.8 顯示部分的設(shè)計(jì)....................................................................14
3.9鍵盤設(shè)計(jì)....................................................................17
4 系統(tǒng)軟件的設(shè)計(jì)....................................................................19
4.1 定時(shí)/計(jì)數(shù)器應(yīng)用....................................................................19
4.2遙控碼的發(fā)射....................................................................22
4.3 紅外接收....................................................................25
4.4 調(diào)速單元....................................................................27
4.4.1 調(diào)速原理....................................................................27
4.4.2 調(diào)速方法....................................................................27
4.5按鍵抖動(dòng)問(wèn)題....................................................................29
4.6 系統(tǒng)的軟硬件的調(diào)試....................................................................30
結(jié)論....................................................................32
參考文獻(xiàn)....................................................................33
附 錄....................................................................35
致 謝....................................................................47
摘要
作為傳統(tǒng)的家用電器,隨著空調(diào)的普及,電風(fēng)扇的市場(chǎng)地位受到了巨大的沖擊,傳統(tǒng)的開/關(guān)、調(diào)速功能已經(jīng)不能滿足市場(chǎng)的需求。人們希望電風(fēng)扇在體積小、作方便等的基礎(chǔ)上能夠擁有更多的功能,而紅外遙控的廣泛應(yīng)用及單片機(jī)技術(shù)的成熟,則使得智能紅外遙控系統(tǒng)成為了電風(fēng)扇的發(fā)展趨勢(shì)。
本設(shè)計(jì)方案基于市場(chǎng)的需求,結(jié)合紅外遙控設(shè)計(jì)簡(jiǎn)單、作方便、成本低廉等特點(diǎn),采用了51單片機(jī)作為遙控發(fā)射接收芯片,HS0038作為紅外一體化接收發(fā)射管,在此基礎(chǔ)上設(shè)計(jì)了一個(gè)簡(jiǎn)易的智能紅外遙控電風(fēng)扇系統(tǒng)。系統(tǒng)包括接收和發(fā)射兩大部分,本文設(shè)計(jì)實(shí)現(xiàn)了幾項(xiàng)電風(fēng)扇的基本功能:開/關(guān)功能、多級(jí)調(diào)速功能、0.5-7.5小時(shí)不同時(shí)間段的定時(shí)功能,以及自然、正常兩種風(fēng)類的選擇功能。另外本系統(tǒng)有16個(gè)按鍵,可用于擴(kuò)展控制其他電器。
關(guān)鍵字:紅外遙控;信號(hào)調(diào)制;編碼;解碼.
The Design Of The Infared Remote Contorl Based On 51-MCU
Abstract:
With the popularity of air conditioners, the market position of the electric fans which are the traditional household appliances will receive a huge impact, the traditional on / off and speed control function have been unfit for the needs of the market. It is hoped that the fans in small, easy to operate, and so on the basis can have more features. When the application of infrared remote control becomes wilder and technologies of SCM become mature, the remote control system is the trend.
The design was based on the needs of the market. Considering that infrared remote control is simple, easy to operate, low-cost, I use a special launching and receiving chip which depends on remote control. On the basis of this chip a system of intelligent infrared remote-control was designed for the fan. The system consists of the launching part and the receiving part. This system is designed to achieve some basic functions of fans: on / off function, three kinds of speed, the timing function which can be chosen at different times of 0.5-7.5 hours, and the function of two kinds of wind which are the natural wind and the normal wind.
Key words: Infrared Remote Control; Signal Modulation; Encoding; Decoding。
目 錄
1緒 論....................................................................1
1.1課題設(shè)計(jì)目的及意義 ....................................................................1
2課題的方案設(shè)計(jì)與論證 ....................................................................3
3系統(tǒng)的硬件結(jié)構(gòu)設(shè)計(jì)....................................................................4
3.1 系統(tǒng)方框圖....................................................................4
3.2 系統(tǒng)功能需求....................................................................5
3.3 51系列單片機(jī)功能特點(diǎn)[3]....................................................................6
3.4 紅外發(fā)射電路....................................................................10
3.5 紅外檢測(cè)接收電路....................................................................11
3.6 控制電路....................................................................12
3.7 電源電路設(shè)計(jì)....................................................................13
3.8 顯示部分的設(shè)計(jì)....................................................................14
3.9鍵盤設(shè)計(jì)....................................................................17
4 系統(tǒng)軟件的設(shè)計(jì)....................................................................19
4.1 定時(shí)/計(jì)數(shù)器應(yīng)用....................................................................19
4.2遙控碼的發(fā)射....................................................................22
4.3 紅外接收....................................................................25
4.4 調(diào)速單元....................................................................27
4.4.1 調(diào)速原理....................................................................27
4.4.2 調(diào)速方法....................................................................27
4.5按鍵抖動(dòng)問(wèn)題....................................................................29
4.6 系統(tǒng)的軟硬件的調(diào)試....................................................................30
結(jié)論....................................................................32
參考文獻(xiàn)....................................................................33
附 錄....................................................................35
致 謝....................................................................47