【正文】
.................. 1 2 設(shè)計課題硬件系統(tǒng)的設(shè)計 ...................................................................................... 2 設(shè)計課題硬件系統(tǒng)各模塊功能簡要介紹 ................................................... 2 設(shè)計課題電路原理圖、 PCB 圖、元器件布局圖各 1 份 ............................ 3 2. 3 設(shè)計課題元器件清單 ................................................................................... 4 3 設(shè)計課題軟件系統(tǒng)的設(shè)計 ...................................................................................... 4 設(shè)計課題使用單片機資源的情況 ............................................................... 4 3. 2 設(shè)計課題軟件系統(tǒng)各模塊功能簡要介紹 ................................................... 6 設(shè)計課題軟件系統(tǒng)程序流程框圖 ............................................................... 7 3. 4 設(shè)計課題軟件系統(tǒng)程序清單 ....................................................................... 8 4 使用說明,仿真結(jié)果及誤差分析 .......................................................................... 8 設(shè)計使用說明 ................................................................................................. 8 程序仿真結(jié)果 ................................................................................................. 8 誤差分析 ....................................................................................................... 10 設(shè)計體會 ....................................................................................................... 10 結(jié)束語 .......................................................................................................................... 11 致 謝 ............................................................................................ 錯誤 !未定義書簽。 軟件上采用匯編語言編程,主要編寫了主程序, LED 數(shù)碼管顯示程序。本設(shè)計就是采用單片機模擬十字路口交通燈的狀態(tài)顯示以及倒計時。 單片機技術(shù)課程設(shè)計說明書 交通燈 院 、 部: 電氣與信息工程 學(xué)院 學(xué)生姓名: 沐 弓 指導(dǎo)教師: 王韌 職稱 副教授 專 業(yè): 電子信息工程 班 級: 電子 120 班 完成時間: 2021 年 12 月 21 日 摘 要 交通燈在現(xiàn)代社會交通管理的作用毋庸置疑,它 使交通得以有效管 制,對于疏導(dǎo)交通流量、提高道路通行能力,減少交通事故有明顯效果。本系統(tǒng)采用單片機 AT89S52 為中心器件來設(shè)計交通燈控制器,系統(tǒng)實用性強、操作簡單、擴展性強。 設(shè)計以 AT89S52 單片機為核心,外接外圍電路構(gòu)成基本電路, 本設(shè)計 除基本的交通燈功能外, 還增加了在緊急情況下能手動切換信號燈讓特殊車輛優(yōu)先通行, 較好的模擬實現(xiàn)了十字路口可能出現(xiàn)的狀況。經(jīng)過整機調(diào)試,實現(xiàn)了對十字路口交通燈的模擬 關(guān)鍵詞 交通燈;單片機 ABSTRACT The traffic lights in the modern society traffic management occurrence, make traffic to effectively control for relieves traffic flow, improve traffic capacity, reduce the number of traffic accidents have obvious effect. The system adopts singlechip microputer AT89C51 as the center device to designing traffic light controller, system strong practicality, simple operation, extensible. This design is onechip puter simulation intersection traffic lights state display and countdown. Design with AT89S52 singlechip microputer as the core, an external circuit constitute the basic circuit .Intelligent traffic control system will usually achieve automatic control and in emergency situations can manual switching lights make special vehicle simulation crossroads possible conditions. Software is used on assembly language programming, mainly prepared the main program, LED digital pipe display program. After the machine missioning, realize the intersection traffic simulation. Key words The traffic lights。 參考文獻(xiàn) ...................................................................................................................... 12 附錄 A........................................................................................................................... 14 附錄 B........................................................................................................................... 15 附錄 C.....................................................