【正文】
minate of machine chip to tremble electric circuit especially, avoided system because of importation the signal tremble movable property to living a mistake operation。s 0 people39。s sidewalk, orderly. So depend what to carry out this well arranged order? What to depend is a traffic sign light of automatic conductor system. The control method of the traffic sign light is a lot of. This design is mainly divided into five greatest molds a piece the electric circuit, clock of the importation control a control outside procedure inside the electric circuit, slice to cut over a control and shows electric circuit. Take single slice the machine IntelAT89 C51 of the serieses MSC51s as a center spare part to design transportation light controller, carried out the AT89 C5139。以 MSC51系列單片機 IntelAT89C51 為中心器件來設計交通燈控制器,實現(xiàn)了 AT89C51芯片的 P0口設置紅燈、綠燈、黃燈燃亮時間的功能;為了系統(tǒng)穩(wěn)定可靠采用了 74LS14施密特觸發(fā)器芯片的消抖電路,避免了系統(tǒng)因輸入信號抖動產(chǎn)生誤操作;顯示時間直接通過 AT89C51 的 P2 口輸出,由 CD4511驅(qū)動 LED 數(shù)碼管顯示紅燈燃亮時間。交通信號燈控制方式很多。安徽工商職 業(yè)學院 畢業(yè)設計說明書 1 安徽工商職業(yè)學院 ANHUI BUSINESS VOCATIONAL COLLEGE 畢業(yè)設計(論文 ) 基于單片機控制的交通燈畢業(yè)設計 系 別 : 電子信息系 專業(yè)班級: 10 應用電子技術(shù) 2 班 學 號 : 103596 學生姓名: 吳坤 指導老師: 聶凱 二零一二年十月 安徽工商職 業(yè)學院 畢業(yè)設計說明書 2 基于單片機控制的交通燈畢業(yè)設計 摘 要 十字路口車輛 穿梭,行人熙攘,車行車道,人行人道,有條不紊。那么靠什么來實現(xiàn)這井然秩序呢?靠的是交通信號燈的自動指揮系統(tǒng)。本設計主要分為五大模塊輸入:控制電路、時鐘控制電路、片內(nèi)外程序切換控制、顯示電路。 關鍵字 : AT89C51 LED 顯示 交通燈 安徽工商職 業(yè)學院 畢業(yè)設計說明書 3 The Traffic Light Based On The Singlechip Control Abstract The intersections vehicle wears shuttle, pedestrian Xi Rang, garage driveway, person39。s P39。s constitution of the chips red, the function in bright time of green light, Huang2 Deng Ran2。 The P 2 people who shows that time directly passes the AT89 C51 output, is driven LED figures a tube by the CD4511 to show redlight Ran bright time. Key word: The AT89 C51 LED show transportation light 安徽工商職 業(yè)學院 畢業(yè)設計說明書 4 目 錄 摘 要 ........................................................ 2 ABSTRACT ..................................................... 3 前 言 ........................................................ 5 一、工程簡介 .................................................. 6 (一)、概述 ...................................................... 6 (二 )、 工藝 流程圖 ............................................. 7 二、工程設計 .................................................. 7 (一)、控制 方案的確定 ........................................... 7 (二)、硬件部分 ................................................. 8 ( 1)、交通燈控制系統(tǒng)的硬件設計 .................................. 8 ( 2)、硬件系統(tǒng)的設計具備以下原則 ......................... 8 ( 3) 、硬件結(jié)構(gòu)框圖 (如圖 3所示) ................................ 8 ( 4) 、交通燈控 制系統(tǒng)的原理框圖 (如圖 4所示) .................... 8 ( 5)、 8279 的結(jié)構(gòu)及引腳功能 ..................................... 12 (三 )、軟件部分 ................................................. 16 ( 1)、延時子程序的計算 ..................................... 17 ( 2)、流程圖 (如圖 8 所示) ................................. 17 三、系統(tǒng)的試調(diào)運行 ........................................... 18 (一)、 硬件調(diào)試 .............................................. 18 ( 1)、靜態(tài)調(diào)試 ........................................... 18 ( 2)、動態(tài)調(diào)試 ........................................... 18 四、系統(tǒng)設計及總結(jié)特點 .................................... 19 致 謝 ...................................................... 20 參考文獻 ........