《基于光敏电阻的照明灯控制系统的设计(共37页).doc》由会员分享,可在线阅读,更多相关《基于光敏电阻的照明灯控制系统的设计(共37页).doc(37页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、精选优质文档-倾情为你奉上基于光敏电阻的照明灯控制系统的设计摘 要随着信息技术的飞速发展和社会的不断进步,人们都市生活的迅速发展,新型半导体材料LED照明应用得到普及,人们对 LED 照明的高效控制和功能多样化的要求也不断提高。灯饰除了有普遍的照明作用之外,还有广泛的工业用途。针对普通的LED光源存在光谱不全这个问题,本文介绍了一套小型智能灯,它是基于光敏电阻的照明系统,主要的功能是用光照强度来调节LED灯的亮度,就是通过光敏电阻接收到的外界不同的照度来控制LED灯不同的亮度,也就是说,本设计通过环境光照度的强弱对LED灯进行控制,而且可以自动变换,使生活和工业生产更加现代化和节能环保。这个设
2、计的核心在于单片机控制模块,光敏电阻通过外界照度的不同产生不同大小的电信号,本设计先根据电信号的大小规定好对应的数字信号,这样单片机就可以根据输入的数值信号发出红绿黄三路通路/截止的命令,达到辨色的目的,判断光强度做好防护,并且可从液晶屏上读出光照强度,调控LED光强,这样的设备在温棚、禽舍、晒相、电路板生产等方面都得到广泛的应用。关键词:LED(发光二极管) 光敏电阻 单片机 液晶显示屏LIGHTING CONTROL SYSTEM DESIGN BASED ON PHOTORESISTORABSTRACTWith the rapid development of information t
3、echnology and social progress as well as the rapid development of urban life, new applications of semiconductor materials are popular LED lighting products. Efficient LED lighting and functional diversification of the requirements is also rising. Lighting not only have lighting effect, but also have
4、 extensive function of industry. This paper introduces a set of small smart lights, the lighting system which is based on photosensitive resistance, to solve LED light source for general spectrum insufficiency problem. Its main function is to automatically select the light color. Photoresistor recei
5、ves different illumination of the light outside to control the three RGY-LED work or not. In other words, a lamp can automatically transform several colors light. It will save the energy sources make our life more modern . The SCM (Single Chip Micyoco) module is the core of this design. Photoresisto
6、r generated different signals by different external illumination. The design first turn analog signals into digital signals.Accroding the digital signals, SCM will release the orders to control RGY-LED work or not.In this way, the purpose is able to choose colors of the light intellectuality.At the
7、same time it can read the light intensity On the LCD panel to regulat the intensity of Lighting system . Such equipment Have extensive application on Greenhouse, birdhouse, bask in phase, circuit board production.朗读Key words: LED(Light Emitting Diode) Photoresistor SCM LCD显示对应的拉丁字符的拼音目 录摘要IABSTRACTI
8、I1前言11.1选题的目的意义11.2国内外研究综述11.3研究目标11.4研究内容21.5关键问题21.6基本思路21.7研究方法22基于光敏电阻的照明灯控制系统的设计和论证32.1设计要求32.2设计方案32.3方案选取63基于光敏电阻的照明灯控制系统的设计73.1基于光敏电阻的照明灯控制系统的整体电路原理方框73.2电源设计73.3控制电路73.3.1STC12C5A60S283.3.2信号采集电路103.3.3LCD显示电路113.3.4驱动调光电路124单片机编程154.1程序流程框图154.2信号采集程序154.2.1AD初始化程序154.2.2AD转换程序164.3显示屏程序164.3.1写指令函数164.3.2写数据函数164.3.3显示函数174.3.4对1602液晶的模式进行设置184.4主程序(选择红、绿、黄指示灯的程序)184.5PWM程序195焊接与调试215.1焊接215.1.1制作注意事项215.1.2 实物展示215.2 软件调试225.3 PWM波形测量图256元件清单与性能参数267结论27参考文献29附录301整体电路设计图302单片机全部程序31谢辞37专心-专注-专业