智能红外遥控电风扇系统的设计解析

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

泰山学院

本科毕业设计智能红外遥控电风扇系统的设计

所在学院机械与工程学院

专业名称机械设计制造及其自动化

申请学士学位所属学科工学

年级二〇一〇级 (3+2) 学生姓名、学号王晓彬 2010170018 指导教师姓名、职称张秀红讲师

完成日期二〇一二年五月

摘要

电风扇是一种传统的家用电器,但随着空调的普及,电风扇的市场地位受到了巨大的冲击。传统的开/关、调速功能现已不能满足市场的需求,人们希望电风扇能在体积小、操作方便等的基础上拥有更多的功能,而红外遥控的普遍应用及单片机的成熟,使得电风扇的发展趋向于智能红外遥控系统。

本设计方案为满足市场的需求,结合红外遥控系统设计简单、操作方便、成本低廉等特点,运用了51单片机作为遥控发射接收芯片,HS0038为红外一体化接收发射管,设计了一个简易的单片机红外遥控电风扇系统,系统包括接收和发射两大部分。该系统设计实现了几项电风扇的基本功能:开/关功能、多级调速功能、定时功能、自然、正常两种风类的选择功能,此外本系统有16个按键,可用于扩展控制其他电器。

关键字:红外遥控,信号调制,编码,解码

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课题设计目的及意义 (1)

1.2课题研究内容和预期目的 (2)

2 总体方案的设计和工作原理 (2)

2.1设计方案的选择 (2)

2.2总体硬件设计 (3)

2.3工作原理 (3)

3 硬件设计 (4)

3.1发射端电路设计 (4)

3.1.1红外发射电路设计 (7)

3.1.2键盘电路设计 (8)

3.1.3显示电路设计 (9)

3.1.4电源电路设计 (10)

3.2接收端电路设计 (12)

3.2.1红外接收电路设计 (13)

3.2.2键盘电路设计 (14)

3.2.3显示电路设计 (14)

3.2.4电源电路设计 (14)

3.2.5控制电路设计 (15)

4 软件设计 (16)

4.1红外发射 (17)

4.1.1发射端程序设计 (17)

4.1.2遥控码的发射 (18)

4.2红外接收 (19)

4.2.1接收端程序设计 (19)

4.2.2数码帧的接收处理 (19)

4.3 调速单元 (20)

4.3.1 调速原理 (20)

4.3.2 调速方法 (20)

4.4按键抖动问题 (21)

5 系统的调试 (23)

5.1系统的硬件调试 (23)

5.2系统的软件调试 (24)

附录 (25)

1.红外发射电路 (25)

2.红外接收电路 (26)

3.红外发射程序 (27)

4.红外接收程序 (31)

参考文献 (37)

致谢 (38)

相关文档
最新文档