【正文】
斷系統(tǒng) ......................................................................................... 11 引腳說(shuō)明 ......................................................................................................... 11 時(shí)鐘電路 ......................................................................................................... 15 存儲(chǔ)器系統(tǒng) ..................................................................................................... 15 時(shí)鐘電路 ................................................................................................................... 19 復(fù)位電路 ................................................................................................................... 19 復(fù)位方式 ......................................................................................................... 19 手動(dòng)按鈕復(fù)位 ................................................................................................. 19 上電復(fù)位 ......................................................................................................... 20 IV LM324 ........................................................................................................................ 21 LM324 簡(jiǎn)介 ..................................................................................................... 21 LM324 的特點(diǎn) ................................................................................................. 22 74HC573 簡(jiǎn)介 ............................................................................................................ 22 光敏電阻簡(jiǎn)介 ........................................................................................................... 24 按鍵電路 ................................................................................................................... 25 顯示電路 ................................................................................................................... 26 顯示方式選擇 ................................................................................................. 26 LED 的驅(qū)動(dòng)和顯示 ......................................................................................... 27 電源電路 ................................................................................................................. 28 光控電路 ................................................................................................................. 28 路燈控制電路 ......................................................................................................... 29 第 4 章 軟件設(shè)計(jì) ................................................................................................................... 30 主程序 ....................................................................................................................... 30 計(jì)時(shí)程序 ................................................................................................................... 31 中斷程序 ................................................................................................................... 34 按鍵程序 ................................................................................................................... 36 程序清單 ................................................................................................................... 36 第 5 章 系統(tǒng)調(diào)試 ................................................................................................................... 48 結(jié)果分析 ................................................................................................................... 48 系統(tǒng)調(diào)試 ................................................................................................................... 48 對(duì)每個(gè)子程序進(jìn)行調(diào)試 ................................................................................. 48 總的程序調(diào)試 ................................................................................................. 48 第 6 章 結(jié) 論 ................................................................................................................... 50 參考文獻(xiàn) ................................................................................................................................. 51 附錄 A 外文 參考及中文翻譯 ............................................................................................... 53 附錄 B 系統(tǒng)原理圖 ................................................................................................................ 71 致 謝 ................................................................................................................................... 72 1 第 1 章 緒 論 國(guó)內(nèi)外研究現(xiàn)狀及課題意義 課題意義 近年來(lái),隨著我國(guó)經(jīng)濟(jì)改革的深入發(fā)展和信息化時(shí)代的深入,各級(jí)政府對(duì)城市整體形象工程建設(shè)備受重視,他們通過(guò)各種方式來(lái)開(kāi)展城市化建設(shè)。由于單片機(jī)具有集成度高,處理能力強(qiáng),可靠性高,系統(tǒng)結(jié)構(gòu)簡(jiǎn)單,價(jià)格低廉的優(yōu)點(diǎn),因此在路燈照明工程中被廣泛應(yīng)用。 路燈是一個(gè)城市的照明系統(tǒng)不可分割更無(wú)可替代的一部分,現(xiàn)有的路燈管理的方式方法已遠(yuǎn)遠(yuǎn)不能滿(mǎn)足城市路燈發(fā)展與管理的需要,必須依靠現(xiàn)代化的高科技管理手段。 關(guān)鍵詞: 單片機(jī) , 控制 , LED II THE DESIGN OF THE CONTROL SYSTEM OF SIMULATED STREET LAMPS ABSTRACT Along with the rapid city construction and development of the munity economy,urban lighting has been one of the chief signs that represent the urban civilization level. So it is an increasing concern and its scale has been steadily enlarged. The street light is an integral part of a city lighting system and means of the existing street lights have been far from being able to meet the needs of the development and management of urban street, and must rely on modern hightech management tools. Microcontroller with high integration, processing capability, high reliability, simple structure and low cost advantages, and therefore is widely used in street lighting works. The system uses the MSC51 SCM AT89C51 and the associated optical testing equipment to design intelligent light control of street lamp controller, eight 51series singlechip programmable control logic I / O ports to achieve intelligent street lamps to achieve energy saving, automatic c