需要金幣:![]() ![]() |
資料包括:完整論文 | ![]() |
![]() |
轉(zhuǎn)換比率:金額 X 10=金幣數(shù)量, 例100元=1000金幣 | 論文字?jǐn)?shù):11705 | ![]() | |
折扣與優(yōu)惠:團(tuán)購(gòu)最低可5折優(yōu)惠 - 了解詳情 | 論文格式:Word格式(*.doc) | ![]() |
摘要:由于半導(dǎo)體技術(shù)的迅速發(fā)展和大規(guī)模集成電路的出現(xiàn),給人類生活帶來了很多的變化。特別是單片機(jī)技術(shù)的應(yīng)用越來越多的進(jìn)入我們的生活。其中電子萬年歷的出現(xiàn)給人們的生活帶來了很大方便。 本論文主要講的是基于STC89C55單片機(jī)的電子萬年歷。首先描述系統(tǒng)硬件工作原理,然后介紹了本系統(tǒng)所應(yīng)用的各硬件接口技術(shù)和各個(gè)接口模塊的功能及工作過程。本論文的主導(dǎo)思想是軟硬件相結(jié)合來進(jìn)行各功能模塊的編寫。電子萬年歷以C語言為主體進(jìn)行軟件設(shè)計(jì),增加了程序的可讀性和可移植性。系統(tǒng)通過12864液晶輸出顯示數(shù)據(jù),可以顯示當(dāng)前時(shí)間、公農(nóng)歷日期、星期、溫度,并有以峰鳴器為提示的鬧鈴功能。 關(guān)鍵詞:?jiǎn)纹瑱C(jī);電子萬年歷;公農(nóng)歷;接口模塊;C語言
ABSTRACT:Along with the technical and quick development in Semiconductor, especially appearing with the large-scale integrated circuit, make the life change much. The MCU technology application already walks into our life with society step..Electron calendar‘s appearing bringing about much convenience for people. This design is going to describing the calendar based on STC89C55. System hardware of main body is described first, Follow the function, principle of work and hardware interface are introduced. The design‘s main ideas is that composes soft and hardware to achieve the design.The calendar is designed with hardware C language as the Realization tool, which increased procedure readability and transplanting. The system shows the output by LCD12864, which can demonstrate the current time, the lunar calendar date, the week, the temperature and the system, can alter people with a small sounder. Keywords: MCU; Electronic calendar; Lunar calendar; Interface module; C Language.
本研究的主要問題是公農(nóng)歷轉(zhuǎn)換的算法問題和時(shí)間可調(diào)問題。 現(xiàn)在我國(guó)存在這兩種歷法,一種是國(guó)際通用的公歷,一種是我國(guó)特有的農(nóng)歷,這兩種歷法都有各自特有的規(guī)律。農(nóng)歷的算法與月球的運(yùn)行有關(guān),其中影響因素很多。農(nóng)歷的大小月與閏月的計(jì)算和天體的運(yùn)行有關(guān),計(jì)算過程復(fù)雜,且每年都不一樣,因此要實(shí)現(xiàn)公農(nóng)歷的轉(zhuǎn)換最方便實(shí)用的辦法就是用查表法。由于單片機(jī)尋址能力有限,不可能采用按日查表這種速度最快的方法。除按日查表法外,我們可以通過按年查表的方法,再通過適當(dāng)?shù)挠?jì)算,來確定公歷所對(duì)應(yīng)的農(nóng)歷日期。 時(shí)間可調(diào)是本研究關(guān)鍵的一步。由于系統(tǒng)是在供電狀態(tài)才工作,若斷電一段時(shí)間后再通電,時(shí)間不能實(shí)時(shí)顯示。所以通過按鍵來調(diào)時(shí),可達(dá)到實(shí)時(shí)顯示時(shí)間數(shù)據(jù)的功能。
|