单片机红外遥控并行输入系统设计.doc

DOC格式手机打开展开

单片机红外遥控并行输入系统设计,全文3万字 55页 包含程序代码摘要:本论文分为两大部分:红外遥控部分和并行接口部分。对于红外遥控部分,采用通用型(海信)遥控器和接收器(sm0038)分别作为红外遥控部分的发射器件和接受器件,使用mcs51系列单片机作为cpu,通过软件解码方式,获得遥控器的遥控指令;对于并行接口部分,主要包括并行接口的硬件设计和计算...
编号:5-3597大小:9.98M
分类: 论文>通信/电子论文

内容介绍

此文档由会员 亚当 发布

全文3万字 55页 包含程序代码
摘要
本论文分为两大部分:红外遥控部分和并行接口部分。对于红外遥控部分,采用通用型(海信)遥控器和接收器(SM0038)分别作为红外遥控部分的发射器件和接受器件,使用MCS51系列单片机作为CPU,通过软件解码方式,获得遥控器的遥控指令;对于并行接口部分,主要包括并行接口的硬件设计和计算机端的端口读写软件设计,硬件设计主要采用了接口扩展芯片8255,设计出单片机与计算机之间的并行通信接口,软件设计主要采用增强型并行口EPP ( Enhanced Parallel Port)协议通讯,并在Visual Basic(VB)编程环境下,通过调用动态链接库的方式,对计算机端口进行读写操作,从而实现与单片机的并行通信。关键词:红外遥控 识别码 EPP协议 VB6.0 单片机

Abstract: it is easy to be constructed into a common operation module. At the same time, a kind of implementation of high-speed bi-direction communication between computer parallel port and peripheral device based on EPP mode is presented. The definition of pins and registers in EPP mode is described, reading cycle and writing cycle of EPP is analyzed, and a typical solution for data transmission between a parallel port and a SCM is described in detail.

Keywords: infrared remote control EPP protocol VB 6.0 single-chip microcomputer

目 录
第一章 绪 论
第二章 红外遥控设计
第三章 并口通讯的设计
3.3可编程并行接口8255A
3.4 并口通讯的硬件设计
3.5 并口通讯的软件设计
3.5.1单片机内的程序
3.5.2 PC机内的程序
第四章 发展与展望
参考文献
致 谢