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

正文內(nèi)容

畢業(yè)設(shè)計(jì)-基于at89c52單片機(jī)數(shù)字時(shí)鐘設(shè)計(jì)-wenkub.com

2025-11-19 19:37 本頁面
   

【正文】 } write_sfm(7,fen)。 if(fen==60) { fen=0。 if(count==20) { count=0。 while(1) { keyscan()。 if(shi==1) shi=23。 if(fen==1) fen=59。 if(miao==1) miao=59。 } } } if(s3==0) { delay(5)。 } if(slnum==3) { shi++。 } if(slnum==2) { fen++。 if(slnum==1) { miao++。 TR0=1。 } if(slnum==2) { write_(0x80+0x40+7)。 di()。 TR0=1。 TH0=(6553650000)/256。 write_sfm(10,miao)。 write_date(39。:39。num++) { write_date(table[num])。 delay(5)。 } delay(3000)。 } for(num=0。 for(num=0。num16。 write_(0x06)。 count=0。 lcden=0。 write_(0x80+0x40+add)。 lcden=0。 P0=date。 delay(5)。 lcden=0。 } void di() { beep=0。x0。 uchar code table1[]=jinggangshandaxu。 sbit beep=P3^3。 sbit lcden=P3^4。 現(xiàn)代科學(xué) 技術(shù)的飛速發(fā)展,改變了世界,也改變了我們的生活。 在此特別感謝 程婭荔 老師的大力幫助。為以后對(duì)單片機(jī)的理論設(shè)計(jì)有了一段實(shí)踐的基礎(chǔ)。明確了設(shè)計(jì)要求,并詳細(xì)說明了 電路硬件的設(shè)計(jì)思路。從仿真結(jié)果看,系統(tǒng)滿足設(shè)計(jì)要求。根據(jù)仿真過程中出現(xiàn)的問題修改源程序,重新編譯,生成新的 hex 文件。 Proteus的界面友好易學(xué),在調(diào)試程序、軟件仿真方面有很強(qiáng)大的功能。它不僅具有其它EDA工具軟件的仿真功能,還能仿真單片機(jī)及外圍器件。然后分別由 C51 及 C51 編譯器編譯生成目標(biāo)文件 (.OBJ)。在開發(fā)大型軟件時(shí)更能體現(xiàn)高級(jí)語言的優(yōu)勢(shì)。另外重要的一點(diǎn),只要看一下編譯后生成的匯編代碼,就能體會(huì)到 Keil C51 生成的目標(biāo)代碼效率非常之高,多數(shù)語句生成的匯編代 碼很緊湊,容易理解。 結(jié)構(gòu)圖如下: 晶振電路 振蕩為 12MHz 理論上時(shí)間誤差為零 結(jié)構(gòu)圖如下: 第 4 章 程序設(shè)計(jì) 程序設(shè)計(jì)思路 查找文獻(xiàn),努力學(xué)習(xí)好編程和單片機(jī),確定結(jié)構(gòu)和思路,然后編輯各個(gè)模塊的程序,在綜合各程序完整程序。并分為三個(gè)模塊:輸入部分,輸出部分,振蕩電路。開機(jī)時(shí)會(huì)自動(dòng)運(yùn)行,并移屏顯示jinggangshandaxue 07dianxinben 等字符。片內(nèi)置通用 8 位中央處理器和 Flash 存儲(chǔ)單元。這些方法都各有特點(diǎn), 其中,利用單片機(jī)實(shí)現(xiàn)的電子鐘具有編程靈活, 便于功能擴(kuò)充, 精確度高等特點(diǎn)。不僅如此,在現(xiàn)代化的進(jìn)程中,也離不開電子鐘的相關(guān)功能和原理,比如機(jī)械手的控制、家務(wù)的自動(dòng)化、定時(shí)自動(dòng)報(bào)警、按時(shí)自動(dòng)打鈴、時(shí)間程序自動(dòng)控制、定時(shí)廣播、自動(dòng)起閉路燈、定時(shí)開關(guān)烘箱、通斷動(dòng)力設(shè)備、甚至各種定時(shí)電氣的自動(dòng)啟用等,所有這些,都是以鐘表數(shù)字化為基礎(chǔ)的。 數(shù)字時(shí)鐘系統(tǒng)可采用數(shù)字電路實(shí)現(xiàn),也可以采用單片機(jī)來完成?;趩纹瑱C(jī)設(shè)計(jì)的數(shù)字鐘精確度較高, 因?yàn)樵诔绦虻膱?zhí)行過程中, 任何指令都不影響定時(shí)器的正常計(jì)數(shù),即便程序很長(zhǎng)也不會(huì)影響中斷的時(shí)間。因?yàn)槠湫∏傻捏w積,低功耗,以及高效的性能,單片機(jī)受到了大家的歡迎。近 幾年,單片機(jī)在各個(gè)領(lǐng)域得到廣泛的應(yīng)用。單片機(jī)具有體積小、功能多、價(jià)格低廉、使用方便、系統(tǒng)設(shè)計(jì)靈活等優(yōu)點(diǎn)。 (4) 第四階段 (1990—):微控制器的全面發(fā)展階段。 4) 指令系統(tǒng)趨于豐富和完善,并且增加了許多突出控制功能的指令。 1) 完善的外部總線。這就是 SCM 的誕生年代, “單片機(jī) ”一詞即由此而來。自單片機(jī)誕生至今,已發(fā)展為上百種系列的近千個(gè)機(jī) 種。s daily life, and with the singlechip microputer technical principal , and by considering the AT89S52 singlechip puter as the core controller as well as the design of hardware circuit and the programming of software, a digital clock system can be designed and made This paper mainly introduces a method based on AT89C52 single chip puter and 1062 LCD digital clock, has six operation is simple, show clear, powerful features. There are three key, can you adjust the function of when checking. This circuit system adapts the AT89C52 singlechip puter as core, which has the advantage of low power. Therefore, it can work under the circumstance of low voltage of 5 , This design uses the Keil for ARM piling system , which now is used widely. Compared with ADS piler system, Keil piler system does not require a template pilation, and generates boot file automatically, as well as Keil for Arm piling systems can align with Proteus, this advantage is very practical in virtual development. In this paper, hardware to process, singlechip puter controller and the microprocessor program are designed. Finally, the simulation result in Proteus is satisfactory. [Key word] : AT89C52 singlechip puter。 本設(shè) 計(jì)采用的 Keil 編譯系統(tǒng)是現(xiàn)在使用比較多的 ARM 編譯系統(tǒng)。本文基于單片機(jī)技術(shù)原理,以單片機(jī) AT89
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1