【正文】
( b)看門狗電路連接 模式選擇電路 針對不同交通路口顯示要求,有 99 s, 40 s, 20 s, 10 s 倒計時顯示方式,采用平撥型撥碼開關(guān)來實現(xiàn)模式選擇。 3 系統(tǒng)軟件設(shè)計 根據(jù)有關(guān)規(guī)定,當(dāng)?shù)缆方煌ㄐ盘柨刂茩C開機、信號周期發(fā)生改變或者道路交通信號控制機由自動控制轉(zhuǎn)入手動控制時,學(xué)習(xí)式倒計時應(yīng)進(jìn)入學(xué)習(xí)狀態(tài)。學(xué)習(xí)狀態(tài)的時間及顯示應(yīng)不超過 2 個信號周期,在學(xué)習(xí)期間倒計時器應(yīng)顯示黑屏。當(dāng)?shù)缆方煌ㄐ盘柨刂茩C中斷輸出或轉(zhuǎn)入黃閃控制后,倒計時器應(yīng)能在當(dāng)前信號相位結(jié)束時間內(nèi)顯示黑屏。 針對以上要求,采用 C 語言編寫了相應(yīng)控制軟件。系統(tǒng)能學(xué)習(xí)信號燈時間,學(xué)習(xí)期間黑屏 ,在 相應(yīng)信號亮?xí)r段內(nèi)顯示相應(yīng)倒計時時間,在黃燈亮?xí)r關(guān)閉顯示。能通過撥碼開關(guān)選擇不同顯示模式。中斷子程序完成紅、綠燈時間的計時學(xué)習(xí)功能和顯示倒計時功能。 原文: Studying Method Counting Down Display Unit Based on MCU ZHANG Guohua, ZHANG Chi, WU Dongfang [literature source] Coal technology, Coal Technology, editorial department mailbox in 2020 05 issues Abstract:Introduces a learning style based on STC10F04XE countdown controller, the controllerhas advantages of simple structure and reliable work. Hardware built around the STC10F04XEby the microcontroller I/O port control signal is given, the driver countdown display. Accordingto the characteristics of studying method counting down display, the preparation of theinstruction in order to achieve the required system operation functions. Key words:MCU。 studying method。 counting down 0 foreword traffic signal control goes on a journey regarding the people have the vital significance, but the countdown may remind the people surplus time, attention street intersection traffic condition. The countdown display monitor coordination signal instruction lamps and lanterns use, uses in the urban four corners demonstrating that the current path passes through the exact time which the stagnation or leads the way, the convenient people prepare for the stop and vanguard, is suitable in the town road intersection, highway, high structure bridge and so on. 1 countdown introduction road traffic countdown may divide into 2 broad headings according to the control type, one kind is the study type co