单片机红外遥控系统设计方案.docVIP

  • 11
  • 0
  • 约3.17万字
  • 约 65页
  • 2017-11-14 发布于江苏
  • 举报
单片机红外遥控系统设计方案

存档日期: 存档编号: 本科生毕业设计(论文) 论 文 题 目: 姓 名: 李灿锋 学 院: 电气工程及自动化学院 专 业: 自动化 班 级 、 学 号: 08电51班 指 导 教 师: 包建华 江苏师范大学教务处印制 摘 要 本设计是基于单片机的红外遥控系统设计,设计内容包括了红外接收,红外解码和步进电机控制三大块。 如今红外遥控技术已经得到了广泛的应用;其利用红外线来传输数据,这种情况下不需要实体连线,体积小,成本低,功能强。我们日常生活中的电视机,洗衣机,空调,航天飞机,工业现场设备等都运用了红外遥控的技术。本设计中发射端采用专用的发射芯片来实现红外遥控码的发射,且遥控码格式是NEC标准。接收端采用市面上流行的1838一体化红外接收头,接收到的红外信号经由1838接收头完成 光/电转化和解调的工作,然后把33位的完整码发送到解码芯片中去完成解码工作。 本设计中的主芯片是STC89C52单片机,主芯片和解码芯片之间进行串行通讯。系统启动后,解码芯片将解码后得到的8位数据码串行发送到主芯片中,然后通过主芯片来控制步进电机的正转,反转,加速,减速。 本设计中的被控对象是步进电机,步进电机最适合做数字控制。步进电机是将电脉冲信号转变为角位移或线位移的开环控制元件。本设计中通过控制脉冲个数来控制角位移量,从而达到准确定位的目的;同时通过控制脉冲频率来控制电机转动的速度和加速度,从而达到调速的目的。 关键词: 红外遥控技术 步进电机控制 单片机控制 Abstract This design is based on the infrared remote control MCU system design, design elements include the infrared receiver, infrared decoding and stepper motor control three blocks. First, the infrared remote control technology has been a wide range of applications; use infrared to transfer the data, this case does not require a physical connection, small size, low cost, function. In our daily lives, televisions, washing machines, air conditioners, space shuttle, the industrial field devices and so the use of the technology of infrared remote control.The sender of this design using a dedicated transmitter chip to achieve the emission of infrared remote control code, and the remote control code format is the NEC standard.The receiving end of the popularity of the 1838 integration of infrared receiver, the infrared signal received through 1838 to receive the head, the optical / electrical conversion and demodulation of the 33 complete code sent to the decoder chip to complete the decoding. The design of the main chip is STC89C52. Serial communication between the main chip and decoder chip. System startup, the decoder chip decoding 8-bit se

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档