路灯控制器的设计与实现

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

学科分类号080 6 本科生毕业论文(设计)

题目(中文):路灯控制器的设计与实现

(英文): Design and Implementation Street

Lamp Controller

2013年 5 月 10 日

目录

摘要..............................................................

关键词..............................................................

Abstract ............................................................

Key words ...........................................................

1 前言..............................................................

选题背景 ......................................................

研究现状 ......................................................

研究目的和意义 ................................................

2 任务分析与方案论证................................................

任务分析 ......................................................

方案论证 ......................................................

系统主控模块方案选择......................................

光电转换方案选择..........................................

显示模块方案选择..........................................

3 系统硬件设计......................................................

单片机最小系统 ................................................

光控电路 ......................................................

继电器驱动电路 ................................................

报警电路 ......................................................

1602液晶显示..................................................

4 软件设计..........................................................

主程序流程图 ..................................................

初始化程序 ....................................................

定时器中断 ....................................................

延时程序 ......................................................

5 调试与分析........................................................

调试 ..........................................................

分析 ..........................................................

6 总结.............................................................. 参考文献............................................................ 致谢.............................................................. 附录................................................................

附录A 系统总图.................................................

附录B PCB图 ...................................................

附录C 实物图...................................................

附录D 部分源代码:.............................................

路灯控制器的设计与实现

摘要

本文介绍了一个路灯控制器的设计与实现方案,用以实现路灯的自动控制。方案以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

相关文档
最新文档