freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

基于單片機的(數(shù)顯)交通燈控制系統(tǒng)設計--課程設計(留存版)

2025-08-04 16:34上一頁面

下一頁面
  

【正文】 DS_R 。緊急結束;跳轉 MOV P0,49H 。保護現(xiàn)場 PUSH PSW CLR IE0 。存儲交通燈狀態(tài) MOV P2,15H MOV 33H, 15H 。保護現(xiàn)場 PUSH PSW CLR TR0 。把顯示數(shù)據(jù)送人數(shù)碼管顯示 MOV B,10 DIV AB MOVC A,A+DPTR MOV P1,A 。上電轉主程序 ORG 000BH 。 基于單片機的(數(shù)顯)交通燈控制系統(tǒng)設計 14 參考文獻: 《 51單片機快速上手》 陳志旺 ﹑ 李亮等編著 機械工 業(yè)出版社 《單片機 MSC51原理及用開發(fā)教程》 晁 陽編著 清華大學出版社 《單片機原理與應用技術》 江 力主編 清華大學出版社 《 單片機原理、應用與 PROTEUS 仿真 》 張靖武 電子工業(yè)出版社 《 單片機的 C語言應用程序設計 》馬忠梅 馬凱編著 北京航空航天大學出版社 附錄 : 程序: 。 具體的延時程序分析: D5MS:MOV R7,5 延時 5ms 秒子程序 D1MS:MOV R7,10 MOV R6,50 L1: MOV R6,$ ; 延時 1ms 子程序 MOV R7,L1 RET MOV RN, DATA ; 字節(jié)數(shù)數(shù)為 2 , 機器周期數(shù)為 1 所以此指令的執(zhí)行時間為 2ms, 而 l1 為一個雙重循壞 循環(huán)次數(shù)為10*50=500 所以延時時間 =500*2=1000us 約為 1ms 。 相應程序代碼 (1)主程序 定時器需定時 50毫秒,故 T0 工作于方式 1。 ALE/ PROG———— :當訪問外部程序存儲器或數(shù)據(jù)存儲器時, ALE(地址鎖存允許)輸出脈沖用于鎖存地址的低 8位字節(jié)。 P0 口: P0口是一組 8 位雙向 I/ 0口。定時 /計數(shù)器 (ROM): 定時 /計數(shù)器用于實現(xiàn)定時和計數(shù)功能。在電源電路中,需要用到 +5V的直流穩(wěn)壓電源 ,主控電路的主要元件為 STC89C52。 關鍵詞:交通燈 單片機 數(shù)碼管 Abstract: In 1858, since the invention of primitive mechanical a wrench to the traffic lights, the more than a hundred years, the traffic lights changed to change the traffic and transport in their everyday lives as an important position, increasing social and economic development and the car has drastically increased, the roads are crowded, and the traffic lights more of its functions, the effective control, for otherwise, the road leading to improve the capability to reduce traffic accident is a notable In recent years, as technology evolved, eelctronic pieces also widely used, which are monolithic integrated circuits into the life of the people of the traffic lights. the simulation system as a core element of monolithic integrated circuits stc89c52 made by the light on the basis of regional traffic stream reality of the road conditions of the intelligent control. from the extent to solve the traffic congestion or vehicle parking at the waiting time is not reasonable, is a car with the problems. System has a simple structure, high reliability, costs and timely, and install safeguard it conveniently advantages of a wide application prospect. The analog systems it is monolithic integrated circuits software system, two of 8 the tube and the system led display. and unset control of electrical circuits, simulations, and the road. traffic control 基于單片機的(數(shù)顯)交通燈控制系統(tǒng)設計 4 隨著微控技術的日益完善和發(fā)展,單片機的應用在不斷走向深入。它的應用比定導致傳統(tǒng)的控制技術從根本上發(fā)生變革。硬件設計完成后還要利用計算機軟件經(jīng)行軟件部分的設計才能夠實現(xiàn)相應的功能。 STC89C52 共有 2 個 16 位定時 /計數(shù)器。 P0 口 即 可作 地址 /數(shù)據(jù)總線 使用,又可以作為通用的 I/O 口使用 。即使不訪問外部存儲器, ALE 仍以時鐘振蕩頻率的 1/ 6 輸出固定的正脈沖信號,因此它可對外輸出時鐘或用于定時目的。 XTAL1:振蕩器反相放大器及內部時鐘發(fā)生器的輸入端。 初值: TC= MT/ T 計數(shù) =2 16 - 50ms/1us=15536=3CBOH ORG 1000H INIT: MOV R2, 20 。由于單片機的運行速度很快其他的指令執(zhí)行時間可以忽略不計。工作寄存器及存儲單元分配 。定時中斷入口 LJMP DSZD ORG 0003H 。 LCALL D1MS MOV P3,0EFH 。關定時器及中斷標志位并重新賦值 CLR TF0 MOV TL0,0B0H MOV TH0,3CH DJNZ R2,DS_C 。是 ,點亮相應的交通燈 MOV P0,4CH MOV 32H,4CH 。點亮相應的交通燈 MOV 32H, 61H MOV P2,15H MOV 33H, 15H
點擊復制文檔內容
畢業(yè)設計相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1