基于mcs-51的萬年歷設計.doc
約58頁DOC格式手機打開展開
基于mcs-51的萬年歷設計,論文標準word格式排版共58頁 27094字摘要本設計是一個基于mcs-51單片機實現(xiàn)的萬年歷。本文首先描述系統(tǒng)硬件工作原理,并附以系統(tǒng)結(jié)構(gòu)框圖加以說明,著重介紹了本系統(tǒng)所應用的各硬件接口技術(shù)和各個接口模塊的功能及工作過程,其次,詳細闡述了程序的各個模塊和實現(xiàn)方法。本設計以數(shù)字集成電路技術(shù)為基礎,at89c51單片機...


內(nèi)容介紹
此文檔由會員 莎士比亞 發(fā)布
論文標準WORD格式排版共58頁 27094字
摘 要
本設計是一個基于MCS-51單片機實現(xiàn)的萬年歷。
本文首先描述系統(tǒng)硬件工作原理,并附以系統(tǒng)結(jié)構(gòu)框圖加以說明,著重介紹了本系統(tǒng)所應用的各硬件接口技術(shù)和各個接口模塊的功能及工作過程,其次,詳細闡述了程序的各個模塊和實現(xiàn)方法。本設計以數(shù)字集成電路技術(shù)為基礎,AT89C51單片機技術(shù)為核心。本文編寫的主導思想是軟、硬件相結(jié)合,以硬件為基礎,來進行各功能模塊的編寫。
本系統(tǒng)以單片機的C語言進行軟件設計,為了便于擴展和更改,軟件的設計采用模塊化結(jié)構(gòu),使程序設計的邏輯關系更加簡潔明了。系統(tǒng)通過字符型液晶顯示數(shù)據(jù),所以具有人性化的操作和直觀的顯示效果??梢燥@示時間、公歷日期、星期,并有鬧鈴、語音報時及檢測溫度的功能。
關鍵詞: 單片機; 液晶模塊 ;語音報時;溫度傳感器;
Abstract
The design is a based on the MCS-51 perpetual calendar.
This article first describes the system hardware principle of work,and attaches by the system structure diagram performs to explain,emphatically introduced this system applies various hardware connection technology and each interface module function and the workprocess, next, it is elaborated the procedure of each module and how they realized. This design is based on the digital IC, and the core of AT89C51 MCU technique. This article writed with the guiding of software and hardware unifies, take the hardware as thefoundation, writing each programme for each functions module.
This system’s software design whth the MCU C language, in order to be advantageous for theexpansion and change, the software design uses the design of modularization, so that the logical of the programmer become clear and it is easy to understand .This system use the character LCD to show the data,so it has the humanize operation and the intuitionistic show effect. It can show the time, Gregorian calendar, week, bell, pronunciation of time and the temperature examination.
The keyword:MCU; LCD module; The pronunciation of time; Temperature sensor.
目 錄
摘 要 I
ABSTRACT II
第1章 緒論 1
第2章 方案論證 3
2.1 功能要求 3
2.2 方案確定 3
第3章 系統(tǒng)硬件設計 6
3.1 電源部分的設計 6
3.1.1 變壓器式直流穩(wěn)壓電源 6
3.1.2 開關式直流穩(wěn)壓電源 7
3.1.3 開關式直流穩(wěn)壓電源的設計 7
3.2 主電路的設計 8
3.2.1 主要芯片的選擇 8
3.2.2 主電路原理分析 9
3.3 單片機外圍芯片簡介 10
3.3.1 1602LCD顯示模塊 10
3.3.2 溫度傳感器DS18B20 13
3.3.3 語音芯片ISD1420 16
第4章 程序設計 19
4.1 總體設計 19
4.2 主程序的設計 20
4.3 INT1中斷服務程序 22
4.4 各功能模塊的設計 22
4.4.1 顯示子程序 22
4.4.2 日歷、時間校正子程序 23
4.4.3 定時處理子程序 23
4.4.4 溫度檢測及處理子程序 25
4.4.5 語音報時子程序 27
4.4.6 延時子程序 28
第5章 調(diào)試及性能分析 29
5.1 軟件調(diào)試 29
5.2 硬件調(diào)試 29
5.3 性能分析 30
結(jié)束語 31
致謝 32
附錄一 系統(tǒng)原理圖 33
附錄二 系統(tǒng)的PCB圖和元件安裝圖 34
附錄三 程序清單 35
主要參考文獻 54
摘 要
本設計是一個基于MCS-51單片機實現(xiàn)的萬年歷。
本文首先描述系統(tǒng)硬件工作原理,并附以系統(tǒng)結(jié)構(gòu)框圖加以說明,著重介紹了本系統(tǒng)所應用的各硬件接口技術(shù)和各個接口模塊的功能及工作過程,其次,詳細闡述了程序的各個模塊和實現(xiàn)方法。本設計以數(shù)字集成電路技術(shù)為基礎,AT89C51單片機技術(shù)為核心。本文編寫的主導思想是軟、硬件相結(jié)合,以硬件為基礎,來進行各功能模塊的編寫。
本系統(tǒng)以單片機的C語言進行軟件設計,為了便于擴展和更改,軟件的設計采用模塊化結(jié)構(gòu),使程序設計的邏輯關系更加簡潔明了。系統(tǒng)通過字符型液晶顯示數(shù)據(jù),所以具有人性化的操作和直觀的顯示效果??梢燥@示時間、公歷日期、星期,并有鬧鈴、語音報時及檢測溫度的功能。
關鍵詞: 單片機; 液晶模塊 ;語音報時;溫度傳感器;
Abstract
The design is a based on the MCS-51 perpetual calendar.
This article first describes the system hardware principle of work,and attaches by the system structure diagram performs to explain,emphatically introduced this system applies various hardware connection technology and each interface module function and the workprocess, next, it is elaborated the procedure of each module and how they realized. This design is based on the digital IC, and the core of AT89C51 MCU technique. This article writed with the guiding of software and hardware unifies, take the hardware as thefoundation, writing each programme for each functions module.
This system’s software design whth the MCU C language, in order to be advantageous for theexpansion and change, the software design uses the design of modularization, so that the logical of the programmer become clear and it is easy to understand .This system use the character LCD to show the data,so it has the humanize operation and the intuitionistic show effect. It can show the time, Gregorian calendar, week, bell, pronunciation of time and the temperature examination.
The keyword:MCU; LCD module; The pronunciation of time; Temperature sensor.
目 錄
摘 要 I
ABSTRACT II
第1章 緒論 1
第2章 方案論證 3
2.1 功能要求 3
2.2 方案確定 3
第3章 系統(tǒng)硬件設計 6
3.1 電源部分的設計 6
3.1.1 變壓器式直流穩(wěn)壓電源 6
3.1.2 開關式直流穩(wěn)壓電源 7
3.1.3 開關式直流穩(wěn)壓電源的設計 7
3.2 主電路的設計 8
3.2.1 主要芯片的選擇 8
3.2.2 主電路原理分析 9
3.3 單片機外圍芯片簡介 10
3.3.1 1602LCD顯示模塊 10
3.3.2 溫度傳感器DS18B20 13
3.3.3 語音芯片ISD1420 16
第4章 程序設計 19
4.1 總體設計 19
4.2 主程序的設計 20
4.3 INT1中斷服務程序 22
4.4 各功能模塊的設計 22
4.4.1 顯示子程序 22
4.4.2 日歷、時間校正子程序 23
4.4.3 定時處理子程序 23
4.4.4 溫度檢測及處理子程序 25
4.4.5 語音報時子程序 27
4.4.6 延時子程序 28
第5章 調(diào)試及性能分析 29
5.1 軟件調(diào)試 29
5.2 硬件調(diào)試 29
5.3 性能分析 30
結(jié)束語 31
致謝 32
附錄一 系統(tǒng)原理圖 33
附錄二 系統(tǒng)的PCB圖和元件安裝圖 34
附錄三 程序清單 35
主要參考文獻 54