基于51单片机智能灯设计与仿真  被引量:12

Design and simulation of intelligent light controller based on 51 MCU

在线阅读下载全文

作  者:陈新芬[1] 刘杰 陆毅 徐弘立 岳睿[1] CHEN Xin-fen;LIU Jie;LU Yi;XU Hong-li;YUE Rui(Institute of Mechanical and Electrical Engineering,Wuxi City College of Vocational Technology,Wuxi 214153,China)

机构地区:[1]无锡城市职业技术学院机电工程学院,江苏无锡214153

出  处:《电子设计工程》2020年第19期118-125,共8页Electronic Design Engineering

基  金:江苏省高等学校自然科学研究面上项目(18KJB520046);2019年教育部高校毕业生就业协会(CVCC19185);江苏省大学生创新创业训练计划(201913748009Y)。

摘  要:文中设计完成了一款基于51单片机的灯光控制器。当环境光线昏暗时,达到"人来灯开,人走灯灭"的效果。设计中利用光敏电阻GL5528采集环境光照强度,经过集成电压比较器LM393处理,人体红外线集成感应器HC-SR501采集人体活动信息,三极管功率放大,将环境光线和人体活动信息采集输入进单片机系统。单片机经过程序运行分析判断,输出控制继电器线圈,顺利实现灯光智能控制。程序软件编程部分紧凑高效,顺利通过Proteus仿真运行调试,结果证明本设计功能实现正常,能够达到预期控制功能。This paper designed a light controller based on 51 single chip microcontroller.When the light of the environment is dim,the effect of"When a man comes,the light is turned on,when a man leaves,the light goes out"is achieved.In the design,we used the photosensitive resistor GL5528 to collect the ambient light intensity,send this signal to the integrated voltage comparator LM393.The human infrared integrated sensor HC-SR 501 is used to collect human activity signal.Power transistors are adopted to amplifier the ambient light intensity and the human infrared signals,then the two signals are send into the single-chip microcomputer.After run a related program,the single chip microcomputer outputs a level signal to control a relay coil,correctly realize the function of light control.Software program is compact and efficient,it can be correctly executed and debugged through Proteus simulation.The result proves that the design function is normal and can achieve the expected control function.

关 键 词:AT89C51 HC-SR501 三极管 光敏电阻GL5528 LM393 

分 类 号:TN4[电子电信—微电子学与固体电子学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象