1、 毕业设计(论文)毕业设计(论文) 题 目: 基于单片机的电器遥控器设计 学 生 姓 名 : 学 号 : 所 在 学 院 : 专 业 班 级 : 届 别: 指 导 教 师 : 目目 录录 前言 . 3 1 控制信息的传递方式 3 1.1 无线电遥控方式 3 1.2 红外遥控方式 4 1.3wifi 方式 4 1.4ZigBee 方式 4 1.5 方式选择 4 2 总体设计方案 5 2.1 方案一:最简红外遥控电路 5 2.2 方案二:红外遥控开关电路(简单控制) 5 2.3 方案三:利用红外遥控开关电路(复杂控制) 6 2.4 方案比较 7 3 硬件部分设计 7 3.1 单片机的选择 7 3.
2、2 显示器的选择 8 3.3 调光器的选择 8 3.4 按键的选择 8 3.5 红外发射管与接收头的选择 8 3.6 电路设计 9 4 软件部分设计 . 14 4.1 遥控码的信息协议 . 14 4.2 程序设计 . 16 5 最后总结 . 20 6 主要参考文献 . 21 1 基于单片机的电器遥控器设计 摘 要:遥控,即控制对象的远程控制,使其根据指令执行动作。而如今随着科技的飞速发 展遥控控制在生产生活中起到了越来越重要的作用。 小到日常生活中的电器控制, 大到工业 上高危高险作业的遥控以及航天科学上的卫星管控, 这些都是遥控的现实应用。 基于单片机 的遥控器设计采用 A T89C51 单
3、片机为核心处理器,设计分为发射电路与接收处理电路 2 个 部分。 发射端电路采用码分制的信息传输格式并通过红外线载体传递控制信号; 接收端通过 解码器解码识别发射端发射的红外信号再由单片机 A T89C51 输出相对应的控制电平控制受 控的对象。 本设计是以单片机为核心设计的一种智能型红外遥控器, 可以对发出的红外信号 进行识别与处理。 关键词:遥控器;单片机;红外信号;解码器 基于单片机的电器遥控器设计 Electric Remote Control Microcontroller Based Design Abstract: remote control, namely the contr
4、olled object remote control to operate according to instructions. And now with the rapid development of remote control technology plays an increasingly important role in the production of life. Small everyday electrical control, high-risk insurance to large industrial operations, and satellite remot
5、e control on space science, these are the realities of remote applications. With the development of electronic technology using single-chip micro remote control system is an important direction for future development of the control field. Microcontroller-based remote control designed using AT89C51 c
6、ore processors, designed into the transmitter and receiver circuit processing circuit two parts. Code transmitter circuit using the transmission format of the system information and control signals transmitted by infrared carrier; receiving side transmits an infrared signal decoded by the decoder to identify the transmitting end corresponding to the further control level for controlling the controlled object output from the microcontroller AT89C51. The design is based on the design