畢業(yè)論文 簡易數(shù)字電壓表的設(shè)計.doc
約30頁DOC格式手機(jī)打開展開
畢業(yè)論文 簡易數(shù)字電壓表的設(shè)計,簡易數(shù)字電壓表的設(shè)計摘要:本文介紹了一種基于單片機(jī)的簡易數(shù)字電壓表的設(shè)計。該設(shè)計主要由三個模塊組成:a/d轉(zhuǎn)換模塊,數(shù)據(jù)處理模塊及顯示模塊。a/d轉(zhuǎn)換主要由芯片adc0809來完成,它負(fù)責(zé)把采集到的模擬量轉(zhuǎn)換為相應(yīng)的數(shù)字量在傳送到數(shù)據(jù)處理模塊。數(shù)據(jù)處理則由芯片at89c52來完成,其負(fù)責(zé)把a(bǔ)dc0809傳送來的數(shù)字量經(jīng)...
內(nèi)容介紹
此文檔由會員 ljjwl8321 發(fā)布
簡易數(shù)字電壓表的設(shè)計
摘要:本文介紹了一種基于單片機(jī)的簡易數(shù)字電壓表的設(shè)計。該設(shè)計主要由三個模塊組成:A/D轉(zhuǎn)換模塊,數(shù)據(jù)處理模塊及顯示模塊。A/D轉(zhuǎn)換主要由芯片ADC0809來完成,它負(fù)責(zé)把采集到的模擬量轉(zhuǎn)換為相應(yīng)的數(shù)字量在傳送到數(shù)據(jù)處理模塊。數(shù)據(jù)處理則由芯片AT89C52來完成,其負(fù)責(zé)把ADC0809傳送來的數(shù)字量經(jīng)過一定的數(shù)據(jù)處理,產(chǎn)生相應(yīng)的顯示碼送到顯示模塊進(jìn)行顯示;此外,它還控制著ADC0809芯片工作。
該系統(tǒng)的數(shù)字電壓表電路簡單,所用的元件較少,成本低,且測量精度和可靠性較高。此數(shù)字電壓表可以測量0-5V的8路模擬直流輸入電壓值,并通過一個四位一體的7段數(shù)碼管顯示出來。
關(guān)鍵詞:單片機(jī)、A/D轉(zhuǎn)換、AT89C52、ADC0809
Design of Simple Digital Voltmeter Based on Single-chip Microcontroller
Abstract:This paper which introduces a kind of simple digital voltmeter is based on single-chip microcontroller design. The circuit of the voltage meter is mainly consisted of three mould pieces: A/D converting mould piece, A/D converting is mainly completed by the ADC0809, it converts the collected analog data into the digital data and transmits the outcome to the manifestation controlling mould piece. Data processing is mainly completed by the AT89C52 chip, it processes the data produced by the ADC0809 chip and generates the right manifestation codes, also transmits the codes to the manifestation controlling mould piece.Also, the AT89C52 chip controls the ADC0809 chip to work.
The voltmeter features in simple electrical circuit, lower use of elements, low cost, moreover, its measuring precision and reliability. The voltmeter is capable of measuring voltage inputs from 8 route ranging from 0 to 5 volt, and displaying the measurements though a digital code tube of 7 pieces of LED.
Keywords:Chip Processor, A/D converter; AT89C52; ADC0809
目錄
緒論 1
第1章 設(shè)計總體方案 2
1.1 設(shè)計要求 2
1.2 設(shè)計思路 2
1.3 設(shè)計方案 2
第2章 元器件介紹 3
2.1 ADC0809 3
2.1.1 ADC0809特點 3
2.1.2 ADC0809引腳內(nèi)部結(jié)構(gòu) 4
2.1.3 ADC0809 應(yīng)用說明 5
2.2 89C52 6
2.2.1 89C52特點 6
2.2.2 89C52引腳內(nèi)部結(jié)構(gòu) 7
2.2.3 主要功能特性 8
2.3 LED顯示系統(tǒng) 9
2.3.1 LED基本結(jié)構(gòu) 9
2.3.2 LED顯示器的選擇 10
2.3.3 LED譯碼方式 10
第3章 硬件電路設(shè)計 11
3.1 A/D轉(zhuǎn)換模塊 12
3.1.1 A/D轉(zhuǎn)換器 12
3.1.2 逐次逼近型A/D轉(zhuǎn)換器原理 12
3.2 復(fù)位電路和時鐘電路 13
3.2.1 復(fù)位電路設(shè)計 13
3.2.2 時鐘電路設(shè)計 13
3.3 總體電路設(shè)計 14
第4章 軟件電路設(shè)計 15
4.1 初始化程序 15
4.2 程序設(shè)計總方案 15
4.3 A/D轉(zhuǎn)換子程序 16
4.4 顯示子程序 16
總結(jié) 18
附錄 19
謝辭 25
參考文獻(xiàn) 26
摘要:本文介紹了一種基于單片機(jī)的簡易數(shù)字電壓表的設(shè)計。該設(shè)計主要由三個模塊組成:A/D轉(zhuǎn)換模塊,數(shù)據(jù)處理模塊及顯示模塊。A/D轉(zhuǎn)換主要由芯片ADC0809來完成,它負(fù)責(zé)把采集到的模擬量轉(zhuǎn)換為相應(yīng)的數(shù)字量在傳送到數(shù)據(jù)處理模塊。數(shù)據(jù)處理則由芯片AT89C52來完成,其負(fù)責(zé)把ADC0809傳送來的數(shù)字量經(jīng)過一定的數(shù)據(jù)處理,產(chǎn)生相應(yīng)的顯示碼送到顯示模塊進(jìn)行顯示;此外,它還控制著ADC0809芯片工作。
該系統(tǒng)的數(shù)字電壓表電路簡單,所用的元件較少,成本低,且測量精度和可靠性較高。此數(shù)字電壓表可以測量0-5V的8路模擬直流輸入電壓值,并通過一個四位一體的7段數(shù)碼管顯示出來。
關(guān)鍵詞:單片機(jī)、A/D轉(zhuǎn)換、AT89C52、ADC0809
Design of Simple Digital Voltmeter Based on Single-chip Microcontroller
Abstract:This paper which introduces a kind of simple digital voltmeter is based on single-chip microcontroller design. The circuit of the voltage meter is mainly consisted of three mould pieces: A/D converting mould piece, A/D converting is mainly completed by the ADC0809, it converts the collected analog data into the digital data and transmits the outcome to the manifestation controlling mould piece. Data processing is mainly completed by the AT89C52 chip, it processes the data produced by the ADC0809 chip and generates the right manifestation codes, also transmits the codes to the manifestation controlling mould piece.Also, the AT89C52 chip controls the ADC0809 chip to work.
The voltmeter features in simple electrical circuit, lower use of elements, low cost, moreover, its measuring precision and reliability. The voltmeter is capable of measuring voltage inputs from 8 route ranging from 0 to 5 volt, and displaying the measurements though a digital code tube of 7 pieces of LED.
Keywords:Chip Processor, A/D converter; AT89C52; ADC0809
目錄
緒論 1
第1章 設(shè)計總體方案 2
1.1 設(shè)計要求 2
1.2 設(shè)計思路 2
1.3 設(shè)計方案 2
第2章 元器件介紹 3
2.1 ADC0809 3
2.1.1 ADC0809特點 3
2.1.2 ADC0809引腳內(nèi)部結(jié)構(gòu) 4
2.1.3 ADC0809 應(yīng)用說明 5
2.2 89C52 6
2.2.1 89C52特點 6
2.2.2 89C52引腳內(nèi)部結(jié)構(gòu) 7
2.2.3 主要功能特性 8
2.3 LED顯示系統(tǒng) 9
2.3.1 LED基本結(jié)構(gòu) 9
2.3.2 LED顯示器的選擇 10
2.3.3 LED譯碼方式 10
第3章 硬件電路設(shè)計 11
3.1 A/D轉(zhuǎn)換模塊 12
3.1.1 A/D轉(zhuǎn)換器 12
3.1.2 逐次逼近型A/D轉(zhuǎn)換器原理 12
3.2 復(fù)位電路和時鐘電路 13
3.2.1 復(fù)位電路設(shè)計 13
3.2.2 時鐘電路設(shè)計 13
3.3 總體電路設(shè)計 14
第4章 軟件電路設(shè)計 15
4.1 初始化程序 15
4.2 程序設(shè)計總方案 15
4.3 A/D轉(zhuǎn)換子程序 16
4.4 顯示子程序 16
總結(jié) 18
附錄 19
謝辭 25
參考文獻(xiàn) 26