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

内容发布更新时间 : 2024/12/29 0:13:53星期一 下面是文章的全部内容请认真阅读。

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

摘要:随着电子技术的发展,家用电器种类的增加和无线遥控产品的普及,

红外遥控器的使用越来越频繁。本设计主要应用了AT89S52型单片机作为核心,综合运用了单片机中断系统、定时器、计数器等知识,应用红外光波长短、抗干扰、工作可靠性高的优点。该设计主要包括红外发射和红外接收模块,然后分别对这两个模块进行软件的编程。对于遥控操作的不同,遥控发射模块通过对红外光发射频率的控制来区别不同的操作,遥控接收模块通过对红外光接收频率的识别,判断出控制操作,来完成整个红外发射、接收过程[1]。如今,由于嵌入式的广泛应用,促进了新一代红外遥控器的发展,将微型计算机芯片融入到遥控器中,使之使用更加方便快捷,也使人们的生活简易化。随着时代的进步,人们对生活物品的要求也越来越高,为了满足消费者的需求,所以将先进的单片机加入到家庭中的电器遥控器中是符合大众要求的。

关键词:遥控器;红外发射;红外接收;单片机

The Design of Infrared Remote Controller Based on Single-chip

Computer

Abstract:With the development of electronic technology, increase in the consumer electronics category and the popularity of wireless remote control products, IR remote control used with increasing frequency. This design mainly using AT89S52 microcontroller core, integrated application of a microcontroller interrupt systems, timers, counters, and other knowledge, using infrared light wave lengths and interference, the advantages of high reliability.The design includes infrared and infrared receiver module, and software programming for these two modules .For remote control of different remote control transmitter module through the infrared light emitting frequency control to distinguish between different actions, remote control receiver modules through the receiving frequency of the infrared light to

I

江苏理工学院毕业设计说明书(论文)

identify, determine control operation, to complete the IR transmitter and receiver process. Now, with the wide range of embedded applications, promote the development of a new generation of infrared remote controls. Micro-chip into the remote control, making it easier and faster, leaving people live simple. With the advance of time, people have an increasingly higher requirements for everyday use, in order to meet the needs of consumers, so the advanced single-chip machine joined to a household appliance remote control is in line with popular demand.

Keywords:remote control; infrared; infrared receiver; microcomputer

II

single-chip 江苏理工学院毕业设计说明书(论文)

目 录

引 言…………………………………………………...............1

第1章 课题分析与方案论证…………………………..............2

1.1 课题任务分析……………………………………………….......3 1.2 方案论证……………………………………............................3

第2章 系统硬件电路设计……………………………………….4

2.1 器件选择…………………………………………....….......….4 2.1.1 单片机选择…………………………………....………........…4 2.1.2 显示器件选择………………………………………....……...11 2.1.3 按键控制方式选择…………………………………........….....12 2.1.4 门电路芯片选择………………………………………..........12 2.2 电路设计……………………………………………………...13 2.2.1遥控发射模块的电路设计……………………………………….13 2.2.2遥控接收模块的电路设计……………………………………….17

第3章 系统软件设计…………………………………………...21

3.1 发射模块软件流程图…………………………………………21 3.2 接收模块软件流程图…………………………………………...22

第 1 页 共 57页