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

正文內(nèi)容

基于51單片機數(shù)字時鐘-展示頁

2024-12-16 01:12本頁面
  

【正文】 .............................11 時鐘芯片 DS1302 的原理及應(yīng)用 ...................................................................... 12 時鐘芯片 DS1302 的結(jié)構(gòu)原理及控制字節(jié) ................................................. 12 DS1302 數(shù)據(jù)輸入輸出 (I/O)與寄存器 ........................................................... 14 LCD1602 的結(jié)構(gòu) 及工作原理 ............................................................................. 15 4 系統(tǒng)軟件設(shè)計 ..................................................................................................... 17 系統(tǒng)硬件組成及結(jié)構(gòu)框圖 ................................................................................. 17 系統(tǒng)軟件設(shè)計概述 ............................................................................................. 17 系統(tǒng)主程序設(shè)計 ................................................................................................. 18 時鐘芯片 DS1302 子程序設(shè)計 .......................................................................... 19 DS1302 初始化程序設(shè)計 ............................................................................... 19 iv CPU 讀 DS1302 程序設(shè)計 ............................................................................. 19 CPU 寫 DS1302 程序設(shè)計 ............................................................................. 21 時間調(diào)整子程序設(shè)計 ......................................................................................... 22 定時報警子程序設(shè)計 ......................................................................................... 24 5 系統(tǒng)調(diào)試 .............................................................................................................. 25 系統(tǒng)硬件調(diào)試 ..................................................................................................... 25 軟件調(diào)試 ............................................................................................................. 26 軟件編程環(huán)境 keil 介紹 ................................................................................ 26 軟件調(diào)試 ........................................................................................................ 29 利用下載編程軟件 STCISP 下載程序 ........................................................ 29 系統(tǒng)調(diào)試結(jié)果 ..................................................................................................... 32 6 結(jié)論 ........................................................................................................................ 33 參考文獻 ................................................................................................................... 35 致 謝 .............................................................................................. 錯誤 !未定義書簽。STC89C51 Microcontroller。該數(shù)字時鐘系統(tǒng)能夠長期、連續(xù)、可靠、穩(wěn)定地工作,同時系統(tǒng)還具有體積小、功耗低等特點,便于攜帶、使用方便。系統(tǒng) 的軟件程序主要包括 主程序、 DS1302 初始化程序、讀 DS1302 程序、寫 DS1302 程序 、 LCD1602 顯示程序、日期時間調(diào)整、定時報警等子程序 的 設(shè)計 。 該 系統(tǒng) 采用 51 系列 STC公司生產(chǎn)的 STC89C51 單片機 , 以及 DALLAS 公司 生產(chǎn) 的數(shù)字時鐘芯片DS1302,利用液晶顯示器 LCD1602 顯示數(shù)字時鐘的結(jié)果。 i 本科畢業(yè)設(shè)計 (論文 ) 題目: 基于 51 單片機的數(shù)字時鐘 系統(tǒng) 軟 件設(shè)計 i 基于 51 單片機的數(shù)字時鐘系統(tǒng)軟件設(shè)計 摘要 本文介紹了 一款 多功能數(shù)字時鐘系統(tǒng) 的軟件 設(shè)計。 該 系統(tǒng) 能夠顯示當(dāng)前日期、時間,并且 具有 日期、 時間設(shè)置 以及 鬧鐘等功能。 本 系統(tǒng) 的 軟件設(shè)計 使用 C 語言進行編程,利用目前流行的 Keil 軟件編程環(huán)境對源程序進行編譯。 該系統(tǒng)具有友好的用戶界面 、 操作簡單 、 性能穩(wěn)定。 關(guān)鍵詞 : DS1302數(shù)字時鐘 芯片 ; STC89C51單片機; LCD1602液晶顯示器 ; 軟件設(shè)計 ii Software Design of Digital Clock System Based on 51 MCU Abstract This article describes the multifunctional digital clock system software design. The system can display the current date, time, and has the date and time settings and the alarm clock functions. What is introduced in this article is about the software design of a digital clock system which is multifunctional. This system can display the present time and date, it also has function such as setting time and date or being used as an alarm clock. The system uses a STC89C51 microcontroller of the 51 series produced by the STC corporation and a DS1302 digital clock chip produced by the DALLAS corporation. It shows people how the digital clock goes with a liquid crystal display LCD1602. The software design of this system is programmed with the C programming language and the program is piled with the Keil software programming environment which is quite popular now. The software programs of the system mainly include the designs of some subroutines such as the DS1302 initialization program、 the DS1302 program of reading、 the DS1302 program of writing、 the LCD1602 display program、 adjustment of the date and time, timing alarm and so on. The system is provided with a friendly user interface、 simple operation and stable function. The digital clock system can work long、 continuously、 reliably and stable while it also has characteristics like small volume and low power consumption which allow people to use conveniently and take it with themselves easily. Key words: DS1302 digital clock chip。 LCD1602 liquid crystal displayer。 畢業(yè)設(shè)計(論文)知識產(chǎn)權(quán)聲明 .......................................... 錯誤 !未定義書簽。 附錄 A 系統(tǒng) Protel 電路圖 ............................................................................. 36 附錄 B 系統(tǒng)的 源程序 代碼 .............................................................................. 38 附錄 C 系統(tǒng)的源程序代碼 .............................................................................. 38 1 緒論 1 1 緒論 課題 研究的 背景 單片機自 1976 年由 Intel 公司推出 MCS48 開始,迄今已有二十多年了。單片機的應(yīng)用領(lǐng)域已從面向工業(yè)控制、通訊、交通、智能儀表等迅速發(fā)展到家用消費產(chǎn)品、辦公自動化、汽車電子、 PC 機外圍以及網(wǎng)絡(luò)通訊等廣大領(lǐng)域。另一種是將程序存儲器和數(shù)據(jù)存儲器截然分開,分別尋址的結(jié)構(gòu),一般需要較大的程序存儲器,目前的單片機以采用程序存儲器和數(shù)據(jù)存儲器截然分開的結(jié)構(gòu)為多。不僅能滿足所需要求,而且還有很多功能可供開發(fā),有著廣泛的應(yīng)用領(lǐng)域。這些廠家生產(chǎn)的芯片是 MCS51 系列的兼容產(chǎn)品,準(zhǔn)確地說是與MCS51 指令系統(tǒng)兼容的單片機。其功能和市場競爭力更強,不該把它們直接稱呼為 MCS51 系列單片機,因為 MCS只是 Intel 公司專用的單片機系列型號。它們的引腳及指令系統(tǒng)相互兼容,主要在內(nèi)部結(jié)構(gòu)上有些區(qū)別。 2 課題 研究的 意義 在日常生活和工作中,我們常常用到定時控制,如擴印過程中的曝光定時等。隨著單片機性能價格比的不斷提高,新一代產(chǎn)品的應(yīng)用也越來越廣泛,大可構(gòu)成復(fù)雜的工業(yè)過 程控制系統(tǒng),完成復(fù)雜的控制功能,小則可以用于家電控制,甚至可以用于兒童電子玩具。 隨著電子技術(shù)的飛速發(fā)展,家用電器和辦公電子設(shè)備逐漸增多,不同的設(shè)備都有自己的控制器,使用起來很不方便。這種具有人們所需
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1