1、目目 录录 摘 要 . I Abstract II 1 绪论 1 1.1 课题研究的背景 1 1.2 开发的意义 1 1.3 课题研究的方案 1 2 芯片选用说明 . 1 2.1 AT89S52 1 2.1.1 相关芯片及其引脚分析 1 2.1.2 引脚功能说明 2 2.2 AT89C2051 4 2.2.1 相关芯片及其引脚分析 4 2.3 LCD1602 . 5 2.3.1 相关芯片及其引脚分析 . 5 2.3 SMC1602A 参考连接: . 7 3.系统硬/软件设计 8 3.1 夜用照明系统的设计 8 3.2 标准时钟显示部分设计: . 10 3.3 光敏接收电路 . 12 3.4 接
2、键可调部分 . 12 3.5 系统照明和报警部分 . 13 3.6 系统复位与晶振电路 . 13 3.7 软件设计部分 . 13 3.8 程序源程序:见附页 1 14 4 调 试 14 4.1 硬件调试 . 14 4.2 软件的调试 14 5.总结与展望 16 5. 1 工作总结 16 5. 2 展望 16 参考文献: . 17 致 谢 18 附页 1: 程序清单 19 I 单片机照明灯智能控制器单片机照明灯智能控制器 摘摘 要要 该夜用照明灯系统采用 A T89S52 单片机为核心,利用单片机的端口分别控制 LCD1602 标准时 钟系统、可控硅和电铃,达到智能操控照明系统。我们常见的路灯、
3、过道灯、草坪灯、广告箱灯、 霓虹灯和厕所等公共场所用的一些照明灯往往彻夜通明,这不仅浪费能源,在某种程度上也造成了 光污染。在今天电力能源供应比较紧张的情况下,在没有人员活动的深夜让这些灯关掉一些,不仅 可以节约能源,也能够节约一些开支。本文主要介绍系统的开发背景,意义,并重点介绍了硬件设 计和软件设计的过程。 在硬件方面, 从元件, 模块, 系统逐级阐述, 特别是系统的核心部分 A T89C52, 并用 PROTEL 99SE 软件对原理图和电路板的制作。软件方面,用现阶段比较流行的单片机 C 语言 编程,利用定时器中断控制标准时钟。最后是软硬件的调试,其中介绍了单片机仿真软件 KEIL C
4、51 的使用。 关键词关键词 A T89S52 可控硅 A T89c2051 LCD1602 光敏电阻 keil c51 PROTEL 99SE 本科毕业论文(设计) 英文摘要 II Abstract This night flare system is an system based on the A T89S52 monolithic integrated circuit, it makes use of the port of monolithic integrated to control the LCD1602 standard clock system, the silicon-c
5、ontrolled rectifier and the electric bell separately and then the lighting system was controlled by intelligence. Some common streets which are in public places ,such as: the aisle way light, the lawn lamp, the advertisement box lamp, the neon light and the restroom and so on the public place uses s
6、ome flares often all night are brightly lit, this is not only wasting of energy, but also make the ray pollution in some kind of procedure. Nowaday , the electric power energy is in short supply, so if we turn off some when there is no people, it is not expenses. In this article,it introduces the systematic development background, the significance and especially the process of the hardware design and the software design .In the hardware aspect, this article elaborates the part, the modu