微机原理与接口技术课程设计报告

  • 格式:doc
  • 大小:794.52 KB
  • 文档页数:26

下载文档原格式

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

微机原理与接口课程设计设计题目:红外通信

微机接口与原理课程设计成绩评定表

姓名学号10291164

课程设计题目:红外通信

课程设计答辩或提问记录:

成绩评定依据:

课程设计预习报告及方案设计情况(30%):

课程设计考勤情况(15%):

课程设计调试情况(30%):

课程设计总结报告与答辩情况(25%):

最终评定成绩(以优、良、中、及格、不及格评定)

指导教师签字:年月日

红外通信课程设计任务书

学生姓名:指导教师:牛

一、课程设计题目:

题目:红外通信

内容:应用红外发射管和接收管,完成数据的发射和接收。发射管和接收管接在普通的I/O口。要求2个按键,一个按键是数据的0和1的变换,另一个按键是发送键。数据在1个数码管上显示。

二、课程设计要求

1. 根据具体设计课题的技术指标和给定条件,独立进行方案论证和电路设计,要求概念清楚、方案合理、方法正确、步骤完整;

2. 查阅有关参考资料和手册,并能正确选择有关元器件和参数,对设计方案进行仿真;

3. 完成预习报告,报告中要有设计方案,设计电路图,还要有仿真结果;

4. 进实验室进行电路调试,边调试边修正方案;

5. 撰写课程设计报告——最终的电路图、调试过程中遇到的问题和解决问题的方法。

三、进度安排

1.时间安排

序号内容学时安排(天)

1 方案论证和系统设计 1

2 完成电路仿真,写预习报告 1

3 电路调试 2

4 写设计总结报告与答辩 1

合计 5

设计调试地点:电气楼410

2.执行要求

微机原理与接口技术课程成绩优秀的可以自拟题目,其余的同学都是指定题目。,每组不得超过2人,要求学生在教师的指导下,独力完成所设计的详细电路(包括计算和器件选型)。严禁抄袭,严禁两篇设计报告雷同。

摘要

红外线通信是目前使用较广泛的一种通信手段。由于红外线通信具有体积小、功耗低、功能强、成本低等特点,因而,继彩电、录像机之后,在录音机、音响设备、空调机以及玩具等其它小型电器装置上也纷纷采用红外线通信技术。工业设备中,在高压、辐射、有毒气体、粉尘等环境下,采用红外线通信技术不仅完全可靠而且能有效地隔离电气干扰。

而单片机是目前设计应用中用得比较广泛的器件,它可以通过软件编程来达到不同的效果,实现各种各样不同的功能,具有灵活性强、可靠性高,可扩展性好等优点。

本文所要介绍的内容就是如何利用单片机,结合红外线器件设计构造出一套简易的红外线通信系统,以实现在中短距离内的红外无线通信的功能。

与一般通用的红外遥控器不同的是它不是利用专用的编解码芯片来实现发收端的编解码,而是应用C51 单片机,通过单片机的编、解码程序来实现红外信号的发收,从而实现红外遥控通信功能。此通信系统经过一些必要的扩展,完全可以实现通用和各种专用红外遥控器的功能。

关键词:单片机;红外通信;发射;接收;串行接口

Abstract

The infrared communication as a kind of communication ways is extensively used currently. Because the infrared ray communication has the characteristics of the physical volume small, the power consume low, the function is strong, the cost low, and so on. As a result, after color television, video recorder, equipping in the other small scaled electric appliances such as tape recorder, stereo set equipments, the air condition machine and toy etc. are also adopt the infrared ray communication technique in succession. In the industry equipments, in the environment of the high pressure, radiation, poisonous air, dust and so on, adoption infrared ray communication technique not only complete credibility and can insulate the electricity interference availably.

And the microcontroller is the device that uses extensively in the designs application currently, it can attain the different result by the software compile, carrying out different kinds of functions, have advantages of good dexterity, high credibility , can expand good and so on.

This text wants to introduce a way how to fabricate a simple system of infrared ray communication use of the microcontroller, combining a infrared device, so that it can achieve the function how to communicate for the infrared ray in a short distance.

Different from the general Infrared remote controller, it is not use the special coding and decoding chip to realize the codes and the decodes in the part of the sends and receives, but uses the C51 Microcontroller, through the programs of codes and decodes of the Microcontroller, so that realizes infrared signal sending and receiving, thus realizes the communication function of infrared remote control. This communications system passes through some necessary expansions, definitely may realize general and each kind of special-purpose infrared remote control function. Key words: Microcontroller; Infrared Communication; Transmit; Receive; Remote Control; The Serial Interface