光电综合实训报告.doc
文本预览下载声明
光电综合实训报告
题 目: 光电综合实训
专 业: 电信A班
年 级: 11级
学 号: 112420141
学生姓名: 邱梦雨
联系电话: 指导老师: 刘晓东 徐文贤
完成日期: 2013年 9 月 11 日
摘 要
利用LED灯,电阻,电容,数码管,按键,锁存器,蜂鸣器,STC89C52RC,三极管,晶振,单刀双掷开关等元件,制作PWM调光电路的负载及驱动,,实现PWM软件调光电路。经测试,系统达到按键1控制5路负载的切换,如果选择红色LED负载,则红色LED指示灯亮,此时可以调节红色LED的占空比和频率。按键2控制占空比/频率调节的切换,选择占空比,则按键4和按键5可以增大/减小占空比,反之则增大/减小频率。按键3控制自动/手动模式的切换,手动模式下当占空比或频率到达预设的上下限时,蜂鸣器报警,此时继续按相应的调节按键无效。要求占空比调节范围为0~100%,以10%步进。要求进行频率调节时,可以观察到LED彩灯链有明显的闪烁效果。自动模式下各路负载按照预设的时间间隔从小到大、从大到小改变占空比的要求,具有可以自动和手动调试,且发光程度适中的优点。
关键词:LED彩灯;彩灯控制系统;闪烁方式
ABSTRACT
The use of LED lights, resistors, capacitors, digital, buttons, latches, buzzer, STC89C52RC, transistor, crystal, single-pole double-throw switch and other components to produce PWM dimming circuit load and drive to achieve PWM dimming software circuits. After testing, the system reaches a control button 5-way switching of the load, if you choose the red LED load, the red LED lights, then you can adjust the red LED duty cycle and frequency. Button 2 controls the duty cycle / frequency adjustment switch, select the duty cycle, the key buttons 4 and 5 can increase / decrease the duty cycle, otherwise the increase / decrease the frequency. Button 3 Control Automatic / manual mode switching, manual mode when the duty cycle or frequency reaches a preset upper and lower limit, the buzzer alarm, then continue to press the corresponding adjustment button is invalid. Required duty cycle adjustment range of 0 to 100% in 10% steps. Requirements for frequency adjustment, you can observe a clear chain of LED lights flicker effect. Automatic mode brightest load the preset time interval from small to large, from largest to smallest change the duty cycle requirements, with automatic and manual debugging, and the light emitting moderate degree advantages.
Keywords: LED lights; lights control system; flashes
1 绪论
1.1研究背景及意义
LED作为新的、最有潜力的光源,越来越引起
显示全部