畢業(yè)設(shè)計(jì) 基于at89s52的十字路口交通燈設(shè)計(jì).doc
畢業(yè)設(shè)計(jì) 基于at89s52的十字路口交通燈設(shè)計(jì),畢業(yè)設(shè)計(jì) 基于at89s52的十字路口交通燈設(shè)計(jì)摘 要近年來隨著科技的飛速發(fā)展,單片機(jī)的應(yīng)用正在不斷地走向深入。在實(shí)時(shí)檢測(cè)和自動(dòng)控制的單片機(jī)應(yīng)用系統(tǒng)中,單片機(jī)往往是作為一個(gè)核心部件來使用,僅單片機(jī)方面知識(shí)是不夠的,還應(yīng)根據(jù)具體硬件結(jié)構(gòu),以及針對(duì)具體應(yīng)用對(duì)象特點(diǎn)的軟件結(jié)合,加以完善。本文首先對(duì)智能交通燈的研究意義和智能交...


內(nèi)容介紹
此文檔由會(huì)員 bfxqt 發(fā)布畢業(yè)設(shè)計(jì) 基于AT89S52的十字路口交通燈設(shè)計(jì)
摘 要
近年來隨著科技的飛速發(fā)展,單片機(jī)的應(yīng)用正在不斷地走向深入。在實(shí)時(shí)檢測(cè)和自動(dòng)控制的單片機(jī)應(yīng)用系統(tǒng)中,單片機(jī)往往是作為一個(gè)核心部件來使用,僅單片機(jī)方面知識(shí)是不夠的,還應(yīng)根據(jù)具體硬件結(jié)構(gòu),以及針對(duì)具體應(yīng)用對(duì)象特點(diǎn)的軟件結(jié)合,加以完善。
本文首先對(duì)智能交通燈的研究意義和智能交通燈的研究現(xiàn)狀進(jìn)行了分析,指出了現(xiàn)狀交通燈存在的缺點(diǎn),并提出了改進(jìn)方法。智能交通燈控制系統(tǒng)通常要實(shí)現(xiàn)自動(dòng)控制。本文還對(duì)AT89S51單片機(jī)的結(jié)構(gòu)特點(diǎn)和重要引腳功能進(jìn)行了介紹,同時(shí)對(duì)智能交通燈控制系統(tǒng)的設(shè)計(jì)進(jìn)行了詳細(xì)的分析。
關(guān)鍵詞:AT89S51單片機(jī);智能交通燈控制系統(tǒng);程序設(shè)計(jì)
Abstract
Along with science and technology is updating in recent years , the application of MCU is going deeper. In the application of the automatic control and detection of real time, the MCU is used to use as a key parts. But if you want to design a system , only learn the knowledge of MCU is insufficient . You should perfect the system on the basis of the structure of the hardware and it is link to the characteristic of the application object of the software.
First, in this paper, we discuss the studying significance and studying situation of the Intelligent Transportation System(ITS) ,then point out the drawback of the current situation and give the improve method. Automatic Control is the most important function of the ITS. This paper describe the character of structure and the function of pin of AT89S51 SCM.It also give detailed analysis of ITS design .
Keyword:AT8951 MCU; ITS; program design
目錄
1 緒論 4
1.1 交通燈研究的背景和意義 4
1.2 交通燈國(guó)內(nèi)外發(fā)展概況 5
2 系統(tǒng)設(shè)計(jì)要求與整體規(guī)劃 8
2.1 基礎(chǔ)設(shè)計(jì)要求 8
2.2 系統(tǒng)規(guī)劃 8
2.3 方案論證和比較 9
3 AT89S51單片機(jī)簡(jiǎn)介 10
3.1 單片機(jī)概述 10
3.2 AT89S51單片機(jī)的主要性能參數(shù)和主要引腳 10
3.2.1 主要性能參數(shù) 10
3.2.2 AT89S51芯片內(nèi)部結(jié)構(gòu)簡(jiǎn)介 10
3.2.3 主要引腳功能 12
3.2.4 信號(hào)顯示驅(qū)動(dòng)電路 15
3.2.5 鍵盤輸入電路 16
4 智能交通燈方案的實(shí)現(xiàn) 18
4.1 系統(tǒng)總框圖 18
4.2 智能交通燈系統(tǒng)的組成 18
4.3 智能交通燈系統(tǒng)的工作原理 18
4.3.1車檢測(cè)電路 19
4.3.2信號(hào)燈電路 20
4.3.3時(shí)間顯示電路 20
4.4 交通燈控制線路 21
5 交通燈系統(tǒng)詳細(xì)設(shè)計(jì) 22
5.1 軟件總體設(shè)計(jì)思想 22
5.2 交通控制算法實(shí)現(xiàn) 24
5.3信息顯示模塊 26
5.3.1 信號(hào)燈模塊 26
5.3.2 LED倒計(jì)時(shí)顯示子程序 26
4.5鍵盤掃描模塊 30
6 調(diào)式總結(jié) 34
參考文獻(xiàn) 35
圖表清單 36
致謝 37
附 錄 38
附錄一 程序清單 38
附錄二 交通燈PCB圖 45
附錄三 交通燈電路原理圖 46