基于单片机的遥控器设计 下载本文

内容发布更新时间 : 2024/5/2 17:15:46星期一 下面是文章的全部内容请认真阅读。

本科毕业设计

题目:基于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 参考文献 致谢