红外遥控设计 - 图文

2019-03-27 16:39

毕业设计(论文)

题 目: 红外遥控电路(软件部分) 学 院: 信息工程学院 专业名称: 自动化 班级学号: 学生姓名: 指导教师:

二零一五年六月

一种微功率汽车遥控钥匙(软件部分)

学生姓名:余晶 班级:110443

指导老师:吴国辉

摘要:随着社会的发展,汽车越来越普及,汽车钥匙在汽车行业中也显得尤为重

要,可以为车主提供更方便的操作体验,同时也可以保证汽车的安全。在本次设计中采用红外控制,这种控制具有很强的适用先进性和灵活性而且不容易受到其他信号的干扰。本设计是红外发射部分和红外接收部分这两部分构成。发射部分通过AT89C51单片机来进行编码,接收部分由AT89C51单片机进行解码,然后再进行相应的遥控控制和利用LCD1062显示。本文是一种微功率的汽车遥控钥匙的软件部分的设计,所以本文详细的介绍发射部分编码程序的基本原理和程序框架以及接收部分的解码程序的原理和程序框架,在此过程中介绍显示以及控制操作的程序原理。系统在实际测试以及最后的显示测试中证明可行可靠具有使用的价值。

关键词:AT89C51单片机,红外编码,红外解码, LCD1062液晶

指导老师签名:

A remote of a micro power key for car

(software part)

Student name : yujing Class :11044329 Supervisor : wuguohui

Abstract:With the development of society, automobile is becoming wide spread, car keys are playing a particularly important role in the automotive industry, providing a more convenient operating experience, also can guarantee the automobile safety. Infrared is used control in the design which with highly advanced and applicable and flexible and are not prone to other signal interference. The design includes two parts: receiver and transmitter. Transmitting part based on the single-chip microcomputer AT89C51 to encode, receiving part consists of AT89C51 MCU decoding, and then the corresponding remote control and using lcd1062 display. This paper is the design of a micro power car remote control key part of the software, so this paper detailed introduction emission coding procedure basic principle and program frame and the receiving part of the decoding process principle and program frame. In this process the display and control principle of operating procedure. The system in the actual test and final test proved to be feasible and reliable display has the use value.

Keywords: AT89C51 microcontroller, infrared code, infrared decoder, LCD1062

Signature of Supervisor:

目 录

1 绪论 ....................................................................................................... .1

1.1课题的目的以及意义...................................................................................... .1 1.2设计的基本要求............................................................................................... 2

2 整体方案设计 ...................................................................................... 3

2.1红外遥控软件设计的思路............................................................................... 3

2.1.1红外线的介绍......................................................................................... 3 2.2.2任务设计可行性方案............................................................................. 4

3 硬件的软件操作 .................................................................................. 6

3.1系统主要控制部分:AT89C51单片机 .......................................................... 6

3.1.1 AT89C51单片机简介 ............................................................................ 6 3.1.2 单片机最小系统.................................................................................... 7 3.2 发射部分.......................................................................................................... 8

3.2.1 按键部分................................................................................................ 8 3.2.2 红外发射部分........................................................................................ 9 3.3 接收模块.......................................................................................................... 9

3.3.1 红外接收头............................................................................................ 9 3.3.2继电器控制模块.................................................................................. .10 3.3.3 LCD1602显示模块 ............................................................................................ .11

4 软件设计 ............................................................................................ .15

4.1 红外编码特点............................................................................................... .15 4.2 发射部分软件设计....................................................................................... .16 4.3 接收部分的软件设计................................................................................... .19

4.3.1 主程序设计.......................................................................................... 19 4.3.2 红外解码程序设计............................................................................. .20

4.3.3:LCD1602显示软件设计 ...................................................................................... .22

5 软件调试 ...................................................................................... .23

5.1软件调试........................................................................................................ .24

5.1.1软件的编译.......................................................................................... .24 5.1.1发射部分调试....................................................................................... 24

5.1.2接收部分调试...................................................................................... .24 5.1.3 软件的烧录......................................................................................... .24 5.2 软件调试结果............................................................................................... .25

总结 ......................................................................................................... .27 致谢 ......................................................................................................... .28 参考文献 ................................................................................................ .29 附录 ......................................................................................................... .30

附录1整体硬件电图...........................................................................................30

附录2发射部分软件........................................................................................... 30 附录3接收部分软件........................................................................................... 35


红外遥控设计 - 图文.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:足球理论试题(最新)

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: