目 录
单片机照明灯智能控制器
摘 要
该夜用照明灯系统采用AT89S52单片机为核心,利用单片机的端口分别控制LCD1602标准时钟系统、可控硅和电铃,达到智能操控照明系统。我们常见的路灯、过道灯、草坪灯、广告箱灯、霓虹灯和厕所等公共场所用的一些照明灯往往彻夜通明,这不仅浪费能源,在某种程度上也造成了光污染。在今天电力能源供应比较紧张的情况下,在没有人员活动的深夜让这些灯关掉一些,不仅可以节约能源,也能够节约一些开支。本文主要介绍系统的开发背景,意义,并重点介绍了硬件设计和软件设计的过程。在硬件方面,从元件,模块,系统逐级阐述,特别是系统的核心部分AT89C52,并用PROTEL 99SE软件对原理图和电路板的制作。软件方面,用现阶段比较流行的单片机C语言编程,利用定时器中断控制标准时钟。最后是软硬件的调试,其中介绍了单片机仿真软件KEIL C51的使用。
关键词 AT89S52 可控硅 AT89c2051 LCD1602 光敏电阻 keil c51 PROTEL 99SE
Abstract
This night flare system is an system based on the AT89S52 monolithic integrated circuit, it makes use of the port of monolithic integrated to control the LCD1602 standard clock system, the silicon-controlled 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 some 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 module, the system one by one, especially the core of the system AT89C52,and uses the PROTEL 99SE. Software to the schematic diagram and the electric circuit board manufacture. In the software aspect with the present stage quite popular monolithic integrated circuit C language programming, uses the timer interrupt control standard clock. Finally it was the software and hardware debugging, in which introduced the in statons of the stations of monolithic integrated circuit simulation software KEIL C51 use.
Keyword AT89S52 silicon-controlled rectifier AT89c2051 LCD1602 photoresistance
keil c51 PROTEL 99SE