【正文】
單片機(jī)原理及系統(tǒng)課程設(shè)計 專 業(yè): 電氣工程及其動化 班 級: 電氣 1003 姓 名: 趙 斌 學(xué) 號: 202109202 指導(dǎo)教師: 閔永智 蘭州交通大學(xué)自動化與電氣工程學(xué)院 2021 年 3 月 15 日 評語: 考勤( 10) 守紀(jì)( 10) 過程( 40) 設(shè)計報告( 30) 答辯( 10) 總成績( 100) 單片機(jī)原理及系統(tǒng)課程設(shè)計報告 1 基于 51 單片機(jī)的交通燈設(shè)計 摘要 隨著人們社會活動的日益頻繁,交通在人們的日常生活中的地位越來越高,而傳統(tǒng)的交通燈存在很多缺陷,功能和維護(hù)上都不能滿足城市交通道路高速發(fā)展的要求, 因此對交通燈的研究是很有理論與實(shí)踐的必要性的。 本文主要介紹了一個基于 AT89C51 單片機(jī)的交通燈信號控制系統(tǒng),詳細(xì)描述了利用 AT89C51 單片機(jī)實(shí)現(xiàn)的 硬件連接、軟件編程以及系統(tǒng)流程進(jìn)行了詳盡分析,對關(guān)鍵部分的電路也進(jìn)行了介紹。該系統(tǒng)利用了單片機(jī)的延時電路、按鍵復(fù)位電路、時鐘電路等電路,可以方便地實(shí)現(xiàn) 十字路口交通燈控制器的設(shè)計。 仿真結(jié)果表明,該系統(tǒng) 除了可以顯示交通燈各種狀態(tài),完成倒計時功能,還可以實(shí)時采集車流量相關(guān)數(shù)據(jù),進(jìn)行計算與 智能化 控 制 ,與傳統(tǒng)交通燈相比更 具有 實(shí)用性強(qiáng)、操作簡單、擴(kuò)展性強(qiáng)等優(yōu)點(diǎn), 對于疏導(dǎo)交通流量、提高道路通行能力有明顯效果 。 關(guān)鍵字 : AT89C51 控制系統(tǒng) ; 實(shí)時采集 ; 智能化控制 Abstract As people39。s social activities have bee increasingly frequent, the position of traffic is higher and higher in people39。s daily life, while the traditional traffic light has many defects, its maintenance can not meet the rapid development of city traffic demand, so the research of the traffic lights is necessary on a rational theory and practice. This paper introduces a traffic signal control system based on AT89C51 microcontroller which detailedly described the use of AT89C5139。s hardware connection, software programming and system flow, the circuit of key parts were also introduced in this paper. The system uses a delay circuit, SCM button reset circuit and clock circuit designed the crossroads traffic light controller easily. The simulation results show that, except that the system can show the various states of the traffic lights, plete the countdown function, it also can collect traffic data, calculation and intelligent control. Compared with traditional traffic light it has more strong practicability, more simple operation, expansion and stronger advantages, it has obv