【正文】
of decorative lights are also used, except in the decoration, in advertising, traffic signs also cannot do without lights, in the industry is also used in control indicator lights. Now the society fast development, especially in the field of electronics, the update speed is very fast, the emergence of new technology constantly, the old technology is constantly eliminated, especially in the electronic control system of automatic control, discrete ponents and digital logic circuit posed of conventional, nearly disappeared in daily life the intelligent control system, which has developed rapidly in our life, instead of the traditional control system. SCM system itself has the advantages of small volume, reasonable price, fast operation, portability, wide application, automatic control of MCU is the core of intelligence, in the field of automatic control, more and more applications of scm,. This course is designed by using AT89S52 microcontroller and external control circuit bination of an automatic control system, realize the automatic control loop of arc light sixteen LED lights, using AT89S52 microcontroller as the main control chip, through the software to realize the control of the LED lights. Lantern with its small size, color variety, easy assembly, easy to manage etc.. In the life of the housing decoration, shop decoration, traffic signs, scenic city decoration, KTV entertainment, music fountain, lights everywhere, in our daily lives more and more widely, the lantern decoration requirements are also increasing, thus research on the automatic control of the lights is very necessary, to improve the level and quality of life of our. Key words: Water lamp; Intelligent control; AT89S5 南 昌 大 學(xué) 共 青 學(xué) 院 畢 業(yè) 設(shè) 計 ( 論 文 ) 目錄 III 目 錄 摘要 ........................................................................................................................... I Abstract..................................................................................................................... II 目 錄 ....................................................................................................................... III 第一章 緒論 ...........................................................................................................1 課題研究背景 .............................................................................................1 課題研究意義 .............................................................................................1 課題研究任務(wù) .............................................................................................1 第二章 方案設(shè)計 .....................................................................................................3 方案比較 .....................................................................................................3 方案選擇 .....................................................................................................3 主芯片介紹 ................................................................................................3 AT89S52 介紹 .......................................................................................3 AT89S52 主要功能: ......................................................................3 AT89S52 各引腳功能 ......................................................................4 第三章 基本設(shè)計原理 .............................................................................................6 總體設(shè)計思路 ..........................................................................................6 總設(shè)計框圖 ..............................................................................................6 設(shè)計實施步奏 ..........................................................................................6 第四章 電路模塊設(shè)計 .........................................................................................7 電源電路的設(shè)計 ......................................................................................7 時鐘電路 ........................................................................................7 復(fù)位電路 ........................................................................................8 顯示電路部分 ........................................................................................8 第五章 軟件系統(tǒng)設(shè)計 .............................................................................................9 軟件介紹 .....................................................................................................9 程序的框圖以及部分軟件程序介紹 .......................................................10 第六章 節(jié)日彩燈控制器仿真 ...............................................................................13 仿真軟件的介紹 ....................................................................................13 仿真過程以及結(jié)果 ................................................................................13 仿真步驟 .....................................................................................13 仿真結(jié)果 .......