毕业论文-基于单片机的电器遥控器设计 下载本文

毕业设计(论文)

题 目:

基于单片机的电器遥控器设计

学生姓名: 学 号: 所在学院: 专业班级: 届 别: 指导教师:

目 录

前言 ............................................................... 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显示器的选择 ................................................ 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

皖西学院2014届本科毕业设计(论文)

基于单片机的电器遥控器设计

摘 要:遥控,即控制对象的远程控制,使其根据指令执行动作。而如今随着科技的飞速发展遥控控制在生产生活中起到了越来越重要的作用。小到日常生活中的电器控制,大到工业上高危高险作业的遥控以及航天科学上的卫星管控,这些都是遥控的现实应用。基于单片机的遥控器设计采用AT89C51单片机为核心处理器,设计分为发射电路与接收处理电路2个部分。发射端电路采用码分制的信息传输格式并通过红外线载体传递控制信号;接收端通过解码器解码识别发射端发射的红外信号再由单片机AT89C51输出相对应的控制电平控制受控的对象。本设计是以单片机为核心设计的一种智能型红外遥控器,可以对发出的红外信号进行识别与处理。

关键词:遥控器;单片机;红外信号;解码器

1

基于单片机的电器遥控器设计

Electric Remote Control Microcontroller Based Design

Abstract: remote control, namely the controlled 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 remote 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 core 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 of a microcontroller as the core of intelligent infrared remote control that can be emitted by the infrared signal recognition and treatment.

Keywords: Remote control; MCU; infrared signal; decoder