單片機(jī)控制交通燈_畢業(yè)設(shè)計(jì).doc
單片機(jī)控制交通燈_畢業(yè)設(shè)計(jì),包括程序代碼中文摘要近年來隨著科技的飛速發(fā)展,單片機(jī)的應(yīng)用正在不斷深入,同時(shí)帶動(dòng)傳統(tǒng)控制檢測技術(shù)日益更新。在實(shí)時(shí)檢測和自動(dòng)控制的單片機(jī)應(yīng)用系統(tǒng)中,單片機(jī)往往作為一個(gè)核心部件來使用,僅單片機(jī)方面知識(shí)是不夠的,還應(yīng)根據(jù)具體硬件結(jié)構(gòu)軟硬件結(jié)合,加以完善。十字路口車輛穿梭,行人熙攘,車行車道,人行人道...


內(nèi)容介紹
此文檔由會(huì)員 qzcajly 發(fā)布單片機(jī)控制交通燈_畢業(yè)設(shè)計(jì)
包括程序代碼
中文摘要
近年來隨著科技的飛速發(fā)展,單片機(jī)的應(yīng)用正在不斷深入,同時(shí)帶動(dòng)傳統(tǒng)控制檢測技術(shù)日益更新。在實(shí)時(shí)檢測和自動(dòng)控制的單片機(jī)應(yīng)用系統(tǒng)中,單片機(jī)往往作為一個(gè)核心部件來使用,僅單片機(jī)方面知識(shí)是不夠的,還應(yīng)根據(jù)具體硬件結(jié)構(gòu)軟硬件結(jié)合,加以完善。
十字路口車輛穿梭,行人熙攘,車行車道,人行人道,有條不紊。那么靠什么來實(shí)現(xiàn)這井然秩序呢?靠的就是交通信號(hào)燈的自動(dòng)指揮系統(tǒng)。交通信號(hào)燈控制方式很多。本系統(tǒng)采用MSC-51系列單片機(jī)ATSC51和可編程并行I/O接口芯片80C51為中心器件來設(shè)計(jì)交通燈控制器,實(shí)現(xiàn)了能根據(jù)實(shí)際車流量通過8051芯片的P1口設(shè)置紅、綠燈燃亮?xí)r間的功能;紅綠燈循環(huán)點(diǎn)亮,倒計(jì)時(shí)剩秒時(shí)黃燈閃爍警示。本系統(tǒng)實(shí)用性強(qiáng)、操作簡單、擴(kuò)展功能強(qiáng)。
關(guān)鍵詞:交通燈 單片機(jī) MSC-51 計(jì)時(shí)
ABSTRACT
Years with the rapid development of science and technology, SCM applications are deepening at the same time promote more traditional control detection update. In real-time detection and control of the microcomputer application system, the microcontroller is often used as a core component, only the SCM knowledge is inadequate and should be based on specific hardware architecture hardware and software, to be improved.
Crossroads shuttle vehicles, pedestrians bustling, car dealers Drive, people walkways, orderly. Then rely on to achieve the discipline of the order then? Rely on the automatic traffic light is the chain of command. Many ways to control traffic lights. In this system, MSC-51 Series MCU ATSC51 and programmable parallel I / O interface chip 80C51-centered design of traffic signal controller device to realize the actual traffic volume by 8051 according to the P1 port chip set of red, green time kindle function; traffic light cycle of light, yellow light flashes when the countdown seconds left warning. The system practical, simple, powerful extensions
Keywords: traffic light SCM MSC-51 timing
目錄
中文摘要 1
ABSTRACT 2
第一章單片機(jī)控制交通燈的背景 5
1.1交通燈的背景 5
1.1.1交通燈的歷史 5
1.1.2交通燈的出現(xiàn) 5
1.2單片機(jī)簡介 5
1.2.1單片機(jī)的發(fā)展歷程 5
1.2.2單片機(jī)的特點(diǎn) 6
1.2.3 MCS—51單片機(jī)內(nèi)部結(jié)構(gòu)有8大部分 6
1.2.4單片機(jī)的內(nèi)部結(jié)構(gòu)圖 9
第二章 單片機(jī)控制交通系統(tǒng)總體設(shè)計(jì) 10
2.1單片機(jī)交通控制系統(tǒng)通行方案設(shè)計(jì) 10
2.2單片機(jī)交通控制系統(tǒng)的功能要求 11
2.2.1倒計(jì)時(shí)顯示 11
2.2.2 車流量檢測及調(diào)整 12
2.2.3時(shí)間手動(dòng)設(shè)置 12
2.2.4 緊急處理 12
2.3單片機(jī)交通控制系統(tǒng)的基本構(gòu)成及原理 12
第三章 系統(tǒng)硬件電路的設(shè)計(jì) 14
3.1系統(tǒng)硬件總電路構(gòu)成及原理 14
3.1.1系統(tǒng)硬件電路構(gòu)成 14
3.1.2系統(tǒng)工作原理 14
3.1.3車流量檢測電路及模擬 16
3.1.4八段LED數(shù)碼管 17
3.3.4其它器件 18
第四章 系統(tǒng)軟件程序的設(shè)計(jì) 19
4.1程序主體設(shè)計(jì)流程 19
4.2子程序模塊設(shè)計(jì) 20
4.2.1按鍵掃描程序 20
4.2.2狀態(tài)燈顯示及判斷 21
4.2.3 LED倒計(jì)時(shí)顯示 22
4.2.4車流量檢測中斷服務(wù)子程序 22
4.2.5緊停及違規(guī)中斷服務(wù)子程序 22
4.2.6紅綠燈時(shí)間調(diào)整程序 23
4.2.7消抖動(dòng)程序 23
參考文獻(xiàn) 24
附錄A 25
致謝 30
TA們正在看...
- 高三生物第一輪復(fù)習(xí)dna結(jié)構(gòu)和復(fù)制非選擇題53題(包...doc
- xx市特殊教育提升計(jì)劃實(shí)施方案.doc
- xx市礦產(chǎn)資源總體規(guī)劃(2016-2020年).doc
- xxx市國民經(jīng)濟(jì)和社會(huì)發(fā)展十三五規(guī)劃.doc
- xxx市服務(wù)業(yè)“十三五”發(fā)展規(guī)劃.doc
- xxx市工業(yè)經(jīng)濟(jì)“十三五”發(fā)展規(guī)劃.doc
- xxx市農(nóng)業(yè)和農(nóng)村經(jīng)濟(jì)“十三五”發(fā)展規(guī)劃.doc
- xx市交通業(yè)“十三五”發(fā)展規(guī)劃.doc
- xx市財(cái)政收支“十三五”發(fā)展規(guī)劃.doc
- “學(xué)在xx”三年行動(dòng)計(jì)劃(2014—2016年).doc