| Currently light intelligent control systems are not efficiently used in theclassroom. In order to improve the system, based on the theory of the lightcontrol and current methods of how to keep control, put forward methods ofdeveloping intelligent classroom light control system on the basis of AT89C52.and developed the hardware and software system.This classroom light intelligent control system is developed, whichmachine of AT89C52 is a major part, and the environment of development isbetter than before. This system can satisfy the following functions, such ascontrolling the circuit of illumination, testing and processing daylightsignal, testing and processing the signal of human body that illuminates theback track exists, reporting to the warning devices, etc. In order to satisfythese functions, the system adopted the homologous methods respectively, andto the gearing of the system, analyzing how to install, test and run the system.The microcontroller software was developed based on assemble language.Assemble language is one kind of structured program languages, it has moreadvantages than other high-level languages. Assemble language adopts buildingblock design. Its commonality is very good and easy to improve and expand.It could be used to develop larger-scale system with more perfect performance.At the same time, the anti-jamming technologies, such as watchdog, arenecessary when developing hardware and software.This system had many advantages. For example, the physical volume wassmall, the system was conveniently controlled, the credibility was high, theappropriation was strong, and its price proportion was ideal, etc. Theexperiment proved that the system can satisfy the control command of theclassroom' s light device, so it could largely reduce the consuming of energyresources. |