文档详情

路灯控制器的设计与实现本科毕业论文(设计).doc

发布:2017-08-15约1.49万字共39页下载文档
文本预览下载声明
学科分类号 0806 本科生毕业论文(设计) 题目(中文): 路灯控制器的设计与实现 (英文): Design and Implementation Street Lamp Controller 本科毕业论文(设计)诚信声明 作者郑重声明:所呈交的本科毕业论文(设计),是在指导老师的指导下,独立进行研究所取得的成果,成果不存在知识产权争议。除文中已经注明引用的内容外,论文不含任何其他个人或集体已经发表或撰写过的成果。对论文的研究做出重要贡献的个人和集体均已在文中以明确的方式标明。本声明的法律结果由作者承担。 本科毕业论文(设计)作者签名: 年 月 日 目 录 摘 要 I 关键词 I Abstract I Key words II 1 前言 1 1.1 选题背景 1 1.2 研究现状 1 1.3 研究目的和意义 2 2 任务分析与方案论证 3 2.1 任务分析 3 2.2 方案论证 4 2.2.1 系统主控模块方案选择 4 2.2.2 光电转换方案选择 5 2.2.3 显示模块方案选择 5 3 系统硬件设计 6 3.1 单片机最小系统 6 3.2 光控电路 10 3.3 继电器驱动电路 11 3.4 报警电路 12 3.5 1602液晶显示 12 4 软件设计 14 4.1 主程序流程图 14 4.2 初始化程序 15 4.3 定时器中断 16 4.4 延时程序 18 5 调试与分析 18 5.1 调试 18 5.2 分析 18 6 总结 21 参考文献 22 致 谢 23 附录 24 附录A 系统总图 24 附录B PCB图 24 附录C 实物图 25 附录D 部分源代码: 25 路灯控制器的设计与实现 摘 要 本文介绍了一个路灯控制器的设计与实现方案,用以实现路灯的自动控制。方案以STC89C52为核心,通过按键选择时钟控制功能、光照强度控制功和改变开灯与关灯的时间;通过1602液晶能显示路灯控制模式和延时时间;利用单片机内部定时器T0、T1设定STC89C52;单片机定时器;光敏电阻;继电器 Design and Implementation of Street Lamp Controller Abstract This paper introduces the design and implementation of a street lamp controller, used to realize the automatic control of street lamp. Scheme with STC89C52 as the core, the clock control function, the light intensity control power and change the time to turn on the lights and turn off the lights through the button to choose; by 1602 LCD can display lighting control mode and the delay time; setting system switch lights use MCU internal timer T0, T1 time and delay time; to change the resistance value of the light intensity. To realize the automatic control of street lamp controller based on the intensity of light photosensitive resistor. Extensive use of the system, perfect function, low cost, can be installed in the bathroom, corridor, corridor and other public places in the street on both sides of the road, so as to facilitate the management, but also can save the energy. Key words Street lamp control;STC89C52;The microcontroller timer;Photosensitive resistance;Relay 1 前言 1.1 选题背景 目前路灯照明耗电量约占总耗电量的15%,全国各地无不面对电力紧张带
显示全部
相似文档