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

正文內(nèi)容

數(shù)字時(shí)鐘的課程設(shè)計(jì)--基于單片機(jī)的數(shù)字時(shí)鐘-wenkub

2023-06-14 14:00:28 本頁(yè)面
 

【正文】 第 7 頁(yè) 共 26 頁(yè) 圖 32 AT89S52 內(nèi)部結(jié)構(gòu) 單片機(jī)最小系統(tǒng)電路介紹 單片機(jī)最小系統(tǒng)主要由復(fù)位電路,晶振電路,電源等幾部分組成。 ⑥ : T1,計(jì)時(shí)計(jì)數(shù)器 1 輸入。 ② : TXD,串行通信輸出。 ( 11) PORT1( ~ ):端口 1 也是具有內(nèi)部提升電路的雙向 I/O 端口,其輸出緩沖器可以推動(dòng) 4 個(gè) LS TTL 負(fù)載,同樣地若將端口 1 的輸出設(shè)為高電平,便是由此端口來(lái)輸入數(shù)據(jù)。如果當(dāng) EA引腳為低電平時(shí)(即取用外部程序代碼或數(shù)據(jù)存 第 6 頁(yè) 共 26 頁(yè) 儲(chǔ)器), P0就以多工方式提供地址總線( A0~ A7)及 數(shù)據(jù)總線( D0~ D7)。 ( 8) PSEN:此為 Program Store Enable的縮寫(xiě),其意為程序儲(chǔ)存啟用,當(dāng) 8051被設(shè)成為讀取外部程序代碼工作模式時(shí)( EA=0),會(huì)送出此信號(hào)以便取得程序代碼,通常這支腳是接到 EPROM 的 OE腳。 ( 7) ALE/PROG: ALE是英文 Address Latch Enable的縮寫(xiě),表示地址鎖存器啟用信號(hào)。 ( 6) EA/Vpp: EA為英文 External Access的縮寫(xiě),表示存取外部程序代碼之意, 低電平動(dòng)作,也就是說(shuō)當(dāng)此引腳接低電平后,系統(tǒng)會(huì)取用外部的程序代 碼(存于外部 EPROM 中)來(lái)執(zhí)行程序。 第 5 頁(yè) 共 26 頁(yè) ( 2) VSS:電源地端。 單片機(jī)性能與特點(diǎn) ( 1) AT89S52 為 ATMEL 所生產(chǎn)的一種低功 耗、高性能 CMOS8 位微控制器,具有 8K在系統(tǒng)可編程 Flash存儲(chǔ)器。它的應(yīng)用范圍廣泛,具備很強(qiáng)的數(shù)據(jù)處理能力,不僅僅是在軟件開(kāi)發(fā)上,而且各類(lèi)科研都需要用到 C語(yǔ)言,適于編寫(xiě)系統(tǒng)軟件,三維 、 二維圖形和動(dòng)畫(huà),具體應(yīng)用比如單片機(jī)以及嵌入式系統(tǒng)開(kāi)發(fā)。片上 Flash允許 程序存儲(chǔ)器 在系統(tǒng)可編程,亦適于常規(guī)編程器。 AT89S52 外接 LCD1602 顯示電路、按鍵電路、晶振電路、復(fù)位電路、電源以及按鍵電路構(gòu)成設(shè)計(jì)框圖。 三種方案相比較,方案三使用芯片過(guò)多,線路繁瑣,方案二顯示電路需要多個(gè)三極管輔助驅(qū)動(dòng),電路復(fù)雜,相比之下,方案一 LCD1602顯示電路、驅(qū)動(dòng)程序都相對(duì)簡(jiǎn)單,所以本設(shè)計(jì)選擇了方案一。 本時(shí)鐘還具有環(huán)保、走時(shí)無(wú)噪音、低功耗等非實(shí)時(shí)時(shí)鐘不具有的功能。從前必須由模擬電路或數(shù)字電路實(shí)現(xiàn)的大部分功能,現(xiàn)在已能用單片機(jī)通過(guò)軟件方法來(lái)實(shí)現(xiàn)了?,F(xiàn)代生活的人們?cè)絹?lái)越重視了時(shí)間觀念,可以說(shuō)是時(shí)間和金錢(qián)劃上了等號(hào)。 單片機(jī)性能與特點(diǎn) ......................................................................................... 8 單片機(jī)的引腳及內(nèi)部結(jié)構(gòu) ............................................................................... 9 單片機(jī)最小系統(tǒng)電路介紹 ................................................................................................ 9 LCD1602 顯示電路 ............................................................................................................. 9 4 軟件設(shè)計(jì)部分 ............................................................................... 錯(cuò)誤 !未定義書(shū)簽。 計(jì)時(shí)方案 ........................................................................................... 錯(cuò)誤 !未定義書(shū)簽。硬件是整個(gè)系統(tǒng)的基礎(chǔ),軟件部分則要合理、充分地支持和使用系統(tǒng)的硬件,從而完成系統(tǒng)所要完成的任務(wù)。軟件部分在 keil環(huán)境下用 C51語(yǔ)言編寫(xiě),包括時(shí)間顯示、時(shí)間校對(duì)。它可以實(shí)現(xiàn)對(duì)年、月、日、星期、時(shí)、分、秒進(jìn)行計(jì)時(shí)等多種功能。數(shù)字時(shí)鐘采用直觀數(shù)字顯示,還具有時(shí)間校準(zhǔn)等功能。 基于單片機(jī)技術(shù)原理,以單片機(jī)芯片 AT89C52作為核心控制器,通過(guò)硬件電路的制作以及軟件程序的編制,設(shè)計(jì)制作出一個(gè)簡(jiǎn)易數(shù)字時(shí)鐘系統(tǒng)。 關(guān)鍵詞: 單片機(jī) AT89S52;液晶顯示 1602;按鍵 Abstract Electronic clock is a very extensive daily timing tool , more and more popular in modern society . It can be achieved on the year, month , date, day , hour, minute , seconds chronograph and other functions . Intuitive digital display digital clock , also has a time calibration functions. This circuit uses AT89S52 microcontroller as the core , low power consumption , can work in lowvoltage 3V voltage can choose 3 ~ 5V voltage supply. The hardware of the system by the AT89S52 microcontroller , some 1062 LCD monitor, keyboard , buzzer systems and other accessories. Software part in keil environment with C51 language, including the time display, time proofreading. Based on the principle of singlechip technology , chip AT89C52 microcontroller as the core controller , and a software program produced by the preparation of the hardware circuit , designed to create a simple digital clock system. Singlechip LCD display is used to display the extended seconds, minutes , hours, day, date, month, year counting unit value. The whole design consists of two parts: hardware and software ponents , microcontroller as the core , with some peripheral circuits and software. Hardware is the foundation of the entire system, the software part will have reasonable and adequate to support the use of systems and hardware ,thus pleting the system to plete the task . Keywords: Microcontroller AT89S52。 控制芯片的選擇 ....................................... 錯(cuò)誤 !未定義書(shū)簽。 軟件編程思路 .................................................................................................................... 9 電路的仿真 ........................................................................................................................ 9 仿真原理圖 ..................................................................................................... 10 仿真結(jié)果 ..........................................................................................................................10 電 路調(diào)試 .............................................................................................................................................10 硬件調(diào)試 ..........................................................................................................................................10 軟件調(diào)試 ..........................................................................................................................................10 5 結(jié)論 ...................................................................................................................................10 謝 辭 .....................................................................................................................................10 參考文獻(xiàn) ................................................................................................................................12 附 錄 ........................................................................................................................................................13 附錄一:原理圖 ...................................................................................................................................13 附錄二: PCB圖 ....................................................................................................................................14 附錄三:程序代碼 ...................................................................
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1