【正文】
構(gòu)造與參數(shù)。輸入直流電壓VCC為5V,通過(guò)51芯片的P0口設(shè)置紅、綠燈燃亮?xí)r間的功能;P1口控制紅綠燈循環(huán)點(diǎn)亮,倒計(jì)時(shí)剩5秒時(shí)黃燈亮警示。為此我結(jié)合自身在學(xué)校多年學(xué)到的電子電路知識(shí),選擇使用AT89S51芯片作為基礎(chǔ),結(jié)合部分外圍電路來(lái)實(shí)現(xiàn)基于單片機(jī)的可控交通燈系統(tǒng)。本系統(tǒng)采用AT89S51單片機(jī)為中心器件來(lái)設(shè)計(jì)交通燈控制器,實(shí)現(xiàn)了能通過(guò)51芯片的P0口設(shè)置紅、綠燈燃亮?xí)r間的功能;P1口控制紅綠燈循環(huán)點(diǎn)亮,倒計(jì)時(shí)剩5秒時(shí)黃燈亮警示。那么靠什么來(lái)實(shí)現(xiàn)這井然秩序呢?靠的就是交通信號(hào)燈指揮系統(tǒng)。1 概述 本次課程設(shè)計(jì)是基于單片機(jī)的可控交通燈系統(tǒng)。由學(xué)生自己選題、查閱文獻(xiàn)、設(shè)計(jì)實(shí)驗(yàn)方案,在教師指導(dǎo)下完成實(shí)驗(yàn)。對(duì)電子信息工程專業(yè)來(lái)說(shuō),如何把自己學(xué)到的知識(shí)變?yōu)楝F(xiàn)實(shí),提高自己的動(dòng)手能力變得尤為重要。 traffic light目 錄引言 …………………………………………………………………………………………31 概述 ……………………………………………………………………………………3 課題引入 ………………………………………………………………………………3 課題描述 ………………………………………………………………………………3 設(shè)計(jì)任務(wù) ………………………………………………………………………………32 基于單片機(jī)的可控交通燈系統(tǒng)設(shè)計(jì)方案 ………………………………………3 主要元器件介紹…………………………………………………………………………3 AT89S51芯片介紹……………………………………………………………………3 部分電路功能…………………………………………………………………………8 方案分析 ………………………………………………………………………………9 電路設(shè)計(jì) ………………………………………………………………………………9 軟件設(shè)計(jì)………………………………………………………………………………103 結(jié)論……………………………………………………………………………………14謝辭 ………………………………………………………………………………………15參考文獻(xiàn) …………………………………………………………………………………16 引言隨著社會(huì)科技、經(jīng)濟(jì)的高速發(fā)展,人才競(jìng)爭(zhēng)越來(lái)越激烈,如何成為具有創(chuàng)新能力的高素質(zhì)人才已經(jīng)成為當(dāng)今大學(xué)生的的當(dāng)務(wù)之急。關(guān)鍵詞:?jiǎn)纹瑱C(jī);AT89S51;交通燈AbstractFor Electronic and Information Engineering, how to put their acquired knowledge into reality, to improve their practical ability bees particularly important. This course is designed to create a controllable trafficlight system which base MCU(AT89S51). A good controllable trafficlight system can be a technological innovation of road congestion, illegal control and other AT89S51 as the main part, bined with part of the peripheral circuits, the use of DXP software as a supplement to weld the copper on the circuit design. function of the system: green light for 20 seconds , the yellow light for 5 seconds, and then the red light 25 seconds in each intersect