51系列單片機(jī)教學(xué)實(shí)驗(yàn)板硬件設(shè)計(jì).doc
約68頁(yè)DOC格式手機(jī)打開展開
51系列單片機(jī)教學(xué)實(shí)驗(yàn)板硬件設(shè)計(jì),摘要51系列單片機(jī)教學(xué)實(shí)驗(yàn)板既是一塊用戶實(shí)驗(yàn)板,又是一種功能強(qiáng)大而實(shí)用的單片機(jī)開發(fā)調(diào)試工具。它與傳統(tǒng)的教學(xué)實(shí)驗(yàn)板相比有如下的優(yōu)點(diǎn):(1)價(jià)格低廉。(2)使用簡(jiǎn)單方便,只要有帶rs232串口的pc機(jī)就能進(jìn)行實(shí)驗(yàn)。(3)功能全,基本上具備單片機(jī)常用的接口,如數(shù)模轉(zhuǎn)換、模數(shù)轉(zhuǎn)換、存儲(chǔ)器、led數(shù)碼管顯示、鍵盤人機(jī)接口、并行接...
![](http://img.queshao.com/images/pcgzh.gif)
![](http://preview.queshao.com/tobuy/259419.gif)
內(nèi)容介紹
此文檔由會(huì)員 wanli1988go 發(fā)布
摘要
51系列單片機(jī)教學(xué)實(shí)驗(yàn)板既是一塊用戶實(shí)驗(yàn)板,又是一種功能強(qiáng)大而實(shí)用的單片機(jī)開發(fā)調(diào)試工具。
它與傳統(tǒng)的教學(xué)實(shí)驗(yàn)板相比有如下的優(yōu)點(diǎn):(1)價(jià)格低廉。(2)使用簡(jiǎn)單方便,只要有帶RS232串口的PC機(jī)就能進(jìn)行實(shí)驗(yàn)。(3)功能全,基本上具備單片機(jī)常用的接口,如數(shù)模轉(zhuǎn)換、模數(shù)轉(zhuǎn)換、存儲(chǔ)器、LED數(shù)碼管顯示、鍵盤人機(jī)接口、并行接口、串行接口,等等。
采用本仿真開發(fā)實(shí)驗(yàn)板,可使初學(xué)者迅速掌握單片機(jī)原理及應(yīng)用,熟悉匯編語(yǔ)言、甚至單片機(jī)C語(yǔ)言。用本仿真開發(fā)實(shí)驗(yàn)板,對(duì)用戶源程序進(jìn)行實(shí)時(shí)在線調(diào)試,可極大地縮短單片機(jī)應(yīng)用系統(tǒng)的開發(fā)時(shí)間。
關(guān)鍵詞:單片機(jī);實(shí)驗(yàn)板;接口電路;匯編語(yǔ)言
The hardware designed of 51 serial single chip processor teaching experiment board
ABSTRACT
51 serial single chip processor teaching experiment board is a user experiment board, and also a powerful and practical single chip processor develop and debug tools.
Compared with traditional teaching experiment board it has following advantages :( 1) Cheap. (2) It is simple and convenient to use , so long as can carry on the experiment with a PC with RS232. ( 3) With complete function, possess the common user interface of the basic single chip processor, the ADC block, the DAC block, the memory , HID(Human Interface Device, such as the LED and the key board) , parallel interface, serial interface , and so on.
With this experiment board, the beginners can easily to grasp the principle and application of the MCU,be familiar with assemble languages , even the C51 languages. The character of on system debug can shorten the time to study Develop experiment board with emulation this, carry on to user source program real-time to debug online, can shorten construction period of the application system of the single chip processor greatly.
Key words: single chip processor; experiment board; interface; assemble languages
目 錄
中文摘要
英文摘要
0前言..............................1
1硬件電路設(shè)計(jì)..........................2
1.1 仿真實(shí)驗(yàn)板的概況.......................2
1.2 仿真實(shí)驗(yàn)板的資源.......................2
1.3 電路原理圖說(shuō)明 .......................4
1.3.1單片機(jī)最小系統(tǒng)的電路說(shuō)明 ..................4
1.3.2 模數(shù)轉(zhuǎn)換器ADC0809的接口電路................6
1.3.3 數(shù)模轉(zhuǎn)換器DAC0832的接口電路................7
1.3.4 并行接口芯片8255A的接口電路................8
1.3.5 數(shù)據(jù)/程序存儲(chǔ)器HM62256................... 9
1.3.6 動(dòng)態(tài)LED顯示與鍵盤.....................10
1.3.7 蜂鳴器驅(qū)動(dòng)電路......................13
1.3.8 電源............................13
1.3.9 RS-232串行接口.......................14
2軟件電路設(shè)計(jì).........................17
2.1 匯編由語(yǔ)言程序設(shè)計(jì)步驟...................17
2.2 軟件實(shí)驗(yàn)..........................17
2.2.1 內(nèi)外存儲(chǔ)器清零......................18
2.2.2 二進(jìn)制轉(zhuǎn)換BCD碼以及BCD碼求和、相減............19
2.2.3 二進(jìn)制轉(zhuǎn)換成ASCII.......................20
2.2.4 內(nèi)存塊移動(dòng).........................21
2.2.5數(shù)據(jù)排序..........................23
2.2.6 程序跳轉(zhuǎn)表........................25
2.2.7 延時(shí)程序.........................26
2.3 硬件實(shí)驗(yàn)..........................27
2.3.1 外部存儲(chǔ)器控制信號(hào)檢測(cè)以及讀寫實(shí)驗(yàn)............27
2.3.2 D/A轉(zhuǎn)換實(shí)驗(yàn).......................28
2.3.3 A/D轉(zhuǎn)換實(shí)驗(yàn)........................32
2.3.4 定時(shí)器實(shí)驗(yàn)........................33
2.3.5 8255A輸入輸出實(shí)驗(yàn).................... 36
2.3.6 鍵盤掃描顯示實(shí)驗(yàn).....................38
總結(jié)..............................46
致謝..............................47
參考文獻(xiàn)............................48
附錄A
附錄B
附錄C
0前言
近幾十年來(lái),單片機(jī)因其體積小,重量輕,耗能省,價(jià)格低,可靠性高和通用靈活等優(yōu)點(diǎn),在生產(chǎn)過(guò)程控制,制動(dòng)檢測(cè),數(shù)據(jù)采集與處理,科技計(jì)算,商業(yè)管理和辦公室自動(dòng)化等方面獲得了廣泛的應(yīng)用。近幾年來(lái),單片機(jī)的發(fā)展更為迅速,它已經(jīng)滲透到許多學(xué)科和領(lǐng)域,以及人們生活的各個(gè)方面。單片機(jī)在各個(gè)科學(xué)技術(shù)領(lǐng)域中的迅速發(fā)展,與單片機(jī)所構(gòu)成的技術(shù)及應(yīng)用系統(tǒng)特點(diǎn)有關(guān):
*單片機(jī)構(gòu)成的應(yīng)用系統(tǒng)有較大的可靠性。
*系統(tǒng)擴(kuò)展和系統(tǒng)配置比較典型而規(guī)范,容易構(gòu)成各種規(guī)模的應(yīng)用系統(tǒng)。
*由于構(gòu)成的應(yīng)用系統(tǒng)是一個(gè)計(jì)算機(jī)系統(tǒng),相當(dāng)多的測(cè)控功能由軟件實(shí)現(xiàn),故具有柔性特點(diǎn)。
* 有優(yōu)異的性能價(jià)格比.
因此,單片機(jī)技術(shù)已經(jīng)成為各高校自動(dòng)化、測(cè)控、電子技術(shù)等相..
51系列單片機(jī)教學(xué)實(shí)驗(yàn)板既是一塊用戶實(shí)驗(yàn)板,又是一種功能強(qiáng)大而實(shí)用的單片機(jī)開發(fā)調(diào)試工具。
它與傳統(tǒng)的教學(xué)實(shí)驗(yàn)板相比有如下的優(yōu)點(diǎn):(1)價(jià)格低廉。(2)使用簡(jiǎn)單方便,只要有帶RS232串口的PC機(jī)就能進(jìn)行實(shí)驗(yàn)。(3)功能全,基本上具備單片機(jī)常用的接口,如數(shù)模轉(zhuǎn)換、模數(shù)轉(zhuǎn)換、存儲(chǔ)器、LED數(shù)碼管顯示、鍵盤人機(jī)接口、并行接口、串行接口,等等。
采用本仿真開發(fā)實(shí)驗(yàn)板,可使初學(xué)者迅速掌握單片機(jī)原理及應(yīng)用,熟悉匯編語(yǔ)言、甚至單片機(jī)C語(yǔ)言。用本仿真開發(fā)實(shí)驗(yàn)板,對(duì)用戶源程序進(jìn)行實(shí)時(shí)在線調(diào)試,可極大地縮短單片機(jī)應(yīng)用系統(tǒng)的開發(fā)時(shí)間。
關(guān)鍵詞:單片機(jī);實(shí)驗(yàn)板;接口電路;匯編語(yǔ)言
The hardware designed of 51 serial single chip processor teaching experiment board
ABSTRACT
51 serial single chip processor teaching experiment board is a user experiment board, and also a powerful and practical single chip processor develop and debug tools.
Compared with traditional teaching experiment board it has following advantages :( 1) Cheap. (2) It is simple and convenient to use , so long as can carry on the experiment with a PC with RS232. ( 3) With complete function, possess the common user interface of the basic single chip processor, the ADC block, the DAC block, the memory , HID(Human Interface Device, such as the LED and the key board) , parallel interface, serial interface , and so on.
With this experiment board, the beginners can easily to grasp the principle and application of the MCU,be familiar with assemble languages , even the C51 languages. The character of on system debug can shorten the time to study Develop experiment board with emulation this, carry on to user source program real-time to debug online, can shorten construction period of the application system of the single chip processor greatly.
Key words: single chip processor; experiment board; interface; assemble languages
目 錄
中文摘要
英文摘要
0前言..............................1
1硬件電路設(shè)計(jì)..........................2
1.1 仿真實(shí)驗(yàn)板的概況.......................2
1.2 仿真實(shí)驗(yàn)板的資源.......................2
1.3 電路原理圖說(shuō)明 .......................4
1.3.1單片機(jī)最小系統(tǒng)的電路說(shuō)明 ..................4
1.3.2 模數(shù)轉(zhuǎn)換器ADC0809的接口電路................6
1.3.3 數(shù)模轉(zhuǎn)換器DAC0832的接口電路................7
1.3.4 并行接口芯片8255A的接口電路................8
1.3.5 數(shù)據(jù)/程序存儲(chǔ)器HM62256................... 9
1.3.6 動(dòng)態(tài)LED顯示與鍵盤.....................10
1.3.7 蜂鳴器驅(qū)動(dòng)電路......................13
1.3.8 電源............................13
1.3.9 RS-232串行接口.......................14
2軟件電路設(shè)計(jì).........................17
2.1 匯編由語(yǔ)言程序設(shè)計(jì)步驟...................17
2.2 軟件實(shí)驗(yàn)..........................17
2.2.1 內(nèi)外存儲(chǔ)器清零......................18
2.2.2 二進(jìn)制轉(zhuǎn)換BCD碼以及BCD碼求和、相減............19
2.2.3 二進(jìn)制轉(zhuǎn)換成ASCII.......................20
2.2.4 內(nèi)存塊移動(dòng).........................21
2.2.5數(shù)據(jù)排序..........................23
2.2.6 程序跳轉(zhuǎn)表........................25
2.2.7 延時(shí)程序.........................26
2.3 硬件實(shí)驗(yàn)..........................27
2.3.1 外部存儲(chǔ)器控制信號(hào)檢測(cè)以及讀寫實(shí)驗(yàn)............27
2.3.2 D/A轉(zhuǎn)換實(shí)驗(yàn).......................28
2.3.3 A/D轉(zhuǎn)換實(shí)驗(yàn)........................32
2.3.4 定時(shí)器實(shí)驗(yàn)........................33
2.3.5 8255A輸入輸出實(shí)驗(yàn).................... 36
2.3.6 鍵盤掃描顯示實(shí)驗(yàn).....................38
總結(jié)..............................46
致謝..............................47
參考文獻(xiàn)............................48
附錄A
附錄B
附錄C
0前言
近幾十年來(lái),單片機(jī)因其體積小,重量輕,耗能省,價(jià)格低,可靠性高和通用靈活等優(yōu)點(diǎn),在生產(chǎn)過(guò)程控制,制動(dòng)檢測(cè),數(shù)據(jù)采集與處理,科技計(jì)算,商業(yè)管理和辦公室自動(dòng)化等方面獲得了廣泛的應(yīng)用。近幾年來(lái),單片機(jī)的發(fā)展更為迅速,它已經(jīng)滲透到許多學(xué)科和領(lǐng)域,以及人們生活的各個(gè)方面。單片機(jī)在各個(gè)科學(xué)技術(shù)領(lǐng)域中的迅速發(fā)展,與單片機(jī)所構(gòu)成的技術(shù)及應(yīng)用系統(tǒng)特點(diǎn)有關(guān):
*單片機(jī)構(gòu)成的應(yīng)用系統(tǒng)有較大的可靠性。
*系統(tǒng)擴(kuò)展和系統(tǒng)配置比較典型而規(guī)范,容易構(gòu)成各種規(guī)模的應(yīng)用系統(tǒng)。
*由于構(gòu)成的應(yīng)用系統(tǒng)是一個(gè)計(jì)算機(jī)系統(tǒng),相當(dāng)多的測(cè)控功能由軟件實(shí)現(xiàn),故具有柔性特點(diǎn)。
* 有優(yōu)異的性能價(jià)格比.
因此,單片機(jī)技術(shù)已經(jīng)成為各高校自動(dòng)化、測(cè)控、電子技術(shù)等相..
TA們正在看...
- 2015下半年山西教師資格初中語(yǔ)文學(xué)科知識(shí)與教學(xué)能...doc
- 2015下半年山西教師資格小學(xué)綜合素質(zhì)真題及答案.doc
- 2015下半年山西教師資格考試中學(xué)綜合素質(zhì)筆試真題...doc
- 2015下半年山西教師資格考試幼兒保教知識(shí)與能力真...doc
- 2015下半年山西教師資格考試幼兒綜合素質(zhì)真題及答案.doc
- 2015下半年山西教師資格證考試小學(xué)教育教學(xué)知識(shí)與...doc
- 2015下半年山西教師資格高中地理學(xué)科知識(shí)與教學(xué)能...doc
- 2015下半年山西教師資格高中數(shù)學(xué)學(xué)科知識(shí)與教學(xué)能...doc
- 2015下半年山西教師資格高中美術(shù)學(xué)科知識(shí)與教學(xué)能...doc
- 2015下半年山西教師資格高中英語(yǔ)學(xué)科知識(shí)與教學(xué)能...doc