文档详情

红外线遥控逻辑解析仪.doc

发布:2017-03-12约字共34页下载文档
文本预览下载声明
毕业设计(论文) 课题 红外线逻辑分析仪的设计 类 别 毕业设计论文 系 科 专 业 ?应用电子技术?应用电子技术/应用英语 ?电气自动化技术?电气自动化技术/市场营销 ?计算机应用技术?计算机应用技术/广告设计与策划 班 级 姓 名 完成日期 指导教师 红外线遥控逻辑分析仪的设计 摘 要 在高新技术飞速发展的今天,随着信息技术的普及红外技术得到了迅猛发展。 Infrared Remote Control Logic Analyzer Abstract The rapid development of high-tech today, with the spread of information technology, infrared technology has been developing rapidly. This design uses a wide range of uses infrared communication technology designed a computer-based logic analyzer infrared serial port, this project was supported by SM0038 infrared receiver head, STC89C52 microcontroller, MAX232 level converter, DB9 constitute the hardware part, by the next crew procedures and upper Machine procedures constitute software. Design logic analyzer can be a variety of electrical infrared remote control signal emitted by the identification, storage and reproduction. Hardware interface can be identified by infrared infrared signal and sent to MCU processing, then use the VB development of virtualization software on a computer screen real-time display of the infrared signal waveforms collected to facilitate the designer of various modulation infrared signals visual of analysis and research. Key words:SerialInfrared communication Infrared logic analyze. 目 录 摘 要 I Abstract II 引言 1 1 红外线介绍 1 2 串口通信原理 1 2.1 波特率选择 1 2.2通信协议的使用 2 2.3 硬件连接 2 3 硬件设计 3 3.1 STC89C52芯片 3 3.1.1主要性能 4 3.1.2 STC89C52单片机芯片引脚介绍 4 3.2 SM0038芯片 4 3.2.1 SM0038引脚接法 4 3.2.2 SM0038与单片机接口电路 5 3.3 MAX232芯片 5 3.3.1 MAX232芯片引脚 5 3.3.2 MAX232芯片功能 6 3.4 电源电路及其说明 6 3.5 总原理图及其说明 7 4 软件设计 7 4.1 红外编码格式 7 4.2 单片机的软件编程 8 4.2.1下位软件编程思路 8 4.2.2 下位机程序 8 4.3 上位机软件设计 11 4.3.1上位机软件编程思路 11 4.3.2 上位机程序 11 5 系统调试 24 5.1硬件调试 24 5.2 软件调试 25 5.3 软硬件联调 25 5.3.1 调试的方法 25 5.3.2 调试中出现的故障及解决方案 25 总结 26 参考文献 - 1 - 致谢 - 2 - 附录 - 3 - 引言 红外通信技术是一种点对点的数据传输协议,是传统设备之间连接线缆的替代技术,是目前国际上普通采用的一种近程无线传输技术,常用于智能小区控制系统和电话教学交互式远程控制系统中,但是目前的家电(如空调、录像机、VCD机等)有各种不同的品牌和型号,其红外遥控编码及发送格式不尽相同。为了能够用一台通用控制器对多种不同型号的家电进行控制,本文利用功能强大的单片
显示全部
相似文档