【正文】
河南科技 大學(xué)本科畢業(yè)設(shè)計(jì)(論文) I 各專業(yè)完整優(yōu)秀畢業(yè)論文設(shè)計(jì)圖紙 基于 ARM9 單片機(jī)多功能數(shù)字電壓表的設(shè)計(jì) 摘 要 數(shù)字電壓表是諸多數(shù)字化儀表的核心與基礎(chǔ),在日常維修、教學(xué)和科研中,電壓表是不可缺少的。本文以 ARM9S3C2440 單片機(jī)為基礎(chǔ)設(shè)計(jì)出一種結(jié)構(gòu)簡(jiǎn)單、工作可靠、靈活性好的多功能數(shù)字電壓表。 本文設(shè)計(jì)的數(shù)字電壓表主要包括兩部分:硬件電路的分析及軟件程序的設(shè)計(jì)?;趩纹瑱C(jī)的數(shù)字電壓表的硬件系統(tǒng)、軟件系統(tǒng)的設(shè)計(jì)原理及具體實(shí)現(xiàn)方案作以詳細(xì)介紹。其中,在軟件部分,大致介紹了軟件設(shè)計(jì)所使用的編程語(yǔ)言和 編程思路,及運(yùn)行期間出現(xiàn)的問(wèn)題及解決方案。在硬件部分,詳細(xì)分析了設(shè)計(jì)原理、使用方法和功能,同時(shí),對(duì)各部分接口電路作大致介紹。該設(shè)計(jì)主要由四個(gè)模塊組成: A/D 轉(zhuǎn)換模塊,數(shù)據(jù)處理模塊,顯示模塊及各驅(qū)動(dòng)控制模塊組成。設(shè)計(jì)過(guò)程中對(duì)單路的選擇進(jìn)行了擴(kuò)展研究,提出了通過(guò)按鍵控制實(shí)現(xiàn)多路選擇的新思路,使其具有更大的發(fā)展空間,可用性更大,更能滿足實(shí)際生活的需要。 本設(shè)計(jì)總體實(shí)現(xiàn)基于 ARM9S3C2440 平臺(tái)實(shí)現(xiàn) AD 轉(zhuǎn)換,并設(shè)計(jì)顯示屏背景 ,在 TFT LCD 屏上顯示電壓值及 AD 轉(zhuǎn)換的高測(cè)量精度的數(shù)字值,同時(shí)超出一定電壓值時(shí)具 有報(bào)警功能,并且能實(shí)現(xiàn)多路測(cè)量,可通過(guò)按鍵選擇某路通道等多功能的數(shù)字電壓表。 關(guān)鍵詞: 數(shù)字電壓表, A/D 轉(zhuǎn)換, LCD 屏,多路,鍵盤(pán)控制 河南科技 大學(xué)本科畢業(yè)設(shè)計(jì)(論文) II THE DESIGN OF MULTIFUNCTION DIGITAL VOLTMETE BASED ON ARM9 S3C2440 SCM ABSTRACT Digital voltmeter is the core and foundation of many digital instrument,as the voltmeter is indispensable in daily maintenance, teaching and scientific this paper, a kind of digital voltmeter which is of simple structure, reliable operation and good flexibility multifunction is introduced based on ARM9 S3C2440 SCM. In this paper, the design of digital voltmeter mainly includes two parts: the analysis of the hardware circuits and design of pasper introduces the hardware system, software system design principle and the concrete implementation plan of the Digital voltmeter is based on single chip microputer in the software part, the programming language used to the software design,the programming ideas, the problems and solutions during the operation are instroduced the hardware part,the design principle and method of use and function are analyzed , and at the same time, the interface circuit of each part are introduced design is mainly posed of four modules: A/D conversion module, data processing module, display module and the drive control module. Extended research are carrid of single channel selection in design process, which put forward new ideas that realizing multiplex selection via button control, making it of larger development space, bigger usability,and more meet the needs of real life better. This design in this paper implements a multi function digital voltmeter which realizes the AD conversion based on arm9 S3C2440 platform overall, 河南科技 大學(xué)本科畢業(yè)設(shè)計(jì)(論文) III designs display background, displays voltage and numerical value of high measured precision of the AD conversion on the TFT LCD,which has the alarm function while beyond a certain voltage value at the same time, and it can achieve the multichannel measurement so that a certain mesured channel can be choosed via buttons. KEY WORDS: Digital voltmeter, A/D conversion, LCD screen, Multiplex, The keyboard control 河南科技 大學(xué)本科畢業(yè)設(shè)計(jì)(論文) IV 目 錄 錯(cuò)誤 !未定義書(shū)簽。 前 言 ....................................................................................................... 1 第 1 章 引言 ............................................................................................ 3 167。 數(shù)字電壓表設(shè)計(jì)的兩種方案簡(jiǎn)介 ............................................ 3 167。 由數(shù)字電路和芯片構(gòu)成 ..................................................... 3 167。 單片機(jī)系統(tǒng)及內(nèi)置的 A/D 轉(zhuǎn)換芯片構(gòu)建 ....................... 3 167。 數(shù)字電壓表 的特點(diǎn) ..................................................................... 5 第 2 章 設(shè)計(jì)需求 .................................................................................... 6 167。 設(shè)計(jì)目的 ..................................................................................... 6 167。 系統(tǒng)設(shè)計(jì) ..................................................................................... 6 167。 設(shè)計(jì)的功能要求 ......................................................................... 7 167。 應(yīng)用軟件簡(jiǎn)介 ............................................................................. 8 167。 Keil 軟件的使用 .................................................................. 8 167。 取模軟件使用 ..................................................................... 8 第 3 章 硬件電路設(shè)計(jì)分析 ................................................................... 11 167。 單片機(jī)模塊 ................................................................................ 11 167。 S3C2440 單片機(jī)原理圖 ..................................................... 11 167。 芯片的選擇與介紹 ............................................................12 167。 ADC 數(shù)模轉(zhuǎn)換 ............................................................................13 167。 S3C2440ADC 的主要特性 .................................................13 167。 ADC 轉(zhuǎn)換原理 ....................................................................13 167。 ADC 相關(guān)寄存器 ................................................................15 167。 ADC 驅(qū)動(dòng)程序的設(shè)計(jì)步驟 ................................................15 167。 顯示模塊 ....................................................................................17 167。 S3C2440 內(nèi)部 LCD 控制器結(jié)構(gòu) .......................................17 167。 TFT LCD 屏顯示原理 .....................................................17 167。 驅(qū)動(dòng)模塊 ....................................................................................20 河南科技 大學(xué)本科畢業(yè)設(shè)計(jì)(論文) V 167。 點(diǎn)亮 LED 燈 .......................................................................21 167。 開(kāi) 閉蜂鳴器 .........................................................................22 167。 KEYBOARD 按鍵驅(qū)動(dòng) ......................................................24 第 4 章 軟件設(shè)計(jì) ...................................................................................26 167。 軟件設(shè)計(jì)總流程圖 ....................................................................26 167。 A/D 轉(zhuǎn)換模塊 .............................................................................27 167。 A/D 轉(zhuǎn)換流程圖 ..................................................................27 167。 A/D 接口設(shè)計(jì) ....