资源描述:
《基于单片机的照明控制系统设计与实现》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、KC021-1毕业设计题目:基于单片机的照明控制系统设计与实现15基于单片机的照明控制系统设计与实现摘要随着电子技术的飞速发展,基于单片机的控制系统已广泛应用于工业、农业、电力、电子、智能楼宇等行业,微型计算机作为嵌入式控制系统的主体与核心,代替了传统的控制系统的常规电子线路。同时楼宇智能化的发展与成熟,也为基于单片机的照明控制系统的普及与应用奠定了坚实的基础。本文介绍了基于AT89C51的室内灯光控制系统及其原理,提出了有效的节能控制方法。该系统采用了当今比较成熟的传感技术和计算机控制技术,利用多参数来实现对学校教室室内照明的控制。系统设计包括硬件设计和软件设计两部分。该照明控制系统的主控
2、制器、分控制器分别是以AT89C51单片机为基础,实现了通信、控制与显示等功能。文中详细地描述了控制电路的设计过程,包括:键盘与LED显示电路、RS485通信电路、照明灯控制电路以及看门狗电路等。对于软件设计主要有主控制器、分控制器的有线通信程序设计以及灯光控制、定时控制、键盘扫描与LED显示等程序设计。关键词:灯光控制系统;AT89C51;单片机;节能;采集电路15Abstract15AbstractTheControlSystemforLightingBasedonSingle–chipMicrocomputerAbstractWiththerapiddevelopmentofelect
3、ronictechnology,thesystemofcontrolbasedonSingle-chipMicrocomputeriswidelyappliedinindustry,agriculture,electricpower,electron,intelligentbuildingandsoon.Microcomputer,asthesubjectandcoreoftheembeddedsystemofcontrol,replacesthetraditionalsystem—electroniccircuit.Atthesametime,thedevelopmentandmatura
4、tionoftheintelligentbuildinghaveestablishedthesubstantialfoundationforthepopularizationandapplicationofthecontrolsystemforlightingbasedonsingle-chipmicrocomputer。Inthispaper,theIndoorLightingControlSystemBasedonAT89C51anditsprincipleareintroduced.Someeffectiveandenergysavingcontrolstrategysoflighti
5、ngsystemarebroughtforward.Thecurrentsystemusesarelativelymaturesensortechnologyandcomputercontroltechnology,usingmulti-parametertoachievetheschoolclassroomindoorlightingcontrol.Thesystemincludeshardwareandsoftwaredesignintwoparts.ThehostcontrollerofthecontrolsystemforlightingisbasedonAT89C51single-
6、chipmicrocomputer,andtheauxiliaryonesarebasedonAT89c51.Thesystemcandomanyjobs,suchaswiredcommunication,wirelessdatatransmitting,controllinganddisplay.Thepaperdescribesthedesigningprocessofthecircuitatlength,including:keyboardandLEDdisplaycircuit,RS485communicationcircuit,wirelesstransmittingcircuit
7、,controlcircuitoflighting,watchdogcircuit,etc.Thedesigningofsoftwaremainlyincludestheseveralprogramming,suchaswiredcommunication,lamplightcontrolling,timedcontrolling,keyboardscanningandLEDdisplaying.Thewir