1、 1 电气工程学院电气工程学院 微机原理与接口技术 课程设计课程设计 2 微机原理与接口技术 课程设计成绩评定表 姓 名 学 号 课程设计题目: 红外通信 课程设计答辩或提问记录: 成绩评定依据: 课程设计预习报告及方案设计情况(30) : 课程设计考勤情况(15) : 课程设计调试情况(30) : 课程设计总结报告与答辩情况(25) : 最终评定成绩(以优、良、中、及格、不及格评定) 指导教师签字: 年 月 日 3 微机原理与接口技术 课程设计任务书课程设计任务书 一、一、课程设计题目:课程设计题目: 红外通信控制器 二、课程设计二、课程设计要求要求 1. 根据具体设计课题的技术指标和给定条
2、件,独立进行方案论证和电路设计,要求概念清 楚、方案合理、方法正确、步骤完整; 2. 查阅有关参考资料和手册,并能正确选择有关元器件和参数,对设计方案进行仿真; 3. 完成预习报告,报告中要有设计方案,设计电路图,还要有仿真结果; 4. 进实验室进行电路调试,边调试边修正方案; 5. 撰写课程设计报告最终的电路图、调试过程中遇到的问题和解决问题的方法。 三、进度安排三、进度安排 1时间安排 序 号 内 容 学时安排(天) 1 方案论证和系统设计 1 2 完成电路仿真,写预习报告 1 3 电路调试 2 4 写设计总结报告与答辩 1 合 计 5 设计调试地点:电气楼 410 2执行要求 微机原理与
3、接口技术课程成绩优秀的可以自拟题目,其余的同学都是指定题目。 ,每组不得 超过 2 人, 要求学生在教师的指导下, 独力完成所设计的详细电路 (包括计算和器件选型) 。 严禁抄袭,严禁两篇设计报告雷同。 4 摘要摘要 本文所要介绍的内容就是如何利用单片机, 结合红外线器件设计构造出一套 简易的红外线通信系统,以实现在中短距离内的红外无线通信的功能。应用 AT89C51 单片机,通过对单片机的编、解码程序来实现红外信号的发送与接收, 从而实现红外通信功能。 应用红外发射管和接收管,完成数据的发射和接收。发射管和接收管接在普 通的 I/O 口。要求 2 个按键,一个按键是数据的 0 和 1 的变换
4、,另一个按键是发 送键。数据在 1 个数码管上显示。 关键词:单片机;红外通信;发射;接收;串行接口 Abstract This paper will introduce the content is how to use microcontroller, combined with the infrared device design to construct a set of simple infrared communication system, in order to realize the infrared wireless communication in short dista
5、nce within the function. Application of C51 microcontroller, SCM through the coding, decoding process to achieve the infrared signal sending and receiving, so as to realize the communication function of infrared remote control. Application of infrared transmitting tube and the receiving tube, comple
6、te the sending and receiving data. The transmitting tube and the receiving tube is connected to the common I/O port. 2 buttons, a button is data of 0 and 1 transformation, another key is the send button. Data show that in the 1 digital tube. Key words: Microcontroller; Infrared Communication; Transmit; Receive; The Serial Interface 5 目录目录 第一章 系统方案设计1 1.1 电路整体设计思路1 1.2 红外通信发送模块设计1 第二章 系统仿真