基于单片机的遥控器设计 联系客服

发布时间 : 星期四 文章基于单片机的遥控器设计更新完毕开始阅读3b62b346284ac850ac024288

本科毕业设计

题目:基于AT89C51单片机的多功能红外遥控器设计

题目:基于AT89C51单片机的多功能红外遥控器设计

学生姓名:张高强 学 号:1202214062 专业班级:12-电子信息班 指导老师:王芳

2016年3月25日

基于单片机的红外遥控器设计

摘要

由于单片机具有集成度高、体积小、可靠性高、价格便宜等优点在机电一体化、工业控制、仪器仪表和家用电器等领域得到了广泛应用当前单片机对家用电器控制呈现出外形简单化、功能多样化、产品智能化的发展趋向。红外遥控技术具有使用方便、功耗低、抗干扰能力强、价格便宜的特点,因此它的应用前景十分广阔。

本课题以延伸红外无线遥控技术为目的提出了一种红外遥控器集中控制的方案,核心是设计出一个红外多路遥控发射/接收系统。本设计以红外线作为传递信息的载体可对4 个受控对象的工作状态进行短距离无线控制,适用于遥控工业、医疗、家用电器等设备的开闭状态。并含有设备计数模块可对处于工作状态的设备进行计数并显示出来。课题的重点在于通过软件实现二进制数据的编码与解码工作然后通过红外收发头进行数据传输。

Abstract

As high integration, small size, high reliability and low price of the single chip .It has been widely applied on electrical integration, industrial control, instrumentation and household appliances. SCM(Single Chip Micyoco) control of household appliances develops towards simplified form, functional diversification, and intelligent currently. Infrared remote control technology has characteristics of easy to use, low power consumption, anti-interference ability and cheap, so its prospects are bright.

The topics to extend the infrared wireless remote control technology for the purpose, a centralized control infrared remote control program, the core is to design a wireless infrared remote control multiple transmit / receive system. The design of an infrared transmission of information as a carrier of controlled object can work 8 state short-range wireless control for industrial, medical, home appliances and other

equipment on or off remotely. It contains counting module equipment, and can count the equipment in working condition , and displays. The focus of the task is achieving work of Binary data encoding and decoding by software, and then we had data transmitted with infrared transceiver.

Key Words:Single

ChipMicyoco;InfraredRemoteControl;Multipath;LEDOptocouplerisolation; Keyboard control

目录

1 引言 2 概述

2.1 基于单片机的红外遥控系统概述 2.2 本设计方案思路 2.3 研究方向和技术关键 2.4 主要技术指标 3 总体设计

3.1 红外遥控发射部分 3.2 红外遥控接收部分 3.3 红外编码标准 4 硬件设计

4.1 主控芯片AT89C51 4.2 红外遥控发射电路 4.3 红外遥控接收电路 4.4 电源电路 5 软件设计

5.1 总体方案

5.2 编码发射程序设计 6 仿真与制作

6.1 系统仿真

6.2 硬件电路制作与软件下载 6.3 功能测试 7 结论 8 参考文献 致谢

1引言

近年来随着计算机在社会各领域的渗透单片机的应用正在不断地走向深入同时也带动传统的控制、检测等工作日益更新。传统的遥控器大多采用无线电遥控技术。随着科技的进步,红外线遥控技术的进一步成熟,红外遥控也逐步成为了一种被广泛应用的通信和遥控手段。为了方便实用传统的家庭电器逐渐采用红外线遥控。工业设备中在高压、辐射、有毒气体、粉尘等有害环境下采用红外线遥控不仅完全可靠而且能有效地隔离电气干扰。 红外遥控的特点是不影响周边环境、不干扰其它电器设备。由于其无法穿透墙壁,故不同房间的家用电器可使用通用的遥控器而不会产生相互干扰;电路调试简单,只要按给定电路连接无误,一般不需任何调试即可投入;工作编解码容易,可进行多路遥控。红外遥控虽然被广泛应用,但各产商的遥控器不能相互兼容。当今市场上的红外线遥控装置一般采用专用的遥控编码及解码集成电路,但编程灵活性较低且产品多相互绑定不能复用,故应用范围有限。而本文采用单片机进行遥控系统的应用设计遥控装置将同时具有编程灵活、控制范围广、体积小、功耗低、功能强、成本低、可靠性高等特点因此采用单片机的红外遥控技术具有广阔的发展前景。