信息与通信毕业论文-单片机红外遥控系统的设计.doc

约50页DOC格式手机打开展开

信息与通信毕业论文-单片机红外遥控系统的设计,单片机红外遥控系统设计摘要 作为传统的家用电器,随着空调的普及,电风扇的市场地位受到了巨大的冲击,传统的开/关、调速功能已经不能满足市场的需求。人们希望电风扇在体积小、作方便等的基础上能够拥有更多的功能,而红外遥控的广泛应用及单片机技术的成熟,则使得智能红外遥控系统成为了电风扇的发展趋势。 本设计方案基于市场的需求,结...
编号:30-241565大小:3.84M
分类: 论文>通信/电子论文

内容介绍

此文档由会员 huanv 发布

单片机红外遥控系统设计
摘要
作为传统的家用电器,随着空调的普及,电风扇的市场地位受到了巨大的冲击,传统的开/关、调速功能已经不能满足市场的需求。人们希望电风扇在体积小、作方便等的基础上能够拥有更多的功能,而红外遥控的广泛应用及单片机技术的成熟,则使得智能红外遥控系统成为了电风扇的发展趋势。
本设计方案基于市场的需求,结合红外遥控设计简单、作方便、成本低廉等特点,采用了51单片机作为遥控发射接收芯片,HS0038作为红外一体化接收发射管,在此基础上设计了一个简易的智能红外遥控电风扇系统。系统包括接收和发射两大部分,本文设计实现了几项电风扇的基本功能:开/关功能、多级调速功能、0.5-7.5小时不同时间段的定时功能,以及自然、正常两种风类的选择功能。另外本系统有16个按键,可用于扩展控制其他电器。
关键字:红外遥控;信号调制;编码;解码.


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课题设计目的及意义 ....................................................................1
2课题的方案设计与论证 ....................................................................3
3系统的硬件结构设计....................................................................4
3.1 系统方框图....................................................................4
3.2 系统功能需求....................................................................5
3.3 51系列单片机功能特点[3]....................................................................6
3.4 红外发射电路....................................................................10
3.5 红外检测接收电路....................................................................11
3.6 控制电路....................................................................12
3.7 电源电路设计....................................................................13
3.8 显示部分的设计....................................................................14
3.9键盘设计....................................................................17
4 系统软件的设计....................................................................19
4.1 定时/计数器应用....................................................................19
4.2遥控码的发射....................................................................22
4.3 红外接收....................................................................25
4.4 调速单元....................................................................27
4.4.1 调速原理....................................................................27
4.4.2 调速方法....................................................................27
4.5按键抖动问题....................................................................29
4.6 系统的软硬件的调试....................................................................30
结论....................................................................32
参考文献....................................................................33
附 录....................................................................35
致 谢....................................................................47