登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 电子信息工程 > 正文

多路LED灯的红外遥控设计

 2023-08-04 10:08  

论文总字数:14743字

摘 要

在当前市场中,遥控系统设备通常是由遥控编码和解码集成电路构成的。这个制作方案简单容易实现,但有时实现的功能易受到限制。仅仅适用于某一类电器产品的设计,不具有普遍适用的特点。因为单片机具有编程灵活方便、操作码可自由设定等优点,而用单片机作为遥控系统的发射和接收部分的主体的应用设计更具优势。采用单片机作为遥控系统控制、发射端,另一个单片机作为被控制系统,能够接收红外编码以及执行遥控控制端的指令操作。实现对15路LED灯电源开关的遥控控制,并且可实现对其中一路LED灯亮度的调节控制。另外该遥控器采用脉冲个数编码,利用4×8键盘开关,可扩展到对32个LED灯的遥控控制。

关键词:单片机,遥控系统,红外编码

Abstract:In the current market, remote control system equipment is usually composed of remote control coding and decoding integrated circuits.The production plan is simple and easy to implement, but it has limited functionality and is easily limited. It may only apply to the application of a certain type of electrical products, but not universally applicable. Because SCM has the advantages of flexible programming and free operation code, it is more advantageous to use MCU as the main application design of the transmitting and receiving part of the remote control system. The single chip microcomputer is used as the control system of remote control system, and the other single chip is controlled system, which can receive the infrared coding and the instruction operation of remote control. Realize the remote control of the power switch of the 15 circuit, and can control the brightness of the electric light. In addition, the remote control USES the number of pulses, and the 4-by-8 keyboard switch can be extended to control 32 electrical appliances.

Keywords:single chip microcomputer,remote control system,infrared coding

目 录

1 绪论 4

1.1 单片机的概述 4

1.1.1 单片机原理 4

1.1.2 单片机的应用 4

1.1.3 单片机的现状与发展趋势 4

1.2 红外遥控的概述 4

1.2.1 红外遥控的特点 4

1.2.2 红外遥控器的基本原理 5

2 系统设计方案 5

2.1 设计目的与原理 5

2.2 多路LED灯红外遥控的发射设计原理 5

3 系统硬件电路的设计 6

3.1 多路LED灯红外遥控发射端的电路设计 7

3.1.1 STC89c52单片机 7

3.1.2 行列式控制键盘 7

3.1.3 红外线发射电路 7

3.2 多路LED灯红外遥控接收端的电路设计 8

3.2.1 电源电路 9

3.2.2 红外接收头 9

3.2.3 一路LED灯的亮度控制电路 10

4 系统各部分的程序的设计方案 10

4.1 系统各个部分功能的实现 10

4.1.1 遥控编码的编码格式 10

4.1.2 遥控编码的发射 11

4.1.3 接收端数据帧的接收处理 11

4.2 遥控系统控制端发射和接收端的接收程序设计流程图 12

5 调试及性能分析 14

5.1 调试 14

5.2 性能测试指标 17

6 控制源程序清单 18

结 论 30

参 考 文 献 31

致 谢 32

1 绪论

1.1 单片机的概述

1.1.1 单片机原理

由于单片机具有体积小、价格低、控制范围广等优点,使得单片机能应用在各类工业控制、仪器仪表控制、自动化生产控制、人工智能等邻域。单片机遥控系统是由控制系统、无线传输系统、速度调节系统构成,而且能实现运动目标的驱动、速率、中止、来回够在三公里以外的控制[2]。控制参数由键盘输入,之后经过单片机的运算和处理,并且实现对参数的红外传输、控制速率传输设备的控制要求[3]

1.1.2 单片机的应用

随着单片机技术的高速发展,单片机应用范围在我们的生产生活中的越来越广,单片机已经融入到我们的生产生活中了,成为其中不可或缺的一部分,据不完全资料显示:一个成年人每天会接触大约351个单片机[3]。而根据单片机的具体应用领域大致可以概括分为:智能仪表的应用、计算机网络和通信系统中的应用、 家用电器中的应用、工业领域内的应用、汽车领域内的应用、国防航空中的应用[4]

1.1.3 单片机的现状与发展趋势

目前,单片的发展呈现出“百家争鸣,百花齐放”的状态,思维、八位、十六位的单片机也应运而生。随着单片机快速发展,人们对单片机的要求也越来越高,使得单片机的发展朝着大容量、低噪音、CMOS、高可靠性、、高性能、小容量、低功耗等方向发展。不仅是功能上的多样化发展,在结构上也开始朝着指令功能强化、增加各种接口部件、提高专用程度等方向发展。同时特殊类型单片机也在不断出现,例如数字信号处理器、神经元单片机、模糊单片机、信息驱动处理器等等。

1.2 红外遥控的概述

剩余内容已隐藏,请支付后下载全文,论文总字数:14743字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图