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

正文內(nèi)容

智能交通燈設(shè)計(jì)-畢業(yè)設(shè)計(jì)-文庫(kù)吧資料

2025-07-05 02:43本頁(yè)面
  

【正文】 1。 smg1=1。 delayms(3)。 P0=table2[(djs1)/10]。 smg3=1。 P0=0X00。 smg1=0。 smg4=1。 smg2=1。 //定義西向紅燈端口 W_yellow=0。 //定義北向黃燈端口 W_green=1。 //定義北向綠燈端口 N_red=0。 //定義西向紅燈端口 W_yellow=1。 //定義北向黃燈端口 W_green=0。 //定義北向綠燈端口 N_red=0。 } } else { biao1=0。 if(!ceju1) { if(biao1==0) { jishu1++。 } } if(flag1==1)//東西通行 { if(!ceju2) speaker=0。 djs=timew。 else timeb=31。 if(djs==0) { if(jishu230) timeb=51。 smg4=0。 smg2=1。 smg1=1。 delayms(3)。 P0=table1[(djs1)%10]。 smg2=1。 P0=0X00。 smg2=0。 smg4=1。 smg1=1。 delayms(3)。 P0=table2[(djs1)%10]。 smg3=1。 //定義西向黃燈端口 } P0=0X00。 //定義西向綠燈端口 W_red=0。 //定義北向紅燈端口 N_yellow=0。 //定義西向黃燈端口 } else { N_green=1。 //定義西向綠燈端口 W_red=0。 //定義北向紅燈端口 N_yellow=1。 } if(djs=7) { N_green=0。 biao2=1。 else speaker=1。 djs=timeb。 SM1=1。 REN=1。 TL1=0xfd。 //定時(shí)器0初始化 TMOD=0x21。 djs。 //重新賦高地位初值 js++。 TH0=0x4c。 djs=timeb。 flag1=0。 biao1=0。 }void condition_init(){ jishu1=0。 biao2=0。 jishu2=0。 // 東西黃燈 P0=0x00。 // 東西綠燈 W_red=1。 // 南北紅燈 N_yellow=1。 }void led_init(){ N_green=1。 // 東西紅燈 W_yellow=1。 // 南北黃燈 W_green=0。 // 南北綠燈 N_red=1。 //開中斷 EA=1。 //賦初值低位 TR0=1。 //定義定時(shí)器0工作模式 TH0=0x4c。 }}void Timer0_init(){ js=0。i0。 //東西方向共陰極數(shù)碼管段值void delayms(int x){char i。//南北測(cè)距標(biāo)志unsigned char code table1[]={0xfd,0x18,0x57,0x5e, 0x3a,0x6e,0x6f,0x58, 0x7f,0x7e}。//按下按鍵為1退出后為0uchar biao1=0。 //為0是南北通行為1是東西通行uchar djs。//南北通行時(shí)間uchar timew=31。//東西計(jì)數(shù)uchar jishu2=0。int js=0。 //東西測(cè)距sbit ceju2=P1^5。//全部黃燈亮sbit key6=P3^5。//南北綠燈東西紅燈sbit key4=P3^3。//全部亮紅燈sbit key2=P3^7。 // 東西紅燈sbit W_yellow=P1^1。 // 南北黃燈 sbit W_green=P1^2。 // 南北綠燈sbit N_red=P2^5。 //東西個(gè)位sbit smg2=P2^3。 // 南北個(gè)位sbit smg4=P1^3。2.元器件的焊接焊接是電路板中重要的一部分,焊接的質(zhì)量直接影響整個(gè)系統(tǒng)的性能,因此,必須有良好的焊接,在焊接時(shí)首先姿勢(shì)放好,檢查元器件是否緊貼與整齊,先焊接矮的元件,再焊接高的元件,對(duì)焊接的時(shí)間,焊量的多少都應(yīng)做好控制,一般一個(gè)焊點(diǎn)的焊接時(shí)間在2秒左右,其次,在焊接完成時(shí),應(yīng)仔細(xì)檢查線路是否正確,然后用萬(wàn)用表等工具檢測(cè)每條線路是否連通,對(duì)不好的焊點(diǎn)重汗,確保整個(gè)系統(tǒng)的質(zhì)量。 Electronic Engineering [Abstract] in modern society, traffic lights are an important part of the traffic system, and a lot of traffic lights have some defects, the lights of a lot of time is fixed, reducing the efficiency of the traffic operation. This paper takes the middle and small city as the research object, bined with the single chip microputer application technology and traffic engineering foundation, the intelligent traffic light system has been studied. In this paper, the traffic lights control system using STC89C51 MCU, the system collected in a certain period of time through the traffic, according to the size of the traffic flow and change the time of traffic lights. The system has the characteristics of strong antiinterference ability, low cost, intelligent control and so on.[Key words] traffic light Traffic detection The countdown Intelligent control 附錄I 系統(tǒng)原理圖圖19 系統(tǒng)總原理圖附錄II 元器件安裝與焊接1.元器件的安裝 在電路板上安裝元器件,對(duì)元器件的擺放有一定的規(guī)則,整個(gè)電路板應(yīng)該整潔美觀,元器件有立式、貼式等放置方法,對(duì)于不
點(diǎn)擊復(fù)制文檔內(nèi)容
電大資料相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1