摘要:LED台灯作为绿色照明的能源产品,是国家绿色能源照明重点推广的产品。随着当今时代的飞速发展,节能和环保、健康,和人们的日常生活息息相关,智能台灯为人们所爱,所以今天我提出PWM调光灯的设计。 56174
本设计是以STC89C51RC单片机为控制核心的集成多种功能的智能LED台灯,不仅有手动调节功能,还具有自动光控调节功能,而且还具有呼吸模式功能。硬件设计部分分为单片机控制模块、按键模块、照明模块、光敏模块、LED指示模块、多个部分。单片机的控制芯片用STC89C51RC,LCD指示选用三种不同颜色的LED。照明的系统用的是白光LED,对光敏信号的采集用ADC0809的时芯片。最终使得PWM调光技术对LED灯进行光的自动调节。通过单片机C语言编程进行软件设计,综合实现了全部控制功能。
毕业论文关键词:LED台灯,光度 ,PWM调光 ,自动调节
Abstract :LED lamp as green lighting energy products, is the national focus on the promotion of green energy lighting products. With the rapid development of modern times, energy saving and environmental protection, health, and people's daily lives, intelligent table lamps are peoples most love, so I put forward the design of PWM adjustable light today.
The design is based on STC89C51RC single chip microcomputer as the control core of the integrated functions of intelligent LED lamp, not only it has the manual adjustment function, also it has the automatic light adjusting function, but also has the function of respiratory mode. The hardware design is pided into many parts: MCU control module, keyboard module, lighting module, photosensitive module, LED module, indicating multiple parts. The STC89C51RCcontrol chip is used for microcontroller, LCD indicates three different colors with three LED. Lighting system is used with white light LED, the light signal is collected by chip ADC0809. Automatic regulating the PWM dimming technology is used for LED lamp light. The software design of the MCU C language programming, integrated control functions are realized by.
Key word:LED lamp,dimming,automatically adjust,luminosity of PWM
目录
1 绪论 5
1.1 课题研究背景 5
1.2 系统方案的提出 5
1.2.1LED优势 5
1.2.2 方案简述 6
2 系统方案的选择 7
2.1 控制芯片的选择方案 7
2.1.1 STC89C51RC 7
2.1.2 AVR单片机 7
2.1.3 FPGA 8
2.1.4 主控制芯片的确定 8
2.2 照明模块的选择 8
2.2.1 三极管驱动 8
2.2.2 PWM芯片控制 9
2.2.3 照明方案的确定 10
2.3 遥控模块的选择 10
2.3.1 超外差式无线模块 10
2.3.2红外遥控 11
2.3.3 遥控方案的确定 11
3 硬件设计 12
3.1单片机STC89C51芯片简介 12
3.2 LED驱动电路 18
3.3 按键控制电路 18
3.4 LED指示电路 20