资源描述:
《基于单片机的教室灯光自动控制器设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、题目基于单片机的教室灯光自动控制器设计学生姓名学号所在学院专业班级指导教师_____完成地点年月日基于单片机的教室灯光自动控制器设计[摘要]本设计针对教室灯光的控制方法,尤其是教室灯光的智能控制方面的发展现状,分析了教室灯光智能控制的原理和实现方法,提出了基于单片机的教室灯光智能控制系统的设计思想,并在此基础上开发了智能控制系统的硬件装置和相应软件。该系统以STC89C52单片机作为控制装置的智能部件,采用热释电红外人体传感器检测人体的存在,采用光敏电阻构成的电路检测光的强度;根据教室合理开灯的条件,系统通过对人体的存在信号和环境
2、光信号的识别和智能判断,完成了对教室照明回路的智能控制,避免了教室用电的大量浪费。单片机采用C语言编制,采用模块化结构设计、条理清晰、通用性好,便于改进和扩充。该系统具有体积小,控制方便,可靠性高,专用性强,性价比合理等优点,可以满足各类大、中专院校教室灯光控制的要求,很大程度的达到节能目的。[关键词]智能控制;人体存在传感器;光敏电阻;节约能源Thedesignof classroomlighting automatic controllerbasedonMCUAbstract:Currentlylightintelligent
3、controlsystemsarenotefficientlyusedintheclassroom.Inordertoimprovethesystem,basedoncontrolandcurrentmethodsofhowtokeepcontrol,developingintelligentclassrommlightcontrolsystemanddevelopedthehardwareandsoftwaresystem.Thisclassroomlightintelligentcontrolsystemthetheoryof
4、thelightputforwardmethodsofonthebasisofSTC89C52isdeveloped,whichmachineofSTC89C52isamajorpart,andtheenvironmentofdevelopmentisbetterthanbefore.Thissystemcansatisfythefollowingfunctions,suchascontrollingthecircuitofillumination,testingandprocessingdaylightsignal,testin
5、gandprocessingthesignalofhumanbodythatilluminatesthebacktractexists,reportingtothewarningdevices,etc.Inordertosatisfythesefunctions,thesystemadoptedthehomologousmethodsrespectively,andtothegearingofthesystem,analyzinghowtoinstall,testandrunthesystem.Themicrocontroller
6、softwarewasdevelopedbasedonClanguage.Clanguageisonekindofstructueredprogramlanguage,ithasmoreadvantagesthanotherhigh-levellanguageadoptsbuildingblockdesign.Itscommonalityisverygoodandeasytoimproveandexpand.Itcouldbeusedtodeveloplarge-scalesystemwithmoreperfectperforme
7、nce.Thesystemhadmanyadvantages.Forexamaple,thephysicalvolumeswassmall,thesystemwasconvenientlycontroled,thecredibilitywashigh,theappropriationwasstrong,anditspriceproportionwasideal,etc.Theexpermentprovedthatthesyatemcansatisfythecontrolconmmandoftheclassroom’sligetde
8、vice,soitcouldlargelyreducetheconsumingoftheresources.Keyword:IntelligentControl,Sensor,Photosensitiveresistance,Energysavin