畢業(yè)設(shè)計(jì)----基于單片機(jī)at89s52的數(shù)字萬用表設(shè)計(jì).doc
約45頁DOC格式手機(jī)打開展開
畢業(yè)設(shè)計(jì)----基于單片機(jī)at89s52的數(shù)字萬用表設(shè)計(jì),摘 要本次設(shè)計(jì)用單片機(jī)芯片at89s52設(shè)計(jì)一個數(shù)字萬用表,能夠測量交、直流電壓值、直流電流、直流電阻以及電容,四位數(shù)碼顯示。此系統(tǒng)由分流電阻、分壓電阻、基準(zhǔn)電阻、電容測試芯片電路、51單片機(jī)最小系統(tǒng)、顯示部分、報警部分、ad轉(zhuǎn)換和控制部分組成。為使系統(tǒng)更加穩(wěn)定,使系統(tǒng)整體精度得以保障,本電路使用了ad0809數(shù)據(jù)轉(zhuǎn)換...
內(nèi)容介紹
此文檔由會員 wanli1988go 發(fā)布
摘 要
本次設(shè)計(jì)用單片機(jī)芯片AT89s52設(shè)計(jì)一個數(shù)字萬用表,能夠測量交、直流電壓值、直流電流、直流電阻以及電容,四位數(shù)碼顯示。此系統(tǒng)由分流電阻、分壓電阻、基準(zhǔn)電阻、電容測試芯片電路、51單片機(jī)最小系統(tǒng)、顯示部分、報警部分、AD轉(zhuǎn)換和控制部分組成。為使系統(tǒng)更加穩(wěn)定,使系統(tǒng)整體精度得以保障,本電路使用了AD0809數(shù)據(jù)轉(zhuǎn)換芯片,單片機(jī)系統(tǒng)設(shè)計(jì)采用AT89S52單片機(jī)作為主控芯片,配以RC上電復(fù)位電路和11.0592MHZ震蕩電路,顯示芯片用TEC6122,驅(qū)動8位數(shù)碼管顯示。程序每執(zhí)行周期耗時縮到最短,這樣保證了系統(tǒng)的實(shí)時性。
關(guān)鍵詞 數(shù)字萬用表 AT89S52單片機(jī) AD轉(zhuǎn)換與控制
Abstract
This design is design a digital universal meter with chip AT89s52 of one-chip computer, can measure and hand in , direct current pressing value , direct current flow , the direct current is hindered, four numbers show. This system is shunted resistance, resistance of partial pressure, basic resistance, minimum system of 51 one-chip computers, shown that some , warning part , AD change and control making up partly. In order to make the system more steady, make the whole precision of the system be ensured, this circuit has used AD0809 data to change the chip, the one-chip computer system is designed to adopt AT89S52 one-chip computer as the top management chip, the electricity is restored to the throne the circuit and 11.0592MHZ and shaken the circuit to match on RC, show that the chip uses TEC6122, urge 8 numbers to be in charge of showing. The every execution cycle consuming time of procedure contracts to get shortest, in this way the real-time character of the security system.
Keyword: Digital universal meter AT89S52 one-chip computer AD changes and controls
目 錄
摘 要 i
Abstract ii
緒 論 5
1. 數(shù)字萬用表設(shè)計(jì)背景 7
1.1數(shù)字萬用表的設(shè)計(jì)目的和意義 7
1.2 數(shù)字萬用表的設(shè)計(jì)依據(jù) 7
1.3數(shù)字萬用表設(shè)計(jì)重點(diǎn)解決的問題 7
2 數(shù)字萬用表總體設(shè)計(jì)方案 7
2.1數(shù)字萬用表的基本原理 7
2.2 數(shù)字萬用表的硬件系統(tǒng)設(shè)計(jì)總體框架圖 13
2.3硬件電路設(shè)計(jì)方案及選用芯片介紹 14
2.3.1 設(shè)計(jì)方案 14
2.3.2 芯片選擇及功能簡介 14
2.4數(shù)字萬用表的硬件設(shè)計(jì) 25
2.4.1分模塊詳述系統(tǒng)各部分的實(shí)現(xiàn)方法 25
2.4.2 數(shù)字萬用表控制硬件整體結(jié)構(gòu)圖 30
2.4.3 電路的工作過程描述 30
3. 系統(tǒng)軟件與流程圖 32
3.1 電路功能模塊 32
3.2系統(tǒng)總流程圖 32
3.3物理量采集處理流程 34
3.4電壓測量過程流程圖 34
3.5電流的測量過程流程圖 36
3.6電阻的測量過程流程圖 37
3.7電容測量過程流程圖 39
結(jié) 論 40
致 謝 41
參考文獻(xiàn) 42
本次設(shè)計(jì)用單片機(jī)芯片AT89s52設(shè)計(jì)一個數(shù)字萬用表,能夠測量交、直流電壓值、直流電流、直流電阻以及電容,四位數(shù)碼顯示。此系統(tǒng)由分流電阻、分壓電阻、基準(zhǔn)電阻、電容測試芯片電路、51單片機(jī)最小系統(tǒng)、顯示部分、報警部分、AD轉(zhuǎn)換和控制部分組成。為使系統(tǒng)更加穩(wěn)定,使系統(tǒng)整體精度得以保障,本電路使用了AD0809數(shù)據(jù)轉(zhuǎn)換芯片,單片機(jī)系統(tǒng)設(shè)計(jì)采用AT89S52單片機(jī)作為主控芯片,配以RC上電復(fù)位電路和11.0592MHZ震蕩電路,顯示芯片用TEC6122,驅(qū)動8位數(shù)碼管顯示。程序每執(zhí)行周期耗時縮到最短,這樣保證了系統(tǒng)的實(shí)時性。
關(guān)鍵詞 數(shù)字萬用表 AT89S52單片機(jī) AD轉(zhuǎn)換與控制
Abstract
This design is design a digital universal meter with chip AT89s52 of one-chip computer, can measure and hand in , direct current pressing value , direct current flow , the direct current is hindered, four numbers show. This system is shunted resistance, resistance of partial pressure, basic resistance, minimum system of 51 one-chip computers, shown that some , warning part , AD change and control making up partly. In order to make the system more steady, make the whole precision of the system be ensured, this circuit has used AD0809 data to change the chip, the one-chip computer system is designed to adopt AT89S52 one-chip computer as the top management chip, the electricity is restored to the throne the circuit and 11.0592MHZ and shaken the circuit to match on RC, show that the chip uses TEC6122, urge 8 numbers to be in charge of showing. The every execution cycle consuming time of procedure contracts to get shortest, in this way the real-time character of the security system.
Keyword: Digital universal meter AT89S52 one-chip computer AD changes and controls
目 錄
摘 要 i
Abstract ii
緒 論 5
1. 數(shù)字萬用表設(shè)計(jì)背景 7
1.1數(shù)字萬用表的設(shè)計(jì)目的和意義 7
1.2 數(shù)字萬用表的設(shè)計(jì)依據(jù) 7
1.3數(shù)字萬用表設(shè)計(jì)重點(diǎn)解決的問題 7
2 數(shù)字萬用表總體設(shè)計(jì)方案 7
2.1數(shù)字萬用表的基本原理 7
2.2 數(shù)字萬用表的硬件系統(tǒng)設(shè)計(jì)總體框架圖 13
2.3硬件電路設(shè)計(jì)方案及選用芯片介紹 14
2.3.1 設(shè)計(jì)方案 14
2.3.2 芯片選擇及功能簡介 14
2.4數(shù)字萬用表的硬件設(shè)計(jì) 25
2.4.1分模塊詳述系統(tǒng)各部分的實(shí)現(xiàn)方法 25
2.4.2 數(shù)字萬用表控制硬件整體結(jié)構(gòu)圖 30
2.4.3 電路的工作過程描述 30
3. 系統(tǒng)軟件與流程圖 32
3.1 電路功能模塊 32
3.2系統(tǒng)總流程圖 32
3.3物理量采集處理流程 34
3.4電壓測量過程流程圖 34
3.5電流的測量過程流程圖 36
3.6電阻的測量過程流程圖 37
3.7電容測量過程流程圖 39
結(jié) 論 40
致 謝 41
參考文獻(xiàn) 42