基于单片机的教室照明控制系统设计.docx
【电子信息工程毕业设计+文献综述+开题报告】基于单片机的教室照明控制系统设计
(20届)
本科毕业设计
基于单片机的教室照明控制系统设计
摘要
随着电子技术的飞速发展,基于单片机的控制系统已经广泛应用于各个邻域。另外,由于楼宇智能化的发展和成熟,基于单片机的教
室照明控制系统得到了广泛的普及。
本文根据教室灯光智能控制方面的发展现状,分析了有效的节电控制方案,提出了基于AT89S51单片机的教室照明控制系统。系统采用热释红外人体传感器检测人体的存在,以此来控制照明灯的开启和关闭;利用光敏电阻来检测环境光的强度,以此来调节灯具的亮度;另外,系统还带有键盘及液晶显示,键盘用于输入密码及设置时间参数,液晶显示屏用于显示当前时间及系统提示;系统还可以自主设置教室灯具的开启及关闭时间,关灯前可利用蜂鸣器发出警告。通过对人体存在信号及环境光信号的识别和判断,完成对教室灯具的智能控制,以达到节能的目的。本系统软件采用C语言编制,采用模块化结
构设计,条理清晰,便于修改。
关键词:AT89S51;智能控制;热释红外;传感器
TheDesignofClassroomLightingControlSystem
BasedonSingle-chipMicrocomputer
Abstract
Withtherapiddevelopmentofelectronictechnology,thesystemofcontrolbasedonMCUiswidelyappliedinvariousfields.Whatsmore,duetothedevelopmentandmaturationoftheintelligentbuilding,thecontrolsystemforclassroomlightingbasedonsingle-chipmicrocomputerhasbeenwidely
popular,
Accordingtothedevelopmentstatusofintelligentlightingcontrolintheclassroom,analysisofeffectivepower-savingcontrolsolution,proposedclassroomlightingcontrolsystemwhichisbasedonAT89S51MCU.Thissystemcancontrolthelampswitchbytestandprocessthesignalofhumanbodythatilluminatesthebacktrackexists;Itcanadjustthebrightnessoflightbytestandprocessdaylightsignal;Inaddition,thesystemalsohasakeyboardandLCD,keyboardusetoenterpasswordsandsettimeparameters,LCDdisplaysthecurrenttimeandthesystemprompts;ThissystemalsocanIndependentlysetuptheturnonandofftimeoflights,itcangeneratewarningsbybuzzerbeforeturnoffthelights.
Accordingtoidentifyandjudgethehumanbodyexistencesignal
andthedaylightsignal,completionofclassroomlightingintelligentcontroltosaveenergy.ThemicrocontrollersoftwarewasdevelopedbasedonClanguage,Clanguageadoptsbuilding