數(shù)據(jù)采集系統(tǒng)畢業(yè)設(shè)計(jì).doc
約51頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)
數(shù)據(jù)采集系統(tǒng)畢業(yè)設(shè)計(jì),本文共計(jì)51頁(yè),15434字;摘 要數(shù)據(jù)采集系統(tǒng)作為溝通模擬域與數(shù)字域的必不可少的橋梁有著非常重要的作用。本文介紹的重點(diǎn)是數(shù)據(jù)采集系統(tǒng)。數(shù)據(jù)采集與通信控制采用了模塊化的設(shè)計(jì),數(shù)據(jù)采集與通信控制采用了單片機(jī)8051來(lái)實(shí)現(xiàn),硬件部分是以單片機(jī)為核心,還包括模-數(shù)轉(zhuǎn)換模塊,顯示模塊,和串行接口部分,還有一...
![](http://img.queshao.com/images/pcgzh.gif)
![](http://preview.queshao.com/tobuy/26755.gif)
內(nèi)容介紹
此文檔由會(huì)員 楊洋洋 發(fā)布數(shù)據(jù)采集系統(tǒng)畢業(yè)設(shè)計(jì)
本文共計(jì)51頁(yè),15434字;
摘 要
數(shù)據(jù)采集系統(tǒng)作為溝通模擬域與數(shù)字域的必不可少的橋梁有著非常重要的作用。本文介紹的重點(diǎn)是數(shù)據(jù)采集系統(tǒng)。數(shù)據(jù)采集與通信控制采用了模塊化的設(shè)計(jì),數(shù)據(jù)采集與通信控制采用了單片機(jī)8051來(lái)實(shí)現(xiàn),硬件部分是以單片機(jī)為核心,還包括模-數(shù)轉(zhuǎn)換模塊,顯示模塊,和串行接口部分,還有一些簡(jiǎn)單的外圍電路。8路被測(cè)電壓通過(guò)通用ADC0809模-數(shù)轉(zhuǎn)換,實(shí)現(xiàn)對(duì)采集到的數(shù)據(jù)進(jìn)行模擬量到數(shù)字量的轉(zhuǎn)換,由單片機(jī)對(duì)數(shù)據(jù)進(jìn)行處理,用LCD顯示模塊來(lái)顯示所采集的結(jié)果,并將數(shù)據(jù)通過(guò)串行口傳輸?shù)絇C機(jī)上,MCU與PC機(jī)間的電平匹配采用MAX232接口芯片,由PC機(jī)完成數(shù)據(jù)接收和顯示,VB程序編寫(xiě)了更加人性化的人機(jī)交互界面。
關(guān)鍵詞:微控制器,液晶顯示器,模數(shù)轉(zhuǎn)換器,串行通信
ABSTRACT
The data collects the bridge of the essential to have that the system conduct and actions communication imitates the area and numerical area to have the count for much function.The introductive point of this text is a data to collect the system.The data collect with the correspondence controled to adopt the mold piece turn of design, the data collected to control with correspondence to adopt a machine 8051 to carry out, the hardware part take a machine as the core, still including the mold- few conversion mold piece, the manifestation mold piece, go to pick up a people with string part, have some the simple outer circle electric circuit.8 roads were measured the electric voltage to pass the in general use mold- few conversion of ADC0809, the realization carries on the conversion that imitates to measure the numeral to measure towards the data
目 錄
摘 要 - 3 -
ABSTRACT - 3 -
前 言 - 5 -
第1章 課題分析與方案論證 - 6 -
1.1數(shù)據(jù)采集系統(tǒng) - 6 -
1.1.1信號(hào)調(diào)理電路 - 6 -
1.1.2 多路切換電路 - 7 -
1.1.3加采樣保持電路的原則 - 8 -
1.1.4 模-數(shù)轉(zhuǎn)換器(ADC) - 8 -
1.1.5基本微處理系統(tǒng) - 8 -
1.2方案論證 - 8 -
1.2.1模數(shù)轉(zhuǎn)換的選擇 - 8 -
1.2.2.8051的選擇 - 9 -
1.2.3串行接口器件的選擇 - 9 -
1.2.4 顯示部分 - 10 -
第2章 硬件設(shè)計(jì) - 11 -
2.1 模數(shù)轉(zhuǎn)換器ADC0809 - 11 -
2.1.1 模數(shù)轉(zhuǎn)換器原理介紹 - 11 -
2.1.2 ADC0809模數(shù)轉(zhuǎn)換器的選擇 - 13 -
2.1.3 ADC0809時(shí)序圖及其接口電路 - 15 -
2.2 鍵盤(pán) - 16 -
2.3單片機(jī)與PC機(jī)間的互連電路 - 18 -
2.3.1串口通訊RS-232-C介紹 - 18 -
2.3.2單片機(jī)與MAX232的連接 - 20 -
2.4單片機(jī)復(fù)位電路設(shè)計(jì) - 21 -
2.5數(shù)據(jù)顯示部分 - 22 -
2.5.1 LCD介紹 - 22 -
2.5.2 LCD接口設(shè)計(jì) - 23 -
第3章 軟件設(shè)計(jì) - 25 -
3.1中斷的介紹及響應(yīng)的過(guò)程 - 25 -
3.2采用ADC0809中斷方式的數(shù)據(jù)采集子程序 - 26 -
3.3 標(biāo)度變換 - 27 -
3.4鍵盤(pán)處理程序 - 28 -
3.5雙字節(jié)二進(jìn)制整數(shù)轉(zhuǎn)換為壓縮BCD碼整數(shù)子程序 - 31 -
3.6 三字節(jié)壓縮BCD碼轉(zhuǎn)換成ASCII碼子程序 - 32 -
3.7 LCD顯示程序 - 33 -
3.8串行通信子程序 - 40 -
3.8.1 上位機(jī)人機(jī)交互界面 - 40 -
3.8.2 上位機(jī)通信及顯示程序 - 41 -
3.8.3 單片機(jī)終端串行通信程序 - 43 -
3.9 主程序 - 44 -
第4章 畢業(yè)設(shè)計(jì)小結(jié) - 46 -
致謝 - 49 -
參考文獻(xiàn) - 50 -
附錄 - 51 -
參 考 文 獻(xiàn)
1 高鋒編著.單片微機(jī)應(yīng)用系統(tǒng)設(shè)計(jì)及實(shí)用技術(shù).北京:機(jī)械工業(yè)出版社,2004
2 李華主編. MCS-51系列單片機(jī)實(shí)用接口技術(shù).北京:北京航空航天大學(xué)出版社,1993
3 求是科技編著.單片機(jī)通信技術(shù)與工程實(shí)踐.北京:人民郵電出版社,2005
4 馬共立等.MCS-51單片機(jī)實(shí)用子程序庫(kù).哈爾濱:哈爾濱工業(yè)大學(xué)出版社,1989