【正文】
Abstract Permeate in the social realm along with the calculator in recent years,single slice the application of the machine just at constantly alignment thorough,arouse a traditional control an examination a day a new moon benefit renewal in the solidly the hour the examination the single slice that controls with auto the machine the application the system,slice machine usually Be a core parts to use,only single slice the machine aspect knowledge is not enough,return should according to concrete the hardware structure,and aim at concrere application the sofwatre of the object characteristics bine to make perfect. Imitating many passage pressure systemses is to make use of presure to spread the feeling machine to collect current pressure bine the reflection is on tne display,it can analyze the pressure surfeit distance,erupting to report to the the adoption electronics steelyard principle can according to input the amount of money that the unit price pures an object thesis discuss that pour the design and creation of the timer in brief,for pour LED figures displays in the timer to say,I an for the sake of the simpification circuit,decline low cost,adopt to take software as connect of lord a people’s methdo,do not use specialized hardwate to translate the code machine namely,but adopt the software procedure to carry on translating code. 【 Keyword】 single slice machine。The LEDfigure tube display。Crystal Oscillactor 一、原理設(shè)計(jì) AT89C51 是一種帶 4K 字節(jié)閃爍可編程可擦除只讀存儲(chǔ)器( FPEROM— Flash Programmable and Erasable Read Only Memory)的低電壓,高性能 CMOS 8 位微處理器,俗稱單片機(jī)。 ( 2) GND:接地。當(dāng) P1 口的管腳第一次寫 1 時(shí),被定義為高阻輸入。在 FIASH 編程時(shí), P0 口作為原碼輸入口,當(dāng) FIASH 進(jìn)行校驗(yàn)時(shí), P0 輸出原碼,此時(shí) P0 外部必須被拉高 。 P1 口管腳寫入 1 后,被內(nèi)部上拉為高,可用作輸入, P1 口被外部下拉為低電平時(shí),將輸出電流,這是由于內(nèi)部上拉的緣故。 ( 5) P2 口: P2 口為一個(gè)內(nèi)部上拉電阻的 8 位雙向 I/O 口, P2 口緩沖器可接收,輸出 4 個(gè) TTL 門電流,當(dāng) P2 口被寫“ 1”時(shí),其管腳被內(nèi)部上拉電阻拉高,且作為輸入。這是由于內(nèi)部上拉的緣故。在給出地址“ 1”時(shí),它利用內(nèi)部上拉優(yōu)勢(shì),當(dāng)對(duì)外部八位地址數(shù)據(jù)存儲(chǔ)器進(jìn)行讀寫時(shí), P2 口輸出其特殊功能寄存器的內(nèi)容。 ( 6) P3 口: P3 口管腳是 8 個(gè)帶內(nèi)部上拉電阻的雙向 I/O 口,可接收輸出 4個(gè) TTL門電流。作為輸入,由于外部下拉為低電平, P3 口將輸出電流( ILL)這是由于上拉的緣故。當(dāng)振蕩器復(fù)位器件時(shí),要保持 RST 腳兩個(gè)機(jī)器周期的高電平時(shí)間。在 FLASH 編程期間,此引腳用于輸入編程脈沖。因此它可用作對(duì)外部輸出的脈