單片機空調(diào)遙控器設(shè)計.doc
約60頁DOC格式手機打開展開
單片機空調(diào)遙控器設(shè)計,摘 要隨著社會的發(fā)展,空調(diào)器在家庭中已經(jīng)十分普及,與此同時,和空調(diào)器相伴的空調(diào)遙控器的品種和產(chǎn)量不斷提高。市場競爭日趨激烈,既要盡量減少設(shè)計和生產(chǎn)周期,又要在批量生產(chǎn)時有較強的價格競爭力,這是空調(diào)遙控器設(shè)計和生產(chǎn)廠商面臨的一個問題。本文介紹的基于單片機的空調(diào)遙控器設(shè)計方案較好地解決了上述問題。文章首先對空調(diào)遙控器的設(shè)計...
內(nèi)容介紹
此文檔由會員 baobee 發(fā)布
摘 要
隨著社會的發(fā)展,空調(diào)器在家庭中已經(jīng)十分普及,與此同時,和空調(diào)器相伴的空調(diào)遙控器的品種和產(chǎn)量不斷提高。市場競爭日趨激烈,既要盡量減少設(shè)計和生產(chǎn)周期,又要在批量生產(chǎn)時有較強的價格競爭力,這是空調(diào)遙控器設(shè)計和生產(chǎn)廠商面臨的一個問題。本文介紹的基于單片機的空調(diào)遙控器設(shè)計方案較好地解決了上述問題。
文章首先對空調(diào)遙控器的設(shè)計進行了可行性分析,之后提出了空調(diào)遙控器的硬件和軟件設(shè)計方案。在硬件設(shè)計方案中,首先詳細論述了紅外遙控的基本原理并用實例進行了說明。然后,對空調(diào)遙控器常用硬件設(shè)備LCD和鍵盤的原理和使用進行了討論,并對設(shè)計中使用的單片機做了必要說明。在軟件設(shè)計方案中,文章對軟件流程做了詳細的解釋并闡述了單片機軟件設(shè)計的一般方法。最后,文章對空調(diào)遙控器設(shè)計的仿真和調(diào)試做了簡單介紹。另外,文章還對空調(diào)遙控器設(shè)計規(guī)格做了詳細的描述,使整個設(shè)計過程更加清楚詳細。
關(guān)鍵字 空調(diào)遙控器 紅外遙控原理 單片機
AIR-CONDITION REMOTE
CONTROLLER DESIGN
ABSTRACT
With the development of society, air-condition have been widespread in houses. Meanwhile, the air-condition remote controller, gets an uninterrupted enhance in category and output. It is a critical problem for the designer and manufacturer to reduce the design and manufacture cycle as well as the batch cost in the increasingly competitive market. The project in the thesis based on MCU SH6614, which is provided by sinowealth electron corporation, solves the problem satisfactorily.
The thesis makes the feasibility analysis of the air-condition remote controller firstly, then raises the hardware and software project for the air-condition remote controller. In hardware design project, the thesis starts with the basic theory of infrared remote controller and interprets with examples. After that, the thesis discusses the theory and application of the hardware that is in common use for air-condition, LCD and key board and something about SH6614 as well. In software design project, the thesis interprets the programming process detailed and the common method in SH66 series MCU programming. At last, the thesis introduces the simulation and debugging of air-condition remote controller design simply. In addition, the thesis depicts the air-condition remote controller design specification particularly to make the design process more clearly.
KEY WORDS air-condition infrared remote theory MCU
目 錄
1緒論……………………………………………………………………………1
2空調(diào)遙控器技術(shù)要求
2.1 功能要求…………………………………………………………………2
2.2 關(guān)鍵字說明………………………………………………………………2
2.3 編碼規(guī)范…………………………………………………………………3
2.4 波形規(guī)范…………………………………………………………………6
3空調(diào)遙控器硬件設(shè)計
3.1 單片機選型………………………………………………………………8
3.2 紅外發(fā)射電路設(shè)計………………………………………………………11
3.2.1 紅外遙控基本原理………………………………………………11
3.2.2 紅外發(fā)射電路……………………………………………………14
3.3 LCD 驅(qū)動電路設(shè)計………………………………………………………14
3.3.1 LCD 基本原理……………………………………………………14
3.3.2 LCD 驅(qū)動電路……………………………………………………17
3.4 鍵盤掃描電路設(shè)計………………………………………………………17
3.4.1 鍵盤基本原理……………………………………………………17
3.4.2 鍵盤掃描電路……………………………………………………19
3.5 系統(tǒng)雙時鐘設(shè)計…………………………………………………………21
3.6 空調(diào)遙控器硬件電路圖…………………………………………………22
4空調(diào)遙控器軟件設(shè)計
4.1 軟件功能模塊設(shè)計………………………………………………………23
4.1.1 系統(tǒng)初始化程序設(shè)計……………………………………………23
4.1.2 LCD 初始化程序設(shè)計……………………………………………24
4.1.3 鍵盤掃描程序設(shè)計………………………………………………26
4.1.4 低高頻轉(zhuǎn)換程序設(shè)計……………………………………………28
4.1.5 系統(tǒng)休眠程序設(shè)計………………………………………………28
4.2 軟件主流程設(shè)計…………………………………………………………30
5系統(tǒng)仿真與軟件調(diào)試
5.1 系統(tǒng)仿真…………………………………………………………………31
5.2 軟件調(diào)試…………………………………………………………………32
結(jié)束語……………………………………………………………………………33
參考文獻…………………………………………………………………………34
附錄:代碼清單………………………………………………………………35
致謝………………………………………………………………………………57
全文60頁 字數(shù)2萬8以上 包含設(shè)計程序
隨著社會的發(fā)展,空調(diào)器在家庭中已經(jīng)十分普及,與此同時,和空調(diào)器相伴的空調(diào)遙控器的品種和產(chǎn)量不斷提高。市場競爭日趨激烈,既要盡量減少設(shè)計和生產(chǎn)周期,又要在批量生產(chǎn)時有較強的價格競爭力,這是空調(diào)遙控器設(shè)計和生產(chǎn)廠商面臨的一個問題。本文介紹的基于單片機的空調(diào)遙控器設(shè)計方案較好地解決了上述問題。
文章首先對空調(diào)遙控器的設(shè)計進行了可行性分析,之后提出了空調(diào)遙控器的硬件和軟件設(shè)計方案。在硬件設(shè)計方案中,首先詳細論述了紅外遙控的基本原理并用實例進行了說明。然后,對空調(diào)遙控器常用硬件設(shè)備LCD和鍵盤的原理和使用進行了討論,并對設(shè)計中使用的單片機做了必要說明。在軟件設(shè)計方案中,文章對軟件流程做了詳細的解釋并闡述了單片機軟件設(shè)計的一般方法。最后,文章對空調(diào)遙控器設(shè)計的仿真和調(diào)試做了簡單介紹。另外,文章還對空調(diào)遙控器設(shè)計規(guī)格做了詳細的描述,使整個設(shè)計過程更加清楚詳細。
關(guān)鍵字 空調(diào)遙控器 紅外遙控原理 單片機
AIR-CONDITION REMOTE
CONTROLLER DESIGN
ABSTRACT
With the development of society, air-condition have been widespread in houses. Meanwhile, the air-condition remote controller, gets an uninterrupted enhance in category and output. It is a critical problem for the designer and manufacturer to reduce the design and manufacture cycle as well as the batch cost in the increasingly competitive market. The project in the thesis based on MCU SH6614, which is provided by sinowealth electron corporation, solves the problem satisfactorily.
The thesis makes the feasibility analysis of the air-condition remote controller firstly, then raises the hardware and software project for the air-condition remote controller. In hardware design project, the thesis starts with the basic theory of infrared remote controller and interprets with examples. After that, the thesis discusses the theory and application of the hardware that is in common use for air-condition, LCD and key board and something about SH6614 as well. In software design project, the thesis interprets the programming process detailed and the common method in SH66 series MCU programming. At last, the thesis introduces the simulation and debugging of air-condition remote controller design simply. In addition, the thesis depicts the air-condition remote controller design specification particularly to make the design process more clearly.
KEY WORDS air-condition infrared remote theory MCU
目 錄
1緒論……………………………………………………………………………1
2空調(diào)遙控器技術(shù)要求
2.1 功能要求…………………………………………………………………2
2.2 關(guān)鍵字說明………………………………………………………………2
2.3 編碼規(guī)范…………………………………………………………………3
2.4 波形規(guī)范…………………………………………………………………6
3空調(diào)遙控器硬件設(shè)計
3.1 單片機選型………………………………………………………………8
3.2 紅外發(fā)射電路設(shè)計………………………………………………………11
3.2.1 紅外遙控基本原理………………………………………………11
3.2.2 紅外發(fā)射電路……………………………………………………14
3.3 LCD 驅(qū)動電路設(shè)計………………………………………………………14
3.3.1 LCD 基本原理……………………………………………………14
3.3.2 LCD 驅(qū)動電路……………………………………………………17
3.4 鍵盤掃描電路設(shè)計………………………………………………………17
3.4.1 鍵盤基本原理……………………………………………………17
3.4.2 鍵盤掃描電路……………………………………………………19
3.5 系統(tǒng)雙時鐘設(shè)計…………………………………………………………21
3.6 空調(diào)遙控器硬件電路圖…………………………………………………22
4空調(diào)遙控器軟件設(shè)計
4.1 軟件功能模塊設(shè)計………………………………………………………23
4.1.1 系統(tǒng)初始化程序設(shè)計……………………………………………23
4.1.2 LCD 初始化程序設(shè)計……………………………………………24
4.1.3 鍵盤掃描程序設(shè)計………………………………………………26
4.1.4 低高頻轉(zhuǎn)換程序設(shè)計……………………………………………28
4.1.5 系統(tǒng)休眠程序設(shè)計………………………………………………28
4.2 軟件主流程設(shè)計…………………………………………………………30
5系統(tǒng)仿真與軟件調(diào)試
5.1 系統(tǒng)仿真…………………………………………………………………31
5.2 軟件調(diào)試…………………………………………………………………32
結(jié)束語……………………………………………………………………………33
參考文獻…………………………………………………………………………34
附錄:代碼清單………………………………………………………………35
致謝………………………………………………………………………………57
全文60頁 字數(shù)2萬8以上 包含設(shè)計程序