摘要: 本论文所设计的红外传感系统旨在模拟智能灯光系统的控制模式,实际使用的智能灯光系统包括红外传感模块,单片机解码控制模块和多组光源。因此,本论文主要以单片机开发板和红外传感模块相结合,实现红外控制 LED灯组,最终能够模拟室内环境下多组灯光的独立红外控制。发射模块采用 WD6122芯片作为遥控器编码电路,并采用 SM0038模块接收。红外解码采用 STC90C51RD+单片机,通过对单片机编程进行软件解码。输出端采用8个LED串行输出的方式连接,红外信号解码后独立控制单个 LED工作,且 LED只有单个遥控按键控制,互不干扰。同时加入继电器模块,模拟实际的强电环境。 本课题根据任务书完成了预期的设想,设计并实现了系统的硬件电路,完成了系统软件程序的编写和调试。测试结果证明,该红外传感模块达到了设计要求。35866 
关键词: 红外编解码;LED 控制;串行输出;智能灯光系统  
Infrared sensor system design 
Abstract:Infrared sensor system design in this paper were designed to simulate intelligent lighting system control mode, the actual use of  intelligent lighting system consists of an infrared sensor modules, single chip decoder control module and multiple light source. Therefore, this thesis based on MCU Development Board and infrared sensing module combines infrared control LED lamp group, eventually able to simulate multiple independent infrared lighting control in indoor environment. Transmitter module using WD6122 as the remote control encoder, and uses the SM0038 module receives. IR decoding using STC90C51RD+ single-chip, based on the monolithic integrated circuit programming for software decoding. Outputs with 8 LED serial output connection, infrared signal is decoded and independent control of single LED and LED only a single remote control button control without disturbing. Add relay module to simulate actual strong electric environment. This task under this project completed the expected scenario, designed and implemented a system of hardware and complete system software program to write and debug. Test results show that the infrared sensor modules meet the design requirements. 
Key words: infrared encode and decode; LED control, serial output; intelligent lighting system
目录
1 绪论  .  1
1.1 课题背景   1
1.2 红外传感技术的研究进展  . 2
1.3单片机相关概念   5
1.3.1串行输出介绍  . 5
1.4  本课题的研究思路   5
1.4.1 研究目标  .. 5
1.4.2 研究内容  .. 6
1.4.3  研究难点  . 6
1.5  论文主要工作  . 6
2 红外传感系统方案设计   8
2,1 系统总框图  . 8
2.2 总体设计原则  .. 9
3 红外传感系统发射编码设计 .  10
3.1  WD6122芯片介绍  . 10
3.2  结构框图  . 10
3.3 键盘输入矩阵和管脚  . 11
3.4 编码方式及输出波形  . 12
4 接收及控制电路设计  .  14
4.1 红外接收电路设计   14
4.2 MCU及控制电路设计 . 15
4.3 LED灯组电路设计  17
4.4  继电器电路设计  . 17
5 系统软件与程序设计  .  19
5.1软件设计思路  . 19
5.2 头文件与声明编程要点  .. 20
5.3 主程序设计   22
5.4 子程序设计   22
5.4.1 红外解码程序设计  .. 22
5.4.2 LED与继电器控制程序设计   23
6 红外传感系统的调试与结论 .  27
6.1  遥控器与单片机开发板  . 27
6.2 程序的编写与烧录   28
6.3 系统调试和测试结果  . 29
6.3.1  LED调试   29
上一篇:VB螺纹管热水换热器的程序设计+源程序
下一篇:聚焦型太阳能固体加热预处理装置设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

粉料称重装置的单片机控...

STM32单片机的无刷直流电机控制系统设计

AT89S52单片机车内空气检测系统设计+源代码

LABVIEW+AT89C51单片机智能药箱系统设计+源代码

提高小學语文課堂朗读教...

小型通用机器人控制系统设计任务书

从企业eHR建设谈管理信息...

《水浒传》中血腥暴力研...

大规模MIMO系统的发展研究现状

PCI+PID算法直流力矩电机速...

遥感土地用变化监测国内外研究现状

MNL模型历史城区居民活动...

浅析施工企业保理融资成...

高效课堂教师问卷调查表